Error After Installing Tape Drive

Hi,

I am a newbie to Solaris, I have a SunFire V120 box, i was trying to install a tape drive(HP SureStore DAT24), i did the install in this manner.

# rm -rf /etc/path_to_inst
# init 6

later at the "ok" prompt i gave "boot -ar" after doing that it asked me various options i accepted the default values, when it asked for rebuilding the /etc/path_to_inst file i said "y", but later everything went wrong.

This is the output,

Sun Fire V120 (UltraSPARC-IIe 548MHz), No Keyboard
OpenBoot 4.0, 512 MB memory installed, Serial #51581741.
Ethernet address 0:3:ba:13:13:2d, Host ID: 8313132d.

Executing last command: boot -ar
Boot device: /pci@1f,0/pci@1/scsi@8/disk@0,0 File and args: -ar
Enter filename [kernel/sparcv9/unix]:
Enter default directory for modules [/platform/SUNW,UltraAX-i2/kernel /platform/
sun4u/kernel /kernel /usr/kernel]:
Name of system file [etc/system]:
SunOS Release 5.8 Version Generic_108528-15 64-bit
Copyright 1983-2001 Sun Microsystems, Inc. All rights reserved.
|
The /etc/path_to_inst on your system does not exist or is empty.
Do you want to rebuild this file [n]? y
root filesystem type [ufs]:
Enter physical name of root device
[/pci@1f,0/pci@1/scsi@8/disk@0,0:a]:
WARNING: forceload of misc/md_trans failed
WARNING: forceload of misc/md_raid failed
WARNING: forceload of misc/md_hotspares failed
WARNING: forceload of misc/md_sp failed
WARNING: forceload of misc/md_stripe failed
WARNING: forceload of misc/md_mirror failed
configuring IPv4 interfaces: eri0.
Hostname: aks
mount: /dev/md/dsk/d1 is not this fstype.
/sbin/rcS: /etc/dfs/sharetab: cannot create
failed to open /etc/coreadm.confsyseventd: Unable to open daemon lock file '/etc
/sysevent/syseventd_lock': 'Read-only file system'Configuring /dev and /devices
devfsadm: mkdir failed for /dev 0x1ed: Read-only file system
devfsadm: open failed for /dev/.devfsadm_dev.lock: Read-only file system
Configuring the /dev directory (compatibility devices)
/etc/rcS.d/S50devfsadm: /tmp/sock2path.57: cannot create
The system is coming up. Please wait.
/sbin/mountall: /tmp/sh800: cannot create
rm: Unable to remove directory /tmp: Read-only file system
mkdir: Failed to make directory "/tmp"; Read-only file system
chown: /tmp: Read-only file system
10/5/2005 9:56:42 GMT LOM time reference
/etc/rc2.d/S69inet: /tmp/ifconfig.100: cannot create
grep: can't open /tmp/ifconfig.100
/etc/rc2.d/S69inet: test: argument expected
starting rpc services: rpcbind done.
Setting netmask of eri0 to 255.255.255.0
Setting default IPv4 interface for multicast: add net 224.0/4: gateway aks
syslog service starting.
dumpadm: failed to open /etc/dumpadm.conf: Read-only file system
cron could not unlink FIFO: No such file or directory
cron aborted: cannot create fifo queue
! cannot create fifo queue Wed Oct 5 04:56:45 2005
! ******* CRON ABORTED ******** Wed Oct 5 04:56:45 2005
/dev/bd.off: Read-only file system
/etc/rc2.d/S90solaris: /tmp/fgd.207: cannot create
cat: cannot open /tmp/fgd.207
Error -- cannot open error log /.FGDLog
volume management starting.
/etc/rc3.d/S15nfs.server: /tmp/sharetab.232: cannot create
touch: /tmp/sharetab.232 cannot create
mv: cannot access /tmp/sharetab.232
share_nfs: /home/weblogic/SIMecho/logs: No such file or directory
share_nfs: /local/data2/home/weblogic/SIMecho/out: No such file or directory
chmod: WARNING: can't change /etc/dfs/sharetab
The system is ready.

aks console login:
INIT: Command is respawning too rapidly. Check for possible errors.
id: sc "/usr/lib/saf/sac -t 300"
aks console login: aks console login: root
Password:
/etc/logindevperm: /dev/mouse: Read-only file system
/etc/logindevperm: /dev/kbd: Read-only file system
Last login: Wed Oct 5 04:20:28 on console
Oct 5 04:57:46 aks login: ROOT LOGIN /dev/console
root @ aks::/> vi /etc/system
"/etc/system" [Read only] 109 lines, 2687 characters

After doing some google i found that nothing is wrong i just need to comment some lines in the /etc/system file. But still i wasn't able to bacause the system is mounted in read only mode.

Thanking you in advance.

Regards,

Rajendra Rait.

sry, but it wasn't a good idea to delete your /etc/path_to_inst. there are some commandos to attach a tape drive, you don't even have to reboot (devfsadm). with a reboot you should boot with the "-r" option (reboot -- -r) or add a reconfigure file.
to be honest, i am not sure that every error in your boot output is because you deleted the path_to_inst. try to boot from a cd and mount your disk. copy the path_to_inst.old to path_to_inst and make a reboot -- -rv (don't use the -a)

good luck, tell us the results, pls

gP

The server is working :smiley: , the problem was with the path_to_inst file. I booted the machine in single user mode using the solaris cd 1 of 2.

ok boot cdrom -s

Later the machine booted in single user mode.

# mount /tmp/devices/pci@1f,0/pci@1/scsi@8/sd@0,0:a /tmp/a
# cp /tmp/a/etc/path_to_inst.old /tmp/a/etc/path_to_inst
# reboot

Yeppy, that's it done. :slight_smile:

Later after the machine booted, i commented the lines started with "forceload" pertaining to my scenario in the /etc/system file.

Rebooted it again.

Thank you for time and help.

Regards,

Rajendra Rait.