LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 04-19-2007, 10:20 AM   #1
Doomhammer
Member
 
Registered: Oct 2003
Location: Montreal Qc, Canada
Posts: 105

Rep: Reputation: 15
AIX file system "/" full. Can't login anymore


Hello,

I just installed a fix for my AIX 5.3L and when i rebooted the machine and tried to rlogin/telnet to it i have the following error message:

telnetd: failed to write to /etc/utmp: There is not enough space in the file sys
tem.
/dev/pts/0: 3004-004 You must "exec" login from the lowest login shell.


I have the same message when i try to login locally on the machine.

I was able top access a pre-boot menu where i had a white screeen with the Power PC logo.
The choice i have on the menu is:
1 - SMS menu
5 - Default Boot
6 - Stored Boot
8 - Firmware


Now I think what I have to do is to expand my / file system so the login scripts can have access to the /etc/utmp file. But i dont really know how to do it as i am not well experienced with AIX and i dont have the 5.3 CDS, i only ghave the 5.2.

Any suggestion is more than welcome.

Thanks
 
Old 04-19-2007, 12:02 PM   #2
unreal128
Member
 
Registered: Jun 2003
Distribution: SuSE, Slackware, Gentoo
Posts: 207

Rep: Reputation: 30
I haven't worked on an AIX system but I have worked on SCO OpenServer before (which stems from the same System V family.) We would usually get this error from a log or dump file that got way too big. Alot of the time, when we encountered this error, it was due to a memory or filesystem issue; the large file is a by-product of a deeper problem.

You will need to get shell at console from the second runlevel when it asks for the root password. If AIX doesn't prompt for this, I would restart the computer midway through bootup; it may prompt for intervention up reboot since it noticed a failed boot.

