1834802 Members
2715 Online
110070 Solutions
New Discussion

Re: unsharing sysinfo

 
SOLVED
Go to solution
khilari
Regular Advisor

unsharing sysinfo

Hi people, i just got sysinfo file (mcsysinfo version 5.sh) into my hp box, now i want to unshar it. and activate it. Can u kindly tell me how to go about it.
18 REPLIES 18
James A. Donovan
Honored Contributor

Re: unsharing sysinfo

To unshar any file it's just:

$ sh filename
Remember, wherever you go, there you are...
A. Clay Stephenson
Acclaimed Contributor

Re: unsharing sysinfo

If the file was written in shar (shell archive format) then it will self-extract.
sh filename is all that is required.
If it ain't broke, I can fix that.
khilari
Regular Advisor

Re: unsharing sysinfo

# sh mcsysinfo5.sh
Self-extracting archive of MagniComp SysInfo full runtime v
rsion 5.0 beta2.8 for hpux-parisc
Creating target directory /tmp/makeself.extract.14169
Verifying archive integrity ... CRC checksums do not match:
Expecting: 3561512563 17458383
Actual: 3811157545 17457601

This is whta i am getting.....
A. Clay Stephenson
Acclaimed Contributor

Re: unsharing sysinfo

Then you have a corrupt copy. A very common problem is partial ftp transfers or ftp transfers in the wrong mode. Generally shar's need to transferred in ASCII so that LFCR's pairs are translated to LF.
If it ain't broke, I can fix that.
James A. Donovan
Honored Contributor

Re: unsharing sysinfo

Sounds like your file was corrupted by whatever transfer mechanism you used to obtain it. Try to get a new copy.
Remember, wherever you go, there you are...
khilari
Regular Advisor

Re: unsharing sysinfo

I downloaded another copy and put ascii in the ftp prompt before transfering the file. There is a CRC cHECK error

csysinfo6.sh
# sh mcsysinfo6.sh
Self-extracting archive of MagniComp SysInfo full runtime ve
rsion 6.0 H5 for hpux-ia64
Creating target directory /tmp/makeself.extract.14423
Verifying archive integrity ... CRC checksums do not match:
Expecting: 206933109212813252
Actual: 128826770012812530

any one here has used sysinfo, i mean ho wdid u install it altogether....????

Thanks
A. Clay Stephenson
Acclaimed Contributor

Re: unsharing sysinfo

Okay, I downloaded and ftp'ed it to an HP-UX box and was able to unshar it. All of your transfers must specify BINARY.
If it ain't broke, I can fix that.
khilari
Regular Advisor

Re: unsharing sysinfo

Hi, i ftp 'd again using binary. And this is the output with the errors i got. I changed the permissions to 777

# sh mcsysinfo6.sh
Self-extracting archive of MagniComp SysInfo full runtime ve
rsion 6.0 H5 for hpux-ia64
Creating target directory /tmp/makeself.extract.14592
Verifying archive integrity ... OK
Extracting tools and data image ... OK
Extracting data mcsysinfo6.sh: ./makeselftools/tar: Execute
permission denied.
mcsysinfo6.sh: ./makeselftools/bzip2: Execute permission den
ied.

mcsysinfo6.sh[493]: ./setup: not found.
The program returned an error code (127)
Removing temporary files ...
# chmod 777 mcsysinfo6.sh
# ll
total 25040
-rwxrwxrwx 1 root sys 12813623 Mar 7 15:32 m
csysinfo6.sh
# sh mcsysinfo6.sh
Self-extracting archive of MagniComp SysInfo full runtime ve
rsion 6.0 H5 for hpux-ia64
Creating target directory /tmp/makeself.extract.14628
Verifying archive integrity ... OK
Extracting tools and data image ... OK
Extracting data mcsysinfo6.sh: ./makeselftools/tar: Execute
permission denied.
mcsysinfo6.sh: ./makeselftools/bzip2: Execute permission den
ied.

mcsysinfo6.sh[493]: ./setup: not found.
The program returned an error code (127)
Removing temporary files ...

wHAT IS GOING WRONG!!!
James A. Donovan
Honored Contributor
Solution

Re: unsharing sysinfo

What type of HP server do you have? What operating system are you running? When you opened this thread you were downloading the version 5 file (hp-parisc) and now you're working with the version 6 (hp-ia64), why the change?
Remember, wherever you go, there you are...
A. Clay Stephenson
Acclaimed Contributor

Re: unsharing sysinfo

First of all, are you trying to execute an IA64 version on PA-RISC?
If it ain't broke, I can fix that.
khilari
Regular Advisor

Re: unsharing sysinfo

Guys, all i want to do is download sysinfo first to my desktop and then ftp it to my rp 7472......
I used the 6.0 version after because i thought lets start over fresh... Can u tell m eof a site and the url to download sysinfo from. I didnt really look into the parisc thing. But, the website said it is for hpux. So why didnt it work...
http://www.magnicomp.com/cgi-bin/mcdownload.cgi i am downloading it from here, for the 11 i version. So u r recommending i use the parisc version....
A. Clay Stephenson
Acclaimed Contributor

Re: unsharing sysinfo

Now that we know what platform you are using, yes. Use the PA-RISC version for HP-UX 10.20 and above; the version you are trying to unshar is for an Itanium-based boxed so the executables will not run on a PA-RISC box.
If it ain't broke, I can fix that.
khilari
Regular Advisor

Re: unsharing sysinfo

Ok guys, mission accomplished. I just installed it. Now, how do i invoke it. God, the struggle never ends ;).
James A. Donovan
Honored Contributor

Re: unsharing sysinfo

khilari
Regular Advisor

Re: unsharing sysinfo

HI Guys, okay so i finally got the sysinfo package. The details are:
package name: mcsysinfo 6.0 Hs
IT NEEDS 81 MB
directory is /opt/sysinfo.
Well, when i am installing it every thing goes fine, but just after i say yes to the agreement and yes to install packages this is what i get:


Proceed and install all files now? (Yes,No) [Yes] yes
------------------------------------------------------------
-------------------
Preparing to install into /opt/sysinfo . . . OK
Installing base . . . [|
###################/ ] 45%setup: CERR
OR: /opt/sysinfo/lib/platform/hpux-11-parisc/shared/libmcsys
info.sl: Open for write/create failed: Text file busy

The installation has been aborted due to an error.
The program returned an error code (1)
Removing temporary files ...


Thanks.
Arunvijai_4
Honored Contributor

Re: unsharing sysinfo

Hi Khilari,

You can download sysinfo as depot and install it

http://hpux.connect.org.uk/hppd/hpux/Sysadmin/sysinfo-3.3.1/

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
khilari
Regular Advisor

Re: unsharing sysinfo

Hey Arun, i am new at this. I ftp'ed the sysinfo.gz into a directory sysinfo onto the hp box. Now what do i do....

Thanks.
Arunvijai_4
Honored Contributor

Re: unsharing sysinfo

Khilari,

If you have downloaded depot, you should install it on HP-UX.

# swinstall -s sysinfo

will do the job for you.

-Arun

P.S Remember to assign points.

"A ship in the harbor is safe, but that is not what ships are built for"