From: Jamie C. <jca...@we...> - 2002-12-13 09:22:56
|
I see the problem in the error_log file .. the file /etc/webmin/htusers cannot be read by apache. Make sure it is mode 755, and the /etc/webmin directory is 755 as well. - Jamie "Navirpal Bhullar" <nav...@ms...> wrote .. > Hello Jaime, > The suggestion did work I looked in the logs was able to find the issue. > The server did start asking for user name and password, but the issue now > is > that it would not accept password. I found the following error in the > error > log and info in access log > > ACCESS LOG > 192.168.0.108 - admin [12/Dec/2002:19:08:02 -0800] "GET /webmin/ HTTP/1.1" > 401 485 > 192.168.0.108 - admin [12/Dec/2002:19:08:05 -0800] "GET /webmin/ HTTP/1.1" > 401 485 > 192.168.0.108 - admin [12/Dec/2002:19:08:09 -0800] "GET /webmin/ HTTP/1.1" > 401 485 > 192.168.0.108 - admin [12/Dec/2002:19:15:22 -0800] "GET /webmin/ HTTP/1.1" > 401 485 > 192.168.0.108 - admin [12/Dec/2002:19:15:29 -0800] "GET /webmin/ HTTP/1.1" > 401 485 > > > ERROR LOG > Processing config directory: /etc/httpd/conf.d/ > [Thu Dec 12 19:07:13 2002] [notice] Apache/1.3.27 (Trustix Secure > Linux/Linux) configured -- resuming normal operations > [Thu Dec 12 19:07:13 2002] [notice] suEXEC mechanism enabled (wrapper: > /usr/sbin/suexec) > [Thu Dec 12 19:07:13 2002] [notice] Accept mutex: sysvsem (Default: sysvsem) > [Thu Dec 12 19:08:02 2002] [error] [client 192.168.0.108] (13)Permission > denied: Could not open password file: /etc/webmin/htusers > [Thu Dec 12 19:08:02 2002] [error] [client 192.168.0.108] user admin not > found: /webmin/ > [Thu Dec 12 19:08:05 2002] [error] [client 192.168.0.108] (13)Permission > denied: Could not open password file: /etc/webmin/htusers > [Thu Dec 12 19:08:05 2002] [error] [client 192.168.0.108] user admin not > found: /webmin/ > [Thu Dec 12 19:08:09 2002] [error] [client 192.168.0.108] (13)Permission > denied: Could not open password file: /etc/webmin/htusers > [Thu Dec 12 19:08:09 2002] [error] [client 192.168.0.108] user admin not > found: /webmin/ > [Thu Dec 12 19:15:22 2002] [error] [client 192.168.0.108] (13)Permission > denied: Could not open password file: /etc/webmin/htusers > [Thu Dec 12 19:15:22 2002] [error] [client 192.168.0.108] user admin not > found: /webmin/ > [Thu Dec 12 19:15:29 2002] [error] [client 192.168.0.108] (13)Permission > denied: Could not open password file: /etc/webmin/htusers > [Thu Dec 12 19:15:29 2002] [error] [client 192.168.0.108] user admin not > found: /webmin/ > > > > My httpd.conf file settings > > NameVirtualHost 192.168.0.2 > > <VirtualHost 192.168.0.2> > DocumentRoot /home/navir > ServerName www.fatehsystem.com > Alias /webmin /usr/local/webmin-1.030 > > > > <Directory "/usr/local/webmin-1.030"> > AuthName "Webmin" > AuthType Basic > require valid-user > > DirectoryIndex index.cgi > Options ExecCGI > AuthUserFile /etc/webmin/htusers > </Directory> > > SetEnv WEBMIN_CONFIG "/etc/webmin" > SetEnv WEBMIN_VAR "/var/webmin" > SetEnv SERVER_ROOT "/usr/local/webmin-1.030" > SetEnv MINISERV_CONFIG "/etc/webmin/miniserv.conf" > </VirtualHost> > > > I gave the following commands as root for user file > htpasswd -c /etc/webmin/htusers admin > (and gave password) > chown root.nobody /etc/webmin/htusers > chmod 640 /etc/webmin/htusers > > I tried chmod 777 for htusers still did not work > Please help ......Thanx > > > > Navirpal S Bhullar > > >From: Jamie Cameron Reply-To: web...@li... To: > >web...@li... Subject: Re: webmin on Apache Date: > >Wed, 11 Dec 2002 15:25:30 +1100 > > > >Navirpal Bhullar wrote: > >>Hello everyone, > >> > >>This is first post in this listing....WEBMIN is awesome because it changed > >>a windoZZZZZZZZZ user like me to LINUX. > >> > >>Now my question... I am not able to run webmin apache as subdirectory > >>/webmin I followed the steps on the website 5-10 mins. > >> > >>OS:Trustix 1.5 with latest updates > >> > >>Webserver: Apache/1.3.27 > >> > >>I am getting the following error > >> > >> > >>Internal Server Error > >> > >>The server encountered an internal error or misconfiguration and was > >>unable to complete your request. > >> > >>Please contact the server administrator, root@localhost and inform them > of > >>the time the error occurred, and anything you might have done that may > >>have caused the error. > >> > >>More information about this error may be available in the server error > >>log. > > > >Does anything appear in the error_log file when you try to access /webmin > ? > >Usually there is more information logged there .. > > > >- Jamie > > > > > > > > > > > >------------------------------------------------------- This sf.net email > >is sponsored by: With Great Power, Comes Great Responsibility Learn to > use > >your power at OSDN's High Performance Computing Channel > >http://hpc.devchannel.org/ - Forwarded by the Webmin mailing list at > >web...@li... To remove yourself from this list, > go > >to http://lists.sourceforge.net/lists/listinfo/webadmin-list > > _________________________________________________________________ > The new MSN 8: advanced junk mail protection and 2 months FREE* > http://join.msn.com/?page=features/junkmail > > > > ------------------------------------------------------- > This sf.net email is sponsored by: > With Great Power, Comes Great Responsibility > Learn to use your power at OSDN's High Performance Computing Channel > http://hpc.devchannel.org/ > - > Forwarded by the Webmin mailing list at web...@li... > To remove yourself from this list, go to > http://lists.sourceforge.net/lists/listinfo/webadmin-list |