If you are able to get to console root, remove the /etc/*tmp to clear out any corrupted system data files (they will get regenerated, but you will loss prior system stats like login accounting.) Run a full filesystem check and clear out any large files in the /tmp or /var/log directory. Next you will want to run a 'find / -size 100M' to check for huge files.

If you are unable to get an interactive shell, then unfortunately I am at loss. Here is another link about the same issue but it involves filesystem settings rather than an actual space issue.

http://www.unix.com/showthread.php?t=21006

Good luck!
 
Old 04-19-2007, 12:12 PM   #3
Doomhammer
Member
 
Registered: Oct 2003
Location: Montreal Qc, Canada
Posts: 105

Original Poster
Rep: Reputation: 15
Thanks a lot Unreal, I will check that right away.
 
Old 04-19-2007, 12:56 PM   #4
crabboy
Senior Member
 
Registered: Feb 2001
Location: Atlanta, GA
Distribution: Slackware
Posts: 1,823

Rep: Reputation: 121Reputation: 121
Hmm.. I tried this on an older machine and pressing F5 gets me to a menu where I can choose a single user mode option. Once in single user you can clean out / or access smitty to increase the file system size.
 
Old 04-19-2007, 01:08 PM   #5
crabboy
Senior Member
 
Registered: Feb 2001
Location: Atlanta, GA
Distribution: Slackware
Posts: 1,823

Rep: Reputation: 121Reputation: 121
just tried it on a power5 as well and it was the same. Pressing F5 get the menu that you described and choosing option 5 for default boot list will give the option to boot into single user mode.
 
Old 04-19-2007, 02:35 PM   #6
Doomhammer
Member
 
Registered: Oct 2003
Location: Montreal Qc, Canada
Posts: 105

Original Poster
Rep: Reputation: 15
Hmm I might be unlucky with the F5 key..

I am on a pSeries type 7026-B80.

When i hit the "5" key right after the keyboard initialization process, it says Starting software please wait..
Then i have a black screen where i can type anything I want (green text) but its not a shell. I have been waiting more than 5 mins now and i still do not have a menu or options to choose from...

Last edited by Doomhammer; 04-19-2007 at 02:38 PM.
 
Old 04-19-2007, 02:44 PM   #7
crabboy
Senior Member
 
Registered: Feb 2001
Location: Atlanta, GA
Distribution: Slackware
Posts: 1,823

Rep: Reputation: 121Reputation: 121
How did you get here before?

I was able top access a pre-boot menu where i had a white screeen with the Power PC logo.
The choice i have on the menu is:
1 - SMS menu
5 - Default Boot
6 - Stored Boot
8 - Firmware
 
Old 04-19-2007, 02:53 PM   #8
Doomhammer
Member
 
Registered: Oct 2003
Location: Montreal Qc, Canada
Posts: 105

Original Poster
Rep: Reputation: 15
I can access this menu everytime.

But when i select 5 (Default Boot List) I end up with a black screen where i can type whatever i want w/o any kind of validation, (definitely not a login shell) I waited 10 mins and I still had that black screen with green text (the text I entered).

I apreciate the help a lot.
 
Old 04-19-2007, 03:18 PM   #9
crabboy
Senior Member
 
Registered: Feb 2001
Location: Atlanta, GA
Distribution: Slackware
Posts: 1,823

Rep: Reputation: 121Reputation: 121
I tried it on the old 7026-H50 and a 9117-570 and they both had similar menus.

what's in the SMS menu? Do you have an option for a Maintenance console?
 
Old 04-20-2007, 09:16 AM   #10
Doomhammer
Member
 
Registered: Oct 2003
Location: Montreal Qc, Canada
Posts: 105

Original Poster
Rep: Reputation: 15
Hello crabboy, sorry for the delay my shift was over.

Here is what i see on the SMS Menu:

1- Display Configuration
2- Multiboot
3- Utilities
4- Select Language


Sub Menus

Display Configuration:
Well the title says it all. It displays my config.

Multiboot
1- Select Software (when I press one i have the message: No operating System Installed)
2- Software Default (When pressed, i have the same message: No OS Instaled)
3- Select Install Device (choices are SCSI CDROM, and 2 ethernet cards)
4- Select Boot devices (My default boot list is : 1-SCSI CDROM and 2-HDD)
5- Ok prompt (some kind of hardcore prompt where you see "Ok" after every command you type)
6- Multiboot startup <off>

* Even though 1 and 2 say no OS Installed, this is not true. I can boot up to the AIX login Screen but i cannot login.
Utilities

1- Set Passwords and unattended start mode
2- SCSI Spin Up
3- Display Error Log
4- Remote Initial Program Load Setup
5- Change SCSI Id
6- Select Console


I also inserted the AIX 5.2 Instalaltion CD and proceeded to enter the Maintenance Mode. When I Select the option : Access a Volume group i have an error saying there are no volume groups on the hard drives. (the HDD is not mounted so i guess thats normal behavior??)

Last edited by Doomhammer; 04-20-2007 at 10:45 AM.
 
Old 05-24-2007, 06:18 PM   #11
jim@nordisk
LQ Newbie
 
Registered: May 2007
Posts: 11

Rep: Reputation: 0
You may have to boot from the install media into a OS maintenance shell. Once there you can mount the /file system and do the maintenance you need. If you need help with the maintenance shell boot let me know and I can walk you through it.
 
Old 06-01-2007, 02:58 AM   #12
AbrahamJose
Member
 
Registered: Feb 2006
Location: India
Posts: 167

Rep: Reputation: 31
Try this

Let the system be ready for login.
I think u have a CDE.
Press on "Options" tab
select command line login
Press Enter quickly
U will get prompt for command line login
Login quickly without delay.
Now clean the FS or enhance the FS size using smitty
logout and press Enter 2/3 times and wait.
U will get a CDE. Login there

BEST WISHES
 
Old 07-13-2007, 11:21 AM   #13
Harry Seldon
Member
 
Registered: Feb 2004
Distribution: SLES 9
Posts: 112

Rep: Reputation: 15
Boot to the install CDs and go to recovery mode. Load the filesystems in single user mode and get to clearing root, yo.
 
Old 07-20-2007, 10:05 AM   #14
Doomhammer
Member
 
Registered: Oct 2003
Location: Montreal Qc, Canada
Posts: 105

Original Poster
Rep: Reputation: 15
Some great guy from IGM sent me the AIX cds free of charge. This fixed my problem. I needed to mountrootvg with the Installation disks.
 
  


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
list file system linux supports "please give the command or system call" varun_shrivastava Linux - General 4 01-09-2007 07:28 AM
System hangs on boot - "Mounting root file system" fails with Via VT6410 enabled Eagleorn Linux - Hardware 3 09-21-2006 12:58 PM
"fc5" mount does not recognize "smbfs" file system? bdplays Linux - Networking 6 06-28-2006 11:21 AM
all "start\system settings" wont launch anymore. demmylls Linux - General 0 03-12-2004 01:02 PM
Slackware 9, full install, gnome won't start because system "can't find fonts" sketelsen Slackware 2 08-01-2003 10:14 AM

LinuxQuestions.org > Forums > Other *NIX Forums > AIX

All times are GMT -5. The time now is 10:23 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
Open Source Consulting | Domain Registration