Koozali.org: home of the SME Server

Horde 3 upgrade/update

boss_hog

Horde 3 upgrade/update
« on: September 28, 2005, 06:31:18 PM »
Hi Yall,
just recently did the Horde 3 upgrade on my SME6.5 box.
It was well worth the upgrade, I like Horde 3 "extra's" and the script by John Bennett III made it painless!

Horde is working fine, actually, version 3 seems faster(?) than the base version in SME6.5.
My server seems to be running fine and I am not noticing any errors in the logs.

But.... (you seen this coming?) I am getting the following error when I try to access the Horde Admin Panel from the Server Manager:
"The requested URL /smehorde/adminhordesetup.html was not found on this server."

The file is in the ~/smehorde/ dir, and the symlinks are also in the ~/web/panels/manager/cgi-bin/ dir.

If anyone has some input, it would be much appreciated!
Joe

Offline mrjhb3

  • *
  • 1,188
  • +0/-0
    • John Bennett Services
Horde 3 upgrade/update
« Reply #1 on: September 29, 2005, 05:45:12 AM »
When did you run the update?  I had to make some changes due to newer versions of the pear modules which caused installs to not load any of the needed pear modules.  I'm pretty sure I checked the horde admin panels, but I'll get my test servers fired up and run the script and see what I get.

JB
......

boss_hog

Horde 3 upgrade/update
« Reply #2 on: September 29, 2005, 07:00:53 AM »
Hey JB,
I downloaded your script on Sept. 26.
After looking a little closer at the script, my php-4.3.11-1eo version might be a part of the problem.

However, I cannot see anything else wrong on the server. Actually, it is running snappier than
 it was before the Horde update. (The php-accelerator
would be my first guess.)

Are there any specific logs that might help get info?
My peek through the logs from the Server Manager didn't turn up anything. Just the usual noise about FormMagik!

Thanks
Joe

Offline mrjhb3

  • *
  • 1,188
  • +0/-0
    • John Bennett Services
Horde 3 upgrade/update
« Reply #3 on: September 29, 2005, 02:22:45 PM »
Was php4.3.11 installed before you ran the script?
Where did you get the 4.3.11 install script at?

Look at the different logs in /var/log/httpd and see if you can spot something.  Typically the 4.3.11 installs have needed to load some additional pear modules.  Search the fora for 4.3.11, I'm pretty sure someone has mentioned what needs to be loaded.

JB
......

boss_hog

Horde 3 upgrade/update
« Reply #4 on: September 29, 2005, 03:53:37 PM »
Hi JB,
Quote
Was php4.3.11 installed before you ran the script?
Where did you get the 4.3.11 install script at?


Yes, php updates were already installed.
The script came from the contribs section of contribs.org and are by Ergin Ă–zdemir.

Ran #pear list at the CLI:

[root]# pear list
Installed packages, channel pear.php.net:
=========================================
Package              Version  State
Archive_Tar          1.3.1    stable
Cache                1.5.5RC4 beta
Console_Getopt       1.2      stable
DB                   1.7.6    stable
Date                 1.4.3    stable
File                 1.2.2    stable
HTML_Template_IT     1.1.1    stable
HTTP_Request         1.2.4    stable
Log                  1.8.7    stable
Mail                 1.1.9    stable
Net_SMTP             1.2.7    stable
Net_Socket           1.0.6    stable
Net_URL              1.0.14   stable
Net_UserAgent_Detect 2.1.0    stable
PEAR                 1.4.1    stable
SOAP                 0.9.1    beta
Services_Weather     1.3.2    stable
XML_Parser           1.2.7    stable
XML_RPC              1.4.3    stable
XML_Serializer       0.17.0   beta
XML_Util             1.1.1    stable

The links from previous forum posts, I have already
researched them. The Pear DB, Pear Mail
had been done to resolve the "no incoming mail" issue.

The logs,
httpd\admin_error_logs has the following warning.
It shows up after each attempt to use the
Horde Admin Setup Panel:

adminhordesetup:
Statement unlikely to be reached at
/etc/e-smith/web/panels/manager/cgi-bin/
adminhordesetup line 83

and this

adminhordesetup: (Maybe you meant system() when you
said exec()?)

Thanks for the help.
Joe

boss_hog

Horde 3 upgrade/update
« Reply #5 on: September 29, 2005, 10:35:18 PM »
Hey JB,
may have figured out the issue,
actually it is a little red face for me.

