System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

ftp logs are save in some other path not in syslog.lo

 
SOLVED
Go to solution
Highlighted
rajesh73
Super Advisor

ftp logs are save in some other path not in syslog.lo

Hi all
i have hp-ux 11.23 os
normally what are ftp login details are sved in /var/adm/syslo/syslog.log
but i need to save the what are the ftp logins are saved to some other place don't want save in syslog.log file.

pls any one help me very urgent

16 REPLIES 16
Horia Chirculescu
Honored Contributor
Solution

Re: ftp logs are save in some other path not in syslog.lo

Hello,

The current HP-UX ftpd implementation does not offer this possibility. You only are able to save the logs from all the daemons (including ftpd) running on your server to another log file like this (edit /etc/syslogd.conf and restart syslogd):

*.info;mail.none;daemon.none /var/adm/syslog/syslog.log
daemon.* /var/adm/syslog/daemon.log


Also, you can use another ftp daemon like proftpd:

http://www.proftpd.org/

That will provide you the facility to redirects all logging output to the specified file. (see SystemLog directive - read the docs)

You have to compile it on your server or you can use an older version already compiled for HP-UX from porting archive:

http://hpux.connect.org.uk/hppd/hpux/Networking/FTP/proftpd-1.3.2b/

But it is an old version.

Horia.
Best regards from Romania,
Horia.
rajesh73
Super Advisor

Re: ftp logs are save in some other path not in syslog.lo

Hi Horia

thank you for reply. I tried but it is not working. it will work in 11.23?

psl reply urgent if u dont mind

Rajesh
rajesh73
Super Advisor

Re: ftp logs are save in some other path not in syslog.lo

Hi
i enterd same entry in syslog.conf

*.info;mail.none;daemon.none /var/adm/syslog/syslog.log
daemon.* /var/adm/syslog/daemon.log

Regds
Rajesh
Johnson Punniyalingam
Honored Contributor

Re: ftp logs are save in some other path not in syslog.lo

Hi Rajesh,

(edit /etc/syslogd.conf and restart syslogd):

after that did you restart the "syslodg" ?

/sbin/init.d/syslogd stop
/sbin/init.d/syslogd start

rgds,
Problems are common to all, but attitude makes the difference
Horia Chirculescu
Honored Contributor

Re: ftp logs are save in some other path not in syslog.lo

>i enterd same entry in syslog.conf

Did you restarted syslogd afther you edited /etc/syslogd.conf?

/sbin/init.d/syslogd stop

/sbin/init.d/syslogd start

Horia.
Best regards from Romania,
Horia.
rajesh73
Super Advisor

Re: ftp logs are save in some other path not in syslog.lo

hi

once i enterd i restarted the syslog daemon

still i facing same problem

here with i attached the syslog file

Regds
Rajesh
Horia Chirculescu
Honored Contributor

Re: ftp logs are save in some other path not in syslog.lo

You have a problem...

>daemon.*/var/adm/syslog/daemon.log

The file /etc/syslog.conf must respect a pattern. There must be TABs between the fields

Between daemon.* and /var you must insert TABs.

Horia.



Best regards from Romania,
Horia.
Horia Chirculescu
Honored Contributor

Re: ftp logs are save in some other path not in syslog.lo

As usual, read man pages:

man syslogd

Horia.
Best regards from Romania,
Horia.
rajesh73
Super Advisor

Re: ftp logs are save in some other path not in syslog.lo

i was entered the TAB between two fields but still same problem