Koozali.org: home of the SME Server

service httpd-admin failed

jane

service httpd-admin failed
« on: March 17, 2003, 10:28:31 PM »
hello,

I'm facing errors while starting the service httpd-admin.
The errors are like this:

Starting httpd-admin: Syntax error on line 771 of /etc/httpd/admin-conf/httpd.conf:
Invalid command 'sman678', perhaps mis-spelled or defined by a module not included in the server configuration

I try to solved this but failed.

Could you have any ideas/suggestions are much appreciated.

Dan Brown

Re: service httpd-admin failed
« Reply #1 on: March 17, 2003, 10:34:19 PM »
I don't know off the top of my head, but it'd probably help to give more information.  Like, for example, what you tried to do, and exactly how it "failed".  Or what is on line 771 of your httpd.conf.  Get the picture?

jane

Re: service httpd-admin failed
« Reply #2 on: March 17, 2003, 10:51:09 PM »
Actually I want to access the server-manager page via internet browser but the page displayed

Proxy Error

The proxy server received an invalid response from an upstream server.

The proxy server could not handle the request GET /server-manager.

Reason: Could not connect to remote machine: Connection refused

I had reboot the machine and found that service http-admin is not started.(failed) probably this is the causes why I can't access the server-manager page.

line 771 of my httpd.conf shown as below:

   SetEnv IMGHDR_SRC "/e-smith-common/user-manager.jpg"
    Satisfy all

Dan Brown

Re: service httpd-admin failed
« Reply #3 on: March 17, 2003, 11:07:55 PM »
Is that line 771 of /etc/httpd/admin-conf/httpd.conf?  It doesn't say anything about 'sman678', which suggests you're looking at the wrong file.

jane

Re: service httpd-admin failed
« Reply #4 on: March 17, 2003, 11:19:21 PM »
yes it is in line 771 and I realized it does't say anything about 'sman678' and thats the problem. I'm thinking is it possible to restore back this file.

Dan Brown

Re: service httpd-admin failed
« Reply #5 on: March 17, 2003, 11:42:55 PM »
I think you've missed the point of my question--I believe you have the right line, but I think you may have the wrong file (you have two httpd.conf files on your system).  In any case, you should be able to rebuild it with

/sbin/e-smith/expand-template /etc/httpd/admin-conf/httpd.conf

Abe Loveless

Re: service httpd-admin failed
« Reply #6 on: August 13, 2003, 01:02:14 AM »
I just encountered this problem as well.  It stems from installing the e-smith-userpanel from dungog.net.  I'd be willing to bet that the "sman62", or whatever it was is actually a user on the system.  The line above the referenced line number is the "require user USER1 USER2 USER3 .... "

At least, I'm getting this same error.. it's bombing out on reading a username into the admin-conf/httpd.conf template.

Any thoughts, or a link to different thread where the solution could be found would be appreciated.  :)

Thanks.