Koozali.org: home of the SME Server

[Announce]: Update script for 6.0.1-01 for testing (v2)

Offline wyron

  • *
  • 275
  • +0/-0
    • http://www.ideast.dk
[Announce]: Update script for 6.0.1-01 for testing (v2)
« Reply #30 on: October 04, 2004, 08:42:57 PM »
Quote from: "cjensen"
Howdy,
Actually that is the correct link for that package :-)
Craig Jensen


It isn't, though !
I had a couple of failures retreiving, until I began to wonder why the 'logon' failed for that file, when others from the same site went a treat.
I put in the missing 'cygnal', and hey presto - you know the rest.
Greetings
wyron
...

Offline gregswallow

  • *
  • 651
  • +1/-0
[Announce]: Update script for 6.0.1-01 for testing (v2)
« Reply #31 on: October 04, 2004, 08:58:45 PM »
wyron - feel free to update the script - it is located here now so you or anyone can do it:
http://no.longer.valid/phpwiki/index.php/Latest%20version%20of%20update%20scripts

If you want to add anything you can do that too :)

Offline wyron

  • *
  • 275
  • +0/-0
    • http://www.ideast.dk
[Announce]: Update script for 6.0.1-01 for testing (v2)
« Reply #32 on: October 04, 2004, 10:10:36 PM »
Quote from: "gregswallow"
wyron - feel free to update the script - it is located here now so you or anyone can do it:
http://no.longer.valid/phpwiki/index.php/Latest%20version%20of%20update%20scripts
If you want to add anything you can do that too :)

Sorry - but no - I already tried that.
My credentials aren't good enough, it seems.

But they're great scripts for all that !!
With a bit of work afterwards (eg. manual install of MySQL-shared-compat....) you'll be up and running in no time, compared to the time-consuming process of learning about, finding, (w)getting and installing/updating the packages one by one.
And as an added benefit, if you made it all from an updates ibay, created for the occasion, you also have some documentation at hand later on, when you've forgotten all about your tweaks.
At last a word of caution (for newbies, mainly) !
It's been mentioned before, but I'll press the point:
Don't do this on a production server !
Do this only on fresh installs, where down-time isn't a critical issue, for there is work to be done after running the scripts, as several of us have experienced.
Read through this thread and the threads belonging to the original contribs before panicking, when something doesn't work right out of the box.
I, for instance, had no mysql, hence no webmail or phpmyadmin, before settling down to get my hands dirty.
Greetings
wyron
...

Offline gregswallow

  • *
  • 651
  • +1/-0
[Announce]: Update script for 6.0.1-01 for testing (v2)
« Reply #33 on: October 04, 2004, 11:03:59 PM »
Quote from: "wyron"
My credentials aren't good enough, it seems.


I don't know why that would be.  Maybe something with cookies or your web browser.  I never had a problem editing other pages, just had to be logged in.   Maybe someone else has a suggestion??  What error does it give you when you click on the edit link at the bottom of the page?

(I updated it by the way)

Offline cjensen

  • *
  • 133
  • +0/-0
    • http://acenet-tech.org
[Announce]: Update script for 6.0.1-01 for testing (v2)
« Reply #34 on: October 04, 2004, 11:56:39 PM »
Your permissions for the script seem to be correct.  I had the same issue initially in getting to edit.  I had to try logging in again after clicking pageinfo and it let me in.  Something fishy with the wiki...

BTW, the link to the MySQL-shared-compat-4.0.21-0.i386.rpm works with wget, yet it works as well in the script when editted as has been suggested.

Craig Jensen

Offline wyron

  • *
  • 275
  • +0/-0
    • http://www.ideast.dk
[Announce]: Update script for 6.0.1-01 for testing (v2)
« Reply #35 on: October 05, 2004, 09:11:16 AM »
Quote from: "cjensen"
Your permissions for the script seem to be correct.  I had the same issue initially in getting to edit.  I had to try logging in again after clicking pageinfo and it let me in.  Something fishy with the wiki... Craig Jensen

I see . .
Problem solved (but someone beat me to it).
Might I suggest that the mysql-update be removed from the scripts and put in its own ?
The script runs so fast you might not catch important error messages, and after all it is a major change in a central part of your system.
Greetings
wyron
...

Offline gregswallow

  • *
  • 651
  • +1/-0
[Announce]: Update script for 6.0.1-01 for testing (v2)
« Reply #36 on: October 05, 2004, 07:12:50 PM »
Quote from: "wyron"
Might I suggest that the mysql-update be removed from the scripts and put in its own ?
The script runs so fast you might not catch important error messages, and after all it is a major change in a central part of your system.


