Not logging ftp connections in /var/adm/wtmpx file (in last command output)
Hi all,
I have F5 load balancer on my system and checking service status by opening an ftp session in every 30 seconds. These ftp sessions are being logged in /var/adm/wtmpx and filling up the file. when i run the last command most of the output is this ftp session. I was wondering if there is a way not keep log of these ftp sessions on /var/adm/wtmpx file.
Sample:
Last edited by Scott; 11-29-2012 at 09:54 PM..
Reason: Please use code tags
Do someone know how to delete entry(some lines)
in file "wtmpx" that command "last" use it.
this file is binary so I cannot edit directy.
=========================
#last
root pts/1 noc Fri Mar 3 22:04 still logged in
root pts/1 noc Fri Mar 3 22:01 - 22:02 ... (4 Replies)
Hello
One of our applications initiates an ftp logon to itself twice every second ...(to check some files or something im not sure) but every time it does this it logs an entry into the wtmpx database, this file is now getting absolutely huge and whilst I know that I could implement some type of... (1 Reply)
In our operating procedures, if a workstation has a space problem in the /var filesystem, one of the most frequent case we were told is the size of the /var/adm/wtmp file.
Someone once told me it is dangerous to do this. Is it ?
I cannot say for certain that whomever wrote that procedure is... (2 Replies)
hi sirs
can u tell the difference between /var/log/syslogs and /var/adm/messages
in my working place i am having two servers.
in one servers messages file is empty and syslog file is going on increasing..
and in another servers message file is going on increasing but syslog file is... (2 Replies)
I have a solaris 10 machine, lately I had a drive error issue so the dmesg command would show a screen full, now that the drive issue is resolved I want to have a fresh start for my #dmesg command output.
The root cron looks like this
The /etc/logadm.conf file has this entry
If I manually... (2 Replies)
Do not know the reason y messages file is empty already restarted the syslog daemon but still its showing empty .
xxxxxxx# more /var/adm/messages
xxxxxx#
# ps -efo zone,pid,ppid,time,comm | grep syslog | grep global
global 11861 1 00:10 /usr/sbin/syslogd
svcs... (2 Replies)
Hi, The server is p570 with AIX@5300-10...
The messages file is missing...how do I get it back and start logging the messages??
Can I just create the file again? (2 Replies)
Hi,
Please help to seprate my /var/adm/messages output. Than i want to take this
output in the excel.
e,g
cat /var/adm/messages
Sep 4 10:16:52 ibsadm1 inetd: vnetd from 172.17.5.20 38353
Sep 4 10:16:52 ibsadm1 inetd: bpcd from 172.17.5.20 915
Sep 4 10:16:55 ibsadm1 inetd: ... (5 Replies)
This is isolated to just 1 non-global zone out of many zones managed
This is a Solaris 11 system on SPARC
This is NOT a branded zone
syslogd is active
This came to our attention when one of our scripts didn't run over the weekend prompting us to check our messages logging in... (6 Replies)