Software :: Configurable File Maintenance Programs / Scripts (Logrotate)

Mar 27, 2011

Before I start writing my own file maintenance script, maybe one such program/scripts already exist somewhere. Am looking for a file maintenance script/application that is configurable that I can use to process files under certain criteria, for example, removing files that are x-number of days old, gzip'ping files if they are core dumped files, removing files if they are zero-sized files etc. Am not sure logrotate is the solution that am looking for.

View 1 Replies


ADVERTISEMENT

Software :: Logrotate.conf Settings Global / Apply To What Is In Logrotate.d/

Jan 18, 2011

Is the logrotate.conf settings global/apply to what is in logrotate.d/? I have olddir /var/log/old_logs in logrotate.conf but logrotate is not placing old rsyslogs in /var/log/old_logs for logrotate.d/rsyslog

View 5 Replies View Related

Fedora :: Where To Download Compatible Maintenance Programs

Feb 28, 2011

Are there any maintenance programs I should download and run on Fedora ? Example ccleaner and defraggler for windows?

View 11 Replies View Related

General :: Maintenance - Make Changes In Maintenance Mode

May 4, 2010

I notice when Linux boots in maintenance mode the filesystem is read-only.

Is there a way to change this, perhaps remounting as writable?

An example of this being a problem is that I was unable to open vi because there were too many session files....

Not to mention it would be nice to actually fix problems....

What are you meant to be able to do if you can't make any changes to the filesystem? What kind of maintenance can be expected?

View 1 Replies View Related

Fedora :: Software For File System Maintenance?

Sep 16, 2010

Looking for software to maintain a healthy file system.

View 7 Replies View Related

Ubuntu :: Desktop 9.04 File System Maintenance Error?

Jun 10, 2010

Ubuntu Desktop 9.04 file system maintenance error at start up (press ctrl+d to continue)

View 3 Replies View Related

General :: Hard Disk & File System Maintenance

Feb 28, 2010

I have been running Ubuntu as my sole OS for about a month now, and aside from Computer Janitor, I have found no drive/fs cleaning tools, or defragging tools. I know this isn't Windoze, but surely there must be a way of maintaining your hard disk. I mean installs/uninstalls must leave detritus, and file moving must cause SOME fragmentation. Are there any apps, systems or methods in place that provide this functionality?

View 3 Replies View Related

OpenSUSE Install :: Gnome Doesn't Seem To Be As Configurable As KDE

Oct 6, 2010

KDE 4 has prompted me to try Gnome -- and I like what I see. It's beautiful, clean, and use-oriented. I especially like Nautilus and the system monitor and the terminal program and simple but helpful features like the F10 menu key. It's inspired software!But nothing's perfect. For one thing, Gnome doesn't seem to be as configurable as KDE. I tried to change the maximize keystroke to Ctrl-Alt-M, to no avail. I'd also like to change F10, since that conflicts with the mc (Midnight Commander) exit key, but I don't know how to do it.

The black screen at startup has recurred.This time, I wads not able to get out by pressing Ctrl-Alt-F1 and restarting gdm from the root: Ctrl-Alt-F1 had no effect.I had to reboot.The problem occurred after gnome flashed and then blanked a login screen.I thought the lack of a login might be the cause, so I added another user and used YaST to ask that the login panel be shown.Well, gnome still isn't giving me a chance to login, but at least the black screen problem has disappeared for now, at least.

View 1 Replies View Related

Ubuntu :: Need A Good Robust Configurable DC++ Client?

Jul 10, 2010

Need a good robust configurable DC++ client., because I am getting slow connections with the latest stable and PPA version of Linuxdc++. Yes it may be a unknown config problem, but even with UFW disabled and using "passive" mode, DL's are consistently falling to 500 B/s. Source report that there is no problem at that end.

View 1 Replies View Related

Ubuntu :: Workspace Switcher Not Configurable On Second Screen?

Apr 7, 2011

I have Ubuntu 10.10 installed on a laptop with a second monitor configured as a separate x screen.

I configured the workspace switcher applet on the laptop screen to be 2x2 and it changed appropriately. When I go to the preferences for the workspace switcher on the second screen it says it's set to two columns and two rows but still displays as the default four columns and one row and any changes made have no effect.

I changed the setting num_rows from one to two under apps/panel/applets/workspace_switcher_screen1/prefs using gconf-editor and restarted my gnome-panels but it had no effect.

Is there anyway to make the workspace switcher on the second screen display as 2x2?

View 6 Replies View Related

Networking :: Device Is Configurable Only Over Console Line?

Oct 18, 2010

I have a configuration file for a network device(2100 lines). This device is configurable only over console line. If I copy chunks of those lines into terminal(I use minicom), there will be mistakes (sometimes some characters missing, space characters added etc). Hardware flow control and software flow control doesn't help either(as I use RS232-to-USB converter, I'm even not sure, if RTS and CTS signals are implemented). I tried with cu utility, but same issues appeared. There will be mistakes even if I copy in ~100 line parts. What causes those missing/added characters? Is there a terminal emulation program under Linux, which supports pausing before each byte/line transfer?

