System Hanging on boot


 
Thread Tools Search this Thread
Operating Systems AIX System Hanging on boot
# 8  
Old 11-18-2008
I hope you're right.

I check the /var and it was only at 69%. There is a file there wmtp that was 440MB. I compressed that file and that dropped the disk usage to 40%. I'm rebooting now, hopefully that would have enough to boot properly.
# 9  
Old 11-18-2008
Quote:
Originally Posted by bbbngowc
I hope you're right.

I check the /var and it was only at 69%. There is a file there wmtp that was 440MB. I compressed that file and that dropped the disk usage to 40%. I'm rebooting now, hopefully that would have enough to boot properly.

Nah ... didn't work. Still stops at "Multi-User initialization completed"
# 10  
Old 11-18-2008
Quote:
Originally Posted by bbbngowc
[...]There is a file there wmtp that was 440MB. I compressed that file and that dropped the disk usage to 40%. [...]
Hm.... you did look up what this file is for before compressing it, did'nt you?Smilie

[Basic AIX administration on]
If you don't want to keep the information who logged when into your server delete that (i.e. this very) compressed wtmp file. Next time you want to reduce its size use the following commands:
Code:
# /usr/lib/acct/fwtmp < /var/adm/wtmp > /tmp/wtmp.asc
# tail -1000 /tmp/wtmp.asc > /tmp/wtmp.1000
# /usr/lib/acct/fwtmp -ci < /tmp/wtmp.1000 >/var/adm/wtmp

This works online and wtmp history should go back about few days then only (depends on how many logins per day took place). If you want to blank it use
Code:
# > /var/adm/wtmp

But better not compress it while it is in use. (And don't delete a wtmp file that is in use neither!)
[Basic AIX administration off]

Do you happen to have a serial console connected to your server? In that case you might suffer from a wrong cable, wrong ASCII terminal or wrong tty settings. Reason then could be that an open to the /dev/tty via HW handshake is not satisfied such causing the hang when you reach Multi-User initialization completed.
# 11  
Old 11-18-2008
No console cable connected. I did a mksysb backup, it failed with a "Fork ran out of memory" error. And now it boots and stops at the error I stated before. How could the ASCII terminal or tty setting be wrong.
# 12  
Old 11-18-2008
Quote:
Originally Posted by bbbngowc
No console cable connected. [...] How could the ASCII terminal or tty setting be wrong.
Yes, that was probably clear when you wrote "I'm using the console" .... sorry, silly me. Smilie
Deactivate the start of rc.tcpip in the inittab and start over.
# 13  
Old 11-18-2008
Sorry if I'm using incorrect terms. I'm new to this IBM AIX stuff.

To deactive the rc.tcpip, you mean to just comment it out?
# 14  
Old 11-18-2008
Quote:
Originally Posted by bbbngowc
[...] To deactive the rc.tcpip, you mean to just comment it out?
Yes. If the server boots ok, the problem is in the rc.tcpip. If it hangs again, comment out rc.nfs and so on. This way you will find out at what operation the problem occurs - hopefully
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

System cannot boot up

Hi, I got stuck in a very messy situation yesterday after attempting to resolve a filesystem full issue. The user reported that their filesystem (/var/DWS) was 100% full even after moving few files of sizes 14G, 30G and 50G out of the directory. I checked the filesystem once more after this... (5 Replies)
Discussion started by: anaigini45
5 Replies

2. Red Hat

System fail to boot

Hi im using centos 6.4 starting yesterday i have a strange issue that im unable to resolve. the system is booting to GRUB menu and the os is not starting. i tried to run a repair install and the message attached is what i get, what can cause this? thanks, (1 Reply)
Discussion started by: guy3145
1 Replies

3. Solaris

System will not boot

We have a system that won't boot. It is Sun V245 that was patched yesterday with the latest Recommended 10 patch cluster. I will post what we get during the boot at the end of the email message. We have tried rebuilding the bootblk, booting from the cdrom, and running an fsck, booting into failsafe... (2 Replies)
Discussion started by: brownwrap
2 Replies

4. AIX

Hanging in the system after login !

Guy's I have AIX 6.1 has some slowness when I login to the system .. When I login by user screen hangs for some time 20 seconds then it's give me the command prompt .. ! system is fine is working fine only this issue I faced can you please help me in this .. what's the expected reason... (2 Replies)
Discussion started by: ITHelper
2 Replies

5. Solaris

System boot up log file

Hi, where can I check the system boot up log file like those message when the system booting up.... Thanks. (14 Replies)
Discussion started by: efang
14 Replies

6. UNIX for Dummies Questions & Answers

help boot system erro

being nosey on sons laptop and set a password and now need to undo this but its in the boot system :eek::eek::eek: (4 Replies)
Discussion started by: hempel
4 Replies

7. SuSE

ssh command on remote linux system hanging

Hi, Our systems: system1: amd 64 running suse linux 9 enterprize system2: amd 64 running esx vmware 3 with suse linux 9 enterprize. The problem is: when we ssh into system2 and execute the command: ls -al the session hangs. Infact session hangs when we execute any... (3 Replies)
Discussion started by: rajranibl
3 Replies

8. SCO

Can't boot system--help

I get a message saying Not enough space to dump xxxxx pages Press any key to reboot Safe to power off After rebooting it never gets to the "Press CTRL D to continue or enter password for single user" message before it goes back to "Not enough space..." message above. Vicious cycle. ... (0 Replies)
Discussion started by: deloev
0 Replies

9. UNIX for Dummies Questions & Answers

Boot from a remote system

I have a diskless work station. i want to boot from a remote linux machine. what changes i will have to do in configuration. Plz tell me thanks (1 Reply)
Discussion started by: hemant29
1 Replies

10. UNIX for Dummies Questions & Answers

System boot configuration

On my PC I have two hard disks, the first with Windows 98 SE and the second with Linux Mandrake 8.0 (Traktopel). When I have installed Linux, it has modified the boot record of the 1st HD and it has added a graphic menu (LILO) for selecting the OS to use. By default, if I don't press a key, Linux... (2 Replies)
Discussion started by: robotronic
2 Replies
Login or Register to Ask a Question