Error Stat Of /var/account/pacct Failed
Contents |
Format For Printing -XML -Clone This Bug -Last Comment First Last logrotate error opening permission denied Prev Next This bug is not in your last error error creating unique temp file permission denied logrotate search results. Bug223728 - psacct logrotate file looks for non existant directory. Summary: psacct logrotate file logrotate error creating unique temp file: permission denied looks for non existant directory. Status: CLOSED RAWHIDE Aliases: None Product: Fedora Classification: Fedora Component: psacct (Show other bugs) Sub Component: --- Version: 6 Hardware: i386 error creating output file /var/lib/logrotate/status.tmp: permission denied Linux Priority medium Severity medium TargetMilestone: --- TargetRelease: --- Assigned To: Ivana Varekova QA Contact: Docs Contact: URL: Whiteboard: Keywords: Depends On: Blocks: Show dependency tree /graph Reported: 2007-01-21 19:33 EST by Jerry Williams Modified: 2007-11-30 17:11 EST (History) CC List: 0 users See Also: Fixed In Version: Doc Type:
Logrotate Failed To Rename Permission Denied
Bug Fix Doc Text: Story Points: --- Clone Of: Environment: Last Closed: 2007-01-23 04:42:16 EST Type: --- Regression: --- Mount Type: --- Documentation: --- CRM: Verified Versions: Category: --- oVirt Team: --- RHEL 7.3 requirements from Atomic Host: Cloudforms Team: --- Attachments (Terms of Use) Add an attachment (proposed patch, testcase, etc.) Groups: None (edit) Description Jerry Williams 2007-01-21 19:33:19 EST From Bugzilla Helper: User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; (R1 1.1); .NET CLR 1.1.4322; FDM; .NET CLR 2.0.50727) Description of problem: Running psacct-6.3.2-42.fc7 and logrotate-3.7.4-10.fc7. Getting email Subject: Anacron job for 'localhost' cron.daily /etc/cron.daily/logrotate: Error: stat of /var/account/pacct failed: No such file or directory Looks like /etc/logrotate.d/psacct belongs to the psacct package. So if /etc/logrotate.d/psacct is going to look for /var/account/pacct, them maybe the packages should create the directory. Version-Release number of selected component (if applicable): psacct-6.3.2-42.fc7 How reproducible: Always Steps to Reproduce: 1.installed new OS 2.receive email about th
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of
Selinux Logrotate
this site About Us Learn more about Stack Overflow the company Business selinux allow logrotate Learn more about hiring developers or posting ads with us Unix & Linux Questions Tags Users Badges Unanswered Ask Question logrotate status permission denied _ Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute: Sign up Here's https://bugzilla.redhat.com/show_bug.cgi?id=223728 how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Error stat of log failed: Permission denied during LogRotation up vote 2 down vote favorite After installing a new CentOS 6.0 server, logrotate was working absolutely fine. Then one day due to a kernel panic, the server had to be hard booted, and http://unix.stackexchange.com/questions/120793/error-stat-of-log-failed-permission-denied-during-logrotation ever since log rotation is not rotating the logs. So I did a separate cron entry to rotate logs manually and forcefully and redirected the output to a log file, and got the following lines for each file: rotating pattern: /home/mail3/log/popMailProcessing.log forced from command line (60 rotations) empty log files are rotated, old logs are removed considering log /home/mail3/log/popMailProcessing.log error: stat of /home/mail3/log/popMailProcessing.log failed: Permission denied However, if I do a logrotation manually from command line, it works flawlessly. The command I use on command line is: logrotate -v -f /etc/logrotate.d/mail3-logs My logrotate.conf file can be seen here. The log rotation file which logrotate uses via cron job can be seen here. My crontab entry is: 03 00 * * * root /usr/sbin/logrotate -f -v /etc/logrotate.d/mail3-logs &>> /var/log/logrotate/rotate.log SELinux is enforcing, and it was enforcing prior to the hard boot too. The directory where the logs are kept have the root as their owner and directory has complete permissions. Any clue what is causing the permission denied error? logrotate share|improve this question edited Mar 21 '14 at 18:39 asked Mar 21 '14 at 15:12 Gautam Somani 12918 add a comment| 3 A
Plans & Pricing Partners Support Resources Preview Forums Forums Quick Links Search Forums New Posts Search titles only Posted by Member: Separate names with a comma. Newer https://forums.cpanel.net/threads/cron-failing.210502/ Than: Search this thread only Search this forum only Display results as threads More... Useful Searches Recent Posts Resources Resources Quick Links Search Resources Most Active Authors Latest Reviews Feature Requests Defects Menu Log in Sign up The Community Forums Interact with an entire community of cPanel & WHM users! cPanel Forums > cPanel & WHM® (for Linux® Servers) > General Discussion > permission denied This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More. Cron Failing Discussion in 'General Discussion' started by DreamPhysix, May 20, 2011. DreamPhysix Well-Known Member Joined: Sep 30, 2009 Messages: 78 Likes Received: 0 Trophy Points: 6 Ever since recently, my cron has been failing and the cpanel emails tell me: /etc/cron.daily/logrotate: error: error creating unique stat of /var/account/pacct failed: No such file or directory what can i do to resolve this? also, unrelated, when i log into an account over SSH, it always creates a perl5 folder in ~, but when I remove local::lib, i get an error instead. please advise on both issues if possible #1 DreamPhysix, May 20, 2011 cPanelMichael Forums Analyst Staff Member Joined: Apr 11, 2011 Messages: 29,620 Likes Received: 547 Trophy Points: 113 cPanel Access Level: Root Administrator Hello Could you post the contents of the cron file: Code: # cat /etc/cron.daily/logrotate I have moved the SSH issue into to it's own thread for you: Perl5 Folder When Logging in via SSH Thank you. • Effective Feedback with the "Like" Button • Knowledge Base • Documentation • cPanel University • Trending Feature Requests • cPanel 58 Release Notes • Forum Thread Submission Guidelines • Support Ticket Submission Guidelines • Open a Support Ticket • Open A Feature Request #2 cPanelMichael, May 23, 2011 (You must log in or sign up to post here.) Show Ignored Content Loading... Similar Threads - Cron Failing failing cron job deli