[Solved}How remove locked webmin?

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

[Solved}How remove locked webmin?

Postby janpihlgren » Sep 10th, '19, 13:22

Early today I started webmin and was sopposed to update webmin which I did, to webmin 1.930.
Then it was impossible to start webmin.
I tried to remove webmin using mcc.
When I listed webmin I discovered that mcc show a padlock at the end of the line.
That looks like stop the possibility to remove webmin.
Anyone know what to do to remove webmin?
Last edited by janpihlgren on Sep 13th, '19, 05:58, edited 1 time in total.
User avatar
janpihlgren
 
Posts: 294
Joined: Mar 30th, '11, 12:23
Location: Marsta, Sweden

Re: How remove locked webmin?

Postby doktor5000 » Sep 10th, '19, 14:43

What do you actually want to do, get webmin to start or remove it ... to do what ?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17630
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: How remove locked webmin?

Postby janpihlgren » Sep 10th, '19, 16:01

The best is to start it but when I try to connect to it with "localhost:10000" it report "Connection failed".
But I want to remove webmin to reinstall webmin and that it maybe solv the problem.
User avatar
janpihlgren
 
Posts: 294
Joined: Mar 30th, '11, 12:23
Location: Marsta, Sweden

Re: How remove locked webmin?

Postby doktor5000 » Sep 10th, '19, 16:46

The command to reinstall webmin would be as root
Code: Select all
urpmi --replacepkgs --replacefiles webmin

I can't reproduce your issue, got webmin installed and in MCC it shows with a normal green icon.

Also, what's the output as root of
Code: Select all
systemctl status webmin.service

You sure tried to connect to it with your browser but if the actual webmin service is not running it's obvious why you cannot connect ...
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17630
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: How remove locked webmin?

Postby janpihlgren » Sep 11th, '19, 05:32

Code: Select all
[root@Humlan]# urpmi --replacepkgs --replacefiles webmin
fel: Filen /var/lib/urpmi/synthesis.hdlist.Core Release (Installer).cz är mindre än 13 byte
fel: Filen /var/lib/urpmi/synthesis.hdlist.Nonfree Release (Installer).cz är mindre än 13 byte
Hittade paket(en) webmin-1.840-1.mga6.noarch, webmin-1.860-1.mga6.noarch, webmin-1.840-1.mga6.noarch, webmin-1.860-1.mga6.noarch i urpmi db, men inget är installerat
[root@Humlan]#


Code: Select all
[root@Humlan]# systemctl status webmin.service
● webmin.service - LSB: web-based administration interface for Unix systems
   Loaded: loaded (/etc/rc.d/init.d/webmin; generated; vendor preset: enabled)
   Active: failed (Result: exit-code) since ons 2019-09-11 05:09:52 CEST; 13min ago
     Docs: man:systemd-sysv-generator(8)
  Process: 22916 ExecStart=/etc/rc.d/init.d/webmin start (code=exited, status=127)

sep 11 05:09:52 Humlan.localdomain systemd[1]: Starting LSB: web-based administration interface for Unix systems...
sep 11 05:09:52 Humlan.localdomain systemd[1]: webmin.service: Control process exited, code=exited status=127
sep 11 05:09:52 Humlan.localdomain systemd[1]: Failed to start LSB: web-based administration interface for Unix systems.
sep 11 05:09:52 Humlan.localdomain systemd[1]: webmin.service: Unit entered failed state.
sep 11 05:09:52 Humlan.localdomain systemd[1]: webmin.service: Failed with result 'exit-code'.
[root@Humlan]#



mcc still shows webmin 1.930 with a padlock at the end of the line.
It is impossible to remove.
Last edited by isadora on Sep 11th, '19, 08:18, edited 1 time in total.
Reason: Placed command-output in between [CODE]-tags for better readability ;)
User avatar
janpihlgren
 
Posts: 294
Joined: Mar 30th, '11, 12:23
Location: Marsta, Sweden

Re: How remove locked webmin?

Postby doktor5000 » Sep 11th, '19, 14:27

Please show the output again in plain english
Code: Select all
LC_ALL=C urpmi --replacepkgs --replacefiles webmin
rpm -qa|grep -i webmin|sort
urpmq --list-media active --list-url


Seems you also need to clean the cached repo hdlists /var/lib/urpmi/synthesis.hdlist* as there seems to have been an issue downloading them completely

Apart from that, as you can see in the systemctl status output, webmin has exited, so it's pretty obvious why you cannot connect:

[...]
   Active: failed (Result: exit-code) since ons 2019-09-11 05:09:52 CEST; 13min ago
     Docs: man:systemd-sysv-generator(8)
  Process: 22916 ExecStart=/etc/rc.d/init.d/webmin start (code=exited, status=127)

sep 11 05:09:52 Humlan.localdomain systemd[1]: Starting LSB: web-based administration interface for Unix systems...
sep 11 05:09:52 Humlan.localdomain systemd[1]: webmin.service: Control process exited, code=exited status=127
sep 11 05:09:52 Humlan.localdomain systemd[1]: Failed to start LSB: web-based administration interface for Unix systems.
sep 11 05:09:52 Humlan.localdomain systemd[1]: webmin.service: Unit entered failed state.
sep 11 05:09:52 Humlan.localdomain systemd[1]: webmin.service: Failed with result 'exit-code'.
[root@Humlan]#
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17630
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: How remove locked webmin?

Postby janpihlgren » Sep 11th, '19, 16:16

Code: Select all
[root@Humlan]# LC_ALL=C urpmi --replacepkgs --replacefiles webmin
error: File /var/lib/urpmi/synthesis.hdlist.Core Release (Installer).cz is smaller than 13 bytes
error: File /var/lib/urpmi/synthesis.hdlist.Nonfree Release (Installer).cz is smaller than 13 bytes
found package(s) webmin-1.840-1.mga6.noarch, webmin-1.860-1.mga6.noarch, webmin-1.840-1.mga6.noarch, webmin-1.860-1.mga6.noarch in urpmi db, but none are installed
[root@Humlan]# 

[root@Humlan]# rpm -qa|grep -i webmin|sort
webmin-1.930-1

[root@Humlan]# urpmq --list-media active --list-url
Core Release (Installer) cdrom://x86_64/media/core
Nonfree Release (Installer) cdrom://x86_64/media/nonfree
Core Release (distrib1) http://ftp.acc.umu.se/mirror/mageia/distrib/6/x86_64/media/core/release
Core Updates (distrib3) http://ftp.acc.umu.se/mirror/mageia/distrib/6/x86_64/media/core/updates
Nonfree Release (distrib11) http://ftp.acc.umu.se/mirror/mageia/distrib/6/x86_64/media/nonfree/release
Nonfree Updates (distrib13) http://ftp.acc.umu.se/mirror/mageia/distrib/6/x86_64/media/nonfree/updates
Tainted Release (distrib21) http://ftp.acc.umu.se/mirror/mageia/distrib/6/x86_64/media/tainted/release
Tainted Updates (distrib23) http://ftp.acc.umu.se/mirror/mageia/distrib/6/x86_64/media/tainted/updates
Core 32bit Release (distrib31) http://ftp.acc.umu.se/mirror/mageia/distrib/6/i586/media/core/release
Core 32bit Updates (distrib32) http://ftp.acc.umu.se/mirror/mageia/distrib/6/i586/media/core/updates
Nonfree 32bit Release (distrib36) http://ftp.acc.umu.se/mirror/mageia/distrib/6/i586/media/nonfree/release
Nonfree 32bit Updates (distrib37) http://ftp.acc.umu.se/mirror/mageia/distrib/6/i586/media/nonfree/updates
Tainted 32bit Release (distrib41) http://ftp.acc.umu.se/mirror/mageia/distrib/6/i586/media/tainted/release
Tainted 32bit Updates (distrib42) http://ftp.acc.umu.se/mirror/mageia/distrib/6/i586/media/tainted/updates
[root@Humlan]#

How do I clean the cached repo?
Last edited by janpihlgren on Sep 12th, '19, 05:15, edited 1 time in total.
User avatar
janpihlgren
 
Posts: 294
Joined: Mar 30th, '11, 12:23
Location: Marsta, Sweden

Re: How remove locked webmin?

Postby isadora » Sep 11th, '19, 18:43

It would be great, you put these walls of code between code-tags.
Following is a demo how one can accomplish such:

Demo: ftp://ftp5.gwdg.de/pub/linux/mandriva/m ... e_tags.ogv
..........bird from paradise..........

Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
—Antoine de Saint-Exupéry
User avatar
isadora
 
Posts: 2742
Joined: Mar 25th, '11, 16:03
Location: Netherlands

Re: How remove locked webmin?

Postby doktor5000 » Sep 12th, '19, 17:29

Your webmin package is an mga7 package, but you have only mga6 repos enabled. You cannot reinstall webmin this way, as it needs to be the same package&version in this case.
Try this way to update your repos and to remove webmin and install the mga6 version:
Code: Select all
urpmi.update -av
rpm -e --nodeps webmin
urpmi webmin
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17630
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: How remove locked webmin?

Postby janpihlgren » Sep 13th, '19, 05:22

:D :D :D
Thanks! :D :D :D
That works! :D :D :D
Thanks! :D :D :D
User avatar
janpihlgren
 
Posts: 294
Joined: Mar 30th, '11, 12:23
Location: Marsta, Sweden


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest