Click to See Complete Forum and Search --> : Can not for the life of me get Webmin to work


Hassan2121
08-11-2002, 01:21 PM
I've been trying to login to webmin 0.99 on a Redhat (limbo) machine. I can install it fine and when I plug in the address to bring up the login screen that works, too but thats it. I can not login at all I have tried the password change script (changepass.pl ) at least a dozen times but it does not let me login.

I restart the service nothing....I reboot the machine nothing. I have installed using rpm I also built from the source nothing. I have been at this for two days now and have tried everything on the webmin website.

I have also tried this on my valhalla machine and it says connection refused repeatedly...I am on the verge of screaming but before I do I guess I should ask for help:)

I am also using a linksys router if that has anything to do with anything.

lcalow
08-11-2002, 01:43 PM
Just wanted to let you know that I have used Webmin on redhat without problems. If you are logging in with a internal IP example http://192.168.1.1:10000 then it wouldn't even use your router.

Hassan2121
08-11-2002, 02:09 PM
Originally posted by lcalow
Just wanted to let you know that I have used Webmin on redhat without problems. If you are logging in with a internal IP example http://192.168.1.1:10000 then it wouldn't even use your router.

everyone seems to be using it without a problem except me:(....I can get to the login screens it just never accepts my login/password...and yes I'm using the root.

lcalow
08-11-2002, 02:33 PM
Do you get a login failed try again when you put in your name and password???
It should be Above the Login box

Login failed. Please try again

Larry

Hassan2121
08-11-2002, 02:35 PM
Originally posted by lcalow
Do you get a login failed try again when you put in your name and password???
It should be Above the Login box

Login failed. Please try again

Larry

I get that sometimes....other than that the screen will just refresh

Hassan2121
08-11-2002, 02:36 PM
the times that it just refreshes are when I enter the correct login/pass.

If I purposely enter the wrong one it will tell me login failed try again

cowanrl
08-11-2002, 04:33 PM
It acts like it's authenticating you but can't serve up any web pages.

Have you thought about a firewall issue? On the Red Hat machine do:

service ipchains stop

or if it's RH 7.2 or 7.3 do:

service iptables stop

to make sure no firewall is running and then try it.

lcalow
08-11-2002, 04:53 PM
Okay so it is reading the login and knows when you are logging in correctly. There should be a log file for WebMin under /var/log/miniserv.log if it is reading your log in correct you should have a entry in there like this 192.168.1.1 - - [08/Aug/2002:13:32:08 -0500] "POST /session_login.cgi HTTP/1.1" 302 0

and below it like this 192.168.1.1 - root [08/Aug/2002:13:32:08 -0500] "GET / HTTP/1.1" 200 8957

Do you have a log entry like this???

Hassan2121
08-11-2002, 07:44 PM
Originally posted by lcalow
Okay so it is reading the login and knows when you are logging in correctly. There should be a log file for WebMin under /var/log/miniserv.log if it is reading your log in correct you should have a entry in there like this 192.168.1.1 - - [08/Aug/2002:13:32:08 -0500] "POST /session_login.cgi HTTP/1.1" 302 0

and below it like this 192.168.1.1 - root [08/Aug/2002:13:32:08 -0500] "GET / HTTP/1.1" 200 8957

Do you have a log entry like this???

this is what my log looks like
192.168.201.103 - - [11/Aug/2002:19:39:05 -0400] "GET / HTTP/1.1" 401 1558
192.168.201.103 - - [11/Aug/2002:19:39:06 -0400] "GET /images/webmin_icon.png HTTP/1.1" 401 1580
192.168.201.103 - - [11/Aug/2002:19:39:17 -0400] "POST /session_login.cgi HTTP/1.1" 302 0
192.168.201.103 - - [11/Aug/2002:19:39:17 -0400] "GET / HTTP/1.1" 401 1558
192.168.201.103 - - [11/Aug/2002:19:39:17 -0400] "GET /images/webmin_icon.png HTTP/1.1" 401 1580
192.168.201.103 - - [11/Aug/2002:19:39:20 -0400] "POST /session_login.cgi HTTP/1.1" 401 1606
192.168.201.103 - - [11/Aug/2002:19:39:20 -0400] "GET /images/nav/bottom_shadow.jpg HTTP/1.1" 401 1586
192.168.201.103 - - [11/Aug/2002:19:39:21 -0400] "GET /images/webmin_icon.png HTTP/1.1" 401 1580
192.168.201.103 - - [11/Aug/2002:19:39:24 -0400] "POST /session_login.cgi HTTP/1.1" 401 1606
192.168.201.103 - - [11/Aug/2002:19:39:24 -0400] "GET /images/nav/bottom_shadow.jpg HTTP/1.1" 401 1586
192.168.201.103 - - [11/Aug/2002:19:39:25 -0400] "GET /images/webmin_icon.png HTTP/1.1" 401 1580
192.168.201.103 - - [11/Aug/2002:19:47:00 -0400] "POST /session_login.cgi HTTP/1.1" 302 0
192.168.201.103 - - [11/Aug/2002:19:47:01 -0400] "GET / HTTP/1.1" 401 1558
192.168.201.103 - - [11/Aug/2002:19:47:01 -0400] "GET /images/webmin_icon.png HTTP/1.1" 401 1580

Lorithar
08-11-2002, 08:03 PM
the 401 in that line (see the ref line in prev message .. there its 200) indicates that the server can't find the page being requested. You have possibly misinstalled the application.
For the record, I just pulled down the source code, compiled, installed and had it running in 12 minutes ... flawlessly ... I have *no* idea what could have happened unless you *moved* the installation *after* you made the package.

Hassan2121
08-11-2002, 09:50 PM
well i am a newbie so who knows what i did:)....but i thought rpms were supposed to install all files for me??...i've installed many other programs and had no problems....any special configs I need to do for redhat??

lcalow
08-11-2002, 10:52 PM
If you acquired the rpms off Webmin.com they are complete. Did you ever change the root password by default webmin will not change it even though your Linux password may be different.
If this doesn't work delete all references to webmin under /etc and /var and try a fresh rpm install don't use a compile install

Hassan2121
08-12-2002, 07:18 AM
Originally posted by lcalow
If you acquired the rpms off Webmin.com they are complete. Did you ever change the root password by default webmin will not change it even though your Linux password may be different.
If this doesn't work delete all references to webmin under /etc and /var and try a fresh rpm install don't use a compile install

thanx I'll try that after work today:)