CentOS 5 Server :: How To Do A Log Rotate

May 20, 2009

how to do a log rotate. i want to keep just a months worth of logs on my centos 4.7 server.

View 1 Replies


ADVERTISEMENT

Fedora :: Rotate The Pen When Rotate The Screen?

Sep 7, 2009

how can I rotate the pen when I rotate the screen, and I would like to share this knowledge to other people who may have the same problem I had.

I have a tablet fujitsu-siemens t5010 with installed the wacum packages by default, and the pen was working, but couldn't rotate with xsetwacom command.

In Fedora 10, most guides refer to the wacom device as "stylus" which doesn't work on Fedora 11. I run command " $ xinput list " and I found the line

"PnP Device (FUJ02e5) eraser"id=3[XExtensionKeyboard]

and some lines before there is:

"PnP Device (FUJ02e5)"id=2[XExtensionKeyboard]
^^^^^^ this is the name of the device xsetwacom command needs! ^^^^^^^

I wrote first the line with the eraser cause I suppose that even someone has different wacom model, the eraser will be easy to find by grep command ( $ xinput list | grep -i eraser ), and common in most configures.

now , the edited script I use becomes like this:

#!/bin/sh
if [ $1 == 'normal' ]
then
xrandr -o normal
xsetwacom set "PnP Device (FUJ02e5)" rotate 0

[Code].....

It would be awesome if it chat could happened automatically , simply by rotating the screen, like it happens on Vista. I'll try to find out any solution and update this post if I make it !

View 1 Replies View Related

CentOS 5 :: Options For Rotate And Timeout In Resolv.conf Do Not Work?

Sep 3, 2009

I'm trying to get the options for rotate timeout to work and it does not.Timeout always seems to defaults to 1 sec no mater what value I set it to, which is fine but still the option does not work.I'm setting these according to the manpage for resolv.conf, please Let me know if I'm missing somethingHere is my resolv.conf file

domain spd.net
options timeout:1
options rotate

[code]....

View 1 Replies View Related

Server :: Rotate Outgoing Ips On Squid?

May 26, 2010

m using Squid 3 for web cache and i want to use multiple outgoing ip addresses. Not 1 ip for 1 client, i want to rotate several outgoing ip addresses to the same client.

Client A --> outgoing IP A
next conection
Client A --> outgoing IP B
and so on

View 8 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

Ubuntu :: Rotate One Of Two Monitors?

Feb 11, 2011

I have one Dell Ultrasharp U3011 (30", 2560x1600) and one Dell Ultrasharp 2007FP (20", 1600x1200)

When the 2007FP is in landscape mode it matches nearly perfectly in height both pixel and physically wise to the U3011.

See my example picture from my Win 7 dual boot below:

Two Monitors? Ridiculous... by mattlach, on Flickr

The only way I was able to get this to work in Ubuntu was to run two separate X desktops and rotate the 2007FP manually in xorg.conf, and then join them by enabling Xinerama.

Two problems with this solution.

1.) Xinerama is deprecated in favor of Xrandr which I have not been able to make do this.

2.) When using Xinerama Compiz/XGL is disabled, making the desktop feel awfully flat.

Is there any way to avoid this? Is there any way to rotate just one of your displays and maintain Compiz/XGL functionality?

This is on the top computer in my signature.

View 8 Replies View Related

General :: How To Rotate Auth.log

Mar 2, 2010

I have a problem with the logrotate of auth.log, it is not working. I tried using 'kill -HUP `cat /var/run/sshd.pid`'. This restarts sshd but does not create a new auth.log. Also tried "/etc/etc/init.d/ssh restart" and "/etc/init.d/ssh reload"

View 3 Replies View Related

Fedora :: Ghostscript Rotate PDF Page?

Mar 22, 2010

I have a PDF document that I need to rotate page through 180 degrees.

Can anyone tell me if Ghostscript can do this and if so how?

I've gone through the documentation and can't seem to find anyting on it nor Google

View 1 Replies View Related

Ubuntu :: Compiz Cube Rotate Up And Down?

Apr 16, 2010

I've recently enabled the fun stuff with compiz but I've run into a sort of problem... I want 9 desktops in a 3x3 grid (yeah, weird I know) but if I'm using the cube I can only rotate left and right... which is pretty weak sauce. Is there any way to (preferred) have desktops on the top and bottom of the cube and be able to bind a key combo to rotate up and down (ctrl-alt-up/down)? I *could* put 9 desktops in a row, but I really don't like that solution - it takes too many flips to make it from one desktop to another.

Compiz is all full of beautiful (especially burning the windows on close)

View 9 Replies View Related

Ubuntu :: Rotate Crystal / Molecules 3D?

Sep 25, 2010

