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"
Lately I have been receiving this in my auth.log file. It seems to be repeating over and over, and I didn't know if was anything normal or something I should be worried about...
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)"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 !
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.
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?
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?
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 ?
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.
I manually rotated my catalina.out file, and now the file jumps to 30+Mb and when I try to view it, less tells me it might be a binary file. It sure appears to have binary data in it, about 30meg of it.
I did the rotate via a copy: copy catalina.out to another file cat /dev/null > catalina.out
I have tried using echo: echo "" > catalina.out ...also with the same result.
This application isn't something I can just bounce when necessary. It kind of appears that the original file is still there - sort of. But is it not readable text anymore.
SunOS 5.10 tomcat 5.5.26 (version required by app vendor)
I want to configure NTLM for my Apache webserver, so that it uses active directory login credentials. Additional info : my listen port will be 82 (http://xxxx.com:82)
I'm currently using Fedora 13 x64 and have noticed a strange problem with my wireless.
At random intervals it will disconnect, be it 5 minutes or 3 hours and then it will not re-auth no matter how long I leave it. The wireless is running WPA/WPA2, With TKIP/AES encryption. The router only supports b/g and the Wireless NIC is only b/g.
Not sure what driver/software it is using. I noticed I do have wpa_supplicant installed but there doesnt seems to be much happening in /etc/wpa_supplicant/wpa_supplicant.conf apart from the below.
Code: [daniel@Enterprise ~]$ su -c 'cat /etc/wpa_supplicant/wpa_supplicant.conf' Password: ctrl_interface=/var/run/wpa_supplicant ctrl_interface_group=wheel
I need to make a bash scripting, based on a password and a user,that connect to pop3 server and see if it login,if you can,return ok, otherwise return ERR .
I configured ssh on one of my servers to require public/private key authentication and deny access to login requests not using a public/private key. Now I need to unconfigure that,but I can't remember how I did it. I've looked through ssh_config and sshd_config, and nothing rings a bell. Googling only tells me how to enable public/private key authentication, not how to require it or stop requiring it.
I'm hoping someone here can help, as I've been beating my head on the wall for a week now with little advancement. I've found a number of tutorials on setting this up, however none of them have gotten me 100% of the way there. Here's my situation: home-based Fedora server (Core 8), running sendmail 8.14.2-1. Connecting to hosting company's smtp server over port 587, to bypass Verizon's blocking of port 25.
My /etc/mail/sendmail.mc file looks like this (comment lines removed):Quote:
I would like to ask:How do I setup LDAP auth of users/groups on Debian 5.0?Is it using LDAP Migration tools? Can be done differently? Using different tool? Some nice tootorial?Some up to date book for LDAP or I need to dig in openldap.org?I'm learning by book which is a lil bit older so Im bit confused.
I have a CentOS 5 box that is a web server. When it generates emails, all emails should go out through our Exchange mail server.I believe our Exchange server requires NTLM authentication:
I am actually modifying someone else's script and The original script rotated image files to the left but it changed the "modified date stamp" which is something I didn't want.
I'm hoping someone can help me out.I made configurations changes to/etc/pam.d/system-auth and /etc/pam.d/login. When these files are configured the way they are, I can't login and/or I can't login in the GUI interface and a terminal. Contents of /etc/pam.d/login
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?
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)
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.
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
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
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