Maybe someone could add a bit of if/else logic to the script - eg - "would you like to update MySql? - Press Y/N"

I think maybe a better thing to do is add a feature in the script that verifies you have all the files downloaded and refuses to continue if you don't.  That way the two scripts could be combined into one.

And maybe add a warning at the start of the script so that when it's run it says something like - 'only continue if you are installing this on a fresh install of 6.0.1-01 - and be sure to run the script locally, not through ssh - press enter to continue or to cancel hit ctrl-c'.

Offline Denbert

  • *
  • 156
  • +0/-0
    • hegnstoften.net
[Announce]: Update script for 6.0.1-01 for testing (v2)
« Reply #37 on: October 05, 2004, 08:12:17 PM »
Hi there,

I downloaded and ran the latest scripts, and now I'm drowning in SPAM - Before i had Jesper Knudsen's contrib installed - This new upgrade script calls files from Jeser Knudsen's site - any chance that it's som old files from his site? Or do i need to make some changes in the standard settings?

Any how, the script ran perfect and everything runs nice (except the spam situation)... Nice calandar feature in the horde webmail :-)
/ Denbert
"Success is not final, failure is not fatal: it is the courage to continue that counts" - Sir Winston Churchill

bobk

[Announce]: Update script for 6.0.1-01 for testing (v2)
« Reply #38 on: October 12, 2004, 02:24:04 AM »
gregswallow,

SME 6.0.1-01
ClamAv 0.65-6 installed
Banner Filter 1.21 installed
Pattern Matching (G. Rowell) installed
(e-smith-email-4.14.0-07gr1.noarch.rpm  e-smith-mailfront-1.5.0-13.noarch.rpm  mailfront-0.91-3es.i386.rpm)
RBL activated

I used you script 'spamfilter_install.sh' to install SpamAssassin but received an error at the end "ERROR: You cannot set a config record without a type." Below is the entire script output the only error I see is at the very end.
Code: [Select]
[root@mabit01 installed]# sh spamfilter_install.sh
========================================================
= SpamFilter Installation Script                       =
=                                                      =
= This script will install SpamAssassin, SpamFilter    =
= server-manager module as well as DCC and             =
= Razor2. It also ensure that you on an dayly basis    =
= check for new SA updates. This script will only work =
= on SME 6.0.x                                         =
=                                                      =
= This script will enable procmail for all users and   =
= thereby filter spam to a junkmail folder. If you are =
= forewarding emails then you will need to change the  =
= settings back after installation                     =
=                                                      =
= No express or implied warranties are provided and its=
= usage is at your own risk.                           =
=                                                      =
= If you feel confortable with the above then press    =
= enter if not pres Ctrl+C to abort the installation   =
= script.                                              =
=                                                      =
========================================================
Downloading RPMs from http://mirror.contribs.org/smeserver/contribs/swerts-knudsen/SpamFilter
Checking for existing installations.... Please wait!
Installing SpamFilter on SME 6.0.....
--07:11:22--  http://mirror.contribs.org/smeserver/contribs/swerts-knudsen/SpamFilter/perl-DateManip-5.40-15.i386.rpm
           => perl-DateManip-5.40-15.i386.rpm'
Resolving www.contribs.org... done.
Connecting to www.contribs.org[69.9.12.50]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 129,366 [application/octet-stream]

100%[==================================================================================================================>] 129,366       41.54K/s    ETA 00:00

07:11:26 (41.54 KB/s) - perl-DateManip-5.40-15.i386.rpm' saved [129366/129366]

--07:11:26--  http://mirror.contribs.org/smeserver/contribs/swerts-knudsen/SpamFilter/perl-Parse-Syslog-1.03-8.noarch.rpm
           => perl-Parse-Syslog-1.03-8.noarch.rpm'
Resolving www.contribs.org... done.
Connecting to www.contribs.org[69.9.12.50]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 11,602 [application/octet-stream]

100%[==================================================================================================================>] 11,602        17.14K/s    ETA 00:00

07:11:27 (17.14 KB/s) - perl-Parse-Syslog-1.03-8.noarch.rpm' saved [11602/11602]

--07:11:27--  http://mirror.contribs.org/smeserver/contribs/swerts-knudsen/SpamFilter/perl-Storable-2.11-1.0.rh7.dag.i386.rpm
           => perl-Storable-2.11-1.0.rh7.dag.i386.rpm'
Resolving www.contribs.org... done.
Connecting to www.contribs.org[69.9.12.50]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 52,220 [application/octet-stream]

100%[==================================================================================================================>] 52,220        11.16K/s    ETA 00:00

07:11:33 (11.16 KB/s) - perl-Storable-2.11-1.0.rh7.dag.i386.rpm' saved [52220/52220]

Preparing...                ########################################### [100%]
   1:perl-DateManip         ########################################### [ 33%]
   2:perl-Parse-Syslog      ########################################### [ 66%]
   3:perl-Storable          ########################################### [100%]
--07:11:41--  http://mirror.contribs.org/smeserver/contribs/swerts-knudsen/SpamFilter/perl-Mail-SpamAssassin-3.0.0-1.i386.rpm
           => perl-Mail-SpamAssassin-3.0.0-1.i386.rpm'
Resolving www.contribs.org... done.
Connecting to www.contribs.org[69.9.12.50]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 557,162 [application/octet-stream]

100%[==================================================================================================================>] 557,162       39.65K/s    ETA 00:00

07:11:55 (39.65 KB/s) - perl-Mail-SpamAssassin-3.0.0-1.i386.rpm' saved [557162/557162]

--07:11:55--  http://mirror.contribs.org/smeserver/contribs/swerts-knudsen/SpamFilter/spamassassin-tools-3.0.0-1.i386.rpm
           => spamassassin-tools-3.0.0-1.i386.rpm'
Resolving www.contribs.org... done.
Connecting to www.contribs.org[69.9.12.50]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 92,370 [application/octet-stream]

100%[==================================================================================================================>] 92,370        40.27K/s    ETA 00:00

07:11:58 (40.27 KB/s) - spamassassin-tools-3.0.0-1.i386.rpm' saved [92370/92370]

--07:11:58--  http://mirror.contribs.org/smeserver/contribs/swerts-knudsen/SpamFilter/spamassassin-3.0.0-1.i386.rpm
           => spamassassin-3.0.0-1.i386.rpm'
Resolving www.contribs.org... done.
Connecting to www.contribs.org[69.9.12.50]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 225,645 [application/octet-stream]

100%[==================================================================================================================>] 225,645       46.95K/s    ETA 00:00

07:12:04 (46.95 KB/s) - spamassassin-3.0.0-1.i386.rpm' saved [225645/225645]

Preparing...                ########################################### [100%]
   1:perl-Mail-SpamAssassin ########################################### [ 33%]
   2:spamassassin           ########################################### [ 66%]

   3:spamassassin-tools     ########################################### [100%]
--07:12:18--  http://mirror.contribs.org/smeserver/contribs/swerts-knudsen/SpamFilter/dcc-dccproc-1.2.50-1.i386.rpm
           => dcc-dccproc-1.2.50-1.i386.rpm'
Resolving www.contribs.org... done.
Connecting to www.contribs.org[69.9.12.50]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 513,743 [application/octet-stream]

100%[==================================================================================================================>] 513,743       50.34K/s    ETA 00:00

07:12:28 (50.34 KB/s) - dcc-dccproc-1.2.50-1.i386.rpm' saved [513743/513743]

--07:12:28--  http://mirror.contribs.org/smeserver/contribs/swerts-knudsen/SpamFilter/perl-razor-agents-2.61-1.noarch.rpm
           => perl-razor-agents-2.61-1.noarch.rpm'
Resolving www.contribs.org... done.
Connecting to www.contribs.org[69.9.12.50]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 141,068 [application/octet-stream]

100%[==================================================================================================================>] 141,068       43.54K/s    ETA 00:00

07:12:32 (43.54 KB/s) - perl-razor-agents-2.61-1.noarch.rpm' saved [141068/141068]

--07:12:32--  http://mirror.contribs.org/smeserver/contribs/swerts-knudsen/SpamFilter/e-smith-USA-0.3.0-1.noarch.rpm
           => e-smith-USA-0.3.0-1.noarch.rpm'
Resolving www.contribs.org... done.
Connecting to www.contribs.org[69.9.12.50]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 7,593 [application/octet-stream]

100%[==================================================================================================================>] 7,593         18.54K/s    ETA 00:00

07:12:33 (18.54 KB/s) - e-smith-USA-0.3.0-1.noarch.rpm' saved [7593/7593]

Preparing...                ########################################### [100%]
   1:dcc-dccproc            ########################################### [ 33%]

   2:e-smith-USA            ########################################### [ 66%]

   3:perl-razor-agents      ########################################### [100%]
