Troubleshooting Failed and Skipped Services
This document (7002802) is provided subject to the disclaimer at the end of this document.
SUSE Linux Enterprise Server 10
SUSE Linux Enterprise Server 9
Skipped services in runlevel 5:
- Identify the failed or skipped services
- The service(s) that is failing is shown on virtual console F1 after the "Failed service in runlevel" message.
- Write down each service that failed or skipped
- Troubleshoot each service, one at a time
- Look for error messages in /var/log/boot.msg for each failed service
- The boot.msg file may show additional errors that occurred at the last server boot
- Perform an RPM validation check on the package that owns the failed service
- The service name is associated with the file in the /etc/init.d directory
- Run rpm -Vf /etc/init.d/<service_name>
- Reinstall the RPM packages associated with the failed service as necessary
- If the size (S), md5sum (5), or permissions (M) have changed on a binary, library or the service file itself, consider reinstalling the RPM
- If you need to reinstall the RPM, use YaST, Software, Software Management and force an update to the package that owns the failed service.
- You can determine which package owns the failed service using the rpm command. For example, rpm -qf /etc/init.d/cups will show which RPM package owns CUPS.
- Configure service specific parameters as necessary
- Most services are skipped because they haven't been configured yet
- Refer to the service man pages and online documentation for configuration procedures
When the server boots, the following message is left on the Ctrl-Alt-F1 screen:
<notice>startproc: execve (/usr/sbin/cupsd) [ /usr/sbin/cupsd ], [ CONSOLE=/dev/console ROOTFS_FSTYPE=ext3 SHELL=/bin/sh TERM=linux ROOTFS_FSCK=0 LC_ALL=POSIX INIT_VERSION=sysvinit-2.86 REDIRECT=/dev/tty1 COLUMNS=80 PATH=/bin:/sbin:/usr/bin:/usr/sbin DO_CONFIRM= RUNLEVEL=5 PWD=/ SPLASHCFG= PREVLEVEL=N LINES=25 HOME=/ SHLVL=2 splash=silent SPLASH=no ROOTFS_BLKDEV=/dev/disk/by-id/ata-Hitachi_HTS721010G9SA00_MPCZN7Y0H2B9PL-part7 _=/sbin/startproc DAEMON=/usr/sbin/cupsd ]
Starting cupsd failed
Not a lot of additional information is found in boot.msg.
Validating the RPM shows:
skylark:~ # rpm -qf /etc/init.d/cups
skylark:~ # rpm -V cups
S.5....T c /etc/cups/cupsd.conf
The fact that the cupsd daemon has a different md5sum (5) now as compared to when it was installed, suggests file corruption with daemon executable. It is highly recommended that the cups RPM package be reinstalled in this case.
If cups were a skipped service, notice that the cupsd.conf file has been updated. You might want to review the CUPS configuration and retest in that case.
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:7002802
- Creation Date: 23-Mar-2009
- Modified Date:16-Mar-2021
- SUSE Linux Enterprise Desktop
- SUSE Linux Enterprise Real Time
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: firstname.lastname@example.org