1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

how to restart apache in hostgator shared plan (urgent)

Discussion in 'Apache' started by ashley.2328, May 13, 2008.

  1. #1
    i changed the php.ini file's maximum execution limit to 300 from 30..

    it was required to restart apache for changes to take effect, but i dont know how to restart it..

    i used this command in cron jobs:--

    /etc/rc.d/init.d/httpd restart

    but i get this error:-

    /etc/rc.d/init.d/httpd: line 13: ulimit: open files: cannot modify
    limit: Operation not permitted
    /etc/rc.d/init.d/httpd: line 14: ulimit: open files: cannot modify
    limit: Operation not permitted
    /etc/rc.d/init.d/httpd: line 15: ulimit: open files: cannot modify
    limit: Operation not permitted
    /etc/rc.d/init.d/httpd restart: httpd not running, trying to start
    fopen: Permission denied
    httpd: could not open document config file
    /usr/local/apache/conf/httpd.conf
    /etc/rc.d/init.d/httpd restart: httpd could not be started


    now my site is not opening and is giving me this error:--

    Internal Server Error
    The server encountered an internal error or misconfiguration and was unable to complete your request.


    Please help me correct this asap.:mad:
     
    ashley.2328, May 13, 2008 IP
  2. alemcherry

    alemcherry Guest

    Best Answers:
    0
    #2
    obviously you cant do that! If a normal user can shut down apache, imagine the case of all those hosted in your server. Contact support.
     
    alemcherry, May 13, 2008 IP
  3. PowerExtreme

    PowerExtreme Banned

    Messages:
    2,118
    Likes Received:
    75
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Shared hosting wont allow you to do it
     
    PowerExtreme, May 14, 2008 IP
  4. micksss

    micksss Notable Member

    Messages:
    4,427
    Likes Received:
    268
    Best Answers:
    1
    Trophy Points:
    285
    #4
    If you have dedicated email reboots@hostgator.com - Dedicated Server Reboot Triage
    For shared I'd do live chat or submit a ticket to support. Best of luck!
     
    micksss, May 14, 2008 IP
  5. ashley.2328

    ashley.2328 Member

    Messages:
    328
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    35
    #5
    yeah, i submitted a ticket and they did it in few mins..thanks everyone..their service is quite good..:)
     
    ashley.2328, May 14, 2008 IP