Koozali.org: home of the SME Server

Easy One! Tape drive Install

Olsen

Easy One! Tape drive Install
« on: August 30, 2004, 11:37:21 PM »
I am preparing to install a new Sony AIT IDE tape drive on my SME 6.0.1 box.  I can handle getting it physically installed, but what else is needed to get it setup on SME (linux)?  

Also, if I buy Tapeware, do I attempt to install the software on the server or do I install it on a remote machine (winXP) that I can run the software from?  

Thanks in advance for the help.

Offline dilligaf

  • *
  • 266
  • +0/-0
    • http://www.willcraft.com
Re: Easy One! Tape drive Install
« Reply #1 on: August 30, 2004, 11:56:30 PM »
Quote from: "Olsen"
Also, if I buy Tapeware, do I attempt to install the software on the server or do I install it on a remote machine (winXP) that I can run the software from?quote]
Hi,
Tapeware is a very good choice. I use it reliably on about 20 servers. I do my installs this way.
Install to the server, and a workstation. If you browse the forums at tapeware site and look for remote admin etc you will easily find the tweaks required on the workstation to manage the tapeware server. I strongly recommend assuring you install the smtp connector, and set the program up to e-mail an admin the logs.
Dan

Olsen

Easy One! Tape drive Install
« Reply #2 on: August 31, 2004, 12:00:17 AM »
Thanks for the quick reply Dan.

Does the SMTP connector come with the software or do I look for it elsewhere?

Offline dilligaf

  • *
  • 266
  • +0/-0
    • http://www.willcraft.com
Easy One! Tape drive Install
« Reply #3 on: August 31, 2004, 12:04:31 AM »
It comes with it.
Do the install, once that is done it return you to the menu, select install option, follow the prompts.
Dan

Olsen

Easy One! Tape drive Install
« Reply #4 on: August 31, 2004, 12:07:26 AM »
Ok.

This may be a dumb question, but oh well....

When I attempt to run the software through the server, is there a GUI install interface that takes me step by step through the install process or is it command line?

Again, thanks for helping the inexperienced....heh.  You're the Man

Offline dilligaf

  • *
  • 266
  • +0/-0
    • http://www.willcraft.com
Easy One! Tape drive Install
« Reply #5 on: August 31, 2004, 12:17:46 AM »
I don't mind helping, but if you are buying from Yosemite (Tapeware) even just testing their eval version you have full installation support from them, they are very helpfull.
There is no gui,it is command line.
Quickest thing to do, if you do not have the cd or anything yet is this.
(from windows)
Save the eval download to a directory in an ibay.
Extract that download to a ibay on the SMEServer.
Use putty (or log in to the server using the console) and navigate to where you extracted the files and run the ./install.sh script.
That will look after the server, then from windows navigate to the ibay where you extracted the files and run the installer again to install on windows pc.
Then make changes tot te tapeware.ini file on the windows pc to allow remote admin of the linux server as per tapweware user forums.
If you have troubles running the linux installer, make sure the files are executable.
Dan

Olsen

Easy One! Tape drive Install
« Reply #6 on: September 02, 2004, 06:20:13 PM »
Ok, I downloaded the tapeware software and extracted it to an ibay on the server.  The file is there and is fine.

I used putty to go to the server and run the install script on the server and I was going through the install steps and things seemed fine, i defined a new zone etc.  However, it did do something funny and did not appear to complete.  I closed putty thinking that everything would be fine.  I then ran the install on my XP machine to use as a remote.  I could not join an existing zone because tapeware apparently could not find the server zone already created.  

In my best efforts, I thought to go back and try the install again on the server, but now I get this error message

Erase is delete.
Kill is control-U (^U).
Interrupt is control-C (^C).
Installer exited with error 11520 (45)


Does anyone know how I can possibly fix this.  I called their tech support and he was thinking that it is possibly a missing library, but since they do not technically support SME he could no provide a whole lot of help.  I am hoping some one here could help!

Thanks.

Offline dilligaf

  • *
  • 266
  • +0/-0
    • http://www.willcraft.com
Easy One! Tape drive Install
« Reply #7 on: September 02, 2004, 06:31:49 PM »
First,
On the server see if tapeware is runnin:
/usr/local/tapeware/twunxsvc -q
It's not is it?
In putty (or whatever) get to the location where you extracted the tapeware download.
Did you download the full version (all platforms) or just linux? Regardless, navigate to the lin directory, and assure that you have permission to execute all files in the installer. I usually select all and set exucute by others.
Then from the lin directory type ./install.sh and see how you get along. You have to assure that the tapeware service is running or you will not be able to do anything.
I have /usr/local/tapeware/twunxsvc -s in start up routines (this starts tapeware service)
Forget the windows part for now, and assure you can get in on the linux side.
Start the service, then log into tapeware for putty.
/usr/local/tapeware/twadmin
That is bs answer from tapeware support, they should easily be able to offer the above help to see if it is even working.
Dan

Olsen

Easy One! Tape drive Install
« Reply #8 on: September 02, 2004, 06:41:03 PM »
I agree that tapeware could provide more support...

I went to /usr/local/ but no tapeware directory

I am guessing it did not install correctly since that is the directory I specified to install to.  I am wondering if there is a tapeware install process that got hung up or something.  I have no clue how to check if that is the case, the only thing I can think of is to restart the server, however the company cannot afford to go down during the day....  Is there any other way to terminate a process that I dont know is even running?  Is there ways to check all the running processes?  

I did go to the lin folder and type ./install (there is no .sh file) and I did download the multiple platform version....that is what is wierd.  

Dan, when this is all over, I owe you a beer or something.

Olsen

Easy One! Tape drive Install
« Reply #9 on: September 02, 2004, 06:45:38 PM »
Forgot to add that I am logged in as ROOT so I should not have any problems with permissions.....right?

Offline dilligaf

  • *
  • 266
  • +0/-0
    • http://www.willcraft.com
Easy One! Tape drive Install
« Reply #10 on: September 02, 2004, 06:49:50 PM »
Tapeware is clearly not installed.
You do not have to reboot the server.
Do this from PUTTY. Open MIDNIGHT COMMANDER , navigate to the ibay you extracted the files to and get in the "LIN" folder.
Select all files (file/reverse selection)all fils in the LIN directory should be yellow?
File, chmod, execute-search by others, set all.
exit (F10)
type ./install and hit enter.
This should call up the installer.
If you want it to be remote managed (by a windows pc)assure you seletct network versus standalone.
dan

Olsen

Easy One! Tape drive Install
« Reply #11 on: September 02, 2004, 07:04:28 PM »
I love midnight commander, I have never used it before!

Ok, I did what you said, went to the file, and did a reverse selection, then did a chmod and checked execute-search by others and selected set all

however, when i exit and hit ./install I get a blue screen (like the installer is trying to begin to run) then this error again....
Erase is delete.
Kill is control-U (^U).
Interrupt is control-C (^C).
Installer exited with error 11520 (45)


hmmm, what does this mean?  

Thanks again for the help, it is a life saver!

Olsen

Easy One! Tape drive Install
« Reply #12 on: September 02, 2004, 07:07:08 PM »
I am using a SONY AIT drive (ATAPI)

It came with a CD, do I need to install any special drivers on the server?  If so, why doesnt the CD have a linux driver?

Offline dilligaf

  • *
  • 266
  • +0/-0
    • http://www.willcraft.com
Easy One! Tape drive Install
« Reply #13 on: September 02, 2004, 07:08:05 PM »
It sounds like:
all of the files and directories do not have the permissions right to allow the install to run, or somehing is in the background (failed install or install waiting for input)
if you type fg at a command what do you get.

Olsen

Easy One! Tape drive Install
« Reply #14 on: September 02, 2004, 07:11:26 PM »
I get this

bash: fg: current: no such job

Offline dilligaf

  • *
  • 266
  • +0/-0
    • http://www.willcraft.com
Easy One! Tape drive Install
« Reply #15 on: September 02, 2004, 07:15:42 PM »
ok, so that is good.
You are using newer version 6.x of sme right?
And you did donwload 7.0 SP5c as your demo.
in the directory where you extracted all of the tapeware files, is there an install file outside of the subdirectories?
Assure it can be execute search by others as well and try and call the installer from there.
I have done this procedure no less than 50 different times, never a problem as long as the permissions are set to allow the installer to complete.

Olsen

Easy One! Tape drive Install
« Reply #16 on: September 02, 2004, 07:31:59 PM »
I am using the SME 6.0.1
I downloaded the most current version of tapeware

There is a install script outside of the lin directory, that is the one i used first time i tried the install last night....

I tried the execute by all on that installer as well.  

I dont understand it....why would it initialize the installer last night, but not anymore?  I am logged in as ROOT so that should not cause any permission issues....This is why I think that the installer got hung up on the previous install, but I cannot verify that.  I wish there was a process manager in Linux that allowed me to see the current running processes.  

I am still getting the error....

Offline dilligaf

  • *
  • 266
  • +0/-0
    • http://www.willcraft.com
Easy One! Tape drive Install
« Reply #17 on: September 02, 2004, 07:33:49 PM »
ps -aux

Olsen

Easy One! Tape drive Install
« Reply #18 on: September 02, 2004, 07:37:10 PM »
there are too many to list, but I did find these on the list


root      2841  0.0  0.1 14924  288 ?        S    Sep01   0:01 ./install
root      2842  0.0  0.1 14924  288 ?        S    Sep01   0:00 ./install
root      2843  0.0  0.1 14924  288 ?        S    Sep01   0:00 ./install
root      2845  0.0  0.1 14924  288 ?        S    Sep01   0:00 ./install
root      2846  0.0  0.1 14924  288 ?        S    Sep01   0:00 ./install


could this be my problem?

Offline dilligaf

  • *
  • 266
  • +0/-0
    • http://www.willcraft.com
Easy One! Tape drive Install
« Reply #19 on: September 02, 2004, 07:39:36 PM »
I am looking at my install directory right now (everything in the LIN folder)
In MC, when I have all files selected, and then click file chmod, it shows:
read by owner
write by owner
execute/search by owner
read by group
write by group
execute/search by others
on all files.
Maybe something funny with your ibay?
Copy the lin folder to a different spot on your sever (IE, mkdir twinstall and put it there) double check the perms, and try again.

Offline dilligaf

  • *
  • 266
  • +0/-0
    • http://www.willcraft.com
Easy One! Tape drive Install
« Reply #20 on: September 02, 2004, 07:43:32 PM »
I would say you are now on the right track.
Leaving for extra long weekend in about... 1Hour.
Dan

Olsen

Easy One! Tape drive Install
« Reply #21 on: September 02, 2004, 08:00:51 PM »
I copied the lin directory to the root folder and still could not get past that error.  

any last words before the weekend?  

Am I doomed?

Olsen

Easy One! Tape drive Install
« Reply #22 on: September 02, 2004, 11:23:00 PM »
I GOT IT!

I rebooted the server which terminated those install processes going.

I installed the tapeware on the server then installed it on a couple windows machines.  

Got them all up on a backup.  NICE!

Offline dilligaf

  • *
  • 266
  • +0/-0
    • http://www.willcraft.com
Easy One! Tape drive Install
« Reply #23 on: September 07, 2004, 05:25:46 PM »
Quote from: "Olsen"
I GOT IT!
NICE!

Good Job Olsen.

Rogue

Easy One! Tape drive Install
« Reply #24 on: November 29, 2004, 01:43:55 PM »
Quote from: "dilligaf"
Then make changes to the tapeware.ini file on the windows pc to allow remote admin of the linux server as per tapweware user forums.

Can anyone expand upon this? What changes need to be made to a WinXP machine to fully manage the SME server Tapeware installation?