The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > AIX
.
google unix.com



AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
System boot up log file efang SUN Solaris 14 10-25-2008 09:30 AM
help boot system erro hempel UNIX for Dummies Questions & Answers 4 04-04-2008 02:35 AM
ssh command on remote linux system hanging rajranibl SuSE 3 09-26-2007 10:09 AM
Can't boot system--help deloev SCO 0 09-03-2007 12:43 AM
Boot from a remote system hemant29 UNIX for Dummies Questions & Answers 1 01-30-2006 09:29 AM

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #8 (permalink)  
Old 11-18-2008
bbbngowc bbbngowc is offline
Registered User
  
 

Join Date: Jul 2007
Posts: 191
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 (permalink)  
Old 11-18-2008
bbbngowc bbbngowc is offline
Registered User
  
 

Join Date: Jul 2007
Posts: 191
Quote:
Originally Posted by bbbngowc View Post
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 (permalink)  
Old 11-18-2008
shockneck's Avatar
shockneck shockneck is offline Forum Advisor  
No RISC - No Fun
  
 

Join Date: Mar 2008
Location: Infractor's boudoir
Posts: 352
Quote:
Originally Posted by bbbngowc View Post
[...]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?

[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 (permalink)  
Old 11-18-2008
bbbngowc bbbngowc is offline
Registered User
  
 

Join Date: Jul 2007
Posts: 191
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 (permalink)  
Old 11-18-2008
shockneck's Avatar
shockneck shockneck is offline Forum Advisor  
No RISC - No Fun
  
 

Join Date: Mar 2008
Location: Infractor's boudoir
Posts: 352
Quote:
Originally Posted by bbbngowc View Post
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.
Deactivate the start of rc.tcpip in the inittab and start over.
  #13 (permalink)  
Old 11-18-2008
bbbngowc bbbngowc is offline
Registered User
  
 

Join Date: Jul 2007
Posts: 191
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 (permalink)  
Old 11-18-2008
shockneck's Avatar
shockneck shockneck is offline Forum Advisor  
No RISC - No Fun
  
 

Join Date: Mar 2008
Location: Infractor's boudoir
Posts: 352
Quote:
Originally Posted by bbbngowc View Post
[...] 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
Sponsored Links
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 11:46 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language translation by Google.
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0