I am looking for a wait to check in 3D a molecule of a crystal, and would be looking for a such 3D viewer than could rotate them:

[URL]

What would be the best suited prog?

View 1 Replies View Related

Ubuntu :: Can't Rotate Compiz Cube

Feb 23, 2011

I use the hotkey ctrl+alt+left click in Blender to zoom object... So I didn't want Compiz to use the same key to move around the cube. I changed a setting in window move, and either the old or the new key works.
New is alt+1 but it does nothing, same with ctrl+alt+left click. Also, I want the move around hotkey to be something like super+m or ctrl+m etc.

View 4 Replies View Related

Ubuntu Multimedia :: How To Rotate The Console

Jul 8, 2011

ubuntu 11.04. How do you rotate the console?

View 9 Replies View Related

General :: Shrink And Manually Rotate Log?

Sep 16, 2009

My AWSTATS is not updating correctly. Upon closer look I noticed that the access_log file is already >300MB. logrotate was not running. Now I have enabled log rotate. However, it's not touching this existing access_log file. Is there a way for me to manually split and rotate this file into 3 100MB files, access_log.1 access_log.2 and access_log.3? I tried running logrotate (logrotate /home/user/httpd/access_log) from console and it's throwing Segmentation fault.

View 9 Replies View Related

General :: How To Rotate Image On GIMP?

May 8, 2011

Could someone tell me how to rotate an image on GIMP? Now You can rotate it 90 180 etc but I would like to rotate the image to level the shot.

View 6 Replies View Related

Ubuntu :: Copy A Portion Of Previous Log To New Log After Rotate?

Jul 12, 2010

I have installed fail2ban and it is working great. It is monitoring the auth.log and it's own log. Now here is my question... Every week, my log files rotate, which is just fine for the most part. But this also rotates the fail2ban log and removes any chance of catching a repeated IP from Sunday to Monday. Is it possible to copy a portion of the previous log to the new log?Here is my scenario of what I would like to accomplish, but I am a novice here so please be specific..

logrotate does its job as expected... then a script writes a portion of the previous log to the new log then appends a word/number after that portion (we call this log.1)...next time the log rotates (creating log.2), I want to take the portion of log.1 after the word/number and append it to log.2 along with another word/numberThis will always ensure there is at least 1 week backlog in the logs for fail2ban to track. I don't want to just change the frequency of the log-roll because it doesn't solve the issue of tracking across the log roll

View 9 Replies View Related

Ubuntu :: Screen Goes Dark On Cube Rotate?

Dec 22, 2010

Just installed 11.04 (Natty). Graphics card is Radeon 9200When I enable Cube in the compizconfig settings manager and rotate the cube, the cube goes almost black. This happens with both drag and keyboard rotate. The background is fine. Everything is defaults and no other effects are enabled.Also, the entire screen goes dark when "opacity when not rotating" is set to anything but 100%.This worked fine with with my previous version 8.04, though I think it used a proprietary driver.Questions:Should I be using a proprietary driver this card? Apparently you have to install a long list of packages first: XFree86-Mesa-libGL libstdc++ libgcc XFree86-libs fontconfig expat freetype zlib

View 1 Replies View Related

Ubuntu Multimedia :: Way To Rotate Video File

Jun 15, 2011

I have two video files taken with my phone, but unfortunately they are on their sides.

I was messing around with vlc, and found in the filters option menu, a setting to rotate the video 90 degrees, which is just what I was looking for.... BUT it won't let me save this (I guess you have to re-encode the whole file)

What is the easiest way to rotate video files (.3gp) and keep it in that state, without losing loads of quality?

View 2 Replies View Related

Ubuntu :: Rotate Desktop With Wheel On Mouse?

Jan 23, 2010

I've always turned/switched desktop by rotating the wheel on the mouse.ut suddenly it won't work. Where can I turn it on again

View 1 Replies View Related

General :: MySQL Slow Query Log Rotate ?

Jan 17, 2011

I am on a CentOS 64 bit and used webmin to rotate MySQL slow query log. Now the thing is although logs are being rotated daily but the new log files being created are empty which means MySQL is unable to write them due to some reason. I have checked using "ls -l" that both permission and owner of files is same but still MySQL is not writing logs. What could be the reason?

View 10 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

General :: Rotate Logfiles Multiple Times A Day

Mar 13, 2011

how can I rotate logfiles multiple times a day? I notice that the configuration for the logrotate-command is hourly, daily, weekly,.I notice that I can create a cron job where I specify the different times the log rotation need to be done:15 0,8,12,17 * * *But how do I combine these two ?

View 7 Replies View Related

CentOS 5 Server :: Compiling Error Mod_ruby-1.3.0 On Centos 5.3 Server (with Howtoforg)?

