04-12-2004
lost errlog
Hi, i have a problem with mi Aix system, the errlog file is initialized to 0, and i can't write in it, when i run the errpt teh error
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.
can anyone help me with this, how can I restore the file?
thanks in advance
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
will this script work? I want to use it in unix.
clear
ans='y'
While test $ans='y'
do
notfound()
{
echo $response " is not logged in"
}
found()
{
echo $response "is logged into " $name
}
name=`ps -eaf | grep "\<$response\>" | cut -b 80-85`
if
;
then
name=`rsh server2 ps -eaf... (7 Replies)
Discussion started by: azman
7 Replies
2. UNIX for Dummies Questions & Answers
Alright, so I'm interested in using Unix, but I have a couple of pretty basic questions:
1) What's the relationship between Linux and Unix? Are they one and the same, or completely different?
2) Can you use Unix on a laptop?
and
3) Where can you get Unix?
Thanks for listening. (9 Replies)
Discussion started by: Ned
9 Replies
3. UNIX for Dummies Questions & Answers
I have been reading up on starting a website, but i am still lost. I am in much need of assistance. Kind of a step by step because i still don't know where to start. please help. thank you (1 Reply)
Discussion started by: sweetie020602
1 Replies
4. Filesystems, Disks and Memory
First time so excuse my ignorance please.
I may not be accurately describing the issue.
I have inherited a small lab mostly SUN V120s.
We lost power and are trying to recover.
Nope no backups...
The primary issue I have is 1 box is an Oracle Server.
It has 2 36Gb harddrives.
I am able to... (3 Replies)
Discussion started by: murphsr
3 Replies
5. UNIX for Dummies Questions & Answers
:eek: im trying to make a website and im on a site that tells how...
but, it says 2 access my unix account to make 1 online and im alrdy confused!! (1 Reply)
Discussion started by: blugsnorfia
1 Replies
6. UNIX for Dummies Questions & Answers
Fair warning... I know nothing of Unix. That's why I joined this forum and I need your feedback desperatly. Here is the situation...
I built an app using ASP and Northcode's SWF Studio v3 for a cd launcher tool for a client that develops software. They like the app and it works well on... (2 Replies)
Discussion started by: daJabberwocky
2 Replies
7. UNIX for Dummies Questions & Answers
I have been using linux now for about 6 months. I like it although it was quite a learning process. Pretty simple for the most part. Here is my prob...
The first time I installed linux on my computer it went in just fine, no problems.
It did eventually crash though and I had to re-install it.... (2 Replies)
Discussion started by: Treb
2 Replies
8. UNIX for Dummies Questions & Answers
I want to execute my own utilities from my bin folder without having to specify paths at run time - i.e. just enter name on command line - to do
this my search path needs to be set up at login time - when I do this the path is not getting set right apparently(?) - PATH echos OK but the search... (0 Replies)
Discussion started by: robert stansel
0 Replies
9. UNIX for Dummies Questions & Answers
I am taking an online Linux class, which is mandatory for me to graduate. Unfortunately I got the worst online teacher ever, he never respond to any e-mails. I have no idea what going on in this class so I am turning to you guys.
Here is the questions for the week, Ok I don't expect anybody to... (1 Reply)
Discussion started by: Thunderbunny
1 Replies
LEARN ABOUT ULTRIX
elcsd.conf
elcsd.conf(5) File Formats Manual elcsd.conf(5)
Name
elcsd.conf - error logging configuration file
Description
The file contains information used by the daemon to configure error logging for the system. The system manager maintains this file. The
error logging daemon is dependent on the current order of the entries in the file. Do not change the order.
The information in the file shows any defaults and describes what you can enter. A newline is used to delimit each entry in the file, a
null entry consists of a newline alone, and comments begin with #.
#
# elcsd - errlog configuration file
#
{ # delimiter DON'T remove or comment out!
1 # status 1-local,2-logrem,4-remlog,5-remlog+priloglocal
# errlog file size limit num. of blocks
/usr/adm/syserr # errlog dir. path
# backup errlog dir. path
/ # single user errlog dir. path
/usr/adm/syserr # log remote hosts errlog dir. path
# remote hostname to log to
} # delimiter DON'T remove or comment out!
# hosts to log :S - separate file or :R - remotes file (together)
remote1:S
remote2:S
#remote3:S # disabled
remote4:S
.
.
.
The status line of the file describes where you can log error packets, also called error messages:
Logs error packets locally =
1, the default.
Logs error packets from a remote system or systems to the local machine =
2.
Logs local and remote error packets locally =
3.
Logs error packets from the local system to a remote system =
4.
Logs error packets from the local system remotely and logs high
priority messages locally = 5.
The errorlog file size defines the maximum size of an errorlog file. If disk space is limited, you can specify the maximum number of
blocks (512 bytes each) you want the errorlog file to be. If you do not specify the maximum number of blocks, the system will notify you
when the file system is 98% full.
The default errorlog directory path is You can direct error packets to a different directory; if you do, you must change the default for
also. For further information, see
If the error-logging daemon cannot write to the primary errorlog directory path, it attempts to log to the backup errorlog directory path
automatically.
The root directory is the default for the single-user errorlog directory path. When the system makes the transition to multiuser mode,
errors logged in single-user mode are transferred to the default errorlog directory path You can direct single-user error packets to
another directory.
To log error packets from a remote system locally, set up an errorlog directory path on the local system. The default is
Errorlog packets from remote systems can be logged to separate files or to one file. S sets up a separate errorlog file for each remote
system that logs locally. R logs packets from the corresponding remote system to the file syserr.remotes. The default is S.
Restrictions
You must have superuser privileges to change the file. However, anyone can view the file.
Files
elcsd daemon messages
See Also
elcsd(8), eli(8), uerf(8)
Guide to the Error Logger System
elcsd.conf(5)