1825512 Members
2308 Online
109681 Solutions
New Discussion юеВ

nettl LOG

 
Richard Woolley
Frequent Advisor

nettl LOG

How can i check network logging is switched on properly and writing to the /var/adm/nettl.LOG0* file.

we have just had a crisis and i wanted to check the network logs as something network related seemed to be the issue, however both files nettl.LOG00 and 01 havent been written to since Jul 08. I have ps -ef | grep nettl and it seems to be running.

I would also like to start some sort of session (ftp/telnet) and see it logging the entries to check its working ok. I have already tried but the nettl log does not seem to be getting written to!

mark.
7 REPLIES 7
Stefan Farrelly
Honored Contributor

Re: nettl LOG


The first thing to check is that its switched on in the system startup. Take a look at /etc/rc.config.d/nettl and check for NETTL=1 which means it will start on boot.

You can check the daemon is actually running;

ps -ef|grep nettl

Then the /var/adm/neetl.log00 file should be being written to daily. But by default it doesnt log much - if it was fully enabled your logfile would grow by megabytes in minutes, you need to turn on full logging only when you need to trace some problem. See man nettl on how to activate full logging.


Im from Palmerston North, New Zealand, but somehow ended up in London...
Ravi_8
Honored Contributor

Re: nettl LOG

Hi Mark

unless the system is trusted, we will not be able to make out the telnet/ftp sessions
never give up
steven Burgess_2
Honored Contributor

Re: nettl LOG

Mark

The best way to log the telnet ftp sessions is via the syslog (if not trusted) check inetd.conf file to enable this

As far as nettl tracing

netfmt -t 30 /var/adm/nettl.LOG0 > /tmp/nettl.out

Here is a doc regarding nettl tracing


HTH

Steve
take your time and think things through
Bill McNAMARA_1
Honored Contributor

Re: nettl LOG

Try nettl -status

But, nettladm offers a GUI to configure and view the logs.

Later,
Bill
It works for me (tm)
Bill McNAMARA_1
Honored Contributor

Re: nettl LOG

(repost possible - forums perf suck long and hard today)
Try nettl -status

But, nettladm offers a GUI to configure and view the logs.

Later,
Bill
It works for me (tm)
Mark van Hassel
Respected Contributor

Re: nettl LOG

Hi Mark,

Start nettladm, choos 'actions' then 'start logging'. You may want to add filters (the view tab) or change the log classes by double clicking on the product name.

Select view logging in the action menu to view the logs.

HtH,

Mark
The surest sign that life exists elsewhere in the universe is that none of it has tried to contact us
Bill McNAMARA_1
Honored Contributor

Re: nettl LOG

No one really mentioned how to actually start nettl :

either:

/sbin/init.d/nettl start

or

/etc/nettl -start

Note: BE CAREFUL if you're using Opencall products, a startnettl command is the correct way to start nettl NOT nettl -start.

Later,
Bill
It works for me (tm)