The install script put the /smehorde/ dir
in the ../Primary/html/ dir.
My Primary site lives in an ibay.
Copying the /smehorde/ dir to the
../<ibay>/html/ dir allowed the Horde Admin Setup
Panel to function.

My question is, what the permissions need to be for the directory(smehorde)
and files within?
Can /smehorde/ dir safely live in an ibay?
Is there a file someplace else in the system
that could be changed to point to
.../Primary/html/smehorde/ dir?
Thanks for the help.
Joe

Offline mrjhb3

  • *
  • 1,188
  • +0/-0
    • John Bennett Services
Horde 3 upgrade/update
« Reply #6 on: September 30, 2005, 10:05:09 PM »
boss_hog,

You raise a good point.  Currently, I don't know how to query for what the primary site is.  I'll have to check on that.  Hopefully, it's stored in one of the DB's.  You have any ideas?

Here are the file permissions I have:

drwxr-sr-x    2 root     shared       4096 Sep 24 20:17 smehorde
[root@jbtest1 html]# cd smehorde/
[root@jbetest1 smehorde]# ls -lart
-rw-r--r--    1 root     root          884 Aug  5 10:14 adminhordesetup.html
-rw-r--r--    1 root     shared          0 Sep 24 20:17 index.html
-rw-r--r--    1 root     shared         34 Sep 24 20:17 adminhordesave.html

HTH,

JB
......

Offline mrjhb3

  • *
  • 1,188
  • +0/-0
    • John Bennett Services
Horde 3 upgrade/update
« Reply #7 on: October 05, 2005, 06:17:20 PM »
Quote from: "boss_hog"
Hey JB,
may have figured out the issue,
actually it is a little red face for me.

The install script put the /smehorde/ dir
in the ../Primary/html/ dir.
My Primary site lives in an ibay.
Copying the /smehorde/ dir to the
../<ibay>/html/ dir allowed the Horde Admin Setup
Panel to function.

My question is, what the permissions need to be for the directory(smehorde)
and files within?
Can /smehorde/ dir safely live in an ibay?
Is there a file someplace else in the system
that could be changed to point to
.../Primary/html/smehorde/ dir?
Thanks for the help.
Joe


boss_hog (love that name),

I believe I have something to correct this.  During the install you will be prompted to enter your i-bay that contains your primary domain content, or just
enter if it's the default.  I have ran and tested this, and it works fine for me.  Do you have a test server you could test this on?  If so, I'll send you the script
and you can pull the updates from my cablem modem, which won't be the fastest, but hopefully good enough for testing.  Also, I have added gollem (Thanks for the look Greg Swallow) as well.

JB
......

boss_hog

Horde 3 upgrade/update
« Reply #8 on: October 06, 2005, 12:14:57 AM »
Hey JB,
I could put together another SME6.5 box. Should have some time near the end of the week or Sunday to test.

So, yes I would like to get the script!
What I will do is put togehter a "clean" 6.5 box, install the yum "updater system", update the box and then apply the Horde 3 upgrade. Would this be acceptable?
Joe

Offline mrjhb3

  • *
  • 1,188
  • +0/-0
    • John Bennett Services
Horde 3 upgrade/update
« Reply #9 on: October 06, 2005, 01:27:25 AM »
Quote from: "boss_hog"
Hey JB,
I could put together another SME6.5 box. Should have some time near the end of the week or Sunday to test.

So, yes I would like to get the script!
What I will do is put togehter a "clean" 6.5 box, install the yum "updater system", update the box and then apply the Horde 3 upgrade. Would this be acceptable?
Joe


Great.  Look up my profile and send me an email address and I'll send you the script.

JB
......

boss_hog

Horde 3 upgrade/update
« Reply #10 on: October 07, 2005, 06:04:50 PM »
Hey Yall,
for those following the Horde 3 upgrade
path and JB, here is some added info.

The new TEST script that JB created asked for the primary domain
location and worked as expected,
no errors and the addition of Gollom is very nice(file manager
within Horde). Makes the Horde 3 extremely powerful,
and is another nice addition to the power of SME.

For the techy's:
P2 @ 300mgz, 256mg ram, base install of SME6.5rc1,
added the yum update rpm, updated the system via yum etc.,
then ran the install_horde30 script.
Completely painless to this point!
Went to the Server Manager,
Horde Admin Setup Panel, everything appears fine.

Excellent work by JB!
Joe

NOTE: changed the title of this thread to make it more accurate.