View 2 Replies View Related

Security :: More Secure Than Router's Not Configurable Firewall

Apr 20, 2011

There are routers with firewalls which you cannot configure - you just use those routers and get some protection from Internet attacks. Is it possible to configure iptables on GNU/Linux machine so that you'll get better protection than the protection you get from those kind of routers?

View 4 Replies View Related

Programming :: Self Configurable Diagnosis Algorithm / Tcl Script?

Sep 13, 2010

I have an algorithm guys called "Self Configurable Diagnosis Algorithm" but i don't have program for this.help me regarding that program and which type of Tcl script will be better suitable for that.

View 3 Replies View Related

Ubuntu Servers :: Bind9 For DNS Installed - Virtual Hosts Configurable

Jun 11, 2011

I have installed bind9 for DNS. I have also installed Apache2, PHP5, MySQL, and correctly configured these together. When I view domain1.co.uk it currently works fine as required. I would like to change it to:
* /var/www/domain1.co.uk/prod/ - becomes the root dir of domain1.co.uk
* /var/www/domain2.co.uk/prod/ - becomes the root dir of domain2.co.uk

Nevertheless, I have created a the following files; these are copies of the "default" file and correctly amended. the required destination directories are in place!
* /etc/apache2/sites-available/domain1.co.uk
* /etc/apache2/sites-available/domain2.co.uk

I then executed:
Code:
sudo ln -s domain1.co.uk ../sites-enabled/domain1.co.uk
Code:
sudo ln -s domain2.co.uk ../sites-enabled/domain2.co.uk

It is important to understand domain1.co.uk and domain2.co.uk represent 2 Existing domain names I own, and both point to my server.
domain1.co.uk currently works in /var/www
Why I would like multiple domain names on the server.

View 1 Replies View Related

Ubuntu :: Use PS3 Remote As Configurable Tool (mouse Andor Joystick) For Computer?

Feb 2, 2010

I'm looking for a way to use my PS3 remote as a configurable tool (mouse andor joystick) for my computer. This site doesn't work at all: https://help.ubuntu.com/community/Sixaxis

View 2 Replies View Related

General :: Logrotate Httpd Log Files ?

Jan 11, 2010

I need to logrotate logs in directories in /var/log/httpd/.

There are 4 directories in /var/log/httpd/... these directories are /var/log/httpd/access/ /var/log/httpd/debug/ /var/log/httpd/error/ /var/log/httpd/required/

Each of the access, required, error and debug directories have around 20 to 30 access log files of different locations for example:mumbai-access.log, pune-access.log etc..same is the case for 'error' dir 'required' dir and 'debug' dir in /var/log/httpd/

I need to clean up the logfiles in all the 4 directories access, error, debug and required...

I have made a custom logrotate file as follows:

Is the above config correct?

Am I missing something? Will this logrotate the files in /var/log/httpd/access, /var/log/httpd/error, /var/log/httpd/required and /var/log/httpd/error ?

Do i need to include following line in postrotate " /bin/kill -HUP `cat /var/run/httpd.pid 2>/dev/null` 2> /dev/null || true" ?

View 3 Replies View Related

Software :: Logrotate Download Site

Jul 10, 2009

I am looking for a good site to download logrotate for RHEL.

View 1 Replies View Related

Software :: Logrotate Duplicate Log Entry

Jan 1, 2011

having a problem with logrotate. it's complaing about a duplicate log entry but there isn't a duplicate log entry that i can see.

View 4 Replies View Related

CentOS 5 :: Segmentation Faults With Yum, Logrotate, And Others?

Dec 4, 2010

Recently I noticed that on my Centos 5.4 system, yum no longer works and is giving segmentation faults. I can run "yum --help" and it works, but if I try to run something like "yum upgrade php" it will fault. I also noticed that other things are seg faulting as well, like /usr/sbin/logrotate and /usr/bin/certwatch.

I am guessing there is some sort of common library that needs fixing, but I have no idea what. I've read other posts about the yum segmentation fault and have tried various steps provided but so far no luck in getting it to work again. It used to work, and I rarely change this system so I'm not sure what could have caused it.

View 2 Replies View Related

CentOS 5 :: Logrotate And Size Of Log Files

May 18, 2011

I have CentOS 5. From sometime logrotate is not working and maillog for example is very big. It is the same for all logfiles. I run "logrotate -d -f /etc/logrotate.conf" but nothing happened. Cron seams to work as I see it with ps -ef |grep cron

View 2 Replies View Related

General :: Logrotate - Purpose Of Rotate And Postrotate?

Jul 10, 2010

I have been trying out in learning with logrotate command and logrotate configuration file )logrotate.conf custom logfile for an process is 'test.log'

Code:

