What's your favorite AIX Error?


 
Thread Tools Search this Thread
Operating Systems AIX What's your favorite AIX Error?
# 1  
Old 05-21-2013
What's your favorite AIX Error?

I've set up errpt to redirect to syslog and syslog to forward to our linux syslog server. So I get to play around the rest of the day breaking my labs.

I've been filling file systems, tearing apart vhosts and unplugging cables - committing all sorts of heinous crimes.

I'm not used to this much freedom, I need some inspiration. What's your favorite break/fix?
# 2  
Old 05-22-2013
bugs? did you not know - AIX is bug free.

just type $ bugs

Hard to track issue: /etc/hosts lacks entry for localhost and/or the /etc/hosts entry for the hostname has the wrong IP address.

Another syslog "source" is to activate ipsec4 and IP logging - runs on local4.*

And look at auth.* for login issues, smtp "logins" (I think they go there).

mail.* has many reporters (e.g., smtp for sure, pop3, etc.) and daemon.*

just turning them on separately and learning how they report (differently) can be interesting.

Hope this helps!
This User Gave Thanks to MichaelFelt For This Post:
# 3  
Old 05-22-2013
Login issues have been a good one.

Something I'm noticing, and maybe it was set up this way where I am before my time, if I fill a filesystem a la:

Code:
dd if=/dev/zero of=./blah bs=1M

I'll get my error in errpt. If I delete the file and do it again right away I don't get a second error. There seems to be a 'cool down' but I've seen instances in the past with flapping adapters where errpt rolls because it gets flooded.

That was the main reason for hunting down new ways to break the system without outright killing it.

Moderator's Comments:
Mod Comment Use code tags please.

Last edited by zaxxon; 05-22-2013 at 11:07 AM..
# 4  
Old 05-22-2013
Do not know about "cooldown" - and would need to know which daemon, subsystem is sending message to syslog and/or errpt before even beginning to guess.
# 5  
Old 05-23-2013
My crude test would go something like this:

fill fs
see alert hit errpt
delete file I used to fill fs
fill fs again
no error hits errpt

Code:
#cd to the unlucky fs
cd /opt

#fill fs
dd if=/dev/zero of=./blah bs=1M

#verify error hit errpt
errpt -a | more

#del file
rm blah

#fill fs again
dd if=/dev/zero of=./blah bs=1M

#verify error hit errpt
errpt -a | more

Only one JFS2_FULL message in errpt for /opt, no entry for the second filling.


I redirect errpt to syslog using an additional to the ODM with this bad boy:
Code:
errnotify:
en_pid = 0
en_name = "errptToSyslog"
en_persistenceflg = 1
en_method = "/usr/bin/logger Error Log: `/usr/bin/errpt -l $1 | /usr/bin/grep -v TIMESTAMP` "

and add the appropriate syslog.conf entries to ensure I have the forwarded logs going the files/server I want and get them rolling (touch the files,
Code:
stopsrc -s syslogd; startsrc -a -n -s syslogd

).

I think the process goes:
*Error Hits* -> errpt entry -> errpt sends to syslog

Sorry if I'm throwing info out there, I figured I'd share what I'm doing in its completeness.
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. Open Source

What is your favorite Linux distro?

What is your favorite Linux distro? and possibly why? Personally, I have Fedora 3 on my computer. I have used Ubuntu and Slackware, too. But I think I liked Ubuntu more, maybe because of its speed and easy installation of packages. (192 Replies)
Discussion started by: milhan
192 Replies

2. UNIX for Dummies Questions & Answers

What is your favorite terminal?

And how does one executes a command there? Mine is: lxterminal -e ./script.sh (23 Replies)
Discussion started by: sea
23 Replies

3. What is on Your Mind?

What is your favorite TED talk?

The TED talk (Technology Entertainment Design) non-profit initiative started many years ago as a platform for sharing knowledge to a wide audience. Since 2006 the talks are available online under a Creative Commons license. There are now 1000+ TED talks from a wide range of subjects and I wanted to... (3 Replies)
Discussion started by: figaro
3 Replies

4. Web Development

What is Your Favorite Web Browser?

OK, please vote on your favorite web browser and comment why! Only currently supported browers please! Thanks. PS: I am a big FireFox fan. FireFox add-ons rock! (61 Replies)
Discussion started by: Neo
61 Replies

5. UNIX and Linux Applications

Favorite Firefox tweaks

Can everyone please list there favorite firefox tweaks? These are my favorite tweaks. Config.trim_on_minimize true Allow Windows to swap out memory when the program is minimized. false Prevent Windows from swapping out memory when the program is minimized. (Default) Enter... (0 Replies)
Discussion started by: cokedude
0 Replies

6. What is on Your Mind?

Where Is Your Favorite Continent?

Where is your favorite continent to enjoy life? (14 Replies)
Discussion started by: Neo
14 Replies

7. What is on Your Mind?

What's your favorite Xscreensaver?

Out of the 100s of screensavers in xscreensaver, what is your favorite? I think mine is definitely juggle. I can sit and watch that juggler forever. I haven't looked into the code, but it must be amazingly complex to deal with all that's going on. From the random throwing pattern, to the arm... (0 Replies)
Discussion started by: tjlst15
0 Replies
Login or Register to Ask a Question