Visit Our UNIX and Linux User Community


booting problems on solaris


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users booting problems on solaris
# 1  
Old 08-10-2002
booting problems on solaris

When i try to boot my solaris 2.6 E220R server, i get this error message

> INIT: cannot create /var/adm/utmp or /var/adm/utmpx
>INIT: failed write of utmpx entry:" "
>INIT: failed write of utmpx entry:" "
INIT Single User Mode
Press Ctrl-d for normal boot process or enter roots password for system maintenance.

Now when i do either of the last sentence above, nothing happens, it appears to hang.

I used the solaris cd to boot to single user mode using
boot cdrom -s
with the intention of running fsck on the /var files system where the utmpx file recides. But when it boots to root prompt-single user mode with cd , i am unable to type successfully. Any letter i type just keeps running on , repeating it self like;
fffffffffffffffffffffffffffffffffffffffffffffffssssssssssssssssssssssssscccccccccccccccckkkkkkkkkkkk kkkkkkkkkkkkkk........etc.

Please how do i get out of this mess? I really need a quick response, it's my mail system.

Smilie
# 2  
Old 08-11-2002
As far as your booting problem, it's a documented problem -

Installing Solaris 2.5.1 11/97 or Solaris 2.6 5/98 on Ultra 5, 10, 60, 80 or E220r and E420r
with 440 or 450 Mhz CPUs, whether interactively using a CDROM or doing a
jumpstart install will fail with the message "hme0 - link down".
[B]Another failure symptom is multiple keyboard input repeats, or repeating keystrokes[\B]
.
To prevent this, the Operating Environment Installation CD p/n 704-6914-10 (Sept 99) or
704-7076-10 (Feb 2000) must be used. Complete procedures are documented in
the manual(s) 804-6657-11(Sept 99) or 806-4005-10 (Feb 2000)
"Installing Solaris 2.5.1 or Solaris 2.6 Software on 419+ MHz Systems" or
"Installing Solaris Software for Selected Hardware"

Look for the OECD and documentation in the shrink wrapped packet
that says "Binary Code License" or inside front cover of
"Installing Solaris Software for Selected Hardware" manual.

See SunSolve boot cdrom keystroke repeats for more information.
# 3  
Old 08-11-2002
As far as your /var/adm problem, once you do get to single user mode (from cdrom - since it is complaining that it cannot create or write to the file, it means you will never log in by booting from the disk), check the permissions on the directory and on the file, if it exist.

$ ls -ld /var/adm
drwxrwxr-x 6 root sys 512 Aug 11 03:10 /var/adm
$ ls -l /var/adm/u*
-rw-r--r-- 1 root bin 828 Aug 11 19:57 /var/adm/utmp
-rw-r--r-- 1 root bin 8556 Aug 11
19:57 /var/adm/utmpx

(Reminder - you will be mounting your var partition on /mnt or /a - change your command accordingly)
# 4  
Old 08-12-2002
Sorry, i made a mistake, its solaris 7 not 2.6.
I did boot to single user mode with the cd and i did run fsck, fixed errors, mounted the /var partition on /a, rm the utmpx, utmp, wtmpx, wtmp files, touched them and gave the default group and owner permissions. Then i restarted with init 6 ( after umount /a) but when it was booting i noticed an error message; "cannot sync file systems.....give up.....rebooting" and then i end up in square one.

Please what could be the problem? ....i think i have tried everything.

Smilie
Lealyz
# 5  
Old 08-12-2002
In your reply u gave this ;

$ ls -l /var/adm/u*
-rw-r--r-- 1 root bin 828 Aug 11 19:57 /var/adm/utmp
-rw-r--r-- 1 root bin 8556 Aug 11
19:57 /var/adm/utmpx


On my system, after "bin" i have 0 for both utmpx and utmp ( not 8556 and 828) . What is the implication of these numbers? and what effect could it have on file performance?

lealyz.
# 6  
Old 08-12-2002
Those numbers are the size of the file.

Since this is a mailserver, do you have /var/spool/mqueue as a separate partition? If not, it could be that your /var partition is full and that is why you can't write to it.
# 7  
Old 08-12-2002
http://sunsolve.sun.com/pub-cgi/retr...%20solaris%207

Take a look at the link above. But that apart, i do have large /var/spool/mailbox directory but when i do df -k, i still appear to have quite a lot of space . BUt i am cleaning out my mailbox directory nevertheless.

Could this problem really affect the performance of this server in this manner, and if soo why?

lealyz

Previous Thread | Next Thread
Test Your Knowledge in Computers #697
Difficulty: Medium
The Bazaar software development model is when code is developed over the Internet open and in the public view.
True or False?

8 More Discussions You Might Find Interesting

1. Solaris

solaris booting problems

hi am trying to get some knowledge on Solaris common trouble shooting problems.. can some one help me in getting most common issues.. and how to solve those issues. thanks in advance (4 Replies)
Discussion started by: aravindreddy
4 Replies

2. UNIX and Linux Applications

Problems with booting

Hi, I've just installed Centos 5.3 x86_64 into a CPU. I've done a yum update to update the version to Centos 5.4. I then installed mysql, php, apache and phpmyadmin into the system. After the installation of phpmyadmin the screen suddenly goes blank, but the monitor is still on, and the cpu... (0 Replies)
Discussion started by: anaigini45
0 Replies

3. Linux

Damn Small Linux Booting Problems

I recently downloaded a DSL iso file. I loaded the iso in VirtualBox and it worked perfectly, but when I wrote the iso to a CD using k3b and I tried booting it, I got an error. I tried booting from the disk in VirtualBox and got the same error. "FATAL: Could not read from the boot medium! System... (3 Replies)
Discussion started by: Bradj47
3 Replies

4. Solaris

Solaris 10: Problems booting off mirror drive -- Error 22: No such partition

Solaris 10 5/08 on Ultra 40 M2 It boots fine off primary disk but having issues booting off the mirror disk. I get this error when booting off mirror disk: Booting 'Solaris 10 ... Mirror disk' root (hd1,0,a) Error 22: No such partition Press any key to continue... Any... (7 Replies)
Discussion started by: etc
7 Replies

5. Solaris

Problems during booting from mirror disk

Hi All, I have detached a mirror and primary disk from my Solaris box. On trying to boot from Primary disk, It boots up good. But from my mirror disk, it is not booting and giving me the login prompt Instead it goes to maintenance state by issuing a coredump. Can you explain why... (9 Replies)
Discussion started by: jegaraman
9 Replies

6. UNIX for Dummies Questions & Answers

Having booting problems

I booted up my SUSE ver 10.1 linux box today. Went to the DOS-type login. Failed to display KDE. I understand this has something to do with levels. But how do I change the default? I know zero about Vi (and don't need to learn it). How do I get the system to boot to KDE again? Best... (5 Replies)
Discussion started by: dickbash
5 Replies

7. Linux

Problems booting RH 8

I installed RH8 on Thinkpad R51. The install went smooth, but when I tried to boot, it hanged at: PCI_IDE: unknown IDE controller on Pci bus 00 device f9, VID=8086, ID=24ca PCI: Device 00:1f.1 not available because of resource collisions. PCI_IDE: (ide_setup_pci_device:) could not enable... (0 Replies)
Discussion started by: etc
0 Replies

8. UNIX for Dummies Questions & Answers

Unix 5.0.7 problems Booting

Hello there guys , I have a unix box that i just install on a HP VL400 , installation went all the way no problem. I get the BOOT: Hit enter and it goes to the point that you can see the all the hardware info. the problem is that freeses when gets to this point H oeminit Note: I put... (1 Reply)
Discussion started by: josramon
1 Replies

Featured Tech Videos