Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-26-2004 12:02 AM
тАО11-26-2004 12:02 AM
syslogd
i'm not getting any messages in /var/log/messages,
when i try to restart /etc/rc.d/init.d/syslog
kernel logger is fine, system logger fails,
any thoughts ??
thanks
chakri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-26-2004 02:27 AM
тАО11-26-2004 02:27 AM
Re: syslogd
/sbin/init.d/syslogd start
I'm assuming thats a typo since you say there is partial functionality.
Try this:
/sbin/init.d/syslogd start
rc=$?
echo "process return code: $rc"
If its a zero its a clean start. If not, report the error code.
Also you can put a set -x after the shell command in /sbin/init.d/syslogd and get enhanced diagnostics at startup.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-26-2004 03:32 AM
тАО11-26-2004 03:32 AM
Re: syslogd
/etc/init.d/syslogd start
servie syslogd start
the set -x stuff is still valid.
SEP
Countdown is 17. Making room on my head for more salad.
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-26-2004 04:01 AM
тАО11-26-2004 04:01 AM
Re: syslogd
when you say that kernel log is ok is because you have klogd running and when you say that system logger fails is because you don't have syslogd running ?
If syslogd is running and you don't get any message on /var/log/message you must verify /etc/syslogd.conf to see if there is any mistake on it.
If you are not shure about configure /etc/syslogd.conf please send it to us.
Regards,
Xyko
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-26-2004 04:42 AM
тАО11-26-2004 04:42 AM
Re: syslogd
The syslogd configuration file might have some typo which might need to be fixed. Is syslogd running after you start it.
/etc/init.d/syslog start or restart
If syslogd process is running & if there are no entries in the messages file then you need to check the syslogd.conf file.
Rgds
HGN
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-27-2004 07:26 PM
тАО11-27-2004 07:26 PM
Re: syslogd
. /etc/init.d/functions
++ TEXTDOMAIN=initscripts
++ TEXTDOMAINDIR=/etc/locale
++ umask 022
++ export PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bi
++ PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin
++ '[' -z '' ']'
++ COLUMNS=80
++ '[' -f /etc/sysconfig/i18n -a -z '' ']'
++ . /etc/sysconfig/i18n
+++ SUPPORTED=en_US:en
+++ /sbin/consoletype
++ '[' '' = ja_JP.eucJP -a pty '!=' pty ']'
+++ /sbin/consoletype
++ '[' '' = ko_KR.eucKR -a pty '!=' pty ']'
+++ /sbin/consoletype
++ '[' '' = zh_CN.GB2312 -a pty '!=' pty ']'
+++ /sbin/consoletype
++ '[' '' = zh_TW.Big5 -a pty '!=' pty ']'
++ export LANG
++ '[' -z '' ']'
++ '[' -f /etc/sysconfig/init ']'
++ . /etc/sysconfig/init
+++ BOOTUP=color
+++ RES_COL=60
+++ MOVE_TO_COL=echo -en \033[60G
+++ SETCOLOR_SUCCESS=echo -en \033[1;32m
+++ SETCOLOR_FAILURE=echo -en \033[1;31m
+++ SETCOLOR_WARNING=echo -en \033[1;33m
+++ SETCOLOR_NORMAL=echo -en \033[0;39m
+++ LOGLEVEL=3
+++ PROMPT=yes
++ '[' -x /sbin/consoletype ']'
+++ consoletype
++ '[' pty = serial ']'
++ '[' color '!=' verbose ']'
++ INITLOG_ARGS=-q
+ '[' -f /sbin/syslogd ']'
+ '[' -f /sbin/klogd ']'
+ '[' -f /etc/sysconfig/syslog ']'
+ . /etc/sysconfig/syslog
++ SYSLOGD_OPTIONS=-r -m 0
++ KLOGD_OPTIONS=-2
+ RETVAL=0
+ umask 077
+ start
+ echo -n 'Starting system logger: '
Starting system logger: + daemon syslogd -r -m 0
+ local gotbase=
+ local base= user= nice= bg= pid
+ nicelevel=0
+ '[' syslogd '!=' syslogd ']'
+ '[' -z '' ']'
+ base=syslogd
++ pidfileofproc syslogd
++ local base=syslogd
++ local pid
++ '[' 1 = 0 ']'
++ '[' -f /var/run/syslogd.pid ']'
+ pid=
+ '[' -n '' ']'
+ ulimit -S -c 0
+ '[' color = verbose ']'
+ '[' -z '' ']'
+ initlog -q -c 'syslogd -r -m 0'
+ '[' 2 -eq 0 ']'
+ failure 'syslogd startup'
+ rc=1
+ '[' -z '' ']'
+ initlog -q -n /etc/rc.d/init.d/syslog -s 'syslogd startu
+ '[' color '!=' verbose ']'
+ echo_failure
+ '[' color = color ']'
+ echo -en '\033[60G'
echo -n '['
[+ '[' color = color ']'
+ echo -en '\033[1;31m'
+ echo -n FAILED
FAILED+ '[' color = color ']'
+ echo -en '\033[0;39m'
+ echo -n ']'
]+ echo -ne '\r'
+ return 1
+ return 1
+ RETVAL=1
+ echo
thanks
chakri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-28-2004 10:21 AM
тАО11-28-2004 10:21 AM
Re: syslogd
It doesn't appear is if it is already running('pidfileofproc syslogd' doesn't find the pid file, and returns 0), so it's just failing in general.
Things to check:
/etc/syslog.conf
/dev/log
/var/run/
You should be trying to start 'syslogd' as the 'root' user (nothing else). The file '/etc/syslog.conf' must exist, and the root user must have read permissions to it. Root must also have read permissions on the socket device '/dev/log' (usually 'srw-rw-rw-'). It must also have write permissions on the '/var/run/' directory to be able to create the pid file.
As 'syslogd' is actually being called by 'initlog', I'd also check that the root user has read permissions on '/etc/initlog.conf'.
Verify all of these, then try it again.