The rpm's are still not registered ('rpm -qa | grep mysql' turns out only e-smith-mysql and phpmyadmin), but mysql is working anyway.
Allows webmail users to change their password:http://www.ibiblio.org/pub/Linux/distributions/smeserver/contribs/dmusty/SME6.0/webmail/passwd/
#!/bin/shcd mysqlservice mysqld stop rpm -e --nodeps --force mysql mysql-serverrpm -e --force mysql-develrpm -e --force mysqlclient9rpm -Uvh --force MySQL-*.rpm chkconfig --levels 2345 mysql on mv /etc/rc.d/init.d/mysql /etc/rc.d/init.d/mysqld rm /etc/rc.d/rc7.d/S90mysqld ln -s /etc/rc.d/init.d/mysqld /etc/rc.d/rc7.d/S90mysqld /sbin/e-smith/config setprop mysqld LocalNetworkingOnly no /sbin/e-smith/expand-template /root/.my.cnf ln -s /usr/sbin/mysqld /usr/libexec/ service mysqld start/usr/bin/mysql_fix_privilege_tables cd ..
cd phpmyadminrpm -Uvh --force *.rpmcd ..
I have one concern about your proposed additions:QuoteAllows webmail users to change their password:http://www.ibiblio.org/pub/Linux/distributions/smeserver/contribs/dmusty/SME6.0/webmail/passwd/This contrib is not ready for widespread distribution just yet. It seems to work with fresh installs, but completely breaks upgraded systems. Details are here:http://no.longer.valid/mylinks/singlelink.php?cid=89&lid=426Kirk
usermod -s /usr/bin/passwd username
buggered up my ssh access though.
I think the problem is the line -rm /etc/rc.d/rc7.d/S90mysqldwhen this line runs it prompts 'do you want to delete this file'.when you select Y it seems to miss this last 6 lines of the mysql section.Changing this to rm-rf /etc/rc.d/rc7.d/S90mysqld does the trick.
Should this be e-smith-phpmyadmin-2.6.0-9.noarch.rpm?
Howdy,Actually that is the correct link for that package Craig Jensen
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%20scriptsIf you want to add anything you can do that too
My credentials aren't good enough, it seems.
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
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.
[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/SpamFilterChecking 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 OKLength: 129,366 [application/octet-stream]100%[==================================================================================================================>] 129,366 41.54K/s ETA 00:0007: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 OKLength: 11,602 [application/octet-stream]100%[==================================================================================================================>] 11,602 17.14K/s ETA 00:0007: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 OKLength: 52,220 [application/octet-stream]100%[==================================================================================================================>] 52,220 11.16K/s ETA 00:0007: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 OKLength: 557,162 [application/octet-stream]100%[==================================================================================================================>] 557,162 39.65K/s ETA 00:0007: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 OKLength: 92,370 [application/octet-stream]100%[==================================================================================================================>] 92,370 40.27K/s ETA 00:0007: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 OKLength: 225,645 [application/octet-stream]100%[==================================================================================================================>] 225,645 46.95K/s ETA 00:0007: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 OKLength: 513,743 [application/octet-stream]100%[==================================================================================================================>] 513,743 50.34K/s ETA 00:0007: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 OKLength: 141,068 [application/octet-stream]100%[==================================================================================================================>] 141,068 43.54K/s ETA 00:0007: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 OKLength: 7,593 [application/octet-stream]100%[==================================================================================================================>] 7,593 18.54K/s ETA 00:0007: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-checkCreating symlink razor-client <== /usr/bin/razor-reportCreating symlink razor-client <== /usr/bin/razor-revokeCreating symlink razor-client <== /usr/bin/razor-adminDiscovering Razor2 servers please wait...NOTE: If it takes more than 1 minute then read the SpamAssassin FAQ on sme.swertRetrieving http://mirror.contribs.org/smeserver/contribs/swerts-knudsen/SpamFilter/sme-spamfiPreparing... ########################################### [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 OKLength: 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]#
Spam Filter SettingsSoftware error:Can't call method "props" on an undefined value at /etc/e-smith/web/panels/manager/cgi-bin/spamfilter line 206.
my %sa_conf = $dbh_sa->get('conf.global')->props;
Thanks Greg that fixed my issue. Ed
hi, i tried to install the imp and i got error on my webmail "A fatal error has occurred:'kronolith' is not configured in the Horde Registry.[line 753 of /home/httpd/html/horde/lib/Registry.php]"any one can help me fixed this problem?
echo "Downloads completed successfully. Please run the Update.sh script to install these updates"
wget -nc --tries=0 http://mirror.datapipe.net/norlug/redhat-7.3/RPMS/db4-4.0.14-4.norlug.i386.rpmBest rgds, Ergin
And I would prefer splitting the updates of already installed apps like PHP, OpenSSH, Apache and the installation of new contribs.
... add some if/else logic to the script to let the user press y/n to install each section. Or even better, make the script detect what is installed and do the appropriate action.
You could see some examples in this script: http://mirror.contribs.org/smeserver/contribs/ergozd/scripts/MySQL-4_0_21.sh - which could replace the current MySQL download/install on the wiki page btw.
I found also the PHP 4.3.9 update script from Ergin. I think this one could be used, too!?