#cat /etc/logrotate.d/test
/var/log/test.log {
rotate 4

[code]....

whenever the log file (test.log) exceeds 100M a new file will be created with the file name as test.'date'.'gz'(new file is created with a current date and in a compressed format of gz) and also with permission mentioned above). I really dont know what is the role of rotate( will this be carried on only for next 4times i mean upto 400MB; (4times*file reaches 100MB)? and also what could be the purpose of postrotate?

View 5 Replies View Related

Server :: Logrotate For Logs That Change Filenames

Nov 26, 2010

Say that a certain server process generates log files and names them according to the current date; e.g.

server.nov-20.2010.log
server.nov-21.2010.log
server.nov-22.2010.log
server.nov-23.2010.log

i'd like to have logrotate compress the logs that are older than 3 days. Is this possible with logrotate, or do i just schedule a cron job to bzip everything under the folder older than 3 days?

View 1 Replies View Related

Server :: Ubuntu 6.06 Syslog Crashes After Logrotate?

Aug 23, 2010

I have a postfix mailserver that works fine except for the logrotate.

syslog.conf
mail.* -/var/log/mail.log
logrotate.conf
/var/log/mail.log {

[Code]....

So when cron does the logrotate, there is a new logfile but its empty. After i restart the syslogd it gets back to its normal logging.

What am i missing? All this works with CentOS, why is Ubuntu such a pain...

View 3 Replies View Related

Ubuntu Servers :: Lucid Logrotate Apache2 Error?

Apr 26, 2011

My apache2 logs aren't being rotated, I have 1 log nearing 100MB in size.

Error shown below when a logrotate happens on apache2 logs:

Code:
error: other_vhosts_access.log:5381 unknown option 'jack' -- ignoring line
error: other_vhosts_access.log:5381 unexpected text
"jack" is a sub-domain.

View 1 Replies View Related

General :: Logrotate Not Rotating Files With Date Extension?

Oct 25, 2010

I am trying to configure logrotate on APP/DB servers.As per my backup policy,logs will compress in daily basis and and will be moved to a Central storage device.

My tomcat generate several application logs with date extension as well as .log extension.For eg app.log,app.log.2010-10-23-14,catalina.out,catalina.2010-10-25.log etc.

Currently my tomcat logrotation /etc/logrote.d/
#cat /etc/logroate.d/tomcat/
/usr/local/tomcat/logs/*log {

[code]....

But its rotating logs only with .log extension..ie app.log.2010-10-23-14 (with date extension) is not rotating.If i put "*" instead of "*log",its rotating all files including rotated files. How can i rotate files which is having date extension.Also i dont want to keep rotated logs for more than 3 days.

View 1 Replies View Related

Server :: Logrotate For HTTPD Breaks HTTP Sessions

Dec 22, 2010

We started hosting some very large content on our site, and the usage patterns in cacti have revealed that the HTTP sessions through our load-balancers drop off dramatically right at midnight.

The logrotate process runs right at midnight, and issues a reload command through the service tool (CentOS 5.5):
Code:
$ cat /etc/logrotate.d/httpd
/data/websites/logs/*_log /var/log/httpd/*log {
missingok
daily
dateext
compress
rotate 7
sharedscripts
postrotate
/sbin/service httpd reload > /dev/null 2>/dev/null || true
endscript
}

Looking at the init script reveals that the reload section is suppose to trigger a HUP of the httpd process:
Code:
reload() {
echo -n $"Reloading $prog: "
if ! LANG=$HTTPD_LANG $httpd $OPTIONS -t >&/dev/null; then
RETVAL=$?
echo $"not reloading due to configuration syntax error"
failure $"not reloading $httpd due to configuration syntax error"
else
killproc -p ${pidfile} $httpd -HUP
RETVAL=$?
fi
echo
}

In which, Apache should reload it's configuration and start the new logfile without breaking current sessions. However that clearly isn't what is going on. I'm tempted to edit the logrotate script to trigger a HUP directly by cat'ing the PID file directly. Is this normal behavior for Apache when signaled with a HUP?

View 1 Replies View Related

Server :: Logrotate Rotating Daily When Should Rotate Weekly?

Mar 18, 2010

I have an Ubuntu server, and I have a special script on logrotate.d to rotate the samba_audit logs:

/var/log/auditsamba/auditoria.log {
weekly
rotate 12
missingok

[code]....

View 14 Replies View Related

Fedora :: Tools For Maintenance F14?

Jun 10, 2011

any 1 could name some maintaince apps for fedora 14 like ccleaner and disk defragment and avg for win7 are the some usefull maintaince tools ....do linux has a any tool or utility to do maintaince of system to run smoother ?and also how to delete %temp% files ...that are no loonger needed ?

View 2 Replies View Related

Red Hat / Fedora :: Routine Maintenance On RH4?

Feb 8, 2010

I`m still new, curious and overwhelmed with the Rdhat 4 as i`m used to be more on other platform. Anybody can advise the routine maintenance that need to be done on the Redhat 4 server?

View 2 Replies View Related

Ubuntu :: Periodic Maintenance Necessary For System?

Jan 16, 2011

I have just created a periodic maintenance schedule for friends using Windows XP, covering tasks needing to be done weekly, monthly, semi-annually and annually. That set me to wondering what maintenance my Kubuntu system needs. What periodic maintenance do you do?

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved