[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 19980104: ldm logging



On Mon, 4 Jan 1999, Unidata Support wrote:

> >To: "'address@hidden'" <address@hidden>
> >From: "Rahe, Peter J." <address@hidden>
> >Subject: ldm logging
> >Organization: .
> >Keywords: 199901041652.JAA12994
> 
> I'm having some trouble with loggin on the ldm.  The ldm should rotate
> ldmd.log files at midnight through the cron job 'ldmadmin newlog'.  It
> hasn't been creating the new log for a while now, so I tried to run the
> command manually and got this as a response:
> 
>       hupsyslog:  kill -HUP 267: permission denied
> 
Pete,
 
I appears that hupsyslog is not suid root, ie..

% ls -l hupsyslog

-rwsr-xr-x   1 root     ustaff     22296 Oct  8 11:28 ../bin/hupsyslog

both rpc.ldmd and hupsyslog must be suid root, to change one must be root:

% chown root hupsyslog
% chmod u+srwx,g+rwx,o+rx hupsyslog

The only other thing I can think of is that syslog died, look at:

% ps -eaf | grep syslogd

to see if it's running, if not restart syslogd. I think solaris 2.5 and
2.6 had problems with syslog. It wasn't fixed until 2.7

Robb...

> I re-accomplished all the steps in "Setting up logging" of the ldm users
> guide, but still no luck.  Any clues. 
> 
> 
> MSgt Peter J. Rahe                            
> Superintendent, Meteorology Lab Operations
> Air Force Institute of Technology
> Wright-Patterson AFB OH
> e-mail  <mailto:address@hidden> address@hidden or
> <mailto:address@hidden> address@hidden                
> DSN 785-3636 x4646  COMM (937) 255-3636 x4646
> Fax:  DSN 785-2921    COMM (937) 255-2921
> 
> First Draw the curve, then plot the data! 
> >.
> 

===============================================================================
Robb Kambic                                Unidata Program Center
Software Engineer III                      Univ. Corp for Atmospheric Research
address@hidden             WWW: http://www.unidata.ucar.edu/
===============================================================================