Jun 1, 2009

I have a problem with compiling of mod_ruby-1.3.0 After a succesfull configure i get a error in the make, it say "make: *** [apachelib.o] error 1" . Here below you can find the results of de configuring and the make.I was following the roles in Howtoforge " The perfect server - Centos 5.3" everything goes perfect till mod_ruby-1.3.0

./configure.rb --with-apr-includes=/usr/include/apr-1
checking for a BSD compatible install... /usr/bin/install -c
checking whether we are using gcc... yes

[code]....

View 7 Replies View Related

CentOS 5 Server :: Join Windows Server 2003 To CentOS 5 Cluster?

Jul 26, 2010

is it possible to join Windows Server 2003 to CentOS 5 Cluster?

View 1 Replies View Related

CentOS 5 Server :: Reboot The Server With Centos 5.5 The SMB Deamon Doesn't Start?

Feb 22, 2011

when I reboot the server with centos 5.5 the SMB deamon doesn't start?

View 2 Replies View Related

Debian Multimedia :: Way To Rotate Videos But Preserve Quality

May 17, 2015

i am trying to rotate some mp4 videos taken from my mobile phone. i do need to rotate them by 90 degrees.i have tried mencoder VIDEO0029.mp4 -o output.mp4 -vf rotate=1 -oac pcm copy -ovc lavc but it drops the quality A LOT.is there a way to rotate the videos but preserve the quality?

View 5 Replies View Related

OpenSUSE :: Kde Slideshow Screensaver Doesn't Rotate Images

Jul 31, 2010

I think it is very annoying, that kde slideshow screensaver does not rotate images according to the jpeg exif information. I've found a bug report from 2005 for this topic Bug 103282 - no exif-rotation in slideshow) but as far as I see it still does not work. Any idea how can I set up kde to rotate the images?

View 1 Replies View Related

General :: Cannot Configure Second Monitor To Rotate 90' In KDE With Karmic Koala?

Aug 30, 2010

I could not keep this question from turning into a wall of text so I broke it up into these 4 sections.I have 2 monitors (DELL E228WFP and a DELL 2007FP) hooked up to a EVGA E-GEFORCE 8800GT 600MHZ 512MB 1.8GHZ DDR3 PCI-E Dual DVI-I video card. I would like to have the DELL 2007FP set up to the left of the DELL E228WFP and rotated into "portrait" mode^ with both screens sharing a common bottom edge.

This is ideal for reading PDF documentation or papers on one screen and then working on the second one.Steps Undertaken I installed the NVidia drivers (via sudo apt-get install nvidia-current) rebooted ran nvidia-xconfig then ran nvidia-settings. However, like many people, I could not get nvidia-settings to write to my config file despite having run it with kdesudo. Instead, I opened the file with Kate (using KDESudo) and then used the preview from nvidia-settings and just copy pasted it into the file and saved it like that. if I use TwinView I have both monitors working, but when I try to use krandrtray to rotate one of them, it is shown as one large monitor so I cannot rotate just the one I want rotated.However, if I set them up as separate X windows the second one is black and krandrtray only shows the main monitor. I am at a loss of what to try next.

View 1 Replies View Related

Ubuntu :: Cannot Rotate Cube With Mouse Wheel Since 9.10 Upgrade

Jan 7, 2010

Everything worked fine with Jaunty 9.04, but I haven't had any luck getting the "cube" to rotate using the mouse wheel since I upgraded to Karmic 9.10. The other ways to rotate the cube still work with karmic. Note that I upgraded from jaunty to karmic...not a clean install. Viewport switcher and rotate cube are both enabled.

View 8 Replies View Related

Ubuntu :: Compiz Rotate Cube Option - 360 Degrees

Feb 12, 2010

I used OpenSUSE today and in one of the options for Rotate Cube (in compiz) was something that let me adjust to what angle I could allow the cube to go up and down. If I set it to 360 degrees, I was able to rotate the cube in any which direction I pleased. Can I do this on Ubuntu?

View 6 Replies View Related

Ubuntu :: Rotate Cube With Mouse Scroll (Karmic)

Mar 17, 2010

I just switched from Jaunty to Karmic, and in the process of setting up desktop effects, I'm having a hard time with configuring the rotate cube compiz effect. Before, I was able to scroll on the desktop (ie, not over a window/application) to spin the cube to the next face. Now, it seems that I either have to use keyboard shortcuts or lose the ability to scroll in applications.

I've tried enabling the mouse scrolling to button 4/button 5 a la this post, but this doesn't fix the problem. This is one of the few desktop effects that really made a difference in terms of convenience, so I'd really like to be able to fix this setting.

View 4 Replies View Related







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