Results 1 to 21 of 21
  1. #1
    Join Date
    Jan 2004
    Posts
    31

    Unhappy Strange Problem:::Help me please

    Hello,

    We're having a strange problem one week ago. Suddenly we can't acces some domains and server returns 500 Internal server error.
    We can't access domain.com or domain.com/directory.
    We can't access domain.com/cpanel
    But we can acces domain.com:2082 or domain.com:2087

    This problem appear and disappear after 4 or 5 hours.
    We have rebuild apache, update cpanel , reboot the server but the problem didn't disappear.

    DC help support hasn't benn useful

    Could anybody help us?
    Thanks

  2. #2
    Join Date
    Mar 2004
    Location
    Port Orchard, WA
    Posts
    4
    Did you make sure your firewall isn't blocking port 80? Also make sure apache is set to listen to port 80. (ie: Listen 80 in httpd.conf)

    JaY

  3. #3
    Join Date
    Jan 2004
    Posts
    31
    Yes we did. Apache is listening to port 80.

    Whe this problem appear one domains work well and others return 500 Internal server error.

  4. #4
    Join Date
    Mar 2003
    Location
    Singapore
    Posts
    763
    Hi there,
    Are you trying to install Modsecurity? If you do, make sure you used the correct ruleset because if you don't, it will restrict access to Apache and thus the 500 error message appears.
    SecureAX Singapore - Virtualization, Private Cloud Computing & Managed Datacenter in Singapore
    - Managed Virtual Private Servers, Dedicated Servers & Colocation Services in Singapore
    - Gigabit backbone at Equinix Singapore, Telstra SGCS2 & Telin Datacenters with Private Link for Disaster Recovery setup

  5. #5
    Join Date
    Oct 2002
    Location
    Brooklyn NY
    Posts
    817
    Are the said domains over their bandwidth limit? Some time ago cpanel replaced the bandwidth exceed page to show 500 error instead.
    Why do they call them fingers? I never seen them fing. Oh, there they go.

  6. #6
    Join Date
    Jan 2004
    Posts
    31
    Are you trying to install Modsecurity?
    Yes. Modsecurity is installed. We thought it could be the problem and we remove it from httpd.conf but not positiv results.


    Are the said domains over their bandwidth limit?
    No problem with bandwidth in this domains.

    We tried all commands with cpanel : fixquotas fixeverything fix perl... but not positive.

    More suggestions are welcome.
    Thanks for your help.

  7. #7
    Join Date
    Jul 2001
    Location
    Singapore
    Posts
    1,889
    We can't access domain.com/cpanel
    But we can acces domain.com:2082 or domain.com:2087
    Login as root in WHM then go to Server Setup => Tweak Settings... click it and wait for the right frame page to load... scroll all the way down of the loaded page and locate:
    When users access /cpanel or /whm or /webmail on their domain redirect them to the https(ssl) port instead of the insecure one
    Make sure you check that option then save setting

    That is useful although not helping you directly but access account manager in SSL-enabled is a plus to me.

    For your Error 500... is it all accounts or some? If it is some, is it php script or cgi scripts or both?

    Just my thoughts ... ...
    Last edited by choon; 03-20-2004 at 09:45 PM.

  8. #8
    Join Date
    Mar 2003
    Location
    California USA
    Posts
    13,681
    we had the same problem on a server, try this

    "Modify Apache Memory Usage"

    it was somehow related to the memory usage in the httpd.conf set to small. Might work, might now. Worth a shot
    Steven Ciaburri | Industry's Best Server Management - Rack911.com
    Software Auditing - 400+ Vulnerabilities Found - Quote @ https://www.RACK911Labs.com
    Fully Managed Dedicated Servers (Las Vegas, New York City, & Amsterdam) (AS62710)
    FreeBSD & Linux Server Management, Security Auditing, Server Optimization, PCI Compliance

  9. #9
    Join Date
    Jan 2004
    Posts
    31
    When users access /cpanel or /whm or /webmail on their domain redirect them to the https(ssl) port instead of the insecure one
    Thanks for your advice

    is it all accounts or some? If it is some, is it php script or cgi scripts or both?
    It's moving from ones to others randomly. No problem with cgi scripts or .htaccess files.


    "Modify Apache Memory Usage"
    I tried but not results.

    Ohhh....my good. It appears a DNS problem returns 500 Internal server error.

    We tried one hundred time but now appear to work through IP: 69.XX.XX.XX/~username.

    Dnsreport.com returns problems when site returns the error:

    FAIL Missing (stealth) nameservers
    FAIL Missing nameservers 2


    Could somebody to explain how to solve this errors? And the most strange, why returns an 500 Internal server error and why does it go out and come back?

    Thanks a lot of to all yours.

  10. #10
    Join Date
    Jul 2001
    Location
    Singapore
    Posts
    1,889
    If you are trying to access cgi scripts using http://ip/~username/cgi-bin/script.cgi... you will get error 500 for certain setting of your web server apache. Try normal HTML page to see whether the page load or not with or without any error. For script testing, please wait until the domain is pointing to your name servers and fully propagated. Then you can try it using the real domain URL without the /~username/

    Just my thoughts

  11. #11
    Join Date
    Jan 2004
    Posts
    31
    If you are trying to access cgi scripts using http://ip/~username/cgi-bin/script.cgi... you will get error 500 for certain setting of your web server apache
    We're only accesing to www.domain.com/ and http://ip/~username.
    For script testing, please wait until the domain is pointing to your name servers and fully propagated. Then you can try it using the real domain URL without the /~username/
    These domains has been in this server from one month. One problem with until three day ago.

    Why does a DNS problem returns the error 500??

  12. #12
    Join Date
    Jul 2001
    Location
    Singapore
    Posts
    1,889
    Even for normal html pages? Have you try:
    Code:
    /etc/rc.d/init.d/httpd configtest

  13. #13
    Join Date
    Jan 2004
    Posts
    31
    Yes, this problem appears with html pages.

    We solved the problems that returned dnsreport.

    If the problem appears another time we'll try that you say choon.

    Thanks

  14. #14
    Join Date
    Jan 2004
    Posts
    31
    /etc/rc.d/init.d/httpd configtest
    Warning: DocumentRoot [/dev/null] does not exist
    Syntax OK


    The problem has been appeared another time.
    Could somebody help us?

  15. #15
    Join Date
    Aug 2002
    Location
    UK
    Posts
    852
    Originally posted by TotalHostero
    Why does a DNS problem returns the error 500?? [/B]
    It doesn't, IE does because IE is stupid.

    are your nameservers working?

  16. #16
    Join Date
    Jan 2004
    Posts
    31
    Yes, our nameserver are working. We use nslookup and it's fine.
    The problem is with the domains what have a shared IP. No problem with others domains

  17. #17
    Join Date
    Nov 2002
    Location
    Portland, Oregon
    Posts
    2,992
    You've checked resolv.conf to make sure you're using your IP's and your IP's only?

  18. #18
    Join Date
    Jan 2004
    Posts
    31
    Yes, this file is correct.

    Apache only return what files don't exist.


    [Mon Mar 22 12:32:35 2004] [error] [client 62.43.65.151] File does not exist: /home/publacom/public_html/404.shtml
    [Mon Mar 22 12:32:48 2004] [error] [client 66.196.72.50] File does not exist: /home/midicorr/public_html/403.shtml
    [Mon Mar 22 12:33:28 2004] [error] [client 62.43.65.151] File does not exist: /home/publacom/public_html/images/botones/inicioover.gif
    [Mon Mar 22 12:33:28 2004] [error] [client 62.43.65.151] File does not exist: /home/publacom/public_html/404.shtml


  19. #19
    Join Date
    Jan 2004
    Posts
    31
    Please, Could somebody help us?

    Data center technician are looking the problem, but they haven't fixed the problem after 4 hours.

  20. #20
    check if you have an .htaccess file with wierd directives in the root directive for this account...

    If html is getting server errors, not just php and cgi, then something is probably off in .htaccess or httpd.conf

  21. #21
    Join Date
    Jan 2004
    Posts
    31
    We had to say DC guys to use our one hour support to investigate our problem.

    Now after having this problem for 5 days and investigate 8 hours, they told us:

    We are checking on our DNS setup, as it appears people are having trouble resolving the DNS for your sites.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •