IBM Support

IBM AIX: Unable to start syslogd

Troubleshooting


Problem

Unable to start syslogd on AIX
 

Symptom

The command to start syslogd
# startsrc -s syslogd

Check syslogd status
# lssrc -s syslogd
Inoperative
 

Cause

Unable to start syslogd under srcmstr control

Diagnosing The Problem

# lssrc -s syslogd
Inoperative

Resolving The Problem

List of things to check
1) Check the process table for syslogd
# ps -ef |grep syslogd
If it is in the process table is it running with a PPID of 1? 
If yes, kill the PID and restart it using the startsrc -s syslogd command
-
2) Verify that the syslog line in /etc/services is not commented.
-
3) Verify that nothing is using syslogd UDP port 514
# netstat -Aan |grep "\.514"
-
4) Check the syslogd entry in the ODM
# odmget -q subsysname=syslogd SRCsubsys
Check cmdargs = "" for an invalid option 
-
5) Try to start syslogd outside of srcmstr control
# /usr/sbin/syslogd
# ps -ef |grep syslogd
If syslogd starts from the command line most likely there is a problem with the syslogd entry in the ODM
-
6) Use lppchk to check for software errors
# lppchk -vm3
# lppchk -c bos.net.tcp.syslogd AIX 7.2 and later
# lppchk -c bos.net.tcp.client AIX 7.1 and earlier
# oslevel -s
-
7) Check for syslogd errors in the AIX error log and console log?
# errpt -a |grep syslogd
# alog -ot console |grep syslogd
-
8) Check /etc/syslog.conf for invalid options
# grep -v ^# /etc/syslog.conf
# ls -l /etc/syslog.conf
-
9) Check the permission on syslogd
# ls -l /usr/sbin/syslogd
-r-xr-xr-x root system /usr/sbin/syslogd

 

SUPPORT

If you require more assistance, use the following step-by-step instructions to contact IBM to open a case for software with an active and valid support contract.  

1. Document (or collect screen captures of) all symptoms, errors, and messages related to your issue.

2. Capture any logs or data relevant to the situation.

3. Contact IBM to open a case:

   -For electronic support, see the IBM Support Community:
     https://www.ibm.com/mysupport
   -If you require telephone support, see the web page:
      https://www.ibm.com/planetwide/

4. Provide a clear, concise description of the issue.

 - For guidance, see: Working with IBM AIX Support: Describing the problem.

5. If the system is accessible, collect a system snap, and upload all of the details and data for your case.

 - For guidance, see: Working with IBM AIX Support: Collecting snap data

6. Upload all of the details and data to your case

   - Attach files to your case in the IBM Support Community

     https://www.ibm.com/mysupport/s/?language=en_US

    -Or Upload data to IBM test case server analysis:
f. Provide feedback for clicking on "Contact and feedback" button on the right side of the document.

[{"Line of Business":{"code":"LOB08","label":"Cognitive Systems"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SWG10","label":"AIX"},"ARM Category":[{"code":"a8m0z000000cvwrAAA","label":"Communication Applications"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Version(s)"},{"Type":"MASTER","Line of Business":{"code":"LOB08","label":"Cognitive Systems"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SWG10","label":"AIX"},"ARM Category":[{"code":"a8m0z000000cvxuAAA","label":"Communication Applications-\u003ESYSLOG\/RSYSLOG"}],"Platform":[{"code":"PF002","label":"AIX"}],"Version":"All Versions"}]

Document Information

Modified date:
12 December 2022

UID

ibm16832176