Koozali.org: home of the SME Server

horde 3 update

thecat

horde 3 update
« on: April 14, 2005, 07:21:44 AM »
I been attempting to update horde tothe latest version. I have followed the scripts carefully, and I have even tried running php4.3.11 (which seems to be ok)

However, when anyone logs onto their webmail. People are able to see how many messages are in the inbox, but do not see any of the actual message.

thecat

horde 3 update
« Reply #1 on: April 15, 2005, 02:15:32 AM »
anyone anyone?

Offline mrjhb3

  • *
  • 1,188
  • +0/-0
    • John Bennett Services
horde 3 update
« Reply #2 on: April 15, 2005, 04:37:02 AM »
Patience, :pint:  eventually someone will probably get to you.  Did you check for any errors in  var/log/messages,  
/var/log/httpd/access_log or /var/log/httpd/error_log?

JB
......

thecat

horde 3 update
« Reply #3 on: April 15, 2005, 05:01:13 AM »
woops just noticed some errors in the logs regarding the php updates

php: PHP Warning:  Unknown(): ldap: Unable to initialize module Module compiled with module API=20010901, debug=0, thread-safety=0 PHP    compiled with module API=20020429, debug=0, thread-safety=0 These options need to match  in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - curl_init in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - curl_version in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - curl_setopt in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - curl_exec in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - curl_getinfo in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - curl_error in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - curl_errno in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - curl_close in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  curl:  Unable to register functions, unable to load in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_version in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - xmldoc in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_open_mem in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - xmldocfile in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_open_file in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - html_doc in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - html_doc_file in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_xmltree in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - xmltree in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_substitute_entities_default in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_doc_document_element in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_doc_add_root in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_doc_set_root in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_dump_mem in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_dump_mem_file in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_dump_node in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_html_dump_mem in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_node_attributes in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_elem_get_attribute in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_elem_set_attribute in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_node_children in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_node_has_attributes in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_node_new_child in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_node in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_node_unlink_node in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_node_set_content in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_node_get_content in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_node_add_namespace in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_node_set_namespace in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_new_xmldoc in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_new_doc in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_parser in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_parser_add_chunk in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_parser_end in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_parser_start_element in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_parser_end_element in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_parser_comment in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_parser_characters in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_parser_entity_reference in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_parser_processing_instruction in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_parser_cdata_section in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_parser_namespace_decl in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_parser_start_document in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_parser_end_document in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_parser_get_document in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - xpath_new_context in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - xpath_eval in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - xpath_eval_expression in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - xpath_register_ns in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_doc_get_elements_by_tagname in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_doc_get_element_by_id in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - xptr_new_context in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - xptr_eval in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_add_root in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_doc_get_root in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_root in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_attributes in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_get_attribute in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_getattr in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_set_attribute in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_setattr in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_children in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_new_child in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_unlink_node in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - set_content in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - new_xmldoc in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_dumpmem in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_doc_validate in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_doc_xinclude in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  domxml:  Unable to register functions, unable to load in Unknown on line 0

Any ideas? Would I better off going php 4.3.10 instead of 4.3.11? Is that even possible?

Offline mrjhb3

  • *
  • 1,188
  • +0/-0
    • John Bennett Services
horde 3 update
« Reply #4 on: April 15, 2005, 05:28:29 AM »
That I can't answer you.  I have not tested the horde3 script with any of the php 4.3.11 stuff.  I know the script works with the 4.3.10 rpms it references.  I am running horde3 on my site.  I am no php expert.  This is what I would do.  I would un-install the 4.3.11 and go back to 4.3.10 per the script.  Did you let the script run by itself, or cut and paste the lines in.  Also look at /etc/php.ini and see if you have any duplicate lines.  If so, look at the template fragments and see if you can correct them.  Depending on when you ran the script, I had a typo in it that would add the fileinfo lines everytime the script was ran.  I'll be uploading an update to the script hopefully in the next day or so that includes the latest imp release and php accelerator.  Or, maybe I have already done that.  Anyway, you also don't have to cut and paste the script.  You can download it from http://mirror.contribs.org/smeserver/contribs/jbennett/install_horde30.sh

That's my nickel's worth.

JB
......

Offline Normando

  • *
  • 841
  • +2/-1
    • Unixlan
