Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Web Hosting


Advertisements:




SuperbHosting.net & Arvixe.com have generously sponsored dedicated servers and web hosting to ensure a reliable and scalable dedicated hosting solution for BigResource.com.







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
Doubt About Csf :: Check /etc/cron.daily/logrotate
i need information about this option 'Check /etc/cron.daily/logrotate for /tmp noexec workaround', there are in the server check, of the csf test, someone can explain to me about this function? should do it?

the actually state is 'warning'.

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
How Disable Phpinfo()
when some one upload and load files with phpinfo()

he can see our server PHP Configuration.

how can us disable phpinfo()?

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
Disable Backup
i wanna disable the backup from cpanel for one user only

how i can do that?

i wont him take full backup from the cpanle.

View Replies!   View Related
How To Disable RBL
RBL is blocking every incoming email. While waiting for the admin. How to disable it?

View Replies!   View Related
How To Disable A Contain With Mod_security
How can i disable some words from the contain of the page by Mod_Security2?

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 Firewire
how does one disable firewire, in linux, can this be done without recompiling kernel?

View Replies!   View Related
How To Disable Spamassassin.
I am using cPanel 11 one of my Linux server with O.S. as Fedora core 4. For one of my websites I had enabled spam assassin a few days before. But now I want to disable it but not getting any option to do so.

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 Munin...
How to disable from debian server autorun munin script [url] [munin, munin-update, munin-node processes]?

View Replies!   View Related
How To Disable Some Command
I want to disable some command below:

Code:
readfile("/etc/passwd");

cat /etc/passwd;

ps -ax

uname -a

How to do it? (I have root access)

View Replies!   View Related
Disable Open_basedir In Plesk
How to disable open_basedir in plesk enabled server. I want to disable it server wide.

View Replies!   View Related
Suexec Enable Or Disable
is it good or not and why we should enable or disable it in cpanel server or other server?

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 Functions In .htaccess
Is it possible to disable mod_security and open_basedir thru .htaccess if both are enabled in server configuration?

View Replies!   View Related
Disable ~username Jumping
How do I disable cpanel's www.site.com/~userhome/ jumping? I can't find anything on Google.

View Replies!   View Related
Can I Remove/disable Named?
can i remove/disable named on the main server if i run dedicated dns servers?

View Replies!   View Related
How Disable Iptables In Debian
my os is debian

how can disable iptables on it?

part12:/# service iptables restart

-bash: service: command not found

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
Can You Disable Email In Linux
I have alot of mail spam for my servers and I want to disable mail alltogether. I don't really need it, for I'm mostly using free mail. How do I do it? Is this possible?

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 FTP For Specified Time
Does is possible to disable ftp capabilities of several websites run by cron at some specified time of the day? then re-enable it automatical at a certain time also?

View Replies!   View Related
Disable These Emails From Cpanel
How can I disable cpanel from sending me this email about my server running low on space, still 5GB free. It gets annoying

Drive Space Critical on server.com

View Replies!   View Related
How May I Disable Wget In Centos
i have one download site.with direct link.

i want another servers can`t with run wget [url]

transfer to self servers

How may?

my server is cpanel,apache,

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
Virtuozzo How To Disable Firewall
I enabled the firewall in the virtuozzo power panel and now I can't access WHM/CPanel.

How do I disable the firewall in VZPP?

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
Disable Login Via FTP
We have linux server + apache

How to disable login via FTP for schedule time?

View Replies!   View Related
Disable Python In Cpanel
how may in disable pytion in cpanel?

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
How Disable Keyboard Interactive Authentication ?
im using free Bsd latest version after install freebsd in my vps with vmware...

we cannt login in SSH, im typing correct pwd but show error ...keyboard interactive authentication

im typing correct pwd !

how i can solve this problem?

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 This Error When A Directory Doesn't Exist
When i go to a directory that doesn't exist i get this:

Quote:

Apache/2.2.3 (Debian) mod_jk/1.2.18 mod_python/3.2.10 Python/2.4.4 PHP/5.2.0-8+etch13 mod_ssl/2.2.3 OpenSSL/0.9.8c mod_perl/2.0.2 Perl/v5.8.8 Server

How can i disable it?

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
How To Enable/disable Mail() Function
how to know if mail() function is enabled or disabled on my server? how to enable/disable it?

can it be done via server control panel or is there a shell command for it?

one more thing, where to get/edit the SMTP data for my server?

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
How Do I Disable Open Relay In Cpanel
How Do I disable Open Relay in cpanel?

My "Top Email Relayers" is not empty in cpanel.

View Replies!   View Related
Copyright © 2005-08 www.BigResource.com, All rights reserved