Help with errors


 
Thread Tools Search this Thread
Special Forums Hardware Filesystems, Disks and Memory Help with errors
# 1  
Old 08-12-2003
Help with errors

I am very new to the world of Unix, in the middle of a crash course as I write this due to a system failure for my company. This system went down approximately 24 hours ago due to some apparent thunderstorms that passed through. The problem is that my company, like many others, has laid off everyone that knows anything and only kept us idiots around. Anyway, when the system was brought back up, the following errors were reported by the system:
wd: ERROR: on fixed disk ctlr=0 dev=1/40 block=29 cmd=00000020 status=00005940, sector=995, cylinder/head = 3/1

hd: WARNING: out of inodes on dev 1/40

-sh: cannot make pipe

wd: ERROR: on fixed disk ctlr=0 dev=1/40 block=29 cmd=00000020 status=00005940, sector=995, cylinder/head = 3/1

hd: WARNING: Out of inodes on dev 1/40

-sh cannot make pipe

Can anyone explain to me what all of this means and if there is any way to resolve this issue short of replacing the hard drive? Main problem with HDD replacement is that we do not have the software to reinstall on the new drive. So, if we the HDD does need replaced, is there a way to create an image of this drive onto a new one getting all the required information?

I would appreciate any and all assitance on this issue as I am under a major time crunch right now. We only have about 48 hours to get this system back into operation before we start losing our subscriber's cable converter boxes.
Thank you
# 2  
Old 08-12-2003
With the time crunch that you have, I must suggest that you need more help than you can get here. You should call your vendor now and get an engineer on site. Or hire back some of your laid off experts for a few hours.

For us to help you, we will need to know more. What hardware do you have? What version of unix?

My best guess is that you really have a bad disk and the disk that is bad contains your root file system.

The "wd: ERROR..." seems to be an error message from a disk driver. The controller and device numbers id which device is broken. Block 29 sounds like a block that should exist. A very large number might have meant that the driver was asked to read a non-existant block.

The "hd: Warning" is a bit of a red herring. The system tried to allocate an inode but it failed due to a hard disk error. If the disk was readable, you would probably find that you do have inodes left.

The "-sh: cannot make pipe" tells us why an inode was requested. It's been a long time since I've seen a version of unix that used file system based pipes. I didn't know anyone still did that. It will be interesting to learn what system you are using.

I think that you will probably need a new hard disk. Then you need to re-install the OS. Then you need to load your backup tapes and get the system to the state it was in during your last backup.

You are getting far enough into the startup scripts that the shell is attempting to run. That means that there is a good chance that you can mount your fried disk in read-only mode and have a decent chance of pulling some files off of it.

Bear in mind that this is all guesswork. I have never seen a system like yours and I have very little to go on.
# 3  
Old 08-12-2003
Getting someone else involved is the next logical step. Waiting on approval from management to do so. Got to love corperations!! LOL

I will do my best to answer your questions...

Looks as though it is running SCO Xenix System V Version 2.3.4, 386 OS

As for the hardware, this is running in a Compaq ProLinea 4/33 with a whopping (single) 120 MB Quantam HDD and 8 MB RAM. The only other real hardware this has is a multiport Arnet adapter card connecting to an RS-232 Arnet board for the modems and the printer. Not sure what else I can tell you about the hardware.

You commented that you didn't know anyone still used file system based pipes. This system is at least ten years old, should have been put out to pasture nine years ago in my opinion. For whatever reason, no one ever felt the need to upgrade for whatever reason. Currently we are working on locating spare equipment to hopefully be able to replace this unit. From what I have read in the software documentation, all I have available software wise, is an upgrade. I have not been able to locate the original software package.

I have been able to successfully navigate through the file and directory structures. So far, the only problems I have found is in trying to set up a different user, it comes up with errors trying to open or modify different files.

The system will boot as far as the login prompt. Once the user and password is entered it goes nuts with the previsouly mentioned errors. That made me think it would be worth a shot to create another user and try to log in that way and maybe get around the bad section of the HDD.

Not sure what else I can tell you that may be of use. I do appreciate your time and input on this. Although, I don't expect any miracles, just thought someone out there can save me some aggrevation on this.
# 4  
Old 08-12-2003
That thing sounds about 20 years old. I *think* that disks in that era still did not do their own sparing. There may be a utility that can spare the bad block. You are going to need a Xenix expert. I hope that there are some left.

How can you add a user? Does that mean you can sign on as root?

Do you have a floppy drive? Or any other way to do a backup? Do you have backups?

When you sign on as that user, you start to run a file called .profile in the user's home directory. It sounds like you have trouble doing that. Maybe you can take a look at the .profile.

And you might want to make sure that your resume is up to date. A malfunctioning twenty year old mission critical system with no in-house expertise could well mean the end of your company.

Last edited by Perderabo; 08-12-2003 at 11:51 AM..
# 5  
Old 08-12-2003
While looking for some command help last night, I found a command somewhere that would run a disk scan. I was afraid to run it destructive as I am not sure where we are going from this point and didn't want to do anything that was non-repairable... The command was "badtrk," this will apparently block that section of the drive and keep it from being used. From my best guess it seems to be a lot like Windows Scan Disk in that reguard. Except I am not familiar with it enough to know what it will and won't do and I do not want it deleting the data that is located in that block of the drive.

