default server page

Discussion in 'Install/Configuration' started by felosi, Jun 19, 2007.

  1. felosi

    felosi New Member

    Hi i rcently done a fresh install on my cpanel box with roughly 453 vhosts. I did everything it said in the wiki but when I try out the sites I get the default server page instead of the site,. Here are some errors in the log
    Code:
    2007-06-19 11:00:20.142	ERROR	[config:vhost:wiki.blackhat-hosting.com:context:/cgi-bin/] Path for context location is invalid: /home/blackhat/public_html/wiki/cgi-bin/
    2007-06-19 11:00:20.143	ERROR	[config:server:vhosts] Path for vhost root is not accessible: /home/s42us/public_html/wwdd/
    2007-06-19 11:00:20.143	ERROR	[config:server:vhosts] Path for vhost root is not accessible: /home/s42us/public_html/wwdd/
    2007-06-19 11:00:20.211	ERROR	[config:server:vhosts] Path for vhost root is not accessible: /home/empire/public_html/
    2007-06-19 11:00:20.443	ERROR	[config:server:vhosts] Path for vhost root is not accessible: /home/gamingcr/public_html/xgoal/
    2007-06-19 11:00:20.443	ERROR	Hostname [beta.evolution-security.com] on listener [*:443] is mapped to virtual host [beta.evolution-security.com], can't map to virtual host [beta.evolution-security.com1]!
  2. mistwang

    mistwang LiteSpeed Staff

    those errors should not make all vhosts stop working, just related vhosts.
    Please run LiteSpeed on a different port with "Port Offset" so you can verify whether it works or not.
    Please post more information regarding the vhost having problems.
  3. felosi

    felosi New Member

    ya I ran it on port 1080. After this morning I totally uninstalled it and installed again a few minutes ago, same default server page http://nix101.com:1080/

    I imported my httpd.conf, checked the vhosts they look fine and show the proper path.

    I hope to get this working because I will be purchasing it if I can. Im in deperate need of this http server as Im having some load issues with apache. It installed in one of my cpanel servers flawlessly but there was only about 30 sites on it.
    I installed on my directadmin server and had to uninstall because a client, so I got rid of him and tried to install again and it just got 404 errors on every site.

    Anyway I guess the most important server now is this one. Ive done everything on the wiki
    I think now it is starting twice somehow or something
    2007-06-19 16:10:20.022 ERROR HttpListener::start(): Can't listen at address 72.20.15.158:1080: Address already in use!
    2007-06-19 16:10:20.022 ERROR HttpServer::addListener(72.20.15.158:1080) failed to create new listener
    2007-06-19 16:10:20.022 INFO [/usr/local/apache/conf/httpd.conf:362] Failed to add listener [72.20.15.158:1080].

    But still getting the default server page ;(
    Im gonna try and reinstall once more
  4. mistwang

    mistwang LiteSpeed Staff

    If you dont mind, you can PM me a temp root access so I can take a look, it is the fastest way to get the issue resolved.
  5. felosi

    felosi New Member

    sorry to be doube posting, here are some more logfs after another failed installation

    Code:
    2007-06-19 16:16:21.215	ERROR	[config:vhost:rnu-center.org:context:/cgi-bin/] Path for context location is invalid: /home/rnucent/public_html/cgi-bin/
    2007-06-19 16:16:21.261	ERROR	[config:vhost:rp.ruord.org:context:/cgi-bin/] Path for context location is invalid: /home/ruordor/public_html/rp/cgi-bin/
    2007-06-19 16:16:21.261	ERROR	[config:vhost:rs.ruord.org:context:/cgi-bin/] Path for context location is invalid: /home/ruordor/public_html/rs/cgi-bin/
    2007-06-19 16:16:21.452	ERROR	[config:server:vhosts] Path for vhost root is not accessible: /home/speed/public_html/senzuri/
    2007-06-19 16:16:21.778	ERROR	[config:server:vhosts] Path for vhost root is not accessible: /home/g00nsra/public_html/supplies/
    2007-06-19 16:16:21.778	ERROR	[config:server:vhosts] Path for vhost root is not accessible: /home/s42us/public_html/taintedproductions/
    2007-06-19 16:16:21.783	ERROR	[config:server:vhosts] Path for vhost root is not accessible: /home/hack/public_html/telroot/
    2007-06-19 16:16:21.783	ERROR	[config:server:vhosts] Path for vhost root is not accessible: /home/hack/public_html/telroot/
    2007-06-19 16:16:22.056	ERROR	[config:vhost:whitememory.ns-wp.org:context:/cgi-bin/] Path for context location is invalid: /home/nsmolot/public_html/whitememory/cgi-bin/
    2007-06-19 16:16:22.077	ERROR	[config:vhost:wiki.blackhat-hosting.com:context:/cgi-bin/] Path for context location is invalid: /home/blackhat/public_html/wiki/cgi-bin/
    2007-06-19 16:16:22.125	ERROR	[config:server:vhosts] Path for vhost root is not accessible: /home/s42us/public_html/wwdd/
    2007-06-19 16:16:22.125	ERROR	[config:server:vhosts] Path for vhost root is not accessible: /home/s42us/public_html/wwdd/
    2007-06-19 16:16:22.669	ERROR	[config:server:vhosts] Path for vhost root is not accessible: /home/empire/public_html/
    2007-06-19 16:16:24.654	ERROR	[config:server:vhosts] Path for vhost root is not accessible: /home/gamingcr/public_html/xgoal/
    those errors and a bunch of address in use

    and this one was odd
    Code:
    2007-06-19 16:21:57.042	ERROR	[config:vhost:ApacheMain:context:/interchange-5/] Path for context location is invalid: /usr/local/cpanel/3rdparty/interchange/share/interchange-5/
  6. mistwang

    mistwang LiteSpeed Staff

    You should not import your Apache httpd.conf during the installation, maybe you did not, just a quick remindar.
  7. mistwang

    mistwang LiteSpeed Staff

    I guess I knew what is wrong, go to LiteSpeed Admin console and remove the "Default" listener which uses port 1080. restart, it should work.
  8. felosi

    felosi New Member

    Thanks a lot! Looks great, man is that so fast and light on load.l
    Appreciate your help very much.
  9. mistwang

    mistwang LiteSpeed Staff

    You are welcome.

    After remove the default listener 1080, it works now.
    You made two mistakes during the installation,
    First, you use 1080 instead of 8088 for normal HTTP service, then use "port offset" = "1000", end up with port 1080 as well, so it conflict with the default listener.
    second, you imported your Apache configuration during installation, you should NOT do that if you use LiteSpeed together with hosting control panels.

    Glad you like our solution. Please help us spreading the words if you don't mind. :)
  10. mistwang

    mistwang LiteSpeed Staff

    You'd better do a fresh reinstall without importing Apache configuration during installation. There are a lot of Apache vhosts not supposed to be configured in lsws/conf/httpd_config.xml.
  11. felosi

    felosi New Member

    hey I got it all under control now, its running good, I did have to reinstall, solved all the problems. Thank you

Share This Page