Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: hermansen 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
-
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
-
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.