Operating System - HP-UX
1826428 Members
3369 Online
109692 Solutions
New Discussion

Syslog is not updating properly

 
pkumar97
Frequent Advisor

Syslog is not updating properly

Dear Team,
In my syslog the logs are not properly updating , some ftp sessions and some switch user log is updating remaining things are not updating

Feb 19 21:34:41 agcdevap root: Some test message
Feb 19 21:45:56 agcdevap su: + tb root-appldev
Feb 19 23:30:00 agcdevap su: + tty?? root-appldev
Feb 20 00:54:11 agcdevap su: + ta root-appldev
Feb 20 01:06:49 agcdevap su: + ta root-applcln
Feb 20 06:30:00 agcdevap su: + tty?? root-appldev
Feb 22 09:52:48 agcdevap root: this is a test login
Feb 22 12:26:36 agcdevap su: + ta root-appltest
Feb 22 23:30:00 agcdevap su: + tty?? root-appldev
Feb 23 06:30:00 agcdevap su: + tty?? root-appldev
Feb 23 12:36:39 agcdevap ftpd[22440]: Data port : 20
Feb 23 12:36:39 agcdevap ftpd[22440]: FTP server (Revision 1.1 Version wuftpd-2.6.1(PHNE_34306) Mon Mar 13 11:15:29 GMT 2006) ready.
Feb 23 12:36:39 agcdevap ftpd[22440]: FTP LOGIN FROM 192.168.33.25 [192.168.33.25], applcln
Feb 23 12:51:59 agcdevap ftpd[22440]: User applcln timed out after 900 seconds at Mon Feb 23 12:51:59 2009
Feb 23 12:51:59 agcdevap ftpd[22440]: FTP session closed
7 REPLIES 7
Laurent Menase
Honored Contributor

Re: Syslog is not updating properly

do you mean the tty??

this is usually due to doing su while you are not on a tty, like
ssh toto@titi su applcln

or ssh -n or remsh,
Mounaam
Trusted Contributor

Re: Syslog is not updating properly

Hi,
check in your /etc/syslog.conf what facility and level have to log in the syslog.log.

By default you have this:
*.info;mail.none /var/adm/syslog/syslog.log

Regards.
pkumar97
Frequent Advisor

Re: Syslog is not updating properly

i mean to say suppose a user is logging in from his terminal and he is switching as a root user , that log normmaly updating on syslog , but here it is not updating , when i tried to update using logger it is working and if am doing ftp that also is working
pkumar97
Frequent Advisor

Re: Syslog is not updating properly

mail.debug /var/adm/syslog/mail.log
*.info;mail.none /var/adm/syslog/syslog.log
*.alert /dev/console
*.alert root
*.emerg *


this is my entry in /etc/syslog.conf
Sani
Frequent Advisor

Re: Syslog is not updating properly

But what is the problem here??
pkumar97
Frequent Advisor

Re: Syslog is not updating properly

Dear Sani ,
The problem is this syslog is not updating on a regular basis , sometimes it is updating some times not , but the deamon is running fine
Sani
Frequent Advisor

Re: Syslog is not updating properly

Can you do vgchange/vgimport etc and check it is updating syslog