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

log file to network problems

SOLVED
Go to solution
Mousa55
Super Advisor

log file to network problems

Hi All,

Is there any log file to network problems?
Since yesterday have been disconnected with Cable Network of server (rp8420) physically.
I want to know when the problem occurs.
and i check the syslog.log file but i don't find any thing

thanks

6 REPLIES
Hakki Aydin Ucar
Honored Contributor

Re: log file to network problems

Hi,

you can check /var/adm/syslog/syslog.log

another log for network disconnection , console logs, chassis code buffer:
CL , SL .
Tim Nelson
Honored Contributor
Solution

Re: log file to network problems

/var/adm/nettl.log###

use netfmt -N -f /var/adm/nettl.log000
Johnson Punniyalingam
Honored Contributor

Re: log file to network problems

dmesg ?
/var/adm/syslog/syslog.log ?
Problems are common to all, but attitude makes the difference
Suraj K Sankari
Honored Contributor

Re: log file to network problems

Hi,

You can find every update about network error in /var/adm/syslog/syslog.log file.

Suraj
Raj D.
Honored Contributor

Re: log file to network problems

Nejad,
If you are under SG environment network related logs will be captured in syslog .

Other than this you can use netfmt tracing and logging facility to check nettl.LOG00 file to see network related errors and connection drop / disconnection related messages,

Ex: To see the last 50 records of the log file:
# netfmt -t 50 -f /var/adm/nettl.LOG00


More about netfmt pls. check:
http://docs.hp.com/en/B2355-90681/netfmt.1M.html

Cheers,
Raj.
" If u think u can , If u think u cannot , - You are always Right . "
Hakki Aydin Ucar
Honored Contributor

Re: log file to network problems

Hi again,

On second though, better way to use nettl utility on HP-UX as some people mentioned. For an example I put steps :

# nettl -start
Initializing Network Tracing and Logging...
Done.

# nettl -traceon all -entity all -f /tmp/mytracefile
nettl : The trace/log file name specified is too long to append
the file suffixes. The file name has been truncated
to the following: /tmp/mytrace.


## After a day later ,you can stop tracing and probably you will have more than one trace file. . .

# nettl -traceoff -entity all
# netfmt -N -f /tmp/mytrace.TRC000 > /tmp/trace0


# netfmt -N -f /tmp/mytrace.TRC001 > /tmp/trace1

# nettl -stop

# pg /tmp/trace0 # To check first file
# pg /tmp/trace1 # To check other file