syslog not coming up

 
Thread Tools Search this Thread
Homework and Emergencies Emergency UNIX and Linux Support syslog not coming up
# 1  
Old 03-14-2012
syslog not coming up

Hi All,

I have a whole root zone, tsesbd02-zesbx01. On this zone, syslog service is not coming up. While it is working good on Global zone. Below are commands from tsesbd02-zesbx01
HTML Code:
root@tsesbd02-zesbx01:/# svcs -a svc:/system/system-log:default
svcs: -a ignored when used with arguments.
STATE          STIME    FMRI
maintenance    12:35:29 svc:/system/system-log:default
root@tsesbd02-zesbx01:/# svcs -xv svc:/system/system-log:default
svc:/system/system-log:default (system log)
 State: maintenance since Wed Mar 14 12:35:29 2012
Reason: Start method exited with $SMF_EXIT_ERR_CONFIG.
   See: http://sun.com/msg/SMF-8000-KS
   See: man -M /usr/share/man -s 1M syslogd
   See: /var/svc/log/system-system-log:default.log
Impact: This service is not running.
root@tsesbd02-zesbx01:/# tail -30 /var/svc/log/system-system-log:default.log
[ Mar 14 12:13:45 Executing stop method (:kill) ]
[ Mar 14 12:13:45 Executing start method ("/lib/svc/method/system-log") ]
svccfg: Unexpected libscf error on line 11040 of svccfg_libscf.c: server has insufficient resources.
svccfg: Property group already exists.
svccfg: Unexpected libscf error on line 11704 of svccfg_libscf.c: server has insufficient resources.
Failed to set remote syslog-logging
[ Mar 14 12:13:46 Method "start" exited with status 96 ]
[ Mar 14 12:20:02 Leaving maintenance because clear requested. ]
[ Mar 14 12:20:02 Enabled. ]
[ Mar 14 12:20:02 Executing start method ("/lib/svc/method/system-log") ]
svccfg: Unexpected libscf error on line 11040 of svccfg_libscf.c: server has insufficient resources.
svccfg: Property group already exists.
svccfg: Unexpected libscf error on line 11704 of svccfg_libscf.c: server has insufficient resources.
Failed to set remote syslog-logging
[ Mar 14 12:20:03 Method "start" exited with status 96 ]
[ Mar 14 12:27:19 Leaving maintenance because clear requested. ]
[ Mar 14 12:27:19 Enabled. ]
[ Mar 14 12:27:19 Executing start method ("/lib/svc/method/system-log") ]
svccfg: Unexpected libscf error on line 11040 of svccfg_libscf.c: backend is read-only.
svccfg: Unexpected libscf error on line 10816 of svccfg_libscf.c: backend is read-only.
svccfg: Unexpected libscf error on line 11704 of svccfg_libscf.c: backend is read-only.
Failed to set remote syslog-logging
[ Mar 14 12:35:28 Leaving maintenance because clear requested. ]
[ Mar 14 12:35:28 Enabled. ]
[ Mar 14 12:35:28 Executing start method ("/lib/svc/method/system-log") ]
svccfg: Unexpected libscf error on line 11040 of svccfg_libscf.c: backend is read-only.
svccfg: Unexpected libscf error on line 10816 of svccfg_libscf.c: backend is read-only.
svccfg: Unexpected libscf error on line 11704 of svccfg_libscf.c: backend is read-only.
Failed to set remote syslog-logging
[ Mar 14 12:35:29 Method "start" exited with status 96 ]
root@tsesbd02-zesbx01:/#
Please help, how to clear this maintenance flag and activate it

