Results 1 to 1 of 1
I am trying to ssh into a server to fix it. When I ssh in I can restart the rsyncd dameon just fine via the command Code: /etc/init.d/rsyncd restart But ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 12-13-2006 #1
Problem restarting service via ssh
I am trying to ssh into a server to fix it. When I ssh in I can restart the rsyncd dameon just fine via the commandCode:
ssh root@hostname "/etc/init.d/rsyncd restart" * Starting rsyncd ...@RSYNCD: 29 @ERROR: protocol startup error [ !! ]
I can't get this to work or even understand why it doesn't. There aren't a lot of env vars in the shell and the script uses only one which shouldn't matter at all if it's present or not (it's at the end of the line so if it's blank it's ok)
Can anybody help out on this?