Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 12th January 2014, 10:24
ahsanmateen ahsanmateen is offline
Junior Member
 
Join Date: Jan 2014
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default cbpolicyd service is not starting

HI Gents,
I have recently installed cbpolicyd on centos 6.5 64-bit. When I start the service it gives me the following error:-

/etc/init.d/cbpolicyd start
Starting cbpolicyd: Can't locate List/MoreUtils.pm in @INC (@INC contains: /usr/local/lib/policyd-2.0 /usr/lib/policyd-2.0 /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /usr/share/perl5/vendor_perl/Config/IniFiles.pm line 14.
BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/Config/IniFiles.pm line 14.
Compilation failed in require at /usr/sbin/cbpolicyd line 32.
BEGIN failed--compilation aborted at /usr/sbin/cbpolicyd line 32.
[FAILED]

Please help me out in this issue.
Reply With Quote
Sponsored Links
  #2  
Old 12th January 2014, 12:20
Croydon Croydon is offline
ISPConfig Developer
 
Join Date: Jul 2007
Location: Koblenz, Germany
Posts: 932
Thanks: 16
Thanked 262 Times in 208 Posts
Default

Seems you are missing the List::MoreUtils perl package.
Search for a package or install it through CPAN.
__________________
Marius Cramer

pixcept KG
Reply With Quote
  #3  
Old 12th January 2014, 14:43
ahsanmateen ahsanmateen is offline
Junior Member
 
Join Date: Jan 2014
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Dear Marius,
Thanks for your help. I have installed List::MoreUtils. But cbpolicyd is still not starting. Now it is giving new error mentioned below:-

/etc/init.d/cbpolicyd start
Starting cbpolicyd: Can't locate cbp/dbilayer.pm in @INC (@INC contains: /usr/local/lib/policyd-2.0 /usr/lib/policyd-2.0 /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /usr/sbin/cbpolicyd line 39.
BEGIN failed--compilation aborted at /usr/sbin/cbpolicyd line 39.
[FAILED]
Reply With Quote
  #4  
Old 12th January 2014, 20:22
ahsanmateen ahsanmateen is offline
Junior Member
 
Join Date: Jan 2014
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Dear All,
After making some changes in /usr/sbin/cbpolicyd, cbpolicyd is started successfully. But I am unable to send any email from postfix. Please see the logs below and help me out:-

tail /var/log/maillog

Jan 13 00:06:29 smtp postfix/smtpd[6100]: connect from unknown[10.16.78.70]
Jan 13 00:06:55 smtppostfix/smtpd[6100]: NOQUEUE: reject: RCPT from unknown[10.16.78.70]: 450 4.7.1 <Ahsan.Mateen@***.com>: Recipient address rejected: Access denied; from=<ahsan@***.net> to=<Ahsan.Mateen@***.com> proto=ESMTP helo=<LHRENG005190L>
Jan 13 00:07:01 smtp postfix/smtpd[6100]: disconnect from unknown[10.16.78.70]

tail /var/log/cbpolicyd.log

[2014/01/13-00:06:55 - 969] [CORE] INFO: Starting "1" children
[2014/01/13-00:06:55 - 1416] [CORE] INFO: 2014/01/13-00:06:55 CONNECT TCP Peer: "[::ffff:127.0.0.1]:49992" Local: "[::ffff:127.0.0.1]:10031"
[2014/01/13-00:06:55 - 1416] [PROTOCOLS/Postfix] DEBUG: Possible Postfix protocol
[2014/01/13-00:06:55 - 1416] [PROTOCOLS/Postfix] INFO: Identified Postfix protocol
[2014/01/13-00:06:55 - 6103] [CORE] DEBUG: Child Preforked (6103)
[2014/01/13-00:06:55 - 6103] [CBPOLICYD] DEBUG: Starting up caching engine
[2014/01/13-00:06:55 - 1416] [TRACKING] ERROR: Failed to select session tracking info: cbp::dblayer:: DBSelect(107): Error executing select: Unknown column 'Timestamp' in 'field list'
[2014/01/13-00:06:55 - 1416] [CBPOLICYD:1416] DEBUG: Error getting session data
[2014/01/13-00:07:25 - 969] [CORE] INFO: Killing "1" children
[2014/01/13-00:07:25 - 1416] [CBPOLICYD] DEBUG: Shutting down caching engine (1416)

Last edited by ahsanmateen; 13th January 2014 at 03:34.
Reply With Quote
  #5  
Old 14th January 2014, 09:17
Croydon Croydon is offline
ISPConfig Developer
 
Join Date: Jul 2007
Location: Koblenz, Germany
Posts: 932
Thanks: 16
Thanked 262 Times in 208 Posts
 
Default

It seems you have not successfully set up cbpolicyd.
The messages say that it is missing columns (ore the complete table) of the cbpolicyd database.
__________________
Marius Cramer

pixcept KG
Reply With Quote
Reply

Bookmarks

Tags
cbpolicyd;postfix;centos

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
haproxy with stunnel problem abubin Server Operation 6 10th April 2012 15:08
Need help with ISPConfig Mail and Squirrelmail m.xander Installation/Configuration 109 3rd February 2012 00:15
ubuntu and nginx delgado2061 Installation/Configuration 0 27th November 2011 23:36
Problem with services!! banzaiwebstudio.com Installation/Configuration 7 19th May 2010 21:13
dns server error Hellbound General 7 2nd August 2007 09:18


All times are GMT +2. The time now is 01:25.


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