When the system boots, it comes up to the login screen. Once you enter the user and password, then it starts showing all the errors. I am able to navigate the file structure and access most anything, so I am under the impression that I am logged into root.

There is a floppy drive in this machine. The local technician was very adimant about running daily backups of the database. So, we should be able to rebuild without too much problems.

I will check into the .profile file and see what I can find. We were able to find some other software in another location as well, so we may very well be able to replace the hard drive and reload without too many more problems.
# 6  
Old 08-12-2003
UPDATE!!!

Not sure yet how permanent the resolve is on this here. I ran the badtrk command again and finally got it to give me the option to try to recover valid data from the bad sectors. Apparently it was successful at this since it booted right up and logged in with no problems. Currently, I am running a backup on the system and will be rebooting to verify it will come back to life once again. This has at least bought us another 72 hours to work on it in the event it won't come back.

Thanks for your time, effort and input on this issue.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Errors using ln

ln: Filename1 and Filename2 are identical. Seems to be an error.. Unable to proceed further Can you ppl help me? (5 Replies)
Discussion started by: DevM
5 Replies

2. Shell Programming and Scripting

Errors while using echo

Hi I am new to shell scripting. I am using a shell script to create a SQL script file and then call it as well. The created SQL script file has calls to 2 other sql script file, as well as compile and execute a procedure. all this works fine. I am getting some simple errors. My code is as below ... (8 Replies)
Discussion started by: man_expo
8 Replies

3. UNIX for Advanced & Expert Users

UDP errors

Hi, I can see "udpInOverflows" errors when I execute 'netstat -s' on my Solaris box. The number of errors are small - about 40. e.g. $ netstat -s|grep udp UDP udpInDatagrams =1249190732 udpInErrors = 0 udpOutDatagrams =31663030 udpOutErrors = 0... (1 Reply)
Discussion started by: chaandana
1 Replies

4. UNIX for Dummies Questions & Answers

Major OS errors/Bash errors help!!!!

Hi all, dummy here.... I have major errors on entering the shell. On login I get: -bash: dircolors: command not found -bash: tr: command not found -bash: fgrep: command not found -bash: grep: command not found -bash: grep: command not found -bash: id: command not found -bash: [: =: unary... (12 Replies)
Discussion started by: wcmmlynn
12 Replies

5. Programming

errors....

hi i have written a program to display files in a directory but it doesnt compile on the sun/solaris system.... im using gcc(inbuilt compiler) im generally used to working on a windows environment so maybe im overlookiing something ive added comments to help readability of the program i also... (2 Replies)
Discussion started by: anything2
2 Replies

6. UNIX for Dummies Questions & Answers

X errors

I'm trying to set up x2x between my desktop and laptop, and as a precondition to that, I'm just trying to get each to be able to display programs on the other (e.g. "desktop$ xterm -display laptop:0"). OS is Ubuntu 5.10 and X version is X.org 6.8.2 I've set up X to run without -nolisten, and... (1 Reply)
Discussion started by: vertigo23
1 Replies

7. UNIX for Advanced & Expert Users

What are these errors?

root@INTSETICADB # su - oracle Killed root@INTSETICADB # su - selectica Killed root@INTSETICADB # man prstat Reformatting page. Please Wait...Segmentation Fault - core dumped sys(cd /usr/man; /usr/lib/sgml/sgml2roff /usr/man/sman1m/prstat.1m > /tmp/sman_iUaW5x) fail! aborted (sorry) (3 Replies)
Discussion started by: abhijeetkul
3 Replies

8. AIX

Adapter Errors and Link Errors

$ errpt | more IDENTIFIER TIMESTAMP T C RESOURCE_NAME DESCRIPTION 3074FEB7 0802050205 T H fscsi1 ADAPTER ERROR B8113DD1 0802050205 T H fcs1 LINK ERROR B8113DD1 0802050205 T H fcs1 LINK ERROR 3074FEB7 0802050205 T H fscsi0 ADAPTER ERROR B8113DD1 ... (2 Replies)
Discussion started by: mcastill66
2 Replies

9. UNIX for Advanced & Expert Users

Adapter Errors and Link Errors

$ errpt | more IDENTIFIER TIMESTAMP T C RESOURCE_NAME DESCRIPTION 3074FEB7 0802050205 T H fscsi1 ADAPTER ERROR B8113DD1 0802050205 T H fcs1 LINK ERROR B8113DD1 0802050205 T H fcs1 LINK ERROR 3074FEB7 0802050205 T H fscsi0 ADAPTER ERROR B8113DD1 ... (0 Replies)
Discussion started by: mcastill66
0 Replies

10. HP-UX

errors

fatal server error: couldn't open x pointer device! is one attached? xinit: connection refused (errno 239): unable to connect to X server xinit: no such process (errno3): server error. (1 Reply)
Discussion started by: nobody
1 Replies
Login or Register to Ask a Question