Where would this be set? Also, when does that cron fire?
Where would this be set? Also, when does that cron fire?
Vinayak Sharma
Vinsar.Net - Quality WebHosting Services at Economical Price USA, UK & Italian Servers
Book Your Domain with Confidence Reliable Domain Reseller Account
login as root
How to run in thru cron?create a file in /myscript/tmpwatch and add this lineCode:tmpwatch -a 2 /tmp
this will clear files older than 2 hours
Edit /etc/crontab and add this lineCode:*/30 * * * * root /myscript/tmpwatch 2>&1 | mail -s “TMPwatch” your@email.comthis will clear /tmp every 30min from command saved in /myscript/tmpwatch then will report email subject TMPwatch to your email.cheers
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.
Above is original config - note the STATUSURL line - it has a :8081 added into it - which is NOT necessary -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
Removed it and all works
Thanks for a simple installer that worked well!
That's greatAbove is original config - note the STATUSURL line - it has a :8081 added into it - which is NOT necessary -
Removed it and all worksyou could also use port 8081 as security by opening it first in server firewall
Nginx Admin 3.0 Released
Nginx Admin (Stable version) v3.0 released | NginxCP.com
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?
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?
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:
I would like to roll it back and: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
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.
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
I'm getting this error
I tried rrwh fix but doesn't seem to do anything even after an apache restart...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
@azn_romeo_4u
Please check this post: 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 ?!
Sounds like a open_basedir issue.
█ Cut Above Host
█ http://www.cutabovehost.com/
█ High Performance • Enterprise Servers • Premium Network