Disable Logrotate
is it possible to disable log rotate? I can't seem to find the cron under my weeklys or dailys nor monthlys unless it's named "mad-db" but is there a way to make it say yearly? or just disable it all together? I say this because the script I use has a function already to clear the logs and when log rotate runs it kills all processes going by the script
View Complete Thread with Replies
Sponsored Links:
Related Forum Messages:
Apache Logrotate
This is our logrotate definition for Apache's logs folder: Code: /var/log/httpd/*log { rotate 5 missingok notifempty size=100M sharedscripts postrotate /bin/kill -HUP `cat /var/run/httpd.pid 2>/dev/null` 2> /dev/null || true endscript } Yet, while it does truncate logs in five, we seem to have fairly different sizes: 182M, 168M, 968M (!)... It seems to be ignoring "size=100M",
View Replies!
View Related
Change Frequency Of Logrotate
In /etc/logrotate.conf I have the following: Quote: daily rotate 7 create compress include /etc/logrotate.d /var/log/wtmp { monthly create 0664 root utmp rotate 4 } How can I keep my logs until the 18th of every month? Would: monthly rotate 18
View Replies!
View Related
Logrotate Cron Not Working
I recently purchased a new dedicated server, since I have had this server (8 days) I have being receiving the following email: Quote: /etc/cron.daily/logrotate: error: error accessing /var/log/httpd: No such file or directory error: httpd:1 glob failed for /var/log/httpd/*log
View Replies!
View Related
How Can I Setup Logrotate To Rotate Domlogs?
i have a little issue with the domlogs folder. I should empty this files but i don't know if it is possible to do without reboot Apache. a) how can i setup logrotate to rotate domlogs? And if it is possible: b) how can i setup logrotate to rotate domlogs without restart apache? I have already setup whm-> tweak settings to delete old domain's access logs after stats run and the whm is setup to generate statistics every 20 hours. But every day the site is slowly because the domlogs are too big.
View Replies!
View Related
Changing Access_log Filename In Logrotate
how to rename access logs according to Week Number? I notice that 1&1 do this, producing a file like "access.log.31.gz". I'd like the access log to be in this format: access_log_[domain-name]_[Week-Number].gz, or if domain-name is not possible: access_log_[Week-Number].gz Here's my current logrotate script for access_log: Code: /home/default/muro.co.uk/user/logfiles/access_log { missingok rotate 8 weekly postrotate /bin/kill -USR1 `cat /var/run/httpd.pid` endscript }
View Replies!
View Related
Why Disable Parse_ini_file
I've seen for securing PHP recommends putting parse_ini_file() in the disable_functions line in php.ini but I cannot find an exact reason why. This being disabled is causing an error message to appear on some of my users sites but I'm trying to find a clear cut reason why it is disabled.
View Replies!
View Related
Disable Clamav
How can I disable clamav on cpanel server and make sure that it's not running because when clamav is running the outlook is not working so I have to restart clamav every time.
View Replies!
View Related
Disable Auditd
I have disabled auditd Code: root@server48 [~]# chkconfig --list |grep audit root@server48 [~]# rpm -qa|grep audit audit-libs-1.7.7-6.el5_3.3 audit-libs-1.7.7-6.el5_3.3 audit-libs-python-1.7.7-6.el5_3.3 root@server48 [~]# lsmod |grep audit root@server48 [~]# root@server48 [~]# ps aux|grep audit root 532 0.0 0.0 0 0 ? S< May17 0:00 [kauditd] root 20690 0.0 0.0 61180 740 pts/0 R+ 06:12 0:00 grep audit root@server48 [~]# I still get audit on /var/log/messages Quote: May 24 06:10:01 server48 kernel: type=1101 audit(1243163401.625:179651): user pid=19715 uid=0 auid=0 msg='PAM: accounting acct="root" : exe="/usr/sbin/crond" (hostname=?, addr=?, terminal=cron res=success)' May 24 06:10:01 server48 kernel: type=1101 audit(1243163401.716:179652): user pid=19716 uid=0 auid=0 msg='PAM: accounting acct="youtubet" : exe="/usr/sbin/crond" (hostname=?, addr=?, terminal=cron res=success)' May 24 06:10:02 server48 kernel: type=1101 audit(1243163402.087:179656): user pid=19719 uid=0 auid=0 msg='PAM: accounting acct="vidzboxc" : exe="/usr/sbin/crond" (hostname=?, addr=?, terminal=cron res=success)' How do i disable auditd completely?
View Replies!
View Related
How Do I Disable IPTables?
I installed APF/BFD a log time ago on my centos server and have had no problems up until now. Approx 3 days ago, the server was uncontactable by SSH/HTTP/FTP. So I ran a traceroute and the host confirmed the box was up with no problems. He disabled IPTables and I was allowed in. Anyway, overnight, the same thing has happenned again. I will have to SSH in from another IP however, my main question is how do I disable IPTables ? Or better still, how do I uninstall APF!
View Replies!
View Related
Disable Email
I got the problem with email running on my server. That mean, I using my domain email service with other server. Now I hosted a website for this domain on one other server. Note that the IP for domain and email domains are different (Using managed domain service) But I got the problem now when email sending from the server (using php email function ) with the website running that will confusing, not sending anymore. Don't know that you understand my case. But I want to stop email service for this domain on my server, all email just send and receive through other email server. How can I setup or configure it through SSH?
View Replies!
View Related
How To Disable This Message
I have placed .htaccess to block some ip, when the person ip matches, my server will gives this message "client denied by server configuration", got lots of them everday in my error log, how can I disable this message? I need other error log message but not this message, is there any way I can disable it? using centos and plesk.
View Replies!
View Related
How Do I Disable Apache
I have Apache 2.2 using cPanel 11 how do I disable apache I was sure it was using this cmd, /etc/httpd/conf/httpd.conf off When I try that I get permission denied and im logged in with root! I also tried this /etc/httpd/conf/httpd.conf chmod 777 permission denied again. Anyways, I need to disable Apache so LiteSpeed will work and I can dump Apache the unforgiven pos that will dos it recieves a request to visit a webpage. (That is over doing it, Apache is really good just if it gets hit it's down easy.)
View Replies!
View Related
Dr Web - How To Disable It
I can stop Dr Web from within Plesk Control panel, but every time server restarts - Dr Web is automatically started again. Any possible way to disable it from running? Also the same with Spam Assassin. I am running CentOS
View Replies!
View Related
Disable Function
It possible to disable the disable function for all user expect one account for running few application i need shell_exec, passthru, exec these so for other account it possible to disable it?
View Replies!
View Related
Disable Clamd
we have a dedicated with 1 only customer that use server x mailing we would disable clamd because is not used in this situation we have disable, any day ago, from 'service manager' of WHM but now we see this under "today cpu usage": Top Process %CPU 67.5 /usr/sbin/clamd Top Process %CPU 44.0 /usr/bin/perl -w /usr/sbin/eximstats Top Process %CPU 25.9 /usr/sbin/clamd
View Replies!
View Related
How To Disable Sendmail Completely
Is there any way to have sendmail completely disabled on my server? I tried: service sendmail stop but my maillog keeps filling up with a lot of messages like these: stat=Deferred: Connection refused by [127.0.0.1] How can I stop the maillog from filling up?
View Replies!
View Related
How Disable Php On Cpanel
any one can apply php scripts under cpanel like: domain.com:2082/scripts.php I have run phpinfo for looking for cpanel php.ini I have Configuration File (php.ini) Path /usr/local/cpanel/3rdparty/etc I renamed /usr/local/cpanel/3rdparty/etc to /usr/local/cpanel/3rdparty/etc.OLD then restart the server I am still get cpanel php work and phpinfo give : Configuration File (php.ini) Path /usr/local/cpanel/3rdparty/etc how to disable cpanel php to prevent some one exploit php to hacking my server?
View Replies!
View Related
Disable WHM/Cpanel
I want to disable WHM/Cpanel.because client purchase dedicate server from us and he want to access from command line and no WHM/Cpanel so how can i do it and it will be effect on any service because i have installed all the service like dns, exim and http from WHM.
View Replies!
View Related
Disable Mail Function
I am starting to webhosting company in it I have included a package will be free and add supported and also I want to disable some functions like mail() ..........I mean I want to disable SMTP services anyone have idea how can I do that.
View Replies!
View Related
Disable Php Functions
Does the below look good for a private server (linux, cpanel, phpsuexec disabled)? disable_functions = show_source, system, shell_exec, passthru, phpinfo, popen, proc_open What about a shared hosting server (linux, cpanel, phpsuexec *enabled*)? disable_functions = show_source, system, shell_exec, passthru, phpinfo, popen, proc_open
View Replies!
View Related
Disable Awstats For Just One Domain
if anybody has been successful in disabling awstats for one domain only? I've seen this method somewhere else but was wondering if any of you guys have tried it here: ---------------------- Append the line, skipawstats=1 to the file /var/cpanel/users/<username> ----------------------
View Replies!
View Related
Disable Zend Optimizer
how to disable zend optimizer? I installed zend optimizer for a client, but he wants to disable it for today while sorting out things on his server. I realize that the extension paths are under the "[zend]" section of the "php.ini" file, but he has ioncube loader installed as well, therefore I'm not sure which lines to delete and which to keep.
View Replies!
View Related
C99shell Disable PHP Scripts?
the biggest security issue i have with my clients is php c99 shell and similar php files, somehow these files uploaded on the website and from here they start attacking the websites. i have seen also that once you upload the c99 php file you are able to see the accounts information ( such as a user name ) on the same server so is there any way to disable this kind of php file or at least disable some function within the file! i have been thinking to install and run a antivirus on the server , but i see sometimes they upload the encrypted version of the file , so the antirus can't catch the file as a torjan!
View Replies!
View Related
Disable Statistics For Just One Reseller Account
With my new VPS, I am trying to disable Statistics software (Awstats & Webalizer) for one reseller account (and all account under it). So I went to "Statistics Software Configuration" --> "User Permissions" Selected the user and under "configure" unchecked both option. Is that enough?? When I view "Statistics Status Summary" for all users, it still shows them as "green" for that user. I haven't actually moved anything to this VPS.
View Replies!
View Related
Disable Wordpress RSS Feed
way to disable my Wordpress's RSS feed, because I have figured out another website just copies my content via my RSS feed. I have searched and found three interesting results, which actually all 3 do or suggest you to do the same thing. [url] [url] plugin: disable rss This works perfectly to disable /feed, but unfortunately /feed/rss will still perfectly work? I can't see why all those developers just post this, without having actually tested if it really disabled the RSS feed. But can somebody recommend me a good way to disable Wordpress's RSS feed?
View Replies!
View Related
PHP Disable Functions Override
In the php.ini ive disabled several functions for security reasons but i need to enable exec() and shell_exec() for WHMCS Status, but i dont want it enabled for anything or anyone else. I know you can over ride global php.ini but i preferably dont want that on and also i forgot where that option is but i was wondering if there was any work arounds or would i have to enable exec() and shell_exec() globally or enable php.ini override.
View Replies!
View Related
How To Disable Cpanel Full Backup
Whenever clients are generating full back up of their sites all at once and like 10x in one hour, its causing a severe spike in load in the servers is there a way to disable the full backup in cPanel? I know mellowhost is able to do this I also saw this when i was searching google -- Quote: Additionally, you could just give server administrators the option of disabling the gzipping of these user generated backups I believe the gzip process is what usually kills the server when dealing with a large site. Just tarring up the account would use more disk space, but would keep processing and load usage down I don't know how to do that though. Also I use the Backup function in WHM to generate weekly backups of all my customers sites and FTPing to a remote server. I still want that function. I only want the generation of full backup in control panel be disabled.
View Replies!
View Related
|