some services won't start
Our master node (SuSE 9.0) was running OK then it had to be turned off. When it came up again postfix, cron, nscd, and xdm could not be started. Below is part of the relevant messages from boot.msg. As root, the 'ls' command on /var/spool gives Permission denied for every single file in that directory. What the heck is going on here??? Loading keymap qwerty/us.map.gz donetouch: cannot touch `/var/run/numlock-on': Permission denied Loading compose table winkeys shiftctrl latin1.adddone Stop Unicode mode doneLoading console font lat1-16.psfu -m none (B done<notice>exit status of (kbd cups) is (0 0) <notice>start services (xinetd postfix nfsserver) <notice>startproc: execve (/usr/sbin/xinetd) [ /usr/sbin/xinetd ], [ CONSOLE=/dev/console TERM=linux SHELL=/bin/sh progress= 22 INIT_VERSION=sysvinit-2.82 REDIRECT=/dev/tty1 AUTOBOOT=YES COLUMNS=128 PATH=/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin RUNLEVEL=5 PWD=/ PREVLEVEL=S LINES=48 HOME=/ SHLVL=2 kscripts=2 BOOT_IMAGE=Linux splash=silent sscripts=32 _=/sbin/startpro c DAEMON=/usr/sbin/xinetd ] Starting INET services. (xinetd)done Starting mail service (Postfix)checkproc: Can not stat /var/spool/postfix/pid/master.pid: Permission denied failed Starting kernel based NFS server<notice>startproc: execve (/usr/sbin/rpc.mountd) [ /usr/sbin/rpc.mountd ], [ CONSOLE=/dev/co nsole TERM=linux SHELL=/bin/sh progress=22 INIT_VERSION=sysvinit-2.82 REDIRECT=/dev/tty1 AUTOBOOT=YES COLUMNS=128 PATH=/usr/ local/sbin:/sbin:/bin:/usr/sbin:/usr/bin RUNLEVEL=5 PWD=/ PREVLEVEL=S LINES=48 HOME=/ SHLVL=2 kscripts=2 BOOT_IMAGE=Linux sp lash=silent sscripts=32 _=/sbin/startproc DAEMON=/usr/sbin/rpc.mountd ] done <notice>exit status of (xinetd postfix nfsserver) is (0 1 0) <notice>start services (xdm) Starting service kdm<notice>startproc: execve (/opt/kde3/bin/kdm) [ /opt/kde3/bin/kdm ], [ LC_MONETARY= CONSOLE=/dev/console TERM=linux SHELL=/bin/sh LC_NUMERIC= QTDIR=/usr/lib/qt3 LC_ALL= progress=25 INIT_VERSION=sysvinit-2.82 KDEROOTHOME=/root/.k dm FROM_HEADER=uprm.edu REDIRECT=/dev/tty1 AUTOBOOT=YES COLUMNS=128 PATH=/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin LC_ME SSAGES= RUNLEVEL=5 LC_COLLATE= PWD=/ LANG=en_US PREVLEVEL=S LINES=48 HOME=/ SHLVL=2 kscripts=2 BOOT_IMAGE=Linux XCURSOR_THEM E=blueprint-cursor-theme no_proxy=localhost WINDOWMANAGER=/usr/X11R6/bin/kde LC_CTYPE=en_US splash=silent sscripts=32 LC_TIM E= _=/sbin/startproc DAEMON=/opt/kde3/bin/kdm ] failed <notice>exit status of (xdm) is (1) <notice>start services (apache2) Starting httpd2 (prefork) <notice>startproc: execve (/usr/sbin/httpd2-prefork) [ /usr/sbin/httpd2-prefork -f /etc/apache2/ht tpd.conf -DSSL ], [ CONSOLE=/dev/console TERM=linux SHELL=/bin/sh get_module_list_done=true progress=26 INIT_VERSION=sysvini t-2.82 REDIRECT=/dev/tty1 AUTOBOOT=YES COLUMNS=128 get_includes_done=true PATH=/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin RUNLEVEL=5 PWD=/ PREVLEVEL=S LINES=48 HOME=/ SHLVL=2 kscripts=2 BOOT_IMAGE=Linux splash=silent sscripts=32 _=/sbin/startpro c DAEMON=/usr/sbin/httpd2-prefork ] done <notice>exit status of (apache2) is (0) <notice>start services (pbs nscd dhcpd cron) 10/29/2004 07:40:43;0002;PBS_Server;Svr;Log;Log opened 10/29/2004 07:40:43;0001;PBS_Server;Svr;PBS_Server;Permission denied (13) in PBS_Server, PBS_Server: unable to open lock file <notice>startproc: execve (/usr/sbin/cron) [ /usr/sbin/cron ], [ CONSOLE=/dev/console TERM=linux SHELL=/bin/sh progress=27 I NIT_VERSION=sysvinit-2.82 REDIRECT=/dev/tty1 AUTOBOOT=YES COLUMNS=128 PATH=/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin RUN LEVEL=5 PWD=/ PREVLEVEL=S LINES=48 HOME=/ SHLVL=2 kscripts=2 BOOT_IMAGE=Linux splash=silent sscripts=32 _=/sbin/startproc DA EMON=/usr/sbin/cron ] <notice>startproc: execve (/usr/sbin/nscd) [ /usr/sbin/nscd ], [ CONSOLE=/dev/console TERM=linux SHELL=/bin/sh progress=27 I NIT_VERSION=sysvinit-2.82 REDIRECT=/dev/tty1 AUTOBOOT=YES COLUMNS=128 PATH=/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin RUN LEVEL=5 PWD=/ PREVLEVEL=S LINES=48 HOME=/ SHLVL=2 kscripts=2 BOOT_IMAGE=Linux splash=silent sscripts=32 _=/sbin/startproc DA EMON=/usr/sbin/nscd ] Starting CRON daemonstartproc: Can not stat /var/run/cron.pid: Permission denied /usr/sbin/cron: can't open or create /var/run/cron.pid: Permission denied startproc: exit status of parent of /usr/sbin/cron: 1 failed 10/29/2004 07:40:43;0002; pbs_mom;Svr;Log;Log opened 10/29/2004 07:40:43;0001; pbs_mom;Svr;pbs_mom;setup_env, Could not set up the environment Starting Name Service Cache Daemonstartproc: Can not stat /var/run/nscd.pid: Permission denied failed 10/29/2004 07:40:44;0002; pbs_sched;Svr;Log;Log opened 10/29/2004 07:40:44;0001; pbs_sched;Svr;pbs_sched;Permission denied (13) in chk_file_sec, Security violation with "/var/spoo l/pbs" 10/29/2004 07:40:44;0001; pbs_sched;Svr;pbs_sched;Permission denied (13) in chk_file_sec, Security violation with "/var/spoo l/pbs/pbs_environment" Starting PBS PBS_Server: unable to open lock file PBS_Server: Permission denied (13) in PBS_Server, PBS_Server: unable to open lock file PBS server pbs_mom: setup_env, Could not set up the environment PBS mom pbs_sched: Permission denied (13) in chk_file_sec, Security violation with "/var/spool/pbs" pbs_sched: Permission denied (13) in chk_file_sec, Security violation with "/var/spool/pbs/pbs_environment" PBS sched Starting DHCP server <notice>startproc: execve (/usr/sbin/dhcpd) [ /usr/sbin/dhcpd -chroot /var/lib/dhcp/ -lf /dhcpd.leases -user nobody -group nogroup eth0 ], [ CONSOLE=/dev/console TERM=linux SHELL=/bin/sh progress=27 INIT_VERSION=sysvinit-2.82 R EDIRECT=/dev/tty1 AUTOBOOT=YES COLUMNS=128 PATH=/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin RUNLEVEL=5 PWD=/ PREVLEVEL=S L INES=48 HOME=/ SHLVL=2 kscripts=2 BOOT_IMAGE=Linux splash=silent sscripts=32 _=/sbin/startproc DAEMON=/usr/sbin/dhcpd ] [chroot]done <notice>exit status of (pbs nscd dhcpd cron) is (0 7 0 7) <notice>start services (splash_late) <notice>exit status of (splash_late) is (0) Master Resource Control: runlevel 5 has been reached Failed services in runlevel 5: apcupsd postfix xdm nscd cron Skipped services in runlevel 5: smbfs <notice>killproc: kill(4311,3) -- Best wishes, Alberto +-------------------------------------------------------------------+ Alberto Santana, PhD Department of Chemistry University of Puerto Rico - Mayaguez P.O. Box 9019 Mayaguez PR 00681-9019 Phone: (787) 832-4040 x3760 http://www.uprm.edu/~asantana +-------------------------------------------------------------------+ Powered by SuSE Linux 9.1 (http://www.suse.com)
On Friday, 29 October 2004 21.42, Alberto Santana wrote:
Our master node (SuSE 9.0) was running OK then it had to be turned off. When it came up again postfix, cron, nscd, and xdm could not be started. Below is part of the relevant messages from boot.msg. As root, the 'ls' command on /var/spool gives Permission denied for every single file in that directory. What the heck is going on here???
It looks very much like the file system has become corrupt. I'm guessing you're using reiserfs. Boot from the CD to the rescue system and run reiserfsck on the root partition and see what it says.
participants (2)
-
Alberto Santana
-
Anders Johansson