Need Help With System Recovery After HD Errors


 
Thread Tools Search this Thread
Operating Systems SCO Need Help With System Recovery After HD Errors
# 1  
Old 02-21-2017
Question Need Help With System Recovery After HD Errors

Last week our legacy SCO OpenServer 5.0.6 server started showing "panic" errors about bad blocks/sectors on hard drive. I ran the badtrack command which fully checked the disk, and it identified 2 LBA sectors as bad, and it was unable to recover some of the data. Apparently the lost data had something to do with the scoadmin functioning, because now scoadmin is "not found" when I try to invoke it from the command line.

My plan is to try and migrate the system to a VM and I have found a couple of ways to try - but before I do that I want to try and restore the data that was lost from my last backup tape. I also would like to connect via FTP from another LAN computer, so I can copy files over our network. Right now the FTP connection using the root account fails to let me login.

The main problems I'm having right now are not remembering how to do certain tasks from the command line. I ran an integrity check and created a report, but I can't remember how to print from the command line. I need to find out what printers are available and I don't know how to do that.

So here are my initial specific questions:
  1. what command to I use to show me what printers are available to print to?
  2. what do I need to do in order to allow my root account to login using FTP?

Any help will be appreciated. Thanks!

Last edited by rbatte1; 02-22-2017 at 08:28 AM.. Reason: Converted textual list to formatted numbered list
# 2  
Old 02-21-2017
1. lpstat -t
2. I do not believe there is any mechanism to prevent a valid user with an unrestricted shell from logging in using ftp.
I suggest that you log in as root at the console, and try 'ftp localhost' and see if you can log in. It may be that there are more files missing than the ones you have already found.

---------- Post updated at 03:32 PM ---------- Previous update was at 03:29 PM ----------

1a. lp -d[destination] [filename]
You can leave out the -d option if you wish to print to the default printer.
# 3  
Old 02-21-2017
So, ftp appears to be trying to connect. When I typed 'ftp localhost' it said it connected and asked me for a username/password. I entered root as the username, and the correct password (I know it is correct, because it lets me login to console) then it says "530 Login incorrect. Login failed" So is ftp rejecting the credentials, and if so what should I do?

Also - regarding the printing issue, I have tried the following command:
lp -d hp4200n int.report

The reply I get is this: request id is hp4200n-76122 (1 file)

But nothing gets printed to that printer. I got the printer name from lpstat -a
# 4  
Old 02-21-2017
Is hp4200n a network printer, or locally attached?
Do you have another system with a ftp server? You may be able to log in to it and 'put' the files.
Is this the same hardware as your posts in 2015?
# 5  
Old 02-21-2017
The hp4200n printer is a network printer, there are no printers locally attached to the server.

I don't think this hardware is the same as the hardware I was trying in 2015, I think I was trying to install the O/S on newer hardware then, because I knew the hardware I'm currently on now will not last a lot longer (as evidenced by the hd problem). The current hardware is "ancient" probably 10 to 12 years old at least. If you want specifics I'll try to remember.

I will see about trying to connect "out" via ftp from the Unix box.

Printing the results of my integrity check would help me a lot with trying to restore files from backup, would it not?

Thanks - Rob
# 6  
Old 02-21-2017
Only if the results of the integrity are missing files.
Do you have a replacement disk? Does your backup copy the entire contents of the disk, or only the application? Are you able to quarantine the current disk and build a new one from the backup and the distribution media? My concern is that once a disk starts to fail continued use is likely to result in complete failure.

---------- Post updated at 04:41 PM ---------- Previous update was at 04:39 PM ----------

Depending on the terminal emulation you are using at your pc's you may be able to do a local print of the integrity report.
# 7  
Old 02-21-2017
Quote:
My concern is that once a disk starts to fail continued use is likely to result in complete failure.
This is EXACTLY my concern as well, and I have a plan but I'm running into roadblocks all along the way. The best solution I can think of is to build a VM to run SCO OpenServer 5.0.6, which is my current licensed product. I have found an article using Google that explains how someone did this successfully in VM Workstation. The initial problem I'm running into there is getting access to a floppy with the BTLD driver that is supposedly compatible for the installation of the O/S to work in a VM. I have obtained the driver file, and created a unix floppy that may work, but all I have is a USB floppy drive and the VM will not recognize it, so I can't even try it. My second option is to create an .iso image of the floppy, which the VM should be able to use, but I can't get Windows XP to create an .iso file from the floppy - windows acts like the floppy is empty or unformatted. I have used my SCO box to create an .iso file from the floppy, but I can't get it copied out of SCO using ftp, or write it to another floppy - nothing seems to work.

I think my tape backup is the whole system, so if I could get a working installation of Openserver 5.0.6 either on newer hardware, or in a VM, then I could try restoring the backup and see what happens.

At this point I would be happy to just get something to work. The system holds our legacy software, so we really only want it for historical purposes. It helps us a lot if we can access the old files, and copy data out of them, in that regard it is not critical. However management has asked me to "do whatever possible" to try and keep the information accessible to us.

Any ideas or help you can offer me would be appreciated. Have you had success with installing 5.0.6 on a VM?
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Red Hat

Linux system hangs giving ntp errors

Hi folks, I am facing issue of my system (host1) getting hanged after throwing following ntpd messages. I am not able to ssh to the server there after. only option is to restart the host: Dec 29 02:58:51 host1 ntpd: time reset -0.207907 s Dec 29 02:58:51 host1 ntpd: synchronisation lost Dec 29... (0 Replies)
Discussion started by: SiddhV
0 Replies

2. UNIX for Advanced & Expert Users

fsck.gfs2 outputs "RG recovery impossible; I can't fix this file system"

I have a CentOS release 5.2 (Final)host running kernel 2.6.18-92.el5 with at raid 10 that had two mirrored drives fail. The drives were re-inserted and now the raid shows healthy (for now). I tried to mount but got an Input/output error. I then attempted a fsck: fsck.gfs2 -y /dev/vg_01/uss_vol... (0 Replies)
Discussion started by: king_hippo
0 Replies

3. UNIX for Advanced & Expert Users

linux system recovery after overriding connect() by "ld.so.preload"

dear fellows; i have used ld.so.preload file to override connect() function, dynamic library overriding, it did worked really fine ...... but i went on to struck in a situation ... within the overrided connect() i have used printf once to see IP and Port to whom the connect request is being... (1 Reply)
Discussion started by: mzeeshan
1 Replies

4. UNIX for Advanced & Expert Users

Data Recovery from file system overwritten with LVM.

Hey peeps, Here is somethin u might find interestin.... Is it possible to recover data from a partition which used to be an ext3 file sytem with some nice forgotten backups, which now is an lvm partion containg root partition of another OS. :) I couldn't create any mess better than this, can... (2 Replies)
Discussion started by: squid04
2 Replies

5. AIX

System recovery

Hi everyone I'm green AIX user or rather beginner (light green). Unfortunately I have to restore my system + data from scratch (things happen) and make it up and running. I've never done it before. Can someone of you provide me with link/procedure/instruction how to do it? Now I know only:... (3 Replies)
Discussion started by: fraydey
3 Replies

6. AIX

make a recovery CD/DVD - system has no writable devices

Hi, Has anyone please got some advise as to how I can make a CD/DVD on an AIX 5.3 system so that it can be fully recoverd just by inserting the backed up system. The system that I need to recover has no writable devices, not even a tape drive (it wasn't specified by me btw). I am trying to... (0 Replies)
Discussion started by: stevek007
0 Replies

7. 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

8. HP-UX

Automatic system recovery?

Hi all! I've a strange problem. I would use the GNU Make tool on HPUX 11.11. To archive this, i have compiled the sourcecode and renamed HP make in /usr/bin from make to make_old. Now i have make a softlink from /usr/local/bin/make (GNU version) to /usr/bin/make. All things here are ok, but... (1 Reply)
Discussion started by: coredump2003
1 Replies
Login or Register to Ask a Question