Koozali.org: home of the SME Server

horde 3 update

spittingfire

horde 3 update
« Reply #15 on: April 19, 2005, 06:33:51 PM »
Hi All

I ran the script this morning on my 6.5 RC1 box and now the webserver is broken.  I cannot access my web pages neither internally nor externally.

Any help will be appreciated in getting the resolved. :-(

Offline mrjhb3

  • *
  • 1,188
  • +0/-0
    • John Bennett Services
horde 3 update
« Reply #16 on: April 19, 2005, 08:36:58 PM »
Quote from: "Tib"
Nice update

Seemed to install fine an a heavily modified server (as in a lot of exctra features loaded on)

Only one problem I have is in the server-manager panel I cannot access the "Horde Admin Setup" or "Horde Admin Save" it says "You do not have permission to access /server-manager/cgi-bin/hordeadminsetup on this server".

How do I get access to the features in there.

Apart from that small problem the webmail looks really nice now ... I like this one a lot better,

Regards,

Tib


That is interesting.  I have not had any issue with this.  That was really a hack I put in for me because I wanted to use what the Horde developers created and not have to template all of this.  

Go to this directory
/etc/e-smith/web/functions   and do a
ls -lart hor*
-rwsr-x---    1 root     root         1763 Mar 16 21:48 hordeadminsetup
-rwsr-x---    1 root     root         1768 Mar 16 21:48 hordeadminsave

Do you have this?

Then go do this directory
/etc/e-smith/web/panels/manager/cgi-bin  and do a
ls -lart hor*
lrwxrwxrwx    1 root     root           34 Mar 16 21:48 hordeadminsetup -> ../../../functions/hordeadminsetup
lrwxrwxrwx    1 root     root           33 Mar 16 21:48 hordeadminsave -> ../../../functions/hordeadminsave

Do you have the above?  If so, you should be able to access this from server-manager.

I'll run another test on my test server tonight and see what I get.

JB
......

spittingfire

horde 3 update
« Reply #17 on: April 19, 2005, 09:21:32 PM »
Thanks for the reply here is what I got when I followed your instructions

[root@sme-server cgi-bin]# cd /etc/e-smith/web/functions
[root@sme-server functions]# ls -lart hor*
-rwsr-x---    2 root     root         1763 Mar 14 05:48 hordeadminsetup
-rwsr-x---    2 root     root         1768 Mar 14 05:48 hordeadminsave

[root@sme-server functions]# cd /etc/e-smith/web/panels/manager/cgi-bin
[root@sme-server cgi-bin]# ls -lart hor*
lrwxrwxrwx    1 root     root           34 Mar 14 05:48 hordeadminsetup -> ../../../functions/hordeadminsetup
lrwxrwxrwx    1 root     root           33 Mar 14 05:48 hordeadminsave -> ../../../functions/hordeadminsave

But I still don't have access to server-manager or any other internal or external websites.  Do I need to do anything else?  Thanks in advance

Offline mrjhb3

  • *
  • 1,188
  • +0/-0
    • John Bennett Services
horde 3 update
« Reply #18 on: April 19, 2005, 11:16:49 PM »
Quote from: "spittingfire"
Thanks for the reply here is what I got when I followed your instructions

[root@sme-server cgi-bin]# cd /etc/e-smith/web/functions
[root@sme-server functions]# ls -lart hor*
-rwsr-x---    2 root     root         1763 Mar 14 05:48 hordeadminsetup
-rwsr-x---    2 root     root         1768 Mar 14 05:48 hordeadminsave

[root@sme-server functions]# cd /etc/e-smith/web/panels/manager/cgi-bin
[root@sme-server cgi-bin]# ls -lart hor*
lrwxrwxrwx    1 root     root           34 Mar 14 05:48 hordeadminsetup -> ../../../functions/hordeadminsetup
lrwxrwxrwx    1 root     root           33 Mar 14 05:48 hordeadminsave -> ../../../functions/hordeadminsave

But I still don't have access to server-manager or any other internal or external websites.  Do I need to do anything else?  Thanks in advance


spittingfire,

That info wasn't for you, it was for tib.  :-) If you can't access any sites internal or external check to make sure that httpd is running.  Also look in /var/log/messages for any errors.  Lastly, look in /etc/php.ini and make sure there are no entries in there that are duplicated.  If there are, you will need to fix the template-custom template fragments.  I had an issue with the script doing that earlier, which, as far as my testing shows, should have been fixed in the script posted a while back.
......

Offline Smitro

  • *
  • 349
  • +0/-0
horde 3 update
« Reply #19 on: April 20, 2005, 12:20:25 AM »
I had the problem of the Horde Admin not working, saying permission denied etc. but then it just started to work after I went back to it in couple of minutes.


Maybe try going in, then save the settings, then try again.. that's all I can think would have fixed it.
.........

Offline jdc0730

  • *
  • 29
  • +0/-0
horde 3 update
« Reply #20 on: April 21, 2005, 01:57:35 AM »
Quote from: "hordeusr"
I ran the script on my test server (6.0.1) and I have the same problem as above, empty inbox with the number of messages listed.  It's running the correct php version.  The error messages turned on in php I get this:
Warning: bareaddress(Mail/RFC822.php): failed to open stream: No such file or directory in /home/httpd/html/horde/lib/Horde/MIME.php on line 656

Fatal error: bareaddress(): Failed opening required 'Mail/RFC822.php' (include_path='/home/httpd/html/horde/lib:.:/usr/share/pear') in /home/httpd/html/horde/lib/Horde/MIME.php on line 656


Type in "pear install Mail".  Got mine working.

thecat

horde 3 update
« Reply #21 on: April 21, 2005, 04:45:37 AM »
jdc you are a dead set champ! I could kiss you! I love you! You are a legend! I want to have your offspring! I have been trying for so long to get this working and now I have PHP 4.3.11 and horde 3 finally happy!

Offline Tib

  • *
  • 571
  • +0/-0
    • http://www.tibors.net
horde 3 update
« Reply #22 on: April 21, 2005, 08:48:52 AM »
mrjhb3

I got it to work just by loging into my server-admin  with https instead of just http

Regards

Tib

dhardy

horde 3 update
« Reply #23 on: April 22, 2005, 02:06:49 AM »
Hi guys,

I've run this script on my 6.01 SMEPlus'd server. It looks good and seems to be working fine most of the time. There are occasions where the inbox view gets a bit garbled but a refresh or two normally sorts that out.

However, I am getting the following in the messages log every 5 minutes:

Unable to load dynamic library '/usr/lib/php4/curl.so' - /usr/lib/php4/curl.so: cannot open shared object file: No such file or directory in Unknown on line 0

This line occurs once for each of:

curl.so
domxml.so
mcrypt.so
mhash.so
libmagic.so.1

I have downloaded and run the script twice now, the second time to pickup any updates that may have been added. However, this has not made the log entries go away .....

So, can I safely ignore the errors? Should I go back to the earlier version of Horde 2? Can they be fixed?

All advice gratefully received.

David.

Offline mrjhb3

  • *
  • 1,188
  • +0/-0
    • John Bennett Services
horde 3 update
« Reply #24 on: April 22, 2005, 02:27:34 AM »
Quote from: "Tib"
mrjhb3

I got it to work just by loging into my server-admin  with https instead of just http

Regards

Tib


Ahh yes, you may be on to something.  I will need to investigate this further.  6.5 uses https only for server-maanger and 6.0 users http or https.  I will see if I can correct this or make a notation of this within the script somewhere.  Unless someone else can help me figure a way on sme 6.01 to determine if server-manager is being used via http, then use http, and ditto for https.

Thanks Tib,

JB

[edit] This should now be fixed with the newest script.  You should be able to run it on your existing system with no issues.  I ran it on my real home server on Friday and had no issues.  The issue was that if webmail was set to https only, then there no directives to rewrite the url's for the server-manager panel, since they lived below the horde directory.  I just moved the directory below the Primary ibay directory and all is good.  I tested this on 6.01 and 6.5RC1.[\edit]
......

Offline mrjhb3

  • *
  • 1,188
  • +0/-0
    • John Bennett Services
horde 3 update
« Reply #25 on: April 22, 2005, 02:37:23 AM »
Quote from: "dhardy"
Hi guys,

I've run this script on my 6.01 SMEPlus'd server. It looks good and seems to be working fine most of the time. There are occasions where the inbox view gets a bit garbled but a refresh or two normally sorts that out.

However, I am getting the following in the messages log every 5 minutes:

Unable to load dynamic library '/usr/lib/php4/curl.so' - /usr/lib/php4/curl.so: cannot open shared object file: No such file or directory in Unknown on line 0

This line occurs once for each of:

curl.so
domxml.so
mcrypt.so
mhash.so
libmagic.so.1

I have downloaded and run the script twice now, the second time to pickup any updates that may have been added. However, this has not made the log entries go away .....

So, can I safely ignore the errors? Should I go back to the earlier version of Horde 2? Can they be fixed?

All advice gratefully received.

David.


The issue is that you probably had php-4.3.10 already installed on your system.  Currently in the script, this section:
IS_PHP4310=pic rpmlist | grep -c php-4.3.10

Only checks for php-4.3.10 in the generated rpmlist file.  If it finds this, then it won't try to re-install php.  This should also be an issue with people running php 4.3.11 as well.  So, in my opinion you have 2 choices:  1. Download the php-4.3.10 rpm's from the script and manually install them.  2.  Remove those 5 lines from your php.ini file, then restart httpd.  If you now do not get the errors, remove the templates from templates-custom/etc/php.ini and you should be good.

You should be able to go back to horde2.x by running the script in the /root/horde20-restore directory, but that won't fix your php issue.  I'm not that versed on the different php modules, but someone recommended these, so I used them.  I also had php-4.3.10 rpm's on my server and had to manually upgrade them as well.  But, that was a while ago.

Good Luck,

JB
......

dhardy

horde 3 update
« Reply #26 on: April 22, 2005, 09:40:40 PM »
Cheers Jim!

Pointed me in completely the right direction!

I hacked together a 'scriptlet' which just installed the PHP rpms from your script and everything is tickety boo!

Code: [Select]

SITE=http://mirror.contribs.org/smeserver/contribs/jbennett/horde30
echo
echo "Upgrading to PHP-4.3.10"
echo
wget -nc $SITE/php-4.3.10/file-4.12-3db_rh73.i386.rpm
wget -nc $SITE/php-4.3.10/libmcrypt-2.5.7-1.dag.rh73.i386.rpm
wget -nc $SITE/php-4.3.10/libmhash-0.9.1-1.rh73.dag.i386.rpm
wget -nc $SITE/php-4.3.10/php-4.3.10-3eo.i386.rpm
wget -nc $SITE/php-4.3.10/php-curl-4.3.10-3eo.i386.rpm
wget -nc $SITE/php-4.3.10/php-devel-4.3.10-3eo.i386.rpm
wget -nc $SITE/php-4.3.10/php-domxml-4.3.10-3eo.i386.rpm
wget -nc $SITE/php-4.3.10/php-imap-4.3.10-3eo.i386.rpm
wget -nc $SITE/php-4.3.10/php-ldap-4.3.10-3eo.i386.rpm
wget -nc $SITE/php-4.3.10/php-mcrypt-4.3.10-3eo.i386.rpm
wget -nc $SITE/php-4.3.10/php-mhash-4.3.10-3eo.i386.rpm
wget -nc $SITE/php-4.3.10/php-mysql-4.3.10-3eo.i386.rpm
wget -nc $SITE/php-4.3.10/php-odbc-4.3.10-3eo.i386.rpm
wget -nc $SITE/php-4.3.10/php-snmp-4.3.10-3eo.i386.rpm
wget -nc $SITE/php-4.3.10/php-xmlrpc-4.3.10-3eo.i386.rpm
wget -nc $SITE/php-4.3.10/unixODBC-2.2.0-5.i386.rpm
rpm -Uvh *.rpm


I used Editpad Lite to keep it in the right format and saved it to an ibay from where I was able to run it using Putty.

Hope this is useful for someone else!

David.

Offline Snoopyski

  • *
  • 141
  • +0/-0
    • http://www.serviceinfosg.com
horde 3 update
« Reply #27 on: April 23, 2005, 02:53:57 PM »
Quote

Type in "pear install Mail".  Got mine working.


Hey thanks !

That fix my problem !!! After I run the Horde 3 update script on my SME Server 6.01.01... My INBOX in Horde was blank !!! I run "pear install Mail" and everything goes fine !!!

Thanks a lot,

Snoopyski
PS. We using SME Server with Horde 3.0 AND PHP 4.3.11 AND PHP MMCache Accelerator RPM from MasterSleepy...[/quote]

Offline gregswallow

  • *
  • 651
  • +1/-0
horde 3 update
« Reply #28 on: April 27, 2005, 08:28:06 PM »
If you guys would like to start testing SME7, now might be a good time.  7.0a7 now has Horde3/IMP4/Turba2.

dhardy

horde 3 update
« Reply #29 on: April 27, 2005, 09:04:20 PM »
I was thinking that only yesterday ......

Will SME 7.0a7 upgrade a 6.01 SMEPlussed / Horde 3 scripted / MX Backup and Hylafax (http://www.schirrms.net/sme/index.php) ?

I know, wrong thread ... but ... will it upgrade cleanly?


D.