FS#2697 - nscd can't start

Attached to Project: Arch Linux
Opened by Morgan LEFIEUX (Comete) - Wednesday, 04 May 2005, 12:38 GMT
Last edited by Jan de Groot (JGC) - Monday, 09 May 2005, 21:56 GMT
Task Type Bug Report
Category System
Status Closed
Assigned To Judd Vinet (judd)
Architecture not specified
Severity Low
Priority Normal
Reported Version 0.7 Wombat
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

Hi,

i'm using the last glibc but i've noticed that when i start nscd like this:
/etc/rc.d/nscd start
it says everything is ok "[DONE]" but if i do:
ps aux|grep nscd
nothing is returned and nscd is not running at all !

thanks
This task depends upon

Closed by  Jan de Groot (JGC)
Friday, 20 May 2005, 20:41 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in testing
Comment by Jan de Groot (JGC) - Wednesday, 18 May 2005, 23:00 GMT
Found out what the problem is.
The recent snapshots we took, together with the config file, leave us with redhat defaults:

[root@jan glibc]# nscd -d
17751: cannot create /var/db/nscd/passwd; no persistent database used
17751: cannot create /var/db/nscd/group; no persistent database used
17751: cannot create /var/db/nscd/hosts; no persistent database used
17751: /var/run/nscd/socket: No such file or directory

So, in short terms:
- modify nscd.conf to run nscd as root
- modify config to use either /var/lib/nscd/[db]
- create dirs

Loading...