Results 1 to 16 of 16

Thread: httpd failed

Hybrid View

  1. #1
    Join Date
    May 2003
    Location
    Central Long Island, NY
    Posts
    657

    httpd failed

    I noticed my kayako help desk was down and when I tried to restart apache I get the below error. Does anyone know what the below error means and how to rectify the problem?

    Thank you


    root@ns1 [/var/log]# /etc/init.d/httpd start
    /etc/init.d/httpd: line 192: 1074 File size limit exceeded(core dumped) $HTTPD -DSSL
    /etc/init.d/httpd start: httpd could not be started

  2. #2
    Join Date
    Dec 2001
    Location
    NYC, NY
    Posts
    799
    just a shot in the dark.. but run

    ulimit -a

  3. #3
    Join Date
    May 2003
    Location
    Central Long Island, NY
    Posts
    657
    core file size (blocks, -c) 1000000
    data seg size (kbytes, -d) unlimited
    file size (blocks, -f) unlimited
    max locked memory (kbytes, -l) 4
    max memory size (kbytes, -m) unlimited
    open files (-n) 4096
    pipe size (512 bytes, -p) 8
    stack size (kbytes, -s) 8192
    cpu time (seconds, -t) unlimited
    max user processes (-u) 14335
    virtual memory (kbytes, -v) unlimited

  4. #4
    Join Date
    Mar 2003
    Location
    California USA
    Posts
    13,681
    looks like one of your log files is over 2gb.
    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

  5. #5
    Join Date
    Jun 2003
    Location
    United States of America
    Posts
    1,847
    i had a problem with httpd not starting and stuff last week, if this is your dedicated server try rebooting it

    (cause the funny thing was I had 16 hours of downtime until rebooted )
    Computer Steroids - Full service website development solutions since 2001.
    (612)234-2768 - Locally owned and operated in the Minneapolis, Minnesota area.

  6. #6
    Join Date
    May 2003
    Location
    Central Long Island, NY
    Posts
    657
    Tried rebooting but didnt do anything. Cant get to any secure pages on the site. Dont know how to search for log files over 2gb's and dont know how to prevent it next time. This server only has 3 lightly used websites and site studio on it. Maybe something to do with site studio, I dont know. Thank you

  7. #7
    Join Date
    Mar 2003
    Location
    California USA
    Posts
    13,681
    tail -f the error_log might say more.
    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

  8. #8
    Join Date
    May 2003
    Location
    Central Long Island, NY
    Posts
    657
    I did the below command and it just hangs:

    root@ns1 [~]# tail -f /var/log/httpd/ssl_error_log

  9. #9
    Join Date
    Dec 2001
    Location
    NYC, NY
    Posts
    799
    ls -lsh /var/log/httpd/*

    also do the same for other apache logs

  10. #10
    Join Date
    May 2003
    Location
    Central Long Island, NY
    Posts
    657
    root@ns1 [~]# ls -lsh /var/log/httpd/*
    0 -rw-r--r-- 1 root root 0 Mar 7 04:02 /var/log/httpd/access_log
    8.0K -rw-r--r-- 1 root root 6.0K Mar 2 01:34 /var/log/httpd/access_log.1
    0 -rw-r--r-- 1 root root 0 Mar 7 04:02 /var/log/httpd/error_log
    8.0K -rw-r--r-- 1 root root 7.6K Mar 2 01:40 /var/log/httpd/error_log.1
    0 -rw-r--r-- 1 root root 0 Feb 11 15:30 /var/log/httpd/ssl_access_log
    0 -rw-r--r-- 1 root root 0 Mar 7 04:02 /var/log/httpd/ssl_error_log
    4.0K -rw-r--r-- 1 root root 1008 Feb 28 18:28 /var/log/httpd/ssl_error_log.1
    0 -rw-r--r-- 1 root root 0 Feb 11 15:30 /var/log/httpd/ssl_request_log

  11. #11
    Join Date
    May 2003
    Location
    Central Long Island, NY
    Posts
    657
    root@ns1 [/var/log/httpd]# cd /usr/local/apache/logs
    root@ns1 [/usr/local/apache/logs]# ls -l
    total 52132
    drwxr-xr-x 2 root root 4096 Jun 12 20:42 ./
    drwxr-xr-x 13 root root 4096 Mar 2 01:39 ../
    -rw-r--r-- 1 root root 20148234 Jun 12 23:12 access_log
    -rw-r--r-- 1 root root 32880799 Jun 12 23:08 error_log
    -rw-r--r-- 1 root root 5 Jun 12 21:15 httpd.pid
    -rw-r--r-- 1 root root 158458 Jun 12 21:15 ssl_engine_log
    -rw------- 1 nobody root 0 Apr 16 23:20 ssl_mutex.16178
    -rw------- 1 nobody root 0 Jun 7 00:30 ssl_mutex.1845
    -rw------- 1 nobody root 0 Jun 6 21:52 ssl_mutex.22879
    -rw------- 1 nobody root 0 May 1 18:22 ssl_mutex.2362
    -rw------- 1 nobody root 0 Jun 8 00:29 ssl_mutex.24368
    -rw------- 1 nobody root 0 Mar 24 09:35 ssl_mutex.30276
    -rw------- 1 nobody root 0 Mar 21 14:36 ssl_mutex.31230
    -rw------- 1 nobody root 0 Mar 18 12:17 ssl_mutex.4612
    -rw------- 1 nobody root 0 Apr 4 17:08 ssl_mutex.5988
    -rw-r--r-- 1 root nobody 99697 Jun 12 19:27 suexec_log
    -rw-r--r-- 1 root root 6 Jun 12 03:19 suexec_log.offset

  12. #12
    Join Date
    Mar 2003
    Location
    California USA
    Posts
    13,681
    tail -f /usr/local/apache/logs/error_log
    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

  13. #13
    Join Date
    May 2003
    Location
    Central Long Island, NY
    Posts
    657
    that does not show any errors when trying to access an https page, thank you

  14. #14
    Join Date
    Mar 2003
    Location
    California USA
    Posts
    13,681
    hrmm i thought your apache was down?
    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

  15. #15
    Join Date
    May 2003
    Location
    Central Long Island, NY
    Posts
    657
    no, just my secure pages (https, ssl) thank you

  16. #16
    Join Date
    May 2003
    Location
    Central Long Island, NY
    Posts
    657
    trying going from bleeding edge cpanel to current but it did nothing.

Posting Permissions

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