LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 06-16-2004, 06:49 AM   #1
GexNZ
LQ Newbie
 
Registered: May 2004
Location: New Zealand
Distribution: Mandrake 10.0
Posts: 21

Rep: Reputation: 15
webmin install failure -> troubles


Hey guys.

I was trying to setup samba. Webmin sounded like a nice configuration tool.
Used rpmdrake to install the package.
Downloaded OK, attempted to install.
Error, something about a curl error.
So I thought, oh well. It isn't installed, i'll leave webmin for now and try to set up samba manually.

Rebooted my machine then the trouble started.
It appears to me that webmin installed partially. Here is what it caused:
- X won't start. Something about NVIDIA(0) display available but not configured correctly.
- eth0 won't start. appears it no longer exists.
- sound card no longer exists either.

Fixed all of these problems by reinstalling the drivers for each device.

So now i'm back into Gnome, except the gnome loading splash screen remains once it has finished (or has it).
It has 3 nautilus load icons, 2 pairs of keys and a gweather-applet lastly.

Fixed the nautilus icons by logging out with "save current setup" checked.
Fixed gweather-applet by remaking the panel it was on.
The splash screen now disapears when it has finished.

But i can't get the gnome splash to only show 1 pair of keys. Two pairs of keys also show up in the Panel Notification Area instead of one when I do stuff as root.

If anyone could shed some light on:
- Why a partial install of webmin should remove all my drivers and mess with my gnome menus etc.
- How to stop the 'root keys thing' from loading twice.

Thanks in advance,
Gex.
 
Old 06-16-2004, 09:56 AM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Squeeze
Posts: 5,689

Rep: Reputation: 286Reputation: 286Reputation: 286
Webmin is much more than a configuration tool. It's a web-based system administration tool. Which means that one can install software, configure applications, setup hardware to some extent (i.e. create printer profiles, etc). In order for webmin to give you such control over your system, it must replace (read rewrite) some of you installed files to include code that webmin can call to do it's job.
Since you installed via rpm, let's hope that the webmin rpm is well-behaved (meaning that the packager included instructions in the rpm spec file to save a backup copy of files to be replaced before actually replacing them). The files are saved with the original name, and an extension to that name. The most common extensions are .save, .orig. and .rpmsave. The rpm spec file will only specify one of these extension.
The first thing to do, open a terminal and issue the command 'locate webmin | less'. If nothing shows up, su to root and run the command 'updatedb' to update the locatedb. Then try the first command again. Once you have updated the locatedb, look for files which may have been saved by rpm. Specifically, locate .orig, locate .rpmsave, and locate .orig. If you find a host of such files which refer to the files you're having trouble with, recovery is fairly easy, though time comsuming.
First, take note of the extension used by the webmin rpm. Then remove webmin. Now the tedious part. Locate all the files with that extension. In each directory in which you find such a file, copy or move it back to the original file name. That will restore the original file. Be careful and verify that the file you are restoring was changed by webmin (check the date/time stamps).
Once you've done that, your system should be functioning properly again. Then, if you still want webmin (it is an excellent tool, with additional modules available from the webmin site), I'd suggest that you get a .src.rpm, and build a binary specifically for your machine.
 
Old 06-16-2004, 05:46 PM   #3
GexNZ
LQ Newbie
 
Registered: May 2004
Location: New Zealand
Distribution: Mandrake 10.0
Posts: 21

Original Poster
Rep: Reputation: 15
Thanks heaps for the detailed response. I will now set about finding the files webmin replaced.
 
Old 06-21-2004, 10:37 PM   #4
GexNZ
LQ Newbie
 
Registered: May 2004
Location: New Zealand
Distribution: Mandrake 10.0
Posts: 21

Original Poster
Rep: Reputation: 15
I've been a bit busy as of late. So I haven't sorted out the two keys showing up in the notification area.
I had already uninstalled webmin so I couldn't just find the files it changed and revert them.

If anyone knows how to stop the 'maintain authorisation' keys from showing twice when I gain authorisation please tell. It's not a big problem but it means I have to press forget auth on both keys.

Thanks,
Gex.

Last edited by GexNZ; 06-22-2004 at 12:54 AM.
 
Old 06-21-2004, 10:40 PM   #5
GexNZ
LQ Newbie
 
Registered: May 2004
Location: New Zealand
Distribution: Mandrake 10.0
Posts: 21

Original Poster
Rep: Reputation: 15
By the way, this problem only occurs in my login. If I use another it isn't there. Narrows the problem down a bit but I still have no idea where to look.
 
Old 06-22-2004, 08:42 PM   #6
GexNZ
LQ Newbie
 
Registered: May 2004
Location: New Zealand
Distribution: Mandrake 10.0
Posts: 21

Original Poster
Rep: Reputation: 15
Fixed

Gnome control center > Sessions:
Had two /usr/bin/pam-panel-icon.
Removed one. Now I have one set of keys
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
webmin troubles - Failed to write to /etc/webmin/module.infos.cache : No space left o coal-fire-ice Linux - Software 1 07-28-2005 10:08 AM
Webmin install errors evanw Linux - Software 0 01-18-2005 07:24 PM
webmin install problem djahmed Linux - Software 0 01-06-2004 08:14 AM
webmin install problem djahmed Linux - Newbie 0 01-06-2004 08:13 AM
How do I install webmin on the right way... godsmack Linux - Software 4 01-29-2003 06:27 AM


All times are GMT -5. The time now is 04:52 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration