LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > AIX
User Name
Password
AIX This forum is for the discussion of IBM AIX.
eserver and other IBM related questions are also on topic.

Notices



Reply
 
Search this Thread
Old 10-11-2010, 02:17 AM   #1
mjl1297
LQ Newbie
 
Registered: Dec 2001
Posts: 23

Rep: Reputation: 0
AIX Login issues...


Greetings everyone!

I have a box at work that is running AIX version 5 and over the last month or so we have been having recurring issues with bringing this box online after a restart for maintenance. Usually it would come up to a login screen and we would login with our common user name, wait for a bit of type to scroll, and then hit the enter button and we were on our way. Lately though it has gotten to where when the login screen comes up we get the message that we must "exec" login from the lowest login shell when we try to login with any user name even su.

I suspect there is a corrupt file somewhere but not being familiar enough with AIX I am uncertain how to proceed. When the box comes up we get these messages now:

export fs scitex/version/pfcProfilesActions: file or dir does not exist

and then a bit later this comes up-

cannot create datavolumes/Brisque07.1.0
cannot create datavolumes/Brisque07.1.0 not enough space in the system

and a little later-

failed write of utmp entry rctcpip
failed write of utmp entry rcnfs

In the past successive restarts of the box were successful in eventually bringing it back online but this no longer appears to be working not that that was ever the desired approach to begin with, it was just one a few of my co-workers chose to adopt. I'd prefer to address the problem at its root (no pun intended) and tackle the matter head on, get it sorted, and be prepared should the same thing happen again in the future.

I don't have a lot of UNIX experience. I'm the first to admit that but I do know my way around computers and I'm a quick study if I do say so myself.

I'd appreciate any assistance.
 
Old 10-11-2010, 02:40 AM   #2
mjl1297
LQ Newbie
 
Registered: Dec 2001
Posts: 23

Original Poster
Rep: Reputation: 0
Just wanted to add that after posting the above I finally got it to accept my root login on about the fifth or sixth restart. I'm running scismit now and one of the first messages up is-

mv: //rc.net.out: No space left on device

I'm not exactly sure what that means but it doesn't sound good because this message and the ones in my previous post have only started showing up on our monitor in the last week or so which suggests to me the corruption is getting worse.

Typically after scismit runs we can log in with our common user name but I would like to eliminate all of this pre-login annoyance if possible.


UPDATE:

After running scismit I was able to login with our common user name. I would still appreciate any help with this problem though.
 
Old 10-11-2010, 03:00 AM   #3
EricTRA
Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291
Hello,

Looks like you're getting lots of 'no space left on device' errors, so that should be your first step in cleaning up your system. Execute:
Code:
df -k
to find out which partitions/disks are out of space and clean them up.

Kind regards,

Eric
 
Old 10-11-2010, 06:18 AM   #4
mjl1297
LQ Newbie
 
Registered: Dec 2001
Posts: 23

Original Poster
Rep: Reputation: 0
Ok I have done that. Is there a way to save the terminal report to a text file that I can paste here?
 
Old 10-11-2010, 06:25 AM   #5
EricTRA
Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291
Quote:
Originally Posted by mjl1297 View Post
Ok I have done that. Is there a way to save the terminal report to a text file that I can paste here?
Hello,

Yes, by using redirection like this:
Code:
df -k > filename.txt
and change filename.txt to whatever you want. How much experience do you have with Linux/Unix? As what user are you logged in, root, regular user?

Kind regards,

Eric
 
Old 10-11-2010, 06:34 AM   #6
mjl1297
LQ Newbie
 
Registered: Dec 2001
Posts: 23

Original Poster
Rep: Reputation: 0
Regrettably only a little experience working from the command line. My work on our UNIX boxes apart from running the maintenance script has largely been in the GUI of our RIP program. However I had managed to figure out that what you suggested was the path I needed to tread but I wasn't using proper UNIX syntax! :-) Let me try your suggestion there.

Right now I am logged in as a regular user but I can log in at the root level if need be.
 
Old 10-11-2010, 06:37 AM   #7
mjl1297
LQ Newbie
 
Registered: Dec 2001
Posts: 23

Original Poster
Rep: Reputation: 0
My shift is nearly over. I'll post more information when I come back on tonight. Hopefully I'll "speak" to you later.
 
Old 10-11-2010, 06:41 AM   #8
EricTRA
Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291
Quote:
Originally Posted by mjl1297 View Post
My shift is nearly over. I'll post more information when I come back on tonight. Hopefully I'll "speak" to you later.
Hello,

OK, talk to you later, let's see if we can get your problem fixed later on.

Kind regards,

Eric
 
Old 10-12-2010, 12:55 AM   #9
mjl1297
LQ Newbie
 
Registered: Dec 2001
Posts: 23

Original Poster
Rep: Reputation: 0
I'm working within the terminal the Brisque client gives me at the moment. As far as I know the only way to get to the actual terminal at UNIX level would be to restart the box and I don't care to go through all of the headache of restarting and logging in until it finally accepts my login.

When I use the command above in the Brisque terminal it just says command not found. There may be a way to print from the Brisque terminal but I can't find it.

The df-k command does say that the dev/hd4 is 100% used though. I don't really see anything else unusual but I do wish I were able to post the report.
 
Old 10-12-2010, 01:11 AM   #10
EricTRA
Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291
Quote:
Originally Posted by mjl1297 View Post
I'm working within the terminal the Brisque client gives me at the moment. As far as I know the only way to get to the actual terminal at UNIX level would be to restart the box and I don't care to go through all of the headache of restarting and logging in until it finally accepts my login.

When I use the command above in the Brisque terminal it just says command not found. There may be a way to print from the Brisque terminal but I can't find it.

The df-k command does say that the dev/hd4 is 100% used though. I don't really see anything else unusual but I do wish I were able to post the report.
Hello and good morning,

What's the 'Brisque' client you're referring to? Is it like an SSH client software you use to connect to AIX? If df -k shows you that hd4 is at 100% then I'd start troubleshooting there. Check the mountpoint for that disk by typing:
Code:
mount
You should get some lines like this:
Code:
/dev/sda1 on /boot type ext4 (rw)
Mind you these are from a Linux box, not from AIX but you should be able to find out where it's mounted. It's holiday here in Spain and I don't have access to our AIX servers at the moment, so I'm unable to check the exact output.

Kind regards,

Eric
 
Old 10-12-2010, 01:28 AM   #11
mjl1297
LQ Newbie
 
Registered: Dec 2001
Posts: 23

Original Poster
Rep: Reputation: 0
The Brisque client I'm referring to is the RIP software we use between our Mac workstations and the UNIX boxes that basically translate our files from "Macspeak" to "UNIXspeak" so I suppose it would be functioning as the SSH client.

When I type mount it tells me that /dev/hd4 is mounted over /. Does that help any?

I hope you're enjoying the holiday!
 
Old 10-12-2010, 01:34 AM   #12
EricTRA
Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291
Quote:
Originally Posted by mjl1297 View Post
The Brisque client I'm referring to is the RIP software we use between our Mac workstations and the UNIX boxes that basically translate our files from "Macspeak" to "UNIXspeak" so I suppose it would be functioning as the SSH client.

When I type mount it tells me that /dev/hd4 is mounted over /. Does that help any?

I hope you're enjoying the holiday!
Hi,

What's the size of the disk/partition? Do you have /var in there too? Or is /var mounted on another disk/mountpoint? First thing you could do if /var is included in the / disk, is check the log files in /var/log and delete any old logs and see if that frees up some space.

I am enjoying the holiday, thanks.

Kind regards,

Eric
 
Old 10-12-2010, 02:07 AM   #13
mjl1297
LQ Newbie
 
Registered: Dec 2001
Posts: 23

Original Poster
Rep: Reputation: 0
I have a /dev/hd9var mounted over /var. Is that it? The df-k command tells me that dev/hd4 reads 131072 under the 1024 blocks column.

Does that tell you anything? How would I access those logfiles to clean them out?
 
Old 10-12-2010, 03:01 AM   #14
EricTRA
Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291
Quote:
Originally Posted by mjl1297 View Post
I have a /dev/hd9var mounted over /var. Is that it? The df-k command tells me that dev/hd4 reads 131072 under the 1024 blocks column.

Does that tell you anything? How would I access those logfiles to clean them out?
Hi,

OK, so the /var is assigned to another disk/partition. Then you'll have to look in your / for 'big' files that are obsolete and remove them. Be careful though with what you delete because you can easily break your system. Before all: do you have a good and up to date backup of your system (mksysb)?

Kind regards,

Eric
 
Old 10-12-2010, 03:13 AM   #15
mjl1297
LQ Newbie
 
Registered: Dec 2001
Posts: 23

Original Poster
Rep: Reputation: 0
Yes we do have a backup.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Port issues in AIX mail2mphani AIX 3 07-29-2010 07:27 AM
AIX Filter issues meera AIX 2 04-10-2009 07:16 AM
LXer: Java on AIX: Data Collection For AIX Core Dumps LXer Syndicated Linux News 0 05-17-2007 07:46 PM
auto login for serial tty terminal on AIX 4.3.3.0 msilvers AIX 0 01-13-2006 12:42 PM
AIX login problem after first installation vinay88819 AIX 2 05-10-2005 04:12 PM


All times are GMT -5. The time now is 10:35 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration