Sponsored Content
Top Forums UNIX for Dummies Questions & Answers I got a corrupt /etc/inittab file....what next? Post 28986 by Ivo on Friday 27th of September 2002 04:02:56 AM
Old 09-27-2002
Power I got a corrupt /etc/inittab file....what next?

Hi guys,

For some reason a client has given us a Sun Netra T1 with Solaris 8 to administer for them. That's always good business. However, the other day we rebooted the machine and to our amazement, after doing the preliminary hardware tests, we got an error messgae saying that /etc/inittab was corrupt. It subsequently wanted to bring the machine up into single user mode which also failed. I guess because it also needs the /etc/inittab file. On top of this we don't have a cdrom or floppy drive in it, only a network card.

Has anyone got any suggestions as to how I can fix this problem.

Also, I am not new to Unix but I AM new to Sun/Solaris.

Thanks in advance.
Ivo
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

inittab solaris

Hi! Is it possible to add more ttys in Solaris, like with inittab in Linux? I want to switch between the ttys with Alt F1+F2+F3 .... like Linux does. How can i do this? (1 Reply)
Discussion started by: donald1111
1 Replies

2. HP-UX

Corrupt Member File

I have been fine adding/removing printers up until this week. Now when I go to add a new remote printer I get "corrupted member file". I go to /etc/lp/member and the byte count on the new printer name is 0. I VI the file and put /dev/null in to make it the correct size and it all looks fine and... (2 Replies)
Discussion started by: astout
2 Replies

3. UNIX for Dummies Questions & Answers

find a corrupt tar file

Hey there I am just looking for a way to find a corrupt tar file. I want to write a script to help sift through the 1000's of tar files we go through daily and move any corrupt ones to a different directory structure. Is there an easy way to do this. (4 Replies)
Discussion started by: car2nst2006
4 Replies

4. AIX

GPFS file system corrupt issue

Hi Administrators, I have one issue related to GPFS filesystem. We have bad entries in this file system, which reflects error like ls: 0653-341 The file <filename> does not exist. when we give "ls -ltr" on this directory. So we taken the FS filesystem offline and followed the below steps. ... (6 Replies)
Discussion started by: gauravgarg
6 Replies

5. UNIX for Dummies Questions & Answers

Zipped tar file is corrupt

Hello, I am currently dumping 30-40 reports on a Unix folder located here /home/apps/reports/prode/excel I use K-shell to do this task. In that, I use the gzip command to compress these files. I want to be able to use a tar command to first load the entire directory into one file then gzip that... (2 Replies)
Discussion started by: Pramodini Rode
2 Replies

6. Solaris

Recovering from corrupt /etc/system file

Hi I would like to know one thing while recovering from corrupt /etc/system file. For that we have to do at ok> boot -a when system ask for system file we give /dev/null. Could any one tell me what /dev/null value will do in this case. Regards (1 Reply)
Discussion started by: sb200
1 Replies

7. UNIX for Advanced & Expert Users

Linux on vmware won't boot due to corrupt library file!

We have an issue here: The libc.so.6 file (link) is corrupted and it causes the system unbootable. It even doesn't boot to single user mode. How can we boot the system to fix the library file? Or is there any other solutions for this issue? Here are some boot messages:... (6 Replies)
Discussion started by: aixlover
6 Replies

8. UNIX for Dummies Questions & Answers

What breaks inittab

Today there was a situation where processes running from inittab was broken. Can someone help me understand, how to find out, who might have stopped those processes? Or how does it get broken? G (2 Replies)
Discussion started by: ggayathri
2 Replies

9. Solaris

UNIX : how can I recover a corrupt tar file from a tape?

I've a tape contains a corrupt tar file. I'm using Unix SunOS 5.5.1. So when I run this command : dd if=/dev/rmt/0 of=/tmp/outputfile.tar I get this error message : warning /pci@1f, 0/pci@1/pci@1/sunw, isptwo@4/st@4,0 (sty): Error for command : read Error Level: Fatal Requested... (2 Replies)
Discussion started by: akaderb
2 Replies
pcelx(7D)																 pcelx(7D)

