LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices

Reply
 
Search this Thread
Old 09-07-2004, 06:08 PM   #1
kalahari875
Member
 
Registered: Apr 2004
Distribution: Kubuntu 6.06 (Dapper)
Posts: 32

Rep: Reputation: 15
cron.daily reporting a squidGuard config problem


Hello,

I finally got Postfix configured to forward email from my Mandrake 10 Linux firewall to an email address I actually read, and now I get a daily email (below) from cron talking about a misconfiguration with squidGuard:

Subject: Cron <root@linuxbox> nice -n 19 run-parts /etc/cron.daily
X-Cron-Env: <SHELL=/bin/bash>
X-Cron-Env: <PATH=/sbin:/bin:/usr/sbin:/usr/bin>
X-Cron-Env: <MAILTO=test@example.com>
X-Cron-Env: <HOME=/>
X-Cron-Env: <LOGNAME=root>
Message-Id: <20040907081838.611D99DBD@linuxbox.mydomain.org>
Date: Tue, 7 Sep 2004 04:18:38 -0400 (EDT)
X-pstn-levels: (S: 5.78364/99.14390 P:95.9108 )
X-pstn-settings: 3 (1.0000:1.0000) s gt3 gt2 gt1 p
X-pstn-addresses: from <test@example.com> forward (org good) [73/4]

error: squidGuard:17 unknown option 'A' -- ignoring line


Does anyone know how to fix this? I have looked at /etc/squid/squid.conf and didn't see anything. I searched the entire filesystem for a squidGuard.conf and found only the sample in /etc/squid (I am not running either squid or squidGuard).

Thanks in advance!
 
Old 09-08-2004, 07:59 PM   #2
edcutis
Member
 
Registered: Jun 2003
Location: USA, Missouri
Distribution: mandriva , Kubuntu, MEPIS
Posts: 140

Rep: Reputation: 15
hmm, if you really are not using squid and squidguard, then open the MCC (mandrake control center), system, services, and turn off the service you don't need.

I'm not sure which version of the Drake you are using, so I'm assuming it is 10.something.

Sometimes these things get installed and turned on during installation, and you don't even realize they are happily or grumpily running in the background. wasting your cpu cycles from more important things, like Tux Racer!
 
Old 09-08-2004, 09:09 PM   #3
kalahari875
Member
 
Registered: Apr 2004
Distribution: Kubuntu 6.06 (Dapper)
Posts: 32

Original Poster
Rep: Reputation: 15
Unhappy

Thanks for your reply. It is Mandrake 10. I had already stopped squid in the Services panel some time ago (it was interfering with logging into sites with integrated Windows authentication). I never configured or used squidGuard, and it does not appear in the Services panel to stop.

I'd be happy to correct whatever configuration setting the cron job is complaining about, but I have no idea what it could be. Any thoughts?

Thanks again.
 
Old 10-03-2004, 11:14 AM   #4
kalahari875
Member
 
Registered: Apr 2004
Distribution: Kubuntu 6.06 (Dapper)
Posts: 32

Original Poster
Rep: Reputation: 15
Finally found this--the output was coming from cron's run of logrotate. In /etc/logrotate.d/squidGuard was the following text:

/var/log/squidGuard/advertising.log {
weekly
rotate 5
copytruncate
compress
notifempty
missingok
A
}

Not sure how the 'A' got in there, but it was the cause of the error.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem With Script in cron.daily fizbang Linux - Newbie 10 03-21-2005 10:23 AM
cron.daily question ralvy Slackware 6 12-09-2004 10:55 PM
crontab vs cron.daily ? SheldonPlankton Linux - Newbie 1 07-16-2004 12:10 PM
cron.daily MrJoshua Linux - General 2 03-19-2003 12:09 PM
dual entries in cron log for cron.daily cpharvey Linux - General 3 02-27-2003 02:30 PM


All times are GMT -5. The time now is 11:17 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration