Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Page 49 of 50 FirstFirst ... 39 47 48 49 50 LastLast
Results 721 to 735 of 746
  1. #721
    Member
    Join Date
    Oct 2006
    Posts
    168

    Default Re: nginx automated installer

    Where would this be set? Also, when does that cron fire?

  2. #722
    Member
    Join Date
    Jun 2003
    Location
    Bharat
    Posts
    232
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: nginx automated installer

    Quote Originally Posted by mealto View Post
    Where would this be set? Also, when does that cron fire?
    It seems you need some one to manage your server, or do a course in Linux server management.
    Vinayak Sharma
    Vinsar.Net - Quality WebHosting Services at Economical Price USA, UK & Italian Servers
    Book Your Domain with Confidence Reliable Domain Reseller Account

  3. #723
    Registered User
    Join Date
    Oct 2011
    Posts
    4
    cPanel/Enkompass Access Level

    Website Owner

    Default Re: nginx automated installer

    Quote Originally Posted by mealto View Post
    Where would this be set? Also, when does that cron fire?
    login as root

    How to run in thru cron?create a file in /myscript/tmpwatch and add this line
    Code:
    tmpwatch -a 2 /tmp


    this will clear files older than 2 hours

    Edit /etc/crontab and add this line
    Code:
    */30 * * * * root /myscript/tmpwatch 2>&1 | mail -s “TMPwatch” your@email.com
    this will clear /tmp every 30min from command saved in /myscript/tmpwatch then will report email subject TMPwatch to your email.
    cheers

  4. #724
    Member
    Join Date
    Oct 2004
    Posts
    45

    Default Re: nginx automated installer

    Just installed the latest version and all went (mostly) well.

    Had to run the python fix.

    Found an error in the /etc/init.d/httpd file...

    if you run /etc/init.d/httpd status you get an error - I had to edit the script to fix it.

    PHP Code:
    # have one, then status and fullstatus will not work.
    PORT="$(grep 'apache_port=' /var/cpanel/cpanel.config 2>/dev/null | sed -e 's/.*=\([.0-9]*:\)\{0,1\}//;' -e 's/[^0-9]*//g' 2>/dev/null)"
    STATUSURL="http://localhost:8081:${PORT:-80}/whm-server-status"
    #
    # Set this variable to a command that increases the maximum
    # number of file descriptors allowed per child process. This is 
    Above is original config - note the STATUSURL line - it has a :8081 added into it - which is NOT necessary -

    Removed it and all works

    Thanks for a simple installer that worked well!

  5. #725
    Member
    Join Date
    Nov 2011
    Posts
    302
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: nginx automated installer

    Above is original config - note the STATUSURL line - it has a :8081 added into it - which is NOT necessary -

    Removed it and all works
    That's great you could also use port 8081 as security by opening it first in server firewall

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

    Root Administrator

    Default Re: nginx automated installer

    Good Deal Hosting - Shared, Reseller, and Shoutcast Hosting
    OpenVZ VPS Solutions, Nginx Admin Forum

  7. #727
    Member
    Join Date
    Aug 2004
    Posts
    200

    Default Re: nginx automated installer

    Quote Originally Posted by 9xlinux View Post
    disregard sorry
    Last edited by djmerlyn; 11-24-2011 at 01:29 AM.

  8. #728
    Registered User
    Join Date
    Nov 2011
    Location
    Santa Fe, Santa Fe, Argentina
    Posts
    1
    cPanel/Enkompass Access Level

    Website Owner

    Default Re: nginx automated installer

    I have already installed Ngnixcp on WHM, but on the tab Plugins -> Nginx Admin I see a blank page with any option to set

    Anyone has had the same issue than me?

  9. #729
    Registered User
    Join Date
    Nov 2011
    Posts
    1
    cPanel/Enkompass Access Level

    Root Administrator

    Default cpanel keep killing nginx master process every 5 minutes

    I'm using whm ver 11.30 and latest nginx admin (3.0) . everything works fine ( include httpd status). but every 5 minutes, chkservd keep killing nginx master process. anyone had same issue?

  10. #730
    Member Astral God's Avatar
    Join Date
    Sep 2010
    Location
    127.0.0.1
    Posts
    66
    cPanel/Enkompass Access Level

    Root Administrator

    Exclamation Re: nginx automated installer

    Hello.

    I've installed nGinx Admin, but i have installed Python 2.5.6 trough make install and NOT runned the ./pythonfix script provided...

    After that, i'm getting a lot of mail from lfd like this one:

    Code:
    Time:         Sat Dec 17 13:35:03 2011 +0100
    Account:      mailman
    Resource:     Process Time
    Exceeded:     5410 > 1800 (seconds)
    Executable:   /usr/bin/python2.4
    Command Line: /usr/local/cpanel/3rdparty/bin/python /usr/local/cpanel/3rdparty/mailman/bin/qrunner --runner=VirginRunner:0:1 -s
    PID:          13588
    Killed:       No
    I would like to roll it back and:

    1 - Uninstall Python 2.5.6;
    2 - uninstall nGinx Admin
    3 - Run the ./pythonfix
    4 - Install nginx Admin

    Son, how could i accomplish "1" ?
    Thanks for your help.

  11. #731
    Member This forum account has been confirmed by cPanel staff to represent a vendor.
    Join Date
    Dec 2009
    Posts
    177
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: nginx automated installer

    Python uninstall may cause of serious error.
    If you are not using mailman just disable it from tweak settings and service manager
    If you are using mailman then simply add mailman process in csf/lfd pig_ignore
    Good Deal Hosting - Shared, Reseller, and Shoutcast Hosting
    OpenVZ VPS Solutions, Nginx Admin Forum

  12. #732
    Member
    Join Date
    Jun 2005
    Posts
    21

    Default Re: nginx automated installer

    I'm getting this error

    Looking up localhost:8081:8081
    Unable to locate remote host localhost:8081:8081.
    Alert!: Unable to connect to remote host.

    lynx: Can't access startfile http://localhost:8081:8081/whm-server-status
    I tried rrwh fix but doesn't seem to do anything even after an apache restart...

  13. #733
    Member Astral God's Avatar
    Join Date
    Sep 2010
    Location
    127.0.0.1
    Posts
    66
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: nginx automated installer

    @azn_romeo_4u

    Please check this post: nginx automated installer

  14. #734
    Member
    Join Date
    May 2006
    Location
    Morocco
    Posts
    158
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: nginx automated installer

    Installed with success , and work like a charm now .

    i have one issue at the moment , if a php file want to include php file outside the public_html it give error of path . for example

    include(/home/username/cron/cron.php)

    but when i change the cron php file to inside the public_html it work perfectly

    include(/home/username/public_html/cron.php)


    any one can confirm or reproduce this case ?!

  15. #735
    Member
    Join Date
    Oct 2010
    Posts
    14

    Default Re: nginx automated installer

    Sounds like a open_basedir issue.
    Cut Above Host
    http://www.cutabovehost.com/
    High Performance • Enterprise Servers • Premium Network

Similar Threads & Tags
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 and WHM Discussions
    Replies: 222
    Last Post: 08-24-2010, 06:22 PM
Tags for this Thread
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube