wbm-virtual-server . Update failed.

13 posts / 0 new
Last post
#1 Tue, 04/05/2011 - 00:37
Anonymous

wbm-virtual-server . Update failed.

I Tried to update my VirtualMin packages today and got a report saying everything was already uptodate except for this one package.

And I get this error: Error: Webmin server did not write new PID file.

See below:

Installing package(s) with command yum -y install wbm-virtual-server ..

Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * addons: mirrors.easynews.com * base: mirror.raystedman.net * extras: mirror.raystedman.net * updates: centos.mirror.freedomvoice.com Reducing CentOS-5 Testing to included packages only Finished Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package wbm-virtual-server.noarch 2:3.84-1 set to be updated --> Finished Dependency Resolution

Dependencies Resolved

================================================================================

Package Arch Version Repository Size

Updating: wbm-virtual-server noarch 2:3.84-1 virtualmin-universal 3.4 M

Transaction Summary

Install 0 Package(s)
Update 1 Package(s)
Remove 0 Package(s)

Total download size: 3.4 M Downloading Packages: Running rpm_check_debug Running Transaction Test Finished Transaction Test Transaction Test Succeeded Running Transaction Updating : wbm-virtual-server 1/2 Error: Webmin server did not write new PID file

Error

Webmin server did not write new PID file

Cleanup : wbm-virtual-server 2/2

Updated:

Complete! .. install complete.

No packages were installed. Check the messages above for the cause of the error.

How can I fix it ?

Thanks

Tue, 04/05/2011 - 08:42
andreychek

It's hard to tell from that, but it may have actually worked.

What I would do is log into the command line as root using SSH, and do the following:

  1. Stop Webmin: /etc/init.d/webmin stop

  2. Perform any package updates: yum update

  3. Start Webmin back up (if it didn't happen automatically): /etc/init.d/webmin start

After that, can you access Virtualmin using your browser?

-Eric

Tue, 04/05/2011 - 08:51
Davvit

I can not access the server now :(

I get a Timed Out Error and

You tried to access the address https://65.23.129.163:10000/, which is currently unavailable.

Tue, 04/05/2011 - 09:07
andreychek

Did you get any output you got while running those commands? If you got any errors or warnings, knowing what they were would help us figure out what's going wrong :-)

-Eric

Tue, 04/05/2011 - 09:16
Davvit

The output I got is what I pasted into my first post

Tue, 04/05/2011 - 09:27
Davvit

Ok

Started up putty and looged in.

Tried to stop Webmin

Got:

Stopping Webmin server in /usr/libexec/webmin /etc/webmin/stop: line 4: kill: (27442) - No such process

You wrote:

2 Perform any package updates: yum update

So I guess thats the one that failed ie the one that is in my first post ?

The other updates responded with something like "Updates already done - no action taken" only the one in my first post caused an error.

Tue, 04/05/2011 - 09:31
Davvit

Ok I just ran this:

yum update Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * addons: mirrors.easynews.com * base: mirror.raystedman.net * extras: mirror.raystedman.net * updates: centos.mirror.freedomvoice.com Reducing CentOS-5 Testing to included packages only Finished Setting up Update Process Resolving Dependencies

It is still running.

Hope I did the right thing !

Tue, 04/05/2011 - 09:40
Davvit

Here is what I did in the last five minutes:

[root@heavyhoster ~]# yum update Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * addons: mirrors.easynews.com * base: mirror.raystedman.net * extras: mirror.raystedman.net * updates: centos.mirror.freedomvoice.com Reducing CentOS-5 Testing to included packages only Finished Setting up Update Process Resolving Dependencies --> Running transaction check ---> Package ImageMagick.i386 0:6.2.8.0-4.el5_5.3 set to be updated ---> Package NetworkManager.i386 1:0.7.0-10.el5_5.2 set to be updated ---> Package NetworkManager-glib.i386 1:0.7.0-10.el5_5.2 set to be updated ---> Package acl.i386 0:2.2.39-6.el5 set to be updated ---> Package acpid.i386 0:1.0.4-9.el5_4.2 set to be updated ---> Package apr.i386 0:1.2.7-11.el5_5.3 set to be updated ---> Package apr-util.i386 0:1.2.7-11.el5_5.2 set to be updated ---> Package at.i386 0:3.1.8-84.el5 set to be updated ---> Package audit.i386 0:1.7.17-3.el5 set to be updated ---> Package audit-libs.i386 0:1.7.17-3.el5 set to be updated ---> Package audit-libs-python.i386 0:1.7.17-3.el5 set to be updated ---> Package autofs.i386 1:5.0.1-0.rc2.143.el5_5.6 set to be updated ---> Package automake.noarch 0:1.9.6-2.3.el5 set to be updated ---> Package automake14.noarch 0:1.4p6-13.el5.1 set to be updated ---> Package automake15.noarch 0:1.5-16.el5.2 set to be updated ---> Package automake16.noarch 0:1.6.3-8.el5.1 set to be updated ---> Package automake17.noarch 0:1.7.9-7.el5.2 set to be updated ---> Package avahi.i386 0:0.6.16-9.el5_5 set to be updated ---> Package avahi-compat-libdns_sd.i386 0:0.6.16-9.el5_5 set to be updated ---> Package avahi-glib.i386 0:0.6.16-9.el5_5 set to be updated ---> Package bind.i386 30:9.3.6-4.P1.el5_5.3 set to be updated ---> Package bind-chroot.i386 30:9.3.6-4.P1.el5_5.3 set to be updated ---> Package bind-libs.i386 30:9.3.6-4.P1.el5_5.3 set to be updated ---> Package bind-utils.i386 30:9.3.6-4.P1.el5_5.3 set to be updated ---> Package binutils.i386 0:2.17.50.0.6-14.el5 set to be updated ---> Package bzip2.i386 0:1.0.3-6.el5_5 set to be updated ---> Package bzip2-libs.i386 0:1.0.3-6.el5_5 set to be updated ---> Package caching-nameserver.i386 30:9.3.6-4.P1.el5_5.3 set to be updated ---> Package centos-release.i386 10:5-5.el5.centos set to be updated ---> Package centos-release-notes.i386 0:5.5-0 set to be updated ---> Package checkpolicy.i386 0:1.33.1-6.el5 set to be updated ---> Package chkconfig.i386 0:1.3.30.2-2.el5 set to be updated ---> Package clamav.i386 0:0.96.5-1.vm.el5 set to be updated ---> Package clamav-data.i386 0:0.96.5-1.vm.el5 set to be updated ---> Package clamav-filesystem.i386 0:0.96.5-1.vm.el5 set to be updated ---> Package clamav-lib.i386 0:0.96.5-1.vm.el5 set to be updated ---> Package clamav-server.i386 0:0.96.5-1.vm.el5 set to be updated ---> Package clamav-server-sysv.i386 0:0.96.5-1.vm.el5 set to be updated ---> Package clamav-update.i386 0:0.96.5-1.vm.el5 set to be updated ---> Package coolkey.i386 0:1.1.0-14.el5 set to be updated ---> Package coreutils.i386 0:5.97-23.el5_4.2 set to be updated ---> Package cpio.i386 0:2.6-23.el5_4.1 set to be updated ---> Package cpp.i386 0:4.1.2-48.el5 set to be updated ---> Package cpuspeed.i386 1:1.2.1-9.el5 set to be updated ---> Package crash.i386 0:4.1.2-4.el5.centos.1 set to be updated ---> Package cups.i386 1:1.3.7-18.el5_5.8 set to be updated --> Processing Dependency: poppler-utils for package: cups ---> Package cups-libs.i386 1:1.3.7-18.el5_5.8 set to be updated ---> Package curl.i386 0:7.15.5-9.el5 set to be updated ---> Package cyrus-sasl.i386 0:2.1.22-5.el5_4.3 set to be updated ---> Package cyrus-sasl-gssapi.i386 0:2.1.22-5.el5_4.3 set to be updated ---> Package cyrus-sasl-lib.i386 0:2.1.22-5.el5_4.3 set to be updated ---> Package cyrus-sasl-md5.i386 0:2.1.22-5.el5_4.3 set to be updated ---> Package cyrus-sasl-plain.i386 0:2.1.22-5.el5_4.3 set to be updated ---> Package db4.i386 0:4.3.29-10.el5_5.2 set to be updated ---> Package dbus.i386 0:1.1.2-14.el5 set to be updated ---> Package dbus-glib.i386 0:0.73-10.el5_5 set to be updated ---> Package dbus-libs.i386 0:1.1.2-14.el5 set to be updated ---> Package dbus-python.i386 0:0.70-9.el5_4 set to be updated ---> Package device-mapper.i386 0:1.02.39-1.el5_5.2 set to be updated ---> Package device-mapper-event.i386 0:1.02.39-1.el5_5.2 set to be updated ---> Package device-mapper-multipath.i386 0:0.4.7-34.el5_5.6 set to be updated ---> Package dhclient.i386 12:3.0.5-23.el5_5.2 set to be updated ---> Package dhcpv6-client.i386 0:1.0.10-18.el5 set to be updated ---> Package dmidecode.i386 1:2.10-3.el5 set to be updated ---> Package dmraid.i386 0:1.0.0.rc13-63.el5 set to be updated ---> Package dmraid-events.i386 0:1.0.0.rc13-63.el5 set to be updated ---> Package dnsmasq.i386 0:2.45-1.1.el5_3 set to be updated ---> Package dogtail.noarch 0:0.6.1-3.el5 set to be updated ---> Package dosfstools.i386 0:2.11-9.el5 set to be updated ---> Package e2fsprogs.i386 0:1.39-23.el5_5.1 set to be updated [root@heavyhoster ~]# /etc/init.d/webmin Usage: /etc/init.d/webmin { start | stop | restart } [root@heavyhoster ~]# /etc/init.d/webmin start [root@heavyhoster ~]# /etc/init.d/webmin restart Stopping Webmin server in /usr/libexec/webmin cat: /var/webmin/miniserv.pid: No such file or directory kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec] Starting Webmin server in /usr/libexec/webmin Pre-loaded virtual-server/virtual-server-lib-funcs.pl in virtual_server Pre-loaded virtual-server/feature-unix.pl in virtual_server Pre-loaded virtual-server/feature-dir.pl in virtual_server Pre-loaded virtual-server/feature-dns.pl in virtual_server Pre-loaded virtual-server/feature-mail.pl in virtual_server Pre-loaded virtual-server/feature-web.pl in virtual_server Pre-loaded virtual-server/feature-webalizer.pl in virtual_server Pre-loaded virtual-server/feature-ssl.pl in virtual_server Pre-loaded virtual-server/feature-logrotate.pl in virtual_server Pre-loaded virtual-server/feature-mysql.pl in virtual_server Pre-loaded virtual-server/feature-postgres.pl in virtual_server Pre-loaded virtual-server/feature-ftp.pl in virtual_server Pre-loaded virtual-server/feature-spam.pl in virtual_server Pre-loaded virtual-server/feature-virus.pl in virtual_server Pre-loaded virtual-server/feature-status.pl in virtual_server Pre-loaded virtual-server/feature-webmin.pl in virtual_server Pre-loaded virtual-server/feature-virt.pl in virtual_server Pre-loaded virtual-server/feature-virt6.pl in virtual_server Pre-loaded WebminCore [root@heavyhoster ~]#

As you can see I tried the start option. But I could not get anything from my browser

at https://65.23.129.163:10000

so I tried the restart option.

I still get the time out message :(

Tue, 04/05/2011 - 09:44
andreychek

If you run this command, what output do you get:

ps auxw | grep miniserv | grep webmin

Tue, 04/05/2011 - 10:02
Davvit

[root@heavyhoster ~]# [root@heavyhoster ~]# ps auxw | grep miniserv | grep webmin root 17693 0.0 2.8 33688 27880 ? S Apr04 0:00 /usr/bin/perl /usr/libexec/webmin/miniserv.pl /etc/webmin/miniserv.conf [root@heavyhoster ~]#

Tue, 04/05/2011 - 17:39
andreychek

So it looks like you do have a Webmin process running, but the init script isn't properly killing it off.

You can manually kill it by running this command:

kill 17693

Then, start Webmin with: /etc/init,d/webmin start

Wed, 04/06/2011 - 00:16
Davvit

OK thanks. Can log in now.

But I straight away notice that the main screen still says:

8 updates to Virtualmin packages are available. Use the Virtualmin Package Updates module to install them selectively.

And then the button to install them - Don't worry I wont click it again ;)

But since everything some now be upto date, shouldn't that message disappear ?

Wed, 04/06/2011 - 08:09
andreychek

Actually, that button should work just fine :-)

It sounds like a Webmin process got stuck... and you know how to fix that now, it's just a matter of killing the process and restarting Webmin.

My suggestion would be to go ahead and try performing an update... and if you run into trouble, just let us know :-)

-Eric

Topic locked