2005-11-19 19:40:40 |
Jim Persson |
bug |
|
|
added bug |
2005-11-19 19:42:46 |
Jim Persson |
description |
When trying to start nscd (Ubuntu Breezy) it gives the following in the syslog:
Nov 19 20:35:26 ubuntu nscd: 26295 /var/run/nscd/nscd.pid: No such file or directory
Nov 19 20:35:26 ubuntu nscd: 26295 cannot create /var/db/nscd/passwd; no persistent database used
Nov 19 20:35:26 ubuntu nscd: 26295 cannot create /var/db/nscd/group; no persistent database used
Nov 19 20:35:26 ubuntu nscd: 26295 cannot create /var/db/nscd/hosts; no persistent database used
Nov 19 20:35:26 ubuntu nscd: 26295 /var/run/nscd/socket: No such file or directory
This patch fixes the problem:
--- /etc/init.d/nscd.old 2005-11-19 20:31:32.000000000 +0100
+++ /etc/init.d/nscd 2005-11-19 20:32:50.000000000 +0100
@@ -23,6 +23,10 @@
RETVAL=0
case "$1" in
start)
+ # nscd needs these directories or it wont start properly
+ [ -d /var/run/nscd ] || mkdir -p /var/run/nscd
+ [ -d /var/db/nscd ] || mkdir -p /var/db/nscd
+
secure=""
for table in passwd group
do
|
When trying to start nscd (Ubuntu Breezy) it gives the following in the syslog:
Nov 19 20:35:26 ubuntu nscd: 26295 /var/run/nscd/nscd.pid: No such file or directory
Nov 19 20:35:26 ubuntu nscd: 26295 cannot create /var/db/nscd/passwd; no persistent database used
Nov 19 20:35:26 ubuntu nscd: 26295 cannot create /var/db/nscd/group; no persistent database used
Nov 19 20:35:26 ubuntu nscd: 26295 cannot create /var/db/nscd/hosts; no persistent database used
Nov 19 20:35:26 ubuntu nscd: 26295 /var/run/nscd/socket: No such file or directory
This patch fixes the problem:
--- /etc/init.d/nscd.old 2005-11-19 20:31:32.000000000 +0100
+++ /etc/init.d/nscd 2005-11-19 20:32:50.000000000 +0100
@@ -23,6 +23,10 @@
RETVAL=0
case "$1" in
start)
+ # nscd needs these directories or it wont start properly
+ [ -d /var/run/nscd ] || mkdir -p /var/run/nscd
+ [ -d /var/db/nscd ] || mkdir -p /var/db/nscd
+
secure=""
for table in passwd group
do
|
|
2005-11-19 19:43:02 |
Jim Persson |
description |
When trying to start nscd (Ubuntu Breezy) it gives the following in the syslog:
Nov 19 20:35:26 ubuntu nscd: 26295 /var/run/nscd/nscd.pid: No such file or directory
Nov 19 20:35:26 ubuntu nscd: 26295 cannot create /var/db/nscd/passwd; no persistent database used
Nov 19 20:35:26 ubuntu nscd: 26295 cannot create /var/db/nscd/group; no persistent database used
Nov 19 20:35:26 ubuntu nscd: 26295 cannot create /var/db/nscd/hosts; no persistent database used
Nov 19 20:35:26 ubuntu nscd: 26295 /var/run/nscd/socket: No such file or directory
This patch fixes the problem:
--- /etc/init.d/nscd.old 2005-11-19 20:31:32.000000000 +0100
+++ /etc/init.d/nscd 2005-11-19 20:32:50.000000000 +0100
@@ -23,6 +23,10 @@
RETVAL=0
case "$1" in
start)
+ # nscd needs these directories or it wont start properly
+ [ -d /var/run/nscd ] || mkdir -p /var/run/nscd
+ [ -d /var/db/nscd ] || mkdir -p /var/db/nscd
+
secure=""
for table in passwd group
do
|
When trying to start nscd (Ubuntu Breezy) it gives the following in the syslog:
Nov 19 20:35:26 ubuntu nscd: 26295 /var/run/nscd/nscd.pid: No such file or directory
Nov 19 20:35:26 ubuntu nscd: 26295 cannot create /var/db/nscd/passwd; no persistent database used
Nov 19 20:35:26 ubuntu nscd: 26295 cannot create /var/db/nscd/group; no persistent database used
Nov 19 20:35:26 ubuntu nscd: 26295 cannot create /var/db/nscd/hosts; no persistent database used
Nov 19 20:35:26 ubuntu nscd: 26295 /var/run/nscd/socket: No such file or directory
This patch fixes the problem:
--- /etc/init.d/nscd.old 2005-11-19 20:31:32.000000000 +0100
+++ /etc/init.d/nscd 2005-11-19 20:32:50.000000000 +0100
@@ -23,6 +23,10 @@
RETVAL=0
case "$1" in
start)
+ # nscd needs these directories or it wont start properly
+ [ -d /var/run/nscd ] || mkdir -p /var/run/nscd
+ [ -d /var/db/nscd ] || mkdir -p /var/db/nscd
+
secure=""
for table in passwd group
do
|
|
2005-11-19 19:43:50 |
Jim Persson |
summary |
|
nscd (Name Service Caching Daemon) doesn't start because it misses some directories. |
|
2005-11-19 19:43:50 |
Jim Persson |
description |
When trying to start nscd (Ubuntu Breezy) it gives the following in the syslog:
Nov 19 20:35:26 ubuntu nscd: 26295 /var/run/nscd/nscd.pid: No such file or directory
Nov 19 20:35:26 ubuntu nscd: 26295 cannot create /var/db/nscd/passwd; no persistent database used
Nov 19 20:35:26 ubuntu nscd: 26295 cannot create /var/db/nscd/group; no persistent database used
Nov 19 20:35:26 ubuntu nscd: 26295 cannot create /var/db/nscd/hosts; no persistent database used
Nov 19 20:35:26 ubuntu nscd: 26295 /var/run/nscd/socket: No such file or directory
This patch fixes the problem:
--- /etc/init.d/nscd.old 2005-11-19 20:31:32.000000000 +0100
+++ /etc/init.d/nscd 2005-11-19 20:32:50.000000000 +0100
@@ -23,6 +23,10 @@
RETVAL=0
case "$1" in
start)
+ # nscd needs these directories or it wont start properly
+ [ -d /var/run/nscd ] || mkdir -p /var/run/nscd
+ [ -d /var/db/nscd ] || mkdir -p /var/db/nscd
+
secure=""
for table in passwd group
do
|
When trying to start nscd (Ubuntu Breezy) it gives the following in the syslog:
Nov 19 20:35:26 ubuntu nscd: 26295 /var/run/nscd/nscd.pid: No such file or directory
Nov 19 20:35:26 ubuntu nscd: 26295 cannot create /var/db/nscd/passwd; no persistent database used
Nov 19 20:35:26 ubuntu nscd: 26295 cannot create /var/db/nscd/group; no persistent database used
Nov 19 20:35:26 ubuntu nscd: 26295 cannot create /var/db/nscd/hosts; no persistent database used
Nov 19 20:35:26 ubuntu nscd: 26295 /var/run/nscd/socket: No such file or directory
This patch fixes the problem:
--- /etc/init.d/nscd.old 2005-11-19 20:31:32.000000000 +0100
+++ /etc/init.d/nscd 2005-11-19 20:32:50.000000000 +0100
@@ -23,6 +23,10 @@
RETVAL=0
case "$1" in
start)
+ # nscd needs these directories or it wont start properly
+ [ -d /var/run/nscd ] || mkdir -p /var/run/nscd
+ [ -d /var/db/nscd ] || mkdir -p /var/db/nscd
+
secure=""
for table in passwd group
do
|
|
2005-11-19 19:43:50 |
Jim Persson |
title |
nscd not starting because of missing directories |
nscd not starting |
|
2005-11-19 19:44:44 |
Jim Persson |
bug |
|
|
assigned to glibc (Ubuntu) |
2005-11-19 19:51:05 |
Jim Persson |
bug |
|
|
added attachment 'nscd.patch' (Patch) |
2005-11-19 19:51:17 |
Jim Persson |
description |
When trying to start nscd (Ubuntu Breezy) it gives the following in the syslog:
Nov 19 20:35:26 ubuntu nscd: 26295 /var/run/nscd/nscd.pid: No such file or directory
Nov 19 20:35:26 ubuntu nscd: 26295 cannot create /var/db/nscd/passwd; no persistent database used
Nov 19 20:35:26 ubuntu nscd: 26295 cannot create /var/db/nscd/group; no persistent database used
Nov 19 20:35:26 ubuntu nscd: 26295 cannot create /var/db/nscd/hosts; no persistent database used
Nov 19 20:35:26 ubuntu nscd: 26295 /var/run/nscd/socket: No such file or directory
This patch fixes the problem:
--- /etc/init.d/nscd.old 2005-11-19 20:31:32.000000000 +0100
+++ /etc/init.d/nscd 2005-11-19 20:32:50.000000000 +0100
@@ -23,6 +23,10 @@
RETVAL=0
case "$1" in
start)
+ # nscd needs these directories or it wont start properly
+ [ -d /var/run/nscd ] || mkdir -p /var/run/nscd
+ [ -d /var/db/nscd ] || mkdir -p /var/db/nscd
+
secure=""
for table in passwd group
do
|
When trying to start nscd (Ubuntu Breezy) it gives the following in the syslog:
Nov 19 20:35:26 ubuntu nscd: 26295 /var/run/nscd/nscd.pid: No such file or directory
Nov 19 20:35:26 ubuntu nscd: 26295 cannot create /var/db/nscd/passwd; no persistent database used
Nov 19 20:35:26 ubuntu nscd: 26295 cannot create /var/db/nscd/group; no persistent database used
Nov 19 20:35:26 ubuntu nscd: 26295 cannot create /var/db/nscd/hosts; no persistent database used
Nov 19 20:35:26 ubuntu nscd: 26295 /var/run/nscd/socket: No such file or directory |
|
2005-11-19 21:39:38 |
Matthew Paul Thomas |
glibc: status |
New |
Rejected |
|
2005-11-19 21:39:38 |
Matthew Paul Thomas |
glibc: statusexplanation |
|
Intended for Ubuntu glibc only, not known if bug occurs upstream |
|
2006-02-27 13:58:58 |
Timo Aaltonen |
marked as duplicate |
|
3365 |
|