Page 2 of 52 FirstFirst 123412 ... LastLast
Results 16 to 30 of 780

Thread: nginx automated installer

  1. #16
    Member
    Join Date
    Sep 2007
    Posts
    29

    Default

    i will testing it thanks

  2. #17
    Member This forum account has been confirmed by cPanel staff to represent a vendor.
    Join Date
    Dec 2009
    Posts
    185
    cPanel/WHM Access Level

    Root Administrator

    Default

    How nginx can be uninstall and switch back to apache in case of any issue??

  3. #18
    cPanel Verified Vendor This forum account has been confirmed by cPanel staff to represent a vendor.
    Join Date
    Sep 2007
    Posts
    99

    Default

    ./nginxinstaller uninstall

    This will remove it completely and set you back to Apache only.

  4. #19
    Member This forum account has been confirmed by cPanel staff to represent a vendor.
    Join Date
    Dec 2009
    Posts
    185
    cPanel/WHM Access Level

    Root Administrator

    Default

    Quote Originally Posted by blargman View Post
    Hey Texo, usage is just install and uninstall as far as the nginxinstaller script goes.

    cd /usr/local/src
    wget blargman.com/public.tar
    tar xf public.tar
    cd publicnginx
    ./nginxinstaller install


    Let me know if there is something else or if you have any questions
    /etc/init.d/nginx restart
    Restarting nginx daemon: nginx[warn]: duplicate MIME type "text/html" in /etc/nginx/nginx.conf:22
    What I need to do?
    Last edited by 9xlinux; 02-23-2010 at 12:45 AM.

  5. #20
    Member
    Join Date
    Jun 2006
    Posts
    79

    Default

    Quote Originally Posted by 9xlinux View Post
    /etc/init.d/nginx restart
    Restarting nginx daemon: nginx[warn]: duplicate MIME type "text/html" in /etc/nginx/nginx.conf:22
    What I need to do?
    I had that problem. Edit the /etc/nginx/nginx.conf and remove the word text/html. Don't worry, nginx will serve html files the same way.

  6. #21
    Member This forum account has been confirmed by cPanel staff to represent a vendor.
    Join Date
    Dec 2009
    Posts
    185
    cPanel/WHM Access Level

    Root Administrator

    Default

    The Main >> Server Status >> Apache Status is not working after install.
    Is there is any way so we can view apache status in root whm?

  7. #22
    Member
    Join Date
    Jun 2006
    Posts
    79

    Default

    Quote Originally Posted by 9xlinux View Post
    The Main >> Server Status >> Apache Status is not working after install.
    Is there is any way so we can view apache status in root whm?
    Edit /usr/local/apache/conf/httpd.conf

    FIND:
    <Location /whm-server-status>
    SetHandler server-status
    Order deny,allow
    Deny from all
    Allow from 127.0.0.1
    </Location>

    ADD YOUR SERVER MAIN IP ADDRESS:
    <Location /whm-server-status>
    SetHandler server-status
    Order deny,allow
    Deny from all
    Allow from 127.0.0.1
    Allow from YOUR-MAIN-IP-ADDRESS-HERE
    </Location>

  8. #23
    Member This forum account has been confirmed by cPanel staff to represent a vendor.
    Join Date
    Dec 2009
    Posts
    185
    cPanel/WHM Access Level

    Root Administrator

    Default

    Quote Originally Posted by xanubi View Post
    Edit /usr/local/apache/conf/httpd.conf

    FIND:
    <Location /whm-server-status>
    SetHandler server-status
    Order deny,allow
    Deny from all
    Allow from 127.0.0.1
    </Location>

    ADD YOUR SERVER MAIN IP ADDRESS:
    <Location /whm-server-status>
    SetHandler server-status
    Order deny,allow
    Deny from all
    Allow from 127.0.0.1
    Allow from YOUR-MAIN-IP-ADDRESS-HERE
    </Location>
    I have tried it but not working.

  9. #24
    Member
    Join Date
    Jun 2006
    Posts
    79

    Default

    Quote Originally Posted by 9xlinux View Post
    I have tried it but not working.
    Possible the wrong ip address?
    Please post here what you've done.

    Also, did you restart apache after that?

  10. #25
    Member This forum account has been confirmed by cPanel staff to represent a vendor.
    Join Date
    Dec 2009
    Posts
    185
    cPanel/WHM Access Level

    Root Administrator

    Default

    Below the change I made,

    <Location /whm-server-status>
    SetHandler server-status
    Order deny,allow
    Deny from all
    Allow from 127.0.0.1
    Allow from xx.xx.xx.xx (My main ip)
    </Location>

    The status is showing via command 'service httpd status' but not showing via whm >> Server Status >> Apache Status
    The whm is displaying error below,
    Failed to receive status information from Apache.

    yes I have restart apache many times after edit.
    Last edited by 9xlinux; 02-23-2010 at 11:28 AM.

  11. #26
    Member
    Join Date
    Jun 2006
    Posts
    79

    Default

    Quote Originally Posted by 9xlinux View Post
    Below the change I made,

    <Location /whm-server-status>
    SetHandler server-status
    Order deny,allow
    Deny from all
    Allow from 127.0.0.1
    Allow from xx.xx.xx.xx (My main ip)
    </Location>

    The status is showing via command 'service httpd status' but not showing via whm >> Server Status >> Apache Status
    The whm is displaying error below,
    Failed to receive status information from Apache.

    yes I have restart apache many times after edit.
    Just for clarification, you've put the ip format, like this example, right?:
    Allow from 192.168.2.169

    Also, did you make all the changes described in this post:
    http://forums.cpanel.net/f5/nginx-au...tml#post629597

  12. #27
    Member This forum account has been confirmed by cPanel staff to represent a vendor.
    Join Date
    Dec 2009
    Posts
    185
    cPanel/WHM Access Level

    Root Administrator

    Default

    Quote Originally Posted by xanubi View Post
    Just for clarification, you've put the ip format, like this example, right?:
    Allow from 192.168.2.169

    Also, did you make all the changes described in this post:
    http://forums.cpanel.net/f5/nginx-au...tml#post629597
    Yes, I have use same format as below example below,
    Allow from 192.168.2.169

    all the changes described in this post:
    http://forums.cpanel.net/f5/nginx-au...tml#post629597 are already done by default by installer.( I have verified)
    But apache status is still not showing in whm.

  13. #28
    Member
    Join Date
    Jun 2006
    Posts
    79

    Default

    Quote Originally Posted by 9xlinux View Post
    Yes, I have use same format as below example below,
    Allow from 192.168.2.169

    all the changes described in this post:
    http://forums.cpanel.net/f5/nginx-au...tml#post629597 are already done by default by installer.( I have verified)
    But apache status is still not showing in whm.
    well, without seeing inside the server, at this point is impossible to know what's the problem is. For sure, there is something that is not correct, but without inside analisys, i cannot guess nothing more.

    Try to review all the parameters. By the way, what is the error that the apache status give you?

  14. #29
    cPanel Verified Vendor This forum account has been confirmed by cPanel staff to represent a vendor.
    Join Date
    Sep 2007
    Posts
    99

    Default

    If you put
    Allow from All does it work ok?

  15. #30
    Member This forum account has been confirmed by cPanel staff to represent a vendor.
    Join Date
    Dec 2009
    Posts
    185
    cPanel/WHM Access Level

    Root Administrator

    Default

    Quote Originally Posted by blargman View Post
    If you put
    Allow from All does it work ok?
    I have tried
    Allow from all
    but still the same.
    The WHM display error "Failed to receive status information from Apache."

Page 2 of 52 FirstFirst 123412 ... LastLast

Similar Threads

  1. Replies: 6
    Last Post: 08-19-2011, 03:38 AM
  2. Replies: 2
    Last Post: 01-11-2011, 09:51 AM
  3. nginx automated installer
    By blargman in forum cPanel & WHM Discussions
    Replies: 222
    Last Post: 08-24-2010, 06:22 PM

Tags for this Thread