View Single Post
  #4  
Old 2nd March 2009, 16:49
alexo alexo is offline
Junior Member
 
Join Date: Mar 2009
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

correct this error
Quote:
[root@server init.d]# /etc/init.d/monit restart
-bash: /etc/init.d/monit: /bin/sh^M: bad interpreter: No such file or directory
#dos2unix monit

works well.

Now

Quote:
[root@server ~]# /etc/init.d/monit restart
[root@server ~]#
but still

Quote:
[root@server ~]# monit start
-bash: monit: command not found
[root@server ~]#
Reply With Quote