Creating symlink razor-client <== /usr/bin/razor-check
Creating symlink razor-client <== /usr/bin/razor-report
Creating symlink razor-client <== /usr/bin/razor-revoke
Creating symlink razor-client <== /usr/bin/razor-admin
Discovering Razor2 servers please wait...
NOTE: If it takes more than 1 minute then read the SpamAssassin FAQ on sme.swert

Retrieving http://mirror.contribs.org/smeserver/contribs/swerts-knudsen/SpamFilter/sme-spamfi
Preparing...                ########################################### [100%]
   1:sme-spamfilter         ########################################### [100%]
Stopping crond: [   OK   ]
Starting crond: [   OK   ]


Migrating old RBL Lists to SpamFilter....

--07:13:11--  http://mirror.contribs.org/smeserver/contribs/swerts-knudsen/SpamFilter/migrate
           => migrate_rbl.sed'
Resolving www.contribs.org... done.
Connecting to www.contribs.org[69.9.12.50]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 65 [text/plain]

100%[===========================================================================

07:13:11 (63.48 KB/s) - migrate_rbl.sed' saved [65/65]

RBLs migrated - |sbl-xbl.spamhaus.org||whois.rfc-ignorant.org||dnsbl.njabl.org||
ERROR: You cannot set a config record without a type.
Installation of SpamFilter complete.
[root@mabit01 installed]#


The spam filter SM Panel returns the following error:
Quote
Spam Filter Settings
Software error:
Can't call method "props" on an undefined value at /etc/e-smith/web/panels/manager/cgi-bin/spamfilter line 206.


Line 206 reads:
Code: [Select]
my %sa_conf = $dbh_sa->get('conf.global')->props;

I tried a "post-upgrade" and "reboot" but this did not help. Any ideas how to correct this.

TIA
Bob

Offline gregswallow

  • *
  • 651
  • +1/-0
[Announce]: Update script for 6.0.1-01 for testing (v2)
« Reply #39 on: October 12, 2004, 10:05:45 PM »
bobk - This is not meant for upgrading systems already in use, just as an update to a fresh 6.0.1-01 install.  The spamfilter contrib is not mine... Info is here: http://sme.swerts-knudsen.com/howtos/howto_22.htm  Try to find help there perhaps.

Offline nefkho

  • ****
  • 183
  • +0/-0
    • http://www.cagothonglines.com
[Announce]: Update script for 6.0.1-01 for testing (v2)
« Reply #40 on: October 19, 2004, 03:43:29 AM »
hi, i got this error message when i update my fresh install box, any one can help me please.

Oct 19 09:31:26 fsci-gateway httpd: PHP Warning:  Unknown(): open_basedir restriction in effect. File(/home/e-smith/files/ibays/Primary/html/index.php) is not within the allowed path(s): (/) in Unknown on line 0
Oct 19 09:31:26 fsci-gateway httpd: PHP Warning:  Unknown(/home/e-smith/files/ibays/Primary/html/index.php): failed to open stream: Operation not permitted in Unknown on line 0
Oct 19 09:31:26 fsci-gateway httpd: PHP Warning:  (null)(): Failed opening '/home/e-smith/files/ibays/Primary/html/index.php' for inclusion (include_path='.:/usr/share/pear') in Unknown on line 0
--------

my primary wont display php page anymore. please help.
Nef Kho  :-) .........

Offline edb

  • *
  • 546
  • +0/-0
[Announce]: Update script for 6.0.1-01 for testing (v2)
« Reply #41 on: October 21, 2004, 08:52:12 PM »
Sounds like you must have changed something in your PHP configuration. I would just try to reinstall PHP again. Sounds like a magicquotes issue ...
......

easy

[Announce]: Update script for 6.0.1-01 for testing (v2)
« Reply #42 on: October 29, 2004, 01:16:53 PM »
Quote from: "edb"
Thanks Greg that fixed my issue.  :-)

Ed



What fixed this??? I'm having the same problems and I don't know how to fix it.

I'm in a big need of help!


easy

easy

[Announce]: Update script for 6.0.1-01 for testing (v2)
« Reply #43 on: October 29, 2004, 01:28:30 PM »
Quote from: "edb"
Thanks Greg that fixed my issue.  :-)

Ed



I really, really would like to know what fixed this issue. I'm heaving the same problems..... Please help me :-(

easy

Offline brianr

  • *
  • 988
  • +2/-0
the update wiki
« Reply #44 on: November 04, 2004, 10:17:57 AM »
the move seems to have lost the update document wiki (i have notified the powers that be), can some one point me to a copy of it please, or perhaps email it to me?

Thanks

Brian
Brian j Read
(retired, for a second time, still got 2 installations though)
The instrument I am playing is my favourite Melodeon.
.........