Failed To Get Lock File /var/lock/logcheck/logcheck.lock
OK? [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] problem with logcheck[Failed to get lockfile: /var/lock/logcheck.lock] To: email@example.com Subject: problem with logcheck[Failed to get lockfile: /var/lock/logcheck.lock] From: Prashant kumar
why is it misleading? > Solution: > > you must edit the script(!) as logcheck has as security flaw > and tries to place it's lock file under /var/lock/ which is FAQ Forum Quick Links Unanswered Posts New Posts View Forum Leaders FAQ Contact an Admin Forum Community Forum Council FC Agenda Forum Governance Forum Staff Ubuntu Forums Code of Conduct Forum Given below is the mail I get from logcheck whenever it runs. But meanwhile i found others had that problem too. check my site
So the other program is blocked because of an violation of the first program... Trouble? And so you run into the same problems as with "/tmp". >> You must create a directory "logcheck" under /var/lock/ >> >> mkdir /var/lock/logcheck >> chown logcheck:logcheck /var/lock/logcheck >> chmod 755
- Debian distribution maintenance software pp.
- I am nearly sure that there is no lock file in that directory.
- Contact [emailprotected] -- To UNSUBSCRIBE, email to [emailprotected] with a subject of "unsubscribe".
The diff is actually against Debian's 1.2.43a. drwxr-xr-x 2 root root 4096 2004-09-24 12:39 subsys A fresh "sarge" # ls -al /var/lock drwxrwxrwt 4 root root 1024 2005-04-18 23:14 . Full text and rfc822 format available. I think 755 is fine.
I solved it with: dpkg -P logcheck apt-get install logcheck maybe apt-get --purge --reinstall install logcheck works? Full text and rfc822 format available. Message #5 received at firstname.lastname@example.org (full text, mbox, reply): From: Rainer Zocholl
Contact email@example.com Next message: Kevin Mark: "Re: How come packages dont have a homepage field?" Previous message: Adam Funk: "Re: GDM: configuring mouse pointer shape and blanking screen when not in Message #20 received at firstname.lastname@example.org (full text, mbox, reply): From: Todd Troxell
If you have further comments please address them to email@example.com, and the maintainer will reopen the bug report if appropriate. my response but anyway that part is clear. > -------------------------------------------------------------- > > > Maybe it would ease use a lot if "LOCKFILE" is > set in /etc/logcheck/logcheck.conf too? Acknowledgement sent to Todd Troxell
I think that is a very "unwanted behavior". http://1pxcare.com/failed-to/vmware-view-failed-to-lock-the-file.html Contact [EMAIL PROTECTED] Re: Logcheck error: Failed to get lockfile: /var/lock/logcheck/logcheck.lock 2005-06-24 Thread Adam Funk Michal Sedlak wrote: Thank fou for response. Full text and rfc822 format available. Tags added: pending Request was from xtat
Full text and rfc822 format available. Notification sent to Rainer Zocholl
Contact [EMAIL PROTECTED] Logcheck error: Failed to get lockfile: /var/lock/logcheck/logcheck.lock 2005-06-21 Thread Michal Sedlak Hello I have problem with logcheck logchceck sends me this error message: Failed to get lockfile: /var/lock/logcheck/logcheck.lock The results of the first programs are random! Any help , TIA.
How is it related to the "declares" below?
Yamamoto -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Thanks for your report. Feb 2009 logcheck Ein kleiner Test zeigt: # su -s /bin/bash -c "/usr/sbin/logcheck" logcheck ...im darauf versendeten Email: Subject: DenyHosts Report Es funktioniert!Tagged: Debian Lenny Linux Tools Ă„hnliche Artikel:IBM / Lenovo I am nearly sure that there is no lock file in that directory.
Maybe that's a wanted side effect! (But with logcheck?) How does "lock"-check reacts when it finds a lockfile not owned by the current user? nb: I've just tested this, and it's possible to disrupt logcheck runs. Trouble? his comment is here I hope if becomes more clear why it is better to created directories owned by teh "non root" lockers, and it is no good to use the sticky bit feature?
vBulletin ©2000 - 2017, Jelsoft Enterprises Ltd. Here it is on my system (on which logcheck works). $ ls -ld /var/lock/logcheck/ drwxr-xr-x 2 logcheck logcheck 4096 2005-06-24 09:02 /var/lock/logcheck/ By the way, you should learn to format your maks: * Generalise postfix rule concerning network_biopair_interop. * Add rule for ntp message about valid/infalid peers. (Closes #303661) * Improve rules .PHONY target + add checkpo rule for the translation check. Is that a bug or a feature?
Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Presumably the lock directory is now purged at startup, though I don't know what's changed. Contact [EMAIL PROTECTED] Re: Logcheck error: Failed to get lockfile: /var/lock/logcheck/logcheck.lock 2005-06-23 Thread Michal Sedlak Thank fou for response.