Koozali.org: home of the SME Server

Newbie: Turned off webserver & SSH...can't connect anymo

hermansen

Newbie: Turned off webserver & SSH...can't connect anymo
« on: September 01, 2004, 12:33:49 AM »
Hi,
I was messing around with a new installation, and turned OFF the SSH, and the webserver service...And now I can't reach the box anymore...It still works fine on the network, shares etc. Any tips on how to switch that webserver interface back ON?
I have physical access to it.
Tried searching, but nobody else seems to be this aaaaaah, adventuresome...
Thanks

Offline mrjhb3

  • *
  • 1,188
  • +0/-0
    • John Bennett Services
Newbie: Turned off webserver & SSH...can't connect anymo
« Reply #1 on: September 01, 2004, 02:35:09 AM »
Don't know for sure if this will work...

/sbin/e-smith/config setprop sshd status enabled
/sbin/e-smith/config setprop httpd-e-smith status enabled

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

/etc/rc.d/rc7.d/S85sshd start
/etc/rc.d/rc7.d/S85httpd-e-smith start
/etc/rc.d/rc7.d/S86httpd-admin start

...it should set the sshd and webservices to enabled and start them all.

GL,

JB
......

hermansen

Newbie: Turned off webserver & SSH...can't connect anymo
« Reply #2 on: September 01, 2004, 04:48:07 AM »
AND IT's BACK UP!

I had to modify it slightly:

/sbin/e-smith/config setprop sshd status enabled
/sbin/e-smith/config setprop httpd-e-smith status enabled

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

/etc/init.d/sshd start
/etc/init.d/httpd-e-smith start
/etc/init.d/httpd-admin start

This started the webservices up again, and I now have access over the network. I guess that webserver gets to stay up...

Took me a little while to figure out, that I had to login as ROOT instead of ADMIN to get to that elusive prompt.

ANYWAY, Thanks JB.