Koozali.org: home of the SME Server

Turned of e-smith-httpd by mistake

Mike Lott

Turned of e-smith-httpd by mistake
« on: November 18, 2003, 11:39:17 PM »
Hi there,

My name is Mike and I am a dummy. I am running SME 6b3, and in the services panel of the server-manager, I turned off web, and now server-manager is disabled. What template do I have to edit to turn it on permanently?

I ssh'd into it and tried to restart the service by typing

# service httpd restart

but I now get the message:

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

   The proxy server could not handle the request GET /common/noframes.

   Reason: Could not connect to remote machine: Connection refused

Er, am a bit stuck to say the least.

Please help a dumbo,

Mike a.k.a Dumbo

Craig

Re: Turned of e-smith-httpd by mistake
« Reply #1 on: November 19, 2003, 02:37:02 AM »
reboot?

Charlie Brady

Re: Turned of e-smith-httpd by mistake
« Reply #2 on: November 19, 2003, 03:38:13 AM »
Craig wrote:
 
> reboot?

Rebooting won't help. "disabled" is still "disabled".

Do:

/sbin/e-smith/config httpd-e-smith setprop status enabled
/sbin/e-smith/config httpd-admin setprop status enabled
/sbin/e-smith/signal-event post-upgrade
/sbin/e-smith/signal-event reboot

Charlie

Mike Lott

Re: Turned of e-smith-httpd by mistake
« Reply #3 on: November 19, 2003, 09:09:38 PM »
Hi Charlie

Thanks for the input, but when I typed the first line and hit return, I got the following:

usage:    
    /sbin/e-smith/db dbfile keys
    /sbin/e-smith/db dbfile print [key]
    /sbin/e-smith/db dbfile show [key]
    /sbin/e-smith/db dbfile get key
    /sbin/e-smith/db dbfile set key type [prop1 val1] [prop2 val2] ...
    /sbin/e-smith/db dbfile setdefault key type [prop1 val1] [prop2 val2] ...
    /sbin/e-smith/db dbfile delete key
    /sbin/e-smith/db dbfile printtype [key]
    /sbin/e-smith/db dbfile gettype key
    /sbin/e-smith/db dbfile settype key type
    /sbin/e-smith/db dbfile printprop key [prop1] [prop2] [prop3] ...
    /sbin/e-smith/db dbfile getprop key prop
    /sbin/e-smith/db dbfile setprop key prop1 val1 [prop2 val2] [prop3 val3] ...
    /sbin/e-smith/db dbfile delprop key prop1 [prop2] [prop3] ...

So still no go. Any ideas?

Mike

Charlie Brady

Re: Turned of e-smith-httpd by mistake
« Reply #4 on: November 20, 2003, 12:28:16 AM »
Charlie Brady wrote:

> /sbin/e-smith/config httpd-e-smith setprop status enabled
> /sbin/e-smith/config httpd-admin setprop status enabled

Sorry,  do:

config setprop httpd-e-smith status enabled
config setprop httpd-admin status enabled

All else unchanged.

Charlie

Mike Lott

Re: Turned of e-smith-httpd by mistake
« Reply #5 on: November 20, 2003, 10:42:57 PM »
Charlie,

Thank you very much for your help.

Mike