Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 150553 - ntlmaps dies at the first page
Summary: ntlmaps dies at the first page
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Network Proxy Developers (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-09 02:48 UTC by Leo
Modified: 2006-10-27 11:12 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Leo 2006-10-09 02:48:29 UTC
Hi all,
I'm tring to use ntlmaps-0.9.9-r2 with the rc-update script...

the problem I'm experiencing is the following

if I run just ntlmaps as root everything is ok... it works great as proxy, and if I switch on the debug options the related files are created.

if I try to start it with "#/etc/init.d/ntlmaps start" the demon is started, but at the first page I try to see with the brawser it dies

if I modify the init script removing "--chuid ntlmaps" the proxy works, but no log are created... or I cannot find them... :-(

does anyone has the same problem? How to solve it?
Comment 1 Alin Năstac (RETIRED) gentoo-dev 2006-10-09 11:29:08 UTC
Please check relevant files/directories permissions (/etc/ntlmaps/server.cfg must be readable and /var/log/ntlmaps along with its content must be writeable).
Comment 2 Leo 2006-10-10 01:28:42 UTC
(In reply to comment #1)
> Please check relevant files/directories permissions (/etc/ntlmaps/server.cfg
> must be readable and /var/log/ntlmaps along with its content must be
> writeable).
> 

pwd
/etc/ntlmaps
volantino ntlmaps # ls -la
total 30
drwxr-xr-x  2 root root     160 Oct  9 11:54 .
drwxr-xr-x 89 root root    6352 Oct 10 09:49 ..
-rw-r-----  1 root ntlmaps 7591 Oct  9 11:54 server.cfg

volantino ntlmaps # pwd
/var/log/ntlmaps
volantino ntlmaps # ls -la
total 1
drwx------  2 ntlmaps ntlmaps  96 Oct 10 10:27 .
drwxr-xr-x 14 root    root    912 Oct 10 09:49 ..
-rw-r--r--  1 root    root      0 Sep 23 13:52 .keep_net-proxy_ntlmaps-0


this are the permissions I have... :-(

they seem to me ok... maybe I'm wrong
Comment 3 Alin Năstac (RETIRED) gentoo-dev 2006-10-10 01:39:19 UTC
Check also the permissions of the parent directories like this:
ls -ld /
ls -ld /var
ls -ld /var/log
Comment 4 Alin Năstac (RETIRED) gentoo-dev 2006-10-13 10:13:43 UTC
I assume you had 700 mode on your root directory, therefore I close it as INVALID.

It is rude to ask for help then dissapear without telling us where was your problem. Please don't do it again!
Comment 5 Leo 2006-10-14 10:55:46 UTC
(In reply to comment #4)
> I assume you had 700 mode on your root directory, therefore I close it as
> INVALID.
> 
> It is rude to ask for help then dissapear without telling us where was your
> problem. Please don't do it again!
> 
volantino ~ # ls -ld /
drwxr-xr-x 23 root root 9816 Oct  9 11:40 /
volantino ~ # ls -ld /var/
drwxr-xr-x 17 root root 456 Oct 12 14:22 /var/
volantino ~ # ls -ld /var/log/
drwxr-xr-x 14 root root 912 Oct 14 19:45 /var/log/

and I haven't answared before only beacuse I could not. I'm not used to act as you think.

Leo
Comment 6 Alin Năstac (RETIRED) gentoo-dev 2006-10-14 14:37:25 UTC
OK, then this isn't it. The problem is I don't have a test environment because I don't have any Windows server.
Please see if the latest testing version (~x86) works for you.
Comment 7 Alin Năstac (RETIRED) gentoo-dev 2006-10-24 02:32:09 UTC
closed as NEEDINFO.
Comment 8 Leo 2006-10-27 11:12:49 UTC
(In reply to comment #7)
> closed as NEEDINFO.
> 

Sorry... but in this day I was really busy with the end-dev :-\

the 0.9.9.6 version seems to work ... but it is still not logging in the /var/log/ntlmaps/ but in / 

any idea?