Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Echp failed to start
#1
My ehcp has been working for a while now, and I try starting the system. As I do, all goes well until I receive failures such as

Warning: DocumentRoot [var/www/vhosts/admin/mysite.com/httpdocs/subdomains/layout] does not exist

I had deleted the file a while ago, and I receive that message after apache attempts to start. Next I receive a message saying

[Sun Nov 29 22:10:25 2009] [warn] NameVirtualHost *:0 has no VirtualHosts [fail]

Then ehcp daemon shuts down.

Restored from old drupal forum, for user uid:2687 username:ehcpuser
You may reset your password to access your new account here.
Reply
#2
also need to include after I tried restarting apache I received

(13)Permission denied: make_sock: could not bind to address 0.0.0.0:80 no listening sockets available, shutting down
Unable to open logs
[fail]

Restored from old drupal forum, for user uid:2687 username:ehcpuser
You may reset your password to access your new account here.
Reply
#3
You should not delete those files manually, use domain/subdomain delete in ehcp.

now, you need to re-make those directories:
mkdir /var/www/vhosts/admin/mysite.com/httpdocs/subdomains/layout

you should do same for all directories giving same error.

after that,
/etc/init.d/apache2 restart


Restored from old drupal forum, for user uid:2687 username:ehcpuser
You may reset your password to access your new account here.
Reply
#4
I have made those directories, now I receive a whole different error

>>(13)Permission denied: make_sock: could not bind to address >>0.0.0.0:80 no listening sockets available, shutting down
>>Unable to open logs
>>[fail]

I'm guessing I might have got a new version of apache after I updated it. There has been no knowing of an apache update by me. I don't know if when I use sudo update, if that updates apache.

Please also list BASH commands I need to do so, because when people say edit the apache.conf, I don't know how to do that in the console. Thanks

Restored from old drupal forum, for user uid:1 username:ehcpdeveloper
You may reset your password to access your new account here.
Reply
#5
you seem to have a permission problem.
try:
<code>sudo /etc/init.d/apache2 restart


for editing apache2.conf and so on,
use:
<code>nano filename


Restored from old drupal forum, for user uid:2687 username:ehcpuser
You may reset your password to access your new account here.
Reply
#6
I no longer have the 0.0.0.0 error. Now, the name virtual hosts error is still appearing. I've been able to connect to it via ssh, but no longer will it still let me use the control panel nor the website itself. If you wish to connect to the server please mention so, or give me directions on how to fix it.

so here's the error, maybe i have to edit this file.

[warn] NameVirtualHost *:0 has no VirtualHosts [fail]

stopping ehcp..
stopen ehcpdaemon2.sh
stopping index.php daemon
stopping ehcp_daemon.py, background server process
starting ehcp
starting ehcp_daemon.py

Restored from old drupal forum, for user uid:1 username:ehcpdeveloper
You may reset your password to access your new account here.
Reply
#7
Doing research, people say I have to add lines to my sites-available/000-default, but mine doesn't match theres, also refer to my post at the bottom

Restored from old drupal forum, for user uid:2687 username:ehcpuser
You may reset your password to access your new account here.
Reply
#8
follow these:
http://ehcp.net/?q=node/174
http://ehcp.net/?q=node/686
http://ehcp.net/?q=node/334


Restored from old drupal forum, for user uid:2687 username:ehcpuser
You may reset your password to access your new account here.
Reply
#9
i had followed http://ehcp.net/?q=node/174 and i got a syntax error, do you know how to skip to a line of a requested file?


Restored from old drupal forum, for user uid:1 username:ehcpdeveloper
You may reset your password to access your new account here.
Reply
#10
problem solved! here's what happened. I didn't delete my domain through the control panel, so what happened was the apacheehcp.conf file still had that site's information in it. What I did was delete that site and that site's info and it works

Restored from old drupal forum, for user uid:2687 username:ehcpuser
You may reset your password to access your new account here.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)

Online Shopping App
Online Shopping - E-Commerce Platform
Online Shopping - E-Commerce Platform
Feinunze Schmuck Jewelery Online Shopping