Regards
# 2  
Old 03-14-2012
Can you post contents of /etc/syslog.conf?
# 3  
Old 03-14-2012
PHP Code:
root@tsesbd02-zesbx01:/# cat /etc/syslog.conf
#
# Copyright (c) 2000-2002 by Sun Microsystems, Inc.
# All rights reserved.
#
#ident  "@(#)syslog.conf        2.3     02/02/21        SMI"
#
# This "syslog.conf" file was installed by JASS.  This
# file should be used to log information both locally as
# well as to a centralized log server (or servers) so that
# proactive log analysis can be done.
*.err;kern.notice;auth.notice   /dev/console
*.alert                         root
*.emerg                         *
*.
debug                         /var/adm/messages
# *.debug                       @loghost1
# *.debug                       @loghost2
#user.debug          /var/mqsi/log/user.log
user.info                       /var/mqsi/log/user.log 
# 4  
Old 03-14-2012
I found similar issue here. Try killing svc.configd and then clearing syslog service.
# 5  
Old 03-14-2012
Bartus, I already tried that and that didn't helped. It seems like his root cause was different
PHP Code:
root@tsesbd02-zesbx01:/# ps -ef | grep -i svc.configd
    
root 27101 21113   0 14:34:43 pts/2       0:00 grep -i svc.configd
    root  6614 18078   0 12
:26:50 ?           0:15 /lib/svc/bin/svc.configd
root
@tsesbd02-zesbx01:/# kill -9 6614
root@tsesbd02-zesbx01:/# ps -ef | grep -i svc.configd
    
root 27103 18078   0 14:34:50 ?           0:01 /lib/svc/bin/svc.configd
    root 27106 21113   0 14
:34:53 pts/2       0:00 grep -i svc.configd
root
@tsesbd02-zesbx01:/# svcadm clear svc:/system/system-log:default
root@tsesbd02-zesbx01:/# svcs -a | grep -i /system/system-log
maintenance    14:35:17 svc:/system/system-log:default 
# 6  
Old 03-14-2012
Have you tried stopping the zone and booting it again?
# 7  
Old 03-14-2012
Not yet. Few applications are running on zone, so I was trying to start syslog service without restarting zone. Does that log says something
PHP Code:
/var/svc/log/system-system-log:default.log 
?
Login or Register to Ask a Question

Previous Thread | Next Thread

5 More Discussions You Might Find Interesting

1. Infrastructure Monitoring

Notifications not coming through

Issue: I'm not receiving notifications I can succesfully receive an e-mail if I do this on the command line: /usr/bin/mail -s "NAGIOS HOST ALERT on $HOSTNAME$" rgouette@butlerbros.com but, my command.cfg configuration below, refuses to send an e-mail when I set a service to a critical... (3 Replies)
Discussion started by: rgouette
3 Replies

2. UNIX for Dummies Questions & Answers

coming out from vi editior

Hi Folks, I have opened a log file through Vi editor in putty itself and I was searching for a pattern in logs , let say 'ABCD' /abcd then I want to come out from vi editor, Please advise what is the command to come out from unix editor..! (1 Reply)
Discussion started by: KAREENA18
1 Replies

3. Shell Programming and Scripting

return value not coming as expected

Hi, We are using a shell script which is called from COBOL program. Here the program works fine till we are using MicroFocus(MF) COBOL 4 and UNIX AIX 5.3. Recently we have upgraded to MicroFocus(MF) COBOL 5.1 but same AIX version. now the shell script not working as expected. The shell... (5 Replies)
Discussion started by: vensk27
5 Replies

4. Linux

incoming mails not coming

I am using Linux box. i am able to send mails through sendmail to local and other domains. i am not receving any incoming mails. dovecot service is running. (4 Replies)
Discussion started by: harishindn
4 Replies

5. Red Hat

Sendmail help on RH 9 - going out but NOT coming in..

Is there not one of us who can help here?? I'm really letting down my pants here - not sure what's going on but if you could foreward this link to a group you may know I would greatly appreciate it. I'm getting this error: May 30 22:18:35 MYSERVERNAME sendmail: j4V2HWka015549: ... (1 Reply)
Discussion started by: angelohl
1 Replies
Login or Register to Ask a Question