Porblem with errorlog


 
Thread Tools Search this Thread
Operating Systems AIX Porblem with errorlog
# 1  
Old 07-16-2007
Lightbulb Porblem with errorlog

hi all,

i am facing a problem that my error log was empty(0 byte).
i dont whether threr is any mistake or my server working that much nicly......
please find some output down.

# errpt
0315-180 logread: UNEXPECTED EOF
0315-171 Unable to process the error log file /var/adm/ras/errlog.
0315-132 The supplied error log is not valid: /var/adm/ras/errlog.

in this case the output shows like bootlog is not a alog file. what is this? I cant understand....

# alog -o -t boot
0526-001 alog: /var/adm/ras/bootlog is not an alog file.


please help me out....
thanks in advance......
# 2  
Old 07-17-2007
There is a solution posted elsewhere, here it is literally :

Quote:
Check for a file /tmp/errlog.save. AIX may have created one if your log became
invalid for some reason.

In any case, you can fix a 0 length log by stopping and restarting the errdemon
as follows.

/usr/lib/errstop # stop logging

rm /var/adm/ras/errlog # get rid of that log.

/usr/lib/errdemon # restart the daemon, thus creating a new error log.
HTH.
Login or Register to Ask a Question

Previous Thread | Next Thread

5 More Discussions You Might Find Interesting

1. AIX

Forwarding AIX syslog/errorlog to remote SQL DB

Due to a project I'm currently tasked with I'm spending my time trying to find a way to forward the syslog to a remote, in this case Red Hat, server and squeezing it into a SQL DB. Rsyslog is doing this job quite nicely for most of our test-servers, but I couldn't find any reliable information on... (1 Reply)
Discussion started by: Skleindl
1 Replies

2. UNIX for Dummies Questions & Answers

Crons -Last run time and errorlog

Hi There are few crons running under my account. How to check the last run time of the Cron and if it has run successfully without any errors. Also if there are any errors while running, will the errors be stored some where? How to check the status of all the Crons? Thanks Ashok (3 Replies)
Discussion started by: ashok.k
3 Replies

3. UNIX for Advanced & Expert Users

Redirect ErrorLog to a script

Hello, guys! I need to redirect the error_log of apache web server to a script. I tried to use a pipe instead of a filename but this will cause me some troubles beacause cPanel doesn't like it. So, I would like to try something else. Do you have any ideea on how can I read the content of the... (2 Replies)
Discussion started by: Sergiu-IT
2 Replies

4. AIX

porblem with ping

Hello gurus I've a AIX machine running with version 4.3.3. I should to make some tests and I've installed AIX 4.3.3 again on that server. I've received this message when i made a ping on another server on the same net: 0821-069 ping: sendto : there is a request to a device or address that does... (1 Reply)
Discussion started by: nymus7
1 Replies

5. IP Networking

Connection Porblem

If anyon eread this I need a answer quick. I can ping a machince on my network but I can't connect to it. I keep getting a protocol error. I check everything hosts file .deny .allow. Can you please help me (1 Reply)
Discussion started by: aojmoj
1 Replies
Login or Register to Ask a Question