04-14-2023, 10:09 PM
Good Morning.
I had installed ehcp on my machine before, but i had reinstalled the OS and i installed ehcp again.
But now i'm having a problem. Everytime i login on ehcp i get one warning:
<code>Attention!
ehcp daemon not running !
Please run it from command/line by:
sudo /etc/init.d/ehcp start
root@r17344:~# sudo /etc/init.d/ehcp start</code>
I typed sudo /etc/init.d/ehcp start and i get an error.
The error started with "cant connect to mysq" (it wasnt mysql). I don't know very well. And after that have the other code that i will post bellow (starting ehcp.. starting ehcp_daemon.py..)
So i typed "hostname my-hostname" and rebooted the machine.
I tried again sudo /etc/init.d/ehcp start and i get this:
<code>
starting ehcp..
starting ehcp_daemon.py
root 3804 0.0 0.2 2720 1184 ? S 14:24 0:00 /bin/bash /var/www/vhosts/ehcp/ehcpdaemon2.sh
root 3864 0.0 0.2 2512 1060 pts/0 S 14:25 0:00 /bin/bash /var/www/vhosts/ehcp/ehcpdaemon2.sh
root 3958 0.0 0.2 2512 1060 pts/0 S 14:25 0:00 /bin/bash /var/www/vhosts/ehcp/ehcpdaemon2.sh
root 3983 0.0 0.2 2512 1060 pts/0 S 14:25 0:00 /bin/bash /var/www/vhosts/ehcp/ehcpdaemon2.sh
root 4008 0.0 0.2 2512 1060 pts/0 S+ 14:25 0:00 /bin/bash /var/www/vhosts/ehcp/ehcpdaemon2.sh
root 3817 0.1 2.1 23152 10420 ? S 14:24 0:00 php index.php daemon
root 3865 1.5 2.1 23156 10420 pts/0 S 14:25 0:00 php index.php daemon
root 3959 3.0 2.1 23156 10420 pts/0 S 14:25 0:00 php index.php daemon
root 3984 6.0 2.1 23156 10420 pts/0 S 14:25 0:00 php index.php daemon
root 4009 0.0 1.3 19772 6212 pts/0 R+ 14:25 0:00 php index.php daemon
root 3802 1.0 1.7 110932 8452 ? Sl 14:24 0:00 python /etc/init.d/ehcp_daemon.py
root 3956 6.0 1.6 20336 8044 pts/0 S 14:25 0:00 python /etc/init.d/ehcp_daemon.py
root 3981 11.5 1.6 20336 8044 pts/0 S 14:25 0:00 python /etc/init.d/ehcp_daemon.py
root 4006 0.0 0.9 6908 4388 pts/0 R+ 14:25 0:00 python /etc/init.d/ehcp_daemon.py
</code>
But when i login i have the same warning.
Can you help me?
Restored from old drupal forum, for user uid:1106 username:guilhermecardoso
You may reset your password to access your new account here.
I had installed ehcp on my machine before, but i had reinstalled the OS and i installed ehcp again.
But now i'm having a problem. Everytime i login on ehcp i get one warning:
<code>Attention!
ehcp daemon not running !
Please run it from command/line by:
sudo /etc/init.d/ehcp start
root@r17344:~# sudo /etc/init.d/ehcp start</code>
I typed sudo /etc/init.d/ehcp start and i get an error.
The error started with "cant connect to mysq" (it wasnt mysql). I don't know very well. And after that have the other code that i will post bellow (starting ehcp.. starting ehcp_daemon.py..)
So i typed "hostname my-hostname" and rebooted the machine.
I tried again sudo /etc/init.d/ehcp start and i get this:
<code>
starting ehcp..
starting ehcp_daemon.py
root 3804 0.0 0.2 2720 1184 ? S 14:24 0:00 /bin/bash /var/www/vhosts/ehcp/ehcpdaemon2.sh
root 3864 0.0 0.2 2512 1060 pts/0 S 14:25 0:00 /bin/bash /var/www/vhosts/ehcp/ehcpdaemon2.sh
root 3958 0.0 0.2 2512 1060 pts/0 S 14:25 0:00 /bin/bash /var/www/vhosts/ehcp/ehcpdaemon2.sh
root 3983 0.0 0.2 2512 1060 pts/0 S 14:25 0:00 /bin/bash /var/www/vhosts/ehcp/ehcpdaemon2.sh
root 4008 0.0 0.2 2512 1060 pts/0 S+ 14:25 0:00 /bin/bash /var/www/vhosts/ehcp/ehcpdaemon2.sh
root 3817 0.1 2.1 23152 10420 ? S 14:24 0:00 php index.php daemon
root 3865 1.5 2.1 23156 10420 pts/0 S 14:25 0:00 php index.php daemon
root 3959 3.0 2.1 23156 10420 pts/0 S 14:25 0:00 php index.php daemon
root 3984 6.0 2.1 23156 10420 pts/0 S 14:25 0:00 php index.php daemon
root 4009 0.0 1.3 19772 6212 pts/0 R+ 14:25 0:00 php index.php daemon
root 3802 1.0 1.7 110932 8452 ? Sl 14:24 0:00 python /etc/init.d/ehcp_daemon.py
root 3956 6.0 1.6 20336 8044 pts/0 S 14:25 0:00 python /etc/init.d/ehcp_daemon.py
root 3981 11.5 1.6 20336 8044 pts/0 S 14:25 0:00 python /etc/init.d/ehcp_daemon.py
root 4006 0.0 0.9 6908 4388 pts/0 R+ 14:25 0:00 python /etc/init.d/ehcp_daemon.py
</code>
But when i login i have the same warning.
Can you help me?
Restored from old drupal forum, for user uid:1106 username:guilhermecardoso
You may reset your password to access your new account here.