syslogd failed to log message to /var/adm/messages

syslogd failed to log message to /var/adm/messages

Post by K La » Fri, 05 Feb 1999 04:00:00



Hello,

I'm running Solaris 2.5.1, and I'm encountering a problem where syslogd
fails to log message to /var/adm/messages. I looked at /etc/syslog.conf,
which was not modified at all, and the syslog.conf file worked when I
copied to another machine. Checked syslog.conf and it showed the correct
pid. I stop and restart syslogd using "truss -f -a syslogd -d" and ran
logger to test, the trace output didn't show anything.. Looked like
something got stuck.

Is there anyone has an idea what is wrong? Thanks in advance.

Lam

 
 
 

syslogd failed to log message to /var/adm/messages

Post by K La » Fri, 05 Feb 1999 04:00:00


Hello,

I'm running Solaris 2.5.1, and I'm encountering a problem where syslogd
fails to log message to /var/adm/messages. I looked at /etc/syslog.conf,
which was not modified at all, and the syslog.conf file worked when I
copied to another machine. Checked syslog.conf and it showed the correct
pid. I stop and restart syslogd using "truss -f -a syslogd -d" and ran
logger to test, the trace output didn't show anything.. Looked like
something got stuck.

Is there anyone has an idea what is wrong? Thanks in advance.

Lam

 
 
 

syslogd failed to log message to /var/adm/messages

Post by K La » Fri, 05 Feb 1999 04:00:00


Hello,

I'm running Solaris 2.5.1, and I'm encountering a problem where syslogd
fails to log message to /var/adm/messages. I looked at /etc/syslog.conf,
which was not modified at all, and the syslog.conf file worked when I
copied to another machine. Checked syslog.conf and it showed the correct
pid. I stop and restart syslogd using "truss -f -a syslogd -d" and ran
logger to test, the trace output didn't show anything.. Looked like
something got stuck.

Is there anyone has an idea what is wrong? Thanks in advance.

Lam

 
 
 

syslogd failed to log message to /var/adm/messages

Post by Barry Margoli » Fri, 05 Feb 1999 04:00:00




Quote:>Hello,

>I'm running Solaris 2.5.1, and I'm encountering a problem where syslogd
>fails to log message to /var/adm/messages. I looked at /etc/syslog.conf,
>which was not modified at all, and the syslog.conf file worked when I
>copied to another machine. Checked syslog.conf and it showed the correct
>pid. I stop and restart syslogd using "truss -f -a syslogd -d" and ran
>logger to test, the trace output didn't show anything.. Looked like
>something got stuck.

Does the file exist?  syslogd never creates log files by itself.

--

GTE Internetworking, Powered by BBN, Burlington, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Don't bother cc'ing followups to me.

 
 
 

1. "setuid fail" message in /var/adm/messages

I got a problem when I tried to execute program called  probrkr.  That
program spawns another process called _dtsrv to handle TCP session from
client.   The setuid bit of the both are enable.

anyfs1:/rtc/dlc/bin>ls -l _probrkr _dtsrv
-rws-xr-x   1 root     root      612536 Apr 21 10:20 _dtsrv
-rws-xr-x   1 root     root      353316 Apr 21 10:20 _probrkr      

After _dtsrv was executed by _probrkr.  The process (_dtsrv) was terminated
and generate a core file.   In /var/adm/messages, there are messages said
about  setuid.

Apr 21 09:01:02 anyfs1 unix: NOTICE: _probrkr, uid 3000: setuid execution
not allowed, dev=80001f
Apr 21 09:05:07 anyfs1 unix: NOTICE: _dtsrv, uid 3000: setuid execution not
allowed, dev=80001f

I tried to start those program by root. The result was still the same.
Those program are run on Sun Sparc 5 with Solaris 2.6.

Does anyone have any idea/reference about this problem.  I guess, if I can
solve this problem, those program will work properly.

Thanks in advances
Skon L.

2. deleting users on NIS+ server

3. trimming /var/adm/messages & /var/adm/syslog

4. Q: How to get the date in C program!

5. Clean way to remove /var/adm/messages and /var/adm/syslog

6. New or Revised TAs on websco, 970220

7. How does syslogd maintain /var/adm/messages files?

8. Problems installing RH 4.1...

9. syslogd.conf configuration to copy /var/adm/messages to a loghost ?

10. /var/adm/messages & syslogd

11. syslogd. Error in /var/adm/messages

12. Can Loghost's syslogd steer multiple remote /var/adm/messages to multiple files?

13. bootp messages in /var/adm/messages, disable?