Operating System - HP-UX
1827458 Members
5299 Online
109965 Solutions
New Discussion

Re: mysql depot installation problem

 
SOLVED
Go to solution
Anand Chauhan
Occasional Contributor

mysql depot installation problem

I have HP-UX 11.11 and I am trying to run mysql-max-3.23.52-hp-hpux10.20-hppa1.1
which is for HP-UX 10.20 hence I downloded the depot mysql-3.23.42-sd-11.00.depot
and placed it under /opt/depot directory.
When I issue the command
swreg -l depot /opt/depotmysql-3.23.42-sd-11.00.depot
every thing looks fine but when I want to look at the installation my issuing the command
swinstall -p -v -s /opt/depot/mysql-3.23.42-sd-11.00-depot -x autoselect_patches=true -x patch_match_target=true
I get folloing error message :
# ./myshell

======= 09/06/02 14:58:07 CDT BEGIN swinstall SESSION
(non-interactive) (jobid=fia-0038)

* Session started for user "root@fia".

* Beginning Selection
* Target connection succeeded for "fia:/".
ERROR: There is currently no depot software on host "fia" at location
"/opt/depot/mysql-3.23.42-sd-11.00-depot". Make sure that an
absolute pathname is specified for location (beginning with
"/").
* Source connection failed for
"fia:/opt/depot/mysql-3.23.42-sd-11.00-depot".
WARNING: More information may be found in the daemon logfile on this
target (default location is fia:/var/adm/sw/swagentd.log).
* Selection had errors.



======= 09/06/02 14:58:10 CDT END swinstall SESSION (non-interactive)
(jobid=fia-0038)
NOTICE THE SWINSTALL COMMAND IS IN A SHELL SCRIPT-MYSHELL
the swagentd.log has following error message :
ERROR: Failed to start source agent on
"/opt/depot/mysql-3.23.42-sd-11.00-depot" for root@fia.
"/opt/depot/mysql-3.23.42-sd-11.00-depot" is not a valid
depot. 09/06/02 14:58:10 CDT
* Agent pid=3104 completed. 09/06/02 14:58:10 CDT
I did not do anything to swagentd it was already running.
SOMEBODY PLEASE HELP.......



Andy
5 REPLIES 5
Craig Rants
Honored Contributor

Re: mysql depot installation problem

Did you unshar the file first?

i.e.

sh mysql-3.23.42-sd-11.00-depot

GL,
C
"In theory, there is no difference between theory and practice. But, in practice, there is. " Jan L.A. van de Snepscheut
Craig Rants
Honored Contributor
Solution

Re: mysql depot installation problem

Also, your command swinstall -p -v -s /opt/depot/mysql-3.23.42-sd-11.00-depot is different than what the file is named mysql-3.23.42-sd-11.00.depot
"In theory, there is no difference between theory and practice. But, in practice, there is. " Jan L.A. van de Snepscheut
Ted Ellis_2
Honored Contributor

Re: mysql depot installation problem

when you downloaded the depot did you notice any reference to install instructions. Some downloads are in a stand-alone format that allows a straight install... ie. no need to un-shar the file:

swinstall -s /opt/depots/xxxxx-depot...

Denver Osborn
Honored Contributor

Re: mysql depot installation problem

usually the files downloaded from the hp-ux porting and archive centre are gzipped depot files. If you already gunzipped the file, you can use swlist to view the contents of the depot.

swlist -s /tmp/mysql-3.23.42-sd-11.00.depot

If swlist gives error "doesn't look like a tar archive"... the file probably is corrupt or wasn't gunzipped.

Did you download the file then gunzip it? Or was it simply saved as *.depot and not gunzipped?

I'd suggest putting the downloaded file in /tmp.

to preview the install:
swinstall -p -s /tmp/mysql-3.23.42-sd-11.00.depot \*

if all looks okay to you, remove the "-p" to install it.

-denver
Ted Ellis_2
Honored Contributor

Re: mysql depot installation problem

try and reverse the swreg.. you may have created the problem there. Unregister the depot with:

swreg -u -l depot /opt/depot/mysql-3.23.42-sd-11.00-depot

Then run a straight swinstall on the depot.. I think in registering the depot you went a bit too far. This would set up this point as a place where you could now place patches to be installed via a depot. In this case HP may have already done the depot and all you need to do is install it straight off...

run an interactive install session with:

swinstall -s /opt/depot/mysql-3.23.42-sd-11.00-depot

the session will either find the software to be installed... or will report nothing is there... in which case we need to take another look.