horde 3 update
« Reply #5 on: April 15, 2005, 06:48:25 AM »
Uninstall eaccelerator. But this action not solve all problems. When I update to 4.3.11 I can't add any block to horde portal. Then I return to 4.3.10. To do this uninstall all php files with rpm -e --nodeps and install php 4.3.10. Then update or install DB from pear.
For me (excuse me because i'm a newbie) 4.3.11 dont work properly in 5 (FIVE) SME servers I have.
PicsOne

Offline mrjhb3

  • *
  • 1,188
  • +0/-0
    • John Bennett Services
horde 3 update
« Reply #6 on: April 15, 2005, 06:54:01 AM »
FYI.. The script I wrote isn't using eaccelerator, it using PHP accelerator http://www.php-accelerator.co.uk

JB
......

Offline hordeusr

  • **
  • 68
  • +0/-0
horde 3 update
« Reply #7 on: April 15, 2005, 06:08:03 PM »
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

Offline mrjhb3

  • *
  • 1,188
  • +0/-0
    • John Bennett Services
horde 3 update
« Reply #8 on: April 15, 2005, 09:02:24 PM »
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


I just ran it on my test box last night and it ran fine.  I'll run it again this evening and see how it goes.  If it goes fine, I'll re=upload it to my contribs directory.

JB
......

Offline hordeusr

  • **
  • 68
  • +0/-0
horde 3 update
« Reply #9 on: April 15, 2005, 11:21:07 PM »
My test box isn't completely unmodified.  Mainly I posted because I know what the error message is.  PHP was untouched on this particular test box.  I'm working on an upgrade path on my production server.  The test box is a "Mondo" backup of my production server and everything worked perfect before I ran the script.  I'm sure your script works fine on a completely clean install.  Good to see the addition of the PHP accelerator.  It can make a huge difference.
thanks,
Nate

Offline mrjhb3

  • *
  • 1,188
  • +0/-0
    • John Bennett Services
horde 3 update
« Reply #10 on: April 16, 2005, 07:24:25 PM »
Quote from: "hordeusr"
My test box isn't completely unmodified.  Mainly I posted because I know what the error message is.  PHP was untouched on this particular test box.  I'm working on an upgrade path on my production server.  The test box is a "Mondo" backup of my production server and everything worked perfect before I ran the script.  I'm sure your script works fine on a completely clean install.  Good to see the addition of the PHP accelerator.  It can make a huge difference.
thanks,
Nate


I do have you to thank for the php accelerator help.

JB
......

Offline mrjhb3

  • *
  • 1,188
  • +0/-0
    • John Bennett Services
horde 3 update
« Reply #11 on: April 16, 2005, 07:29:27 PM »
I have ran the script 4 different times.  Twice, while upgrading with no mail, and twice while having mail and some additional folders.  I can't duplicate what has been stated above.

I did paste my latest versions on the wiki and the install file in my contribs directory at http://mirror.contribs.org/smeserver/contribs/jbennett/install_horde30.sh

Good Luck,

JB
......

Offline hordeusr

  • **
  • 68
  • +0/-0
horde 3 update
« Reply #12 on: April 16, 2005, 11:34:09 PM »
I'll give the script another try next week and see what happens.  My current project has a higher priority...500gb file server with SME using a 3ware card and 3 250mb SATA drives.  After that I'll be back to the SME mail server.

Offline Tib

  • *
  • 571
  • +0/-0
    • http://www.tibors.net
horde 3 update
« Reply #13 on: April 19, 2005, 02:54:38 PM »
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

Offline Smitro

  • *
  • 349
  • +0/-0
horde 3 update
« Reply #14 on: April 19, 2005, 03:34:16 PM »
I just ran the script on my SME 6.5 box, and it's awesome. Thanks heeps. I can't believe how good it is!

My machine also has a fair few extras added on.
.........

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.

cwherley

horde installation on SME7-alpha7
« Reply #30 on: April 28, 2005, 08:25:09 PM »
I have installed SME7a7 to experiment with new versions of Horde and IMP.
I get some goofy messages when trying to set up Trash folder for deleting. It says it creates the Trash folder and it does. But it does not save the settings and gives me this error?
A fatal error has occurred
DB Error: insufficient data supplied
Details have been logged for the administrator.

Is this a database user, password error?

Not sure where to start the troubleshooting.

Thanks,
chris

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: horde installation on SME7-alpha7
« Reply #31 on: April 28, 2005, 09:08:42 PM »
Quote from: "cwherley"
I have installed SME7a7 to experiment with new versions of Horde and IMP.
I get some goofy messages when trying to set up Trash folder for deleting.


Please provide all 7.0alpha feedback via the bug tracker at smeserver.sourceforge.net.

Thanks

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
horde 3 update
« Reply #32 on: April 28, 2005, 09:11:32 PM »
Quote from: "dhardy"
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?


Probably not. That's why I've been asking the upgrade people to be less radical in their package choices - but there still isn't any discussion about the pros and cons of any of the updates.

dhardy

horde 3 update
« Reply #33 on: April 29, 2005, 01:37:43 PM »
Thanks Charlie,

I'll do a backup and restore with tapeware onto some spare disks and see what happens if I do upgrade straight to 7a7.

Ta

David.

Offline mrjhb3

  • *
  • 1,188
  • +0/-0
    • John Bennett Services
horde 3 update
« Reply #34 on: April 30, 2005, 06:47:04 PM »
Quote from: "dhardy"
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.


I would venture to guess you may have some issues.  For instance, since the horde3 script really doesn't install any rpm's, horde 3 will be re-installed and any settings you have will be over-written when the templates are expanded.
......

Offline mrjhb3

  • *
  • 1,188
  • +0/-0
    • John Bennett Services
horde 3 update
« Reply #35 on: May 01, 2005, 02:34:39 AM »
Quote from: "gregswallow"
If you guys would like to start testing SME7, now might be a good time.  7.0a7 now has Horde3/IMP4/Turba2.


This looks good on the surface.  You have chosen to use some different settings than I did with the script.  Are you planning on adding any of the other modules?  If you are just trying to match what was in previous versions, then you should at least add ingo for filter support since that is now separated in the horde 3 framework.

Just my opinion,

JB
......

Offline gregswallow

  • *
  • 651
  • +1/-0
horde 3 update
« Reply #36 on: May 02, 2005, 07:23:12 PM »
I can make an rpm for ingo (and others).  Do you have Kronolith working perfectly yet?  If you could post your conf.php for each app (and any other config files you had to change from the default) that would help.

If you want to note the specific differences from the settings in the conf files in my rpms versus what you're using we can discuss them.

Offline mrjhb3

  • *
  • 1,188
  • +0/-0
    • John Bennett Services
horde 3 update
« Reply #37 on: May 03, 2005, 07:54:12 AM »
With some assistance from hordeuser, yes I do.  Here are the conf.php files:

Ingo
<?php
/* CONFIG START. DO NOT CHANGE ANYTHING IN OR AFTER THIS LINE. */
// $Horde: ingo/config/conf.xml,v 1.13 2004/02/11 19:24:23 slusarz Exp $
$conf['menu']['apps'] = array('accounts', 'imp', 'ingo', 'kronolith', 'mnemo', 'nag', 'turba');
$conf['storage']['driver'] = 'prefs';
$conf['storage']['maxblacklist'] = 0;
$conf['storage']['maxwhitelist'] = 0;
$conf['rules']['userheader'] = true;
$conf['rules']['usefolderapi'] = true;
/* CONFIG END. DO NOT CHANGE ANYTHING IN OR BEFORE THIS LINE. */

mnemo
<?php
/* CONFIG START. DO NOT CHANGE ANYTHING IN OR AFTER THIS LINE. */
// $Horde: mnemo/config/conf.xml,v 1.17 2004/10/03 13:07:37 stuart Exp $
$conf['storage']['params']['table'] = 'mnemo_memos';
$conf['storage']['params']['driverconfig'] = 'horde';
$conf['storage']['driver'] = 'sql';
$conf['menu']['print'] = true;
$conf['menu']['import_export'] = true;
$conf['menu']['apps'] = array('accounts', 'imp', 'ingo', 'kronolith', 'mnemo', 'nag', 'turba');
/* CONFIG END. DO NOT CHANGE ANYTHING IN OR BEFORE THIS LINE. */

nag
<?php
/* CONFIG START. DO NOT CHANGE ANYTHING IN OR AFTER THIS LINE. */
// $Horde: nag/config/conf.xml,v 1.25 2004/10/03 13:23:28 stuart Exp $
$conf['storage']['params']['table'] = 'nag_tasks';
$conf['storage']['params']['driverconfig'] = 'horde';
$conf['storage']['driver'] = 'sql';
$conf['menu']['print'] = true;
$conf['menu']['import_export'] = true;
$conf['menu']['apps'] = array('accounts', 'imp', 'ingo', 'kronolith', 'mnemo', 'nag', 'turba');
/* CONFIG END. DO NOT CHANGE ANYTHING IN OR BEFORE THIS LINE. */

kronolith  - This whole file is templated
/* CONFIG START. DO NOT CHANGE ANYTHING IN OR AFTER THIS LINE. */
// $Horde: kronolith/config/conf.xml,v 1.14.10.1 2005/03/04 04:04:31 ben Exp $
$conf['calendar']['params']['table'] = 'kronolith_events';
$conf['calendar']['params']['driverconfig'] = 'horde';
$conf['calendar']['driver'] = 'sql';
$conf['storage']['default_domain'] = '{$DomainName}';
$conf['storage']['params']['table'] = 'kronolith_storage';
$conf['storage']['params']['driverconfig'] = 'horde';
$conf['storage']['driver'] = 'sql';
$conf['metadata']['keywords'] = false;
$conf['reminder']['server_name'] = '{$SystemName}';
$conf['reminder']['from_addr'] = 'reminders@{$DomainName}';
$conf['menu']['print'] = true;
$conf['menu']['import_export'] = true;
$conf['menu']['apps'] = array('accounts', 'imp', 'ingo', 'kronolith', 'mnemo', 'nag', 'turba');
/* CONFIG END. DO NOT CHANGE ANYTHING IN OR BEFORE THIS LINE. */

All of the $conf['menu']['apps'] = array sections could be templated with some code that Dan Brown orignally provided
in the nag/kronolith/mnemo 2.x RPM's.  If you want to look at that let me know.

Here is also a link that tries to detail how to migrate filters from imp 2.x to ingo
as well as tips to get free/busy to work.  This only works with users in your personal address book.
I'm not that versed in LDAP to see what it would take to extend the schema and have this
information stored via ldap.
http://mirror.contribs.org/smeserver/contribs/jbennett/howto/Additional%20Horde%20Functionality%20Howto.htm

I'm trying to DL alpha 9 and will post back the differences I see in the Horde/imp/turba conf.php files.
I'm not saying the settings I have set are correct.  I would just like to understand the differences and go
with what makes the best sense.

If you have a spare box, it may be easier to load 6.5rc1 and then run the script located at http://mirror.contribs.org/smeserver/contribs/jbennett/install_horde30.sh then we both can compare notes.

JB
......

Offline gregswallow

  • *
  • 651
  • +1/-0
horde 3 update
« Reply #38 on: May 03, 2005, 06:46:23 PM »
I made a few mistakes in the rpms in 7.0, there is one bug here:
http://sourceforge.net/tracker/index.php?func=detail&aid=1189640&group_id=96750&atid=615772
...I noted what mistakes I made, just have to fix the rpm.

Thanks for the other config files.  That will help.

Offline mrjhb3

  • *
  • 1,188
  • +0/-0
    • John Bennett Services
horde 3 update
« Reply #39 on: May 04, 2005, 05:22:04 AM »
Greg,

I loaded SME7-a9 and am getting these errors from horde in my log:

May  3 22:14:50 sme70a9 httpd: PHP Notice:  Undefined offset:  0 in /home/httpd/html/horde/imp/lib/IMP.php on line 585    - This is fixed in the latest imp release
May  3 22:14:50 sme70a9 httpd: PHP Notice:  Use of undefined constant DB_PORTABILITY_LOWERCASE - assumed 'DB_PORTABILITY_LOWERCASE' in /home/httpd/html/horde/lib/Horde/DataTree/sql.php on line 1310 - Don't really know what this is

Also the format of the inbox has changed from ;INBOX to .INBOX, which is fine.  I am just curious if you happen to know where this is configured?  I tried to google but didn't come up with anything usefull.  This folder isn't created until you login to webmail the first time, but your maildir with cur, new, tmp, and .junkmail is created via /etc/e-smith/skel/user.
......

Offline gregswallow

  • *
  • 651
  • +1/-0
horde 3 update
« Reply #40 on: May 04, 2005, 06:39:04 PM »
Quote from: "mrjhb3"

May  3 22:14:50 sme70a9 httpd: PHP Notice:  Undefined offset:  0 in /home/httpd/html/horde/imp/lib/IMP.php on line 585    - This is fixed in the latest imp release

Thanks, I noticed a new release was out, it was on my to-do list.  

Quote from: "mrjhb3"

May  3 22:14:50 sme70a9 httpd: PHP Notice:  Use of undefined constant DB_PORTABILITY_LOWERCASE - assumed 'DB_PORTABILITY_LOWERCASE' in /home/httpd/html/horde/lib/Horde/DataTree/sql.php on line 1310 - Don't really know what this is

I think the Pear DB rpm needs to be updated/fixed (one was added in Alpha8).  I found this reference:
http://lists.horde.org/archives/kronolith/Week-of-Mon-20050103/005038.html - I saw this in my logs on Alpha7 as well, I'm not up to Alpha9 yet.

Maybe add these to the sourceforge bugtracker (both bugs seperately)

Offline mrjhb3

  • *
  • 1,188
  • +0/-0
    • John Bennett Services
horde 3 update
« Reply #41 on: May 05, 2005, 04:17:23 AM »
Quote from: "gregswallow"
Quote from: "mrjhb3"

May  3 22:14:50 sme70a9 httpd: PHP Notice:  Undefined offset:  0 in /home/httpd/html/horde/imp/lib/IMP.php on line 585    - This is fixed in the latest imp release

Thanks, I noticed a new release was out, it was on my to-do list.  

Quote from: "mrjhb3"

May  3 22:14:50 sme70a9 httpd: PHP Notice:  Use of undefined constant DB_PORTABILITY_LOWERCASE - assumed 'DB_PORTABILITY_LOWERCASE' in /home/httpd/html/horde/lib/Horde/DataTree/sql.php on line 1310 - Don't really know what this is

I think the Pear DB rpm needs to be updated/fixed (one was added in Alpha8).  I found this reference:
http://lists.horde.org/archives/kronolith/Week-of-Mon-20050103/005038.html - I saw this in my logs on Alpha7 as well, I'm not up to Alpha9 yet.

Maybe add these to the sourceforge bugtracker (both bugs seperately)


Yeah that fixes it.
pear ua
downloading Archive_Tar-1.3.1.tgz ...
...done: 15,102 bytes
upgrade-all ok: Archive_Tar 1.3.1
downloading Console_Getopt-1.2.tgz ...
...done: 3,370 bytes
upgrade-all ok: Console_Getopt 1.2
downloading DB-1.7.6.tgz ...
...done: 124,807 bytes
upgrade-all ok: DB 1.7.6
downloading HTTP-1.3.5.tgz ...
...done: 4,601 bytes
upgrade-all ok: HTTP 1.3.5
downloading Mail-1.1.4.tgz ...
...done: 14,548 bytes
upgrade-all ok: Mail 1.1.4
downloading Net_SMTP-1.2.6.tgz ...
...done: 9,106 bytes
requires package Auth_SASL'
Net_SMTP: dependencies failed

Since you also know about the other fix for imp, do you really want me to raise this as a bug?

JB
......

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
horde 3 update
« Reply #42 on: May 05, 2005, 04:49:59 AM »
Quote from: "mrjhb3"

Since you also know about the other fix for imp, do you really want me to raise this as a bug?


Great to see you two working on these issues. Yes - please follow up on the bug tracker, separate bugs for each issue.

Offline gregswallow

  • *
  • 651
  • +1/-0
horde 3 update
« Reply #43 on: May 06, 2005, 06:24:12 PM »
It's tempting to do 'pear ua', but I think the better approach would be to only do what is required (so you can continue to report bugs in SME7).  For example I had made a pear 1.3.5 rpm, but files in it conflicted (overwrote) files in the php rpm, so that isn't included in SME7.  For sure we need a newer db though, but best to do one at a time, rather than all of them.  It's ok if you're not going to build the rpm, you can report that 'pear upgrade db' fixed the error, and someone will buil a new pear-db rpm.

And yes, please report to the bug tracker, because I am having trouble finding time to work on this.

Offline mrjhb3

  • *
  • 1,188
  • +0/-0
    • John Bennett Services
horde 3 update
« Reply #44 on: May 13, 2005, 03:37:55 AM »
Greg et all,

I just loaded SME7A12.  Glad to see you got the latest imp created.  If anyone is following the bug tracker at sourceforge, then you will know about the pear module situation.

A while back I said I would try to note some differences from the horde 3 rpm's vs. the script I put together.  Here are the major ones I see:

horde conf.php
sme
$conf['sql']['socket'] = '/var/lib/mysql/mysql.sock';
$conf['mailer']['type'] = 'smtp';
$conf['mailer']['params'] = array();
$conf['mailer']['params'] = array('server' => 'mail.youdomain.xxx);
$conf['vfs']['params']['vfsroot'] = '/tmp';
$conf['vfs']['type'] = 'file';

jbs
$conf['mailer']['params']['sendmail_path'] = '/usr/lib/sendmail';
$conf['mailer']['params']['sendmail_args'] = '-oi';
$conf['mailer']['type'] = 'sendmail';
$conf['vfs']['params']['vfs_table'] = 'horde_vfs';
$conf['vfs']['params']['driverconfig'] = 'horde';
$conf['vfs']['type'] = 'sql';

I just left the path to the socket blank, it doesn't really seem to help or hurt to have or not have it in there.  Is there any advantage to having the mailer set to smtp vs. the default of sendmail?  You have chosen to use the file system for the VFS table where as I am currently using mysql.  I had also put together a script for sme7 using the same parameters as I have for sme 6.x and horde seemed to function just fine.  I think you have done a great job putting this together, and hope you find the time to package the rest of the modules.  Thanks for yours and everyone elses time and hard work getting these updates out the door.

JB
......

Offline gregswallow

  • *
  • 651
  • +1/-0
horde 3 update
« Reply #45 on: May 13, 2005, 07:15:46 PM »
SMTP was the setting in 6.0 - I am guessing it is because some SME servers send mail through their ISP's mail server because they're on a residential/restricted connection, and sendmail doesn't handle that?  I dont know...

I believe the vfs settings are also unchanged from 6.0 - are their other horde apps that require or work better with your settings?  Or is using mysql for this supposed to be faster/better?

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
horde 3 update
« Reply #46 on: May 14, 2005, 03:14:25 AM »
Quote from: "gregswallow"
SMTP was the setting in 6.0 - I am guessing it is because some SME servers send mail through their ISP's mail server because they're on a residential/restricted connection, and sendmail doesn't handle that?


QMAILQUEUE only has effect for SMTP injected mail. So if you want virus scanning/spam checking/any other sort of filtering for webmail injected mail, it'll have to be done via SMTP.

Is there any argument for not using SMTP?

Why aren't these issues being put into the bug tracker?

bugme

horde 3 update
« Reply #47 on: May 26, 2005, 06:14:35 PM »
I had a similar issue when we upgraded php from up2date.  I did a pear update-all and it fixed my problems

bugme

horde 3 update
« Reply #48 on: May 26, 2005, 06:15:45 PM »
nevermind wrong thread

Offline mrjhb3

  • *
  • 1,188
  • +0/-0
    • John Bennett Services
horde 3 update
« Reply #49 on: May 27, 2005, 07:31:57 AM »
Quote from: "CharlieBrady"
Quote from: "gregswallow"
SMTP was the setting in 6.0 - I am guessing it is because some SME servers send mail through their ISP's mail server because they're on a residential/restricted connection, and sendmail doesn't handle that?


QMAILQUEUE only has effect for SMTP injected mail. So if you want virus scanning/spam checking/any other sort of filtering for webmail injected mail, it'll have to be done via SMTP.

Is there any argument for not using SMTP?

Why aren't these issues being put into the bug tracker?


They are not being put in the bug tracker because all I did was ask a question, not state that I found an issue.  Your above statement seems to confirm to me that the way Greg has it set up is a better way than I currently do for the adhoc script that I have put together for 6.x.  If I find an issue with the difference of the settings, then a bug will be raised.  I don't think a bug needs to be raised on discussion only items.

JB
......