Operating System - HP-UX
1826811 Members
3813 Online
109704 Solutions
New Discussion

Webmin + install modules + updates

 
NXS
Valued Contributor

Webmin + install modules + updates

I installed webmin from the hp software (depot files). But I would like to update the software. That works until he sorts this : Failed to install module : File is gzipped, but the gunzip command was not found on your system.
Gunzip is installed on the system and into /etc/PATH. Is there something else to change?
10 REPLIES 10
Steven E. Protter
Exalted Contributor

Re: Webmin + install modules + updates

To update a depot installation, you need a newer depot file.

Can't update a depot/sd-ux installtion with a tar.gz

If you have a depot.gz

whence gzip

gunzip

swinstall -s /full_path/filename.depot \*

Note that some depot installations need the previous verion uninstalled prior to installing the new version. I don't know if this is the case with webmin.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Muthukumar_5
Honored Contributor

Re: Webmin + install modules + updates

gzip will be located here:

/usr/contrib/bin/gzip

Try to do as,

export PATH=$PATH:/usr/contrib/bin

and try now.

hth.
Easy to suggest when don't know about the problem!
Muthukumar_5
Honored Contributor

Re: Webmin + install modules + updates

If you don't have that in that location then find it with,

find / -name "gzip"

and update the location with /etc/PATH file or PATH environment variable for that current shell.

Do you have this package of,

# swlist SW-DIST.GZIP

If so then gzip is installed. Add that path.

hth,
Easy to suggest when don't know about the problem!
NXS
Valued Contributor

Re: Webmin + install modules + updates

Oké I found it, you must add it to the webmin env variables. No I have another problem
Undefined subroutine &proc::safe_process_exec called at /opt/hpws/webmin/webmin/upgrade.cgi line 342.
Arunvijai_4
Honored Contributor

Re: Webmin + install modules + updates

Try logging in as Webmin administrator and update modules. Sometimes, it maynot be able to pick from the path due to various reasons.

# which gunzip
/usr/contrib/bin/gunzip

#export PATH=$PATH:/usr/contrib/bin

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Muthukumar_5
Honored Contributor

Re: Webmin + install modules + updates

Is web min running there? If so stop it firstly.

Same problem with debian + webmin as,

http://lists.swelltech.com/pipermail/webmin-l-archive/2003-November/016641.html

hth.
Easy to suggest when don't know about the problem!
Arunvijai_4
Honored Contributor

Re: Webmin + install modules + updates

Which version of Webmin you have installed on your machine ?

# swlist |grep -i webmin

Try installing latest package,
http://h20293.www2.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=HPUXWSSUITE

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
NXS
Valued Contributor

Re: Webmin + install modules + updates

This I have done. But you get version 1.070 but I want to add the bind modules. So I need the latest version 1.230. And now I have problems updating the webmin to 1.230

Downloading http://www.webmin.com/download/webmin-1.230.tar.gz ..
Downloading http://osdn.dl.sourceforge.net/sourceforge/webadmin/webmin-1.230.tar.gz (8705548 bytes) ..
Received 1024 bytes (0 %)
Received 871424 bytes (10 %)
Received 1741824 bytes (20 %)
Received 2612224 bytes (30 %)
Received 3482624 bytes (40 %)
Received 4353024 bytes (50 %)
Received 5223424 bytes (60 %)
Received 6094848 bytes (70 %)
Received 6965248 bytes (80 %)
Received 7835648 bytes (90 %)
Received 8705548 bytes (100 %)
.. Download complete.
No package signature verification done.

Running setup.sh script to upgrade Webmin .. Please wait a minute until it is complete before continuing.


HTTP/1.0 500 Perl execution failed
Server: MiniServ/0.01
Date: Mon, 3 Oct 2005 09:39:41 GMT
Content-type: text/html
Connection: close

Error - Perl execution failed
Undefined subroutine &proc::safe_process_exec called at /opt/hpws/webmin/webmin/upgrade.cgi line 342.


Arunvijai_4
Honored Contributor

Re: Webmin + install modules + updates

It's better to install webmin separately instead of Uograding from HP's webmin since it is cut down version of Opensource webmin, Try downloading manually and installing it. It should work.

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Muthukumar_5
Honored Contributor

Re: Webmin + install modules + updates

webmin upgrade is having problem in debian linux platform, hp etc. Solution is try to remove old package and use new version and install freshly. check out prev. reply link.

hth.
Easy to suggest when don't know about the problem!