NAME
pcelx - 3COM EtherLink III PCMCIA Ethernet Adapter SYNOPSIS
network@<socket>:pcelx<socket> The pcelx driver supports the 3COM EtherLink III PCMCIA PC Card as a standard Ethernet type of device conforming to the DLPI interface specification. The driver supports the hot-plugging of the PC Card. The PPA (Physical Point of Attachment) is defined by the socket number the PC Card is inserted in. This means that for IP use, the PC Card should always be plugged into the same socket that the network interface was initially brought up on or else a network reconfiguration should be done to take down the old interface and bring up the new one. The 3C589, 3C589B, and 3C589C versions of the PC Card are supported on the platform. The 3C589B and 3C589C are supported on the SPARC platform. PRECONFIGURE
o For IBM ThinkPad 760E series systems and systems using the TI PCI1130 PCI-to-CardBus chip (such as the Dell Latitude XPi CD) only: Before bringing the system onto the network, put the PC Card into 8-bit mode by creating a file called /kernel/drv/pcelx.conf contain- ing force-8bit=1;. o It is not possible to boot or install the Solaris software using a 3Com EtherLink III PC Card device. o If the 3Com PC Card device is recognized, the pcelx driver is automatically loaded, ports and IRQs allocated, and special files cre- ated (if they don't already exist). No manual configuration of the hardware is necessary or possible. Known Problems and Limitations Network services are automatically started when the system is booted. These services are not started when a network interface is added or shut down after the system has been brought up. CONFIGURATION
Configuration procedures include initial installation and configuration, identifying an unrecognized card and configuring two or more cards. Initial Installation and Configuration For initial installation and configuration, do the following steps: 1. Install the Solaris software. 2. Boot the system. 3. Insert the 3Com EtherLink III PC Card device. Identifying an Unrecognized Card If you insert a 3C589 card and it is not recognized (no special files created), use the prtconf command and attempt to identify the prob- lem: 1. Become root. 2. Run the prtconf -D command to see if your 3C589 card is recognized. A recognized device will appear in the prtconf output. For example: # prtconf -D . . . pcic, instance #0 (driver name: pcic) . . . network, instance #0 (driver name: pcelx) 3. If pcelx does not appear in the prtconf output, there is a problem with the PC Card adapter configuration or with the hardware. You can determine whether the problem is with the card or the adapter by attempting to use the card on another machine or by using it on the same machine using DOS. Configuring Two or More Cards Because the 3C589 card is not supported during Solaris installation, you must update network configuration files before it can be used as a network interface: 1. Create a /etc/hostname.pcelx# file (where # is a socket number) to specify the host name to be associated with this interface. 2. Add an IP address for the new host name to the /etc/inet/hosts file. 3. Ensure that the associated network is listed in /etc/inet/netmasks. 4. Ensure that the Name Service Switch /etc/nssswitch.conf configuration file includes the network and local services you need. 5. Reboot the system. Special Files Device naming in /dev follows standard LAN device naming with the exception that the PPA (physical point of attachment) unit number is the socket where the card resides, not the instance. For the pcelx driver, /dev/pcelx0 (or PPA 0 of /dev/pcelx) is the card in socket 0, while a card in socket 1 is /dev/pcelx1 (or PPA 1 of /dev/pcelx). Hot Plugging If you remove the 3C589 card, any information you send is discarded, and no error messages are given. When you reinsert the card in the same socket, the device operates normally. The behavior is similar to temporarily disconnecting the device from the network. /kernel/drv/pcelx pcelx driver /dev/pcelx DLPI Style 2 device /dev/pcelxn DLPI Style 1 device where: n is the PCMCIA physical socket number. pcmcia(7D) 20 Oct 2000 pcelx(7D)
All times are GMT -4. The time now is 06:08 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy