Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 15th January 2007, 20:30
pier17 pier17 is offline
Junior Member
 
Join Date: Jan 2007
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default postfix configuration error! any idea?

hi all,

I am installing postfix by taking the steps in the howtos "Postfix Spam Filter using Ubuntu Dapper, MailScanner, SpamAssassin, Razor, Pyzor, DCC and ClamAV"

but at the end I have an error when I installed MRTG mail scanner;

root@smtp-gw:/# env LANG=C /usr/bin/mrtg /etc/mailscanner-mrtg.cfg
ERROR: Creating templock /var/lock/mrtg/_etc_mailscanner-mrtg.cfg_l_3802: No such file or directory at /usr/bin/mrtg line 1645.

do you have any idea How can I fix it?

thx in advance..
Reply With Quote
Sponsored Links
  #2  
Old 16th January 2007, 15:44
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Does the directory /var/lock/mrtg exist?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 16th January 2007, 17:28
pier17 pier17 is offline
Junior Member
 
Join Date: Jan 2007
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Unhappy

no there is no mrtg in /var/lock ...there is only apache2 in that directory...

Last edited by pier17; 16th January 2007 at 17:32.
Reply With Quote
  #4  
Old 17th January 2007, 19:19
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Run
Code:
mkdir /var/lock/mrtg
and try again.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 17th January 2007, 22:16
pier17 pier17 is offline
Junior Member
 
Join Date: Jan 2007
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi ,

thank you for relply,

I created directory /var/lock.mrtg

but this time it gives the error;

root@smtp-gw:/# env LANG=C /usr/bin/mrtg /etc/mailscanner-mrtg.cfg
ERROR: I guess another mrtg is running. A lockfile (/var/lock/mrtg/_etc_mailscanner-mrtg.cfg_l) aged
11 seconds is hanging around. If you are sure that no other mrtg
is running you can remove the lockfile

also in the logs I get;

>>smtp-gw MailScanner-MRTG[5403]: ERROR: iptraffic counters not fully initialised - no iptraffic data on this run. This is normal on the first run, or when the previous run was more than 5 minutes ago (e.g. when rebooting). If these errors persist over multiple runs please check that snmpd is running on your system. If you don't want to run snmp please ensure that you have disabled it in mailscanner-mrtg.conf. For more hints about snmp see README.SNMP in the docs directory

what should I do ?
Reply With Quote
  #6  
Old 18th January 2007, 20:58
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
 
Default

Quote:
Originally Posted by pier17
but this time it gives the error;

root@smtp-gw:/# env LANG=C /usr/bin/mrtg /etc/mailscanner-mrtg.cfg
ERROR: I guess another mrtg is running. A lockfile (/var/lock/mrtg/_etc_mailscanner-mrtg.cfg_l) aged
11 seconds is hanging around. If you are sure that no other mrtg
is running you can remove the lockfile
It seems another mrtg process is already running.
I'd do a reboot and see if the problem comes up again.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix Configuration Problem Shahryar Installation/Configuration 1 8th December 2006 15:19
Centos 4.4 32bit Hangs, High Server load 3cwired_com Server Operation 11 16th November 2006 15:47
Postfix Configuration Help asyadiqin Installation/Configuration 1 14th November 2006 11:00
Verify email setup meekish Installation/Configuration 28 27th October 2006 15:36
Postfix Installation and Configuration akomaoako2k Installation/Configuration 1 31st July 2006 09:08


All times are GMT +2. The time now is 18:33.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.