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 22nd February 2011, 12:39
normanu normanu is offline
Junior Member
 
Join Date: May 2008
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default Spamsnake Baruwa - Howto upgrade?

The new version of Baruwa is out version 1.0.2
As there are still some functions broken in the 1.0.1 I'd like to upgrade.
But in the howto custom versions where included so just doing a dpkg -i doesn't work with the new packages.

How can I upgrade to the newest version ?


And question 2, the fuzzy-cleanmysql cronjob doesn't work it gives a 100% cpu load but does nothing and keeps running forever until you kill it.
All configuration parameters where entered correctly.

Anyone having it working ?
Reply With Quote
Sponsored Links
  #2  
Old 22nd February 2011, 13:44
itsnedkeren itsnedkeren is offline
Senior Member
 
Join Date: May 2009
Location: Denmark
Posts: 128
Thanks: 32
Thanked 10 Times in 10 Posts
Default

I would also like to know howto upgrade Baruwa to the latest version

Regarding the /usr/sbin/fuzzy-cleanmysql script, I'm also having 100% cpu usage and it doesn't seem to complete it.
__________________
Best regards

Jim
Reply With Quote
  #3  
Old 22nd February 2011, 19:25
itsnedkeren itsnedkeren is offline
Senior Member
 
Join Date: May 2009
Location: Denmark
Posts: 128
Thanks: 32
Thanked 10 Times in 10 Posts
Default

Are these the packages you're trying to use?

http://topdog-software.com/oss/baruwa/1.0.2/deb/
__________________
Best regards

Jim
Reply With Quote
  #4  
Old 22nd February 2011, 19:30
normanu normanu is offline
Junior Member
 
Join Date: May 2008
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

yes that are the ones.....
Reply With Quote
  #5  
Old 22nd February 2011, 19:55
itsnedkeren itsnedkeren is offline
Senior Member
 
Join Date: May 2009
Location: Denmark
Posts: 128
Thanks: 32
Thanked 10 Times in 10 Posts
Default

Quote:
Originally Posted by normanu View Post
yes that are the ones.....
Cool, I'll snapshot my server and try to install.
__________________
Best regards

Jim
Reply With Quote
  #6  
Old 22nd February 2011, 20:24
itsnedkeren itsnedkeren is offline
Senior Member
 
Join Date: May 2009
Location: Denmark
Posts: 128
Thanks: 32
Thanked 10 Times in 10 Posts
Default

Quote:
Originally Posted by itsnedkeren View Post
Cool, I'll snapshot my server and try to install.

That didn't work, no

We'll have to wait for the experts on this one!
__________________
Best regards

Jim
Reply With Quote
  #7  
Old 22nd February 2011, 21:05
itsnedkeren itsnedkeren is offline
Senior Member
 
Join Date: May 2009
Location: Denmark
Posts: 128
Thanks: 32
Thanked 10 Times in 10 Posts
Default

I think I have the recipe now

Prerequisites:

1) Backup /usr/share/pyshared/baruwa/settings.py
2) Follow below

#cd /usr/src
#rm baruwa-doc_1.0.1-1_all.deb baruwa_1.0.1-1_all.deb
# wget http://topdog-software.com/oss/baruw....0.2-1_all.deb
#wget http://topdog-software.com/oss/baruw....0.2-1_all.deb
#gdebi baruwa*.deb <- SELECT NO TO DATABASE CONFIG!!
#reboot
#cd /usr/src/
#ln -s /opt/MailScanner-4.81.4-1/ /opt/MailScanner
#./mailscanner.sh
#/etc/init.d/mailscanner start
#/etc/init.d/postfix start

3) Copy your backed up "settings.py" to /usr/share/pyshared/baruwa

4) Reboot (might not be neccesary)

5) Profit?

Disclaimer: This worked for me, but I do NOT guarantee it will work for you!

EDIT: Functions such as deleting an "Auth server" from a domain, still causes errors, but the AJAX errors seems to be solved.
Code:
AttributeError at /settings/auth/2/delete/

'NoneType' object has no attribute 'widget'

Request Method: 	POST
Request URL: 	http://mailgw.domain.tld/settings/auth/2/delete/
Django Version: 	1.2.3
Exception Type: 	AttributeError
Exception Value: 	

'NoneType' object has no attribute 'widget'

Exception Location: 	/usr/lib/pymodules/python2.6/django/forms/forms.py in _clean_fields, line 278
Python Executable: 	
Python Version: 	2.6.6
Python Path: 	['.', '', '/usr/lib/python2.6', '/usr/lib/python2.6/plat-linux2', '/usr/lib/python2.6/lib-tk', '/usr/lib/python2.6/lib-old', '/usr/lib/python2.6/lib-dynload', '/usr/local/lib/python2.6/dist-packages', '/usr/lib/python2.6/dist-packages', '/usr/lib/python2.6/dist-packages/PIL', '/usr/lib/pymodules/python2.6', '/usr/lib/pymodules/python2.6/gtk-2.0']
Server time: 	Tue, 22 Feb 2011 15:13:49 -0500
__________________
Best regards

Jim

Last edited by itsnedkeren; 22nd February 2011 at 21:15.
Reply With Quote
  #8  
Old 22nd February 2011, 21:49
Rocky Rocky is offline
Senior Member
 
Join Date: Oct 2005
Posts: 553
Thanks: 14
Thanked 49 Times in 48 Posts
Default

Why don't you guys just follow the upgrade section of the howto guide? It's right below the installation of Baruwa section. I'll check out the fuzzy script.
__________________
Home of the SpamSnake

Last edited by Rocky; 22nd February 2011 at 22:07.
Reply With Quote
  #9  
Old 23rd February 2011, 08:40
itsnedkeren itsnedkeren is offline
Senior Member
 
Join Date: May 2009
Location: Denmark
Posts: 128
Thanks: 32
Thanked 10 Times in 10 Posts
Default

Quote:
Originally Posted by Rocky View Post
Why don't you guys just follow the upgrade section of the howto guide? It's right below the installation of Baruwa section. I'll check out the fuzzy script.

Thanks a lot Rocky!

I couldn't get it to work by following the upgrade instruction in the How-To, therefore I made above "fix"
__________________
Best regards

Jim
Reply With Quote
  #10  
Old 23rd February 2011, 09:03
normanu normanu is offline
Junior Member
 
Join Date: May 2008
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Besides the fact that I didn't see the upgrade part untill now
I would like to be able to keep the install updated myself...

This howto won't be updated forever....
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
MailWatch Error: no rows retrieved from database sergio.arnaldo Server Operation 25 21st March 2011 06:05
[The Perfect Spamsnake Ubuntu 10.10] - No mail relay, just errors. itsnedkeren HOWTO-Related Questions 2 20th February 2011 10:45
MailScanner trouble with DBD-MYSQL sergio.arnaldo Server Operation 11 26th August 2009 18:08
Perfect Spamsnake - libole upgrade issue resolved jshampur HOWTO-Related Questions 3 15th July 2009 20:36
SpamSnake SpamAssassin not working? getrav HOWTO-Related Questions 5 23rd June 2008 23:02


All times are GMT +2. The time now is 03:50.


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