Koozali.org: home of the SME Server

IMP V3 SME 5.1.2

rachid

IMP V3 SME 5.1.2
« on: February 11, 2002, 01:36:59 PM »
hy guys,


i recently succeded in installation of IMP V3 with HORDE V2 on my SME 5.1.2 server, i will soon release an how-to to help you all :-)


sincerely

Rachid

Dan Brown

Re: IMP V3 SME 5.1.2
« Reply #1 on: February 11, 2002, 04:47:01 PM »
Beat you to it:

http://www.familybrown.org/howtos/imp-upgrade.html

If I'd known somebody else was working on it, I would have said something earlier, sorry...

Robert

Re: IMP V3 SME 5.1.2
« Reply #2 on: February 12, 2002, 12:38:52 AM »
Hi,

I tried once ang got the same failed dependicies as you:

 libmm.so.0  
 libmm.so.11

I look forward to hearing how you solved it.

Robert

Dan Brown

Re: IMP V3 SME 5.1.2
« Reply #3 on: February 12, 2002, 12:57:17 AM »
You shouldn't have gotten those errors if you were installing on SME 5.1.2.  Were you using 5.0?

Jean-Philippe

Re: IMP V3 SME 5.1.2
« Reply #4 on: February 12, 2002, 01:31:21 AM »
Thanks for this one, Dan : everything went OK with SME 5.1.2!

dubois

Re: IMP V3 SME 5.1.2
« Reply #5 on: February 12, 2002, 01:44:30 AM »
works, and looks good with my 5.1.2

Robert

Re: IMP V3 SME 5.1.2
« Reply #6 on: February 12, 2002, 06:33:44 PM »
Hi,

When I try the PHP upgrade on a 5.1.2 installation (that was created by upgrading from 5.0), I get the following:

error: failed dependencies:
   php = 4.0.4pl1-9 is needed by php-manual-4.0.4pl1-9

Anybody know why?

Also, in the new how-to, the path to rpmfind.net is missing a /7/ between /linux/ and /redhat/

Should be:

ftp://rpmfind.net/linux/7/redhat/7.1/en/os/i386/RedHat/RPMS/expat-1.95.1-1.i386.rpm

Thanks,

Robert

Dan Brown

Re: IMP V3 SME 5.1.2
« Reply #7 on: February 12, 2002, 06:43:48 PM »
Hmmm, looks like I'll need to add php-manual to the PHP howto.  I'd been hoping to avoid it, as it's ~15MB that won't be much use to most people.

As for expat, rpmfind.net doesn't include the /7/ in their link, and it does work without it.  What makes you say it needs it?

Robert

Re: IMP V3 SME 5.1.2
« Reply #8 on: February 12, 2002, 06:52:40 PM »
I couldn't get the wget to work without the /7/

Robert

Robert

Re: IMP V3 SME 5.1.2
« Reply #9 on: February 12, 2002, 07:11:19 PM »
Ok,

After downloading php-manual the install took, and the new IMP is up and running.

Thanks for the help everyone.

Robert

daithik

Re: IMP V3 SME 5.1.2
« Reply #10 on: February 12, 2002, 08:53:43 PM »
If you are not using the PHP Manual and want to save yourself the download, you should be able to issue:

rpm -e php-manual

the upgrade should then work.
I didn't have this issue - is the manual installed by default?

Dan Brown

Re: IMP V3 SME 5.1.2
« Reply #11 on: February 12, 2002, 09:00:10 PM »
I think it may have been installed by default in 5.0, but not in 5.1.2.

Charlie Brady

Re: IMP V3 SME 5.1.2
« Reply #12 on: February 12, 2002, 10:02:53 PM »
Robert wrote:

> When I try the PHP upgrade on a 5.1.2 installation (that was
> created by upgrading from 5.0), I get the following:
>
> error: failed dependencies:
>    php = 4.0.4pl1-9 is needed by php-manual-4.0.4pl1-9

Just do "rpm -e php-manual" before trying your upgrade.

> Anybody know why?

Excessive specification of dependency. Why should I need that exact version of PHP installed to have that version of the manual?

Charlie

Bill Pflaumer

Re: IMP V3 SME 5.1.2
« Reply #13 on: February 13, 2002, 04:03:22 AM »
Dan
I implemented your how-to on an SME 5.1.2 that was upgraded from V5.0 Update 3 and is working great. I Thank You ! I am fairly new with Linux and just loving it, but I did get the following errors stating that some directories were not empty and could not be deleted. I just wanted to know if this was an expected output or did I make some type of mistake.

I Thank you and Mitel for making a great contribution/product.

Bill

[root@sme-grn imp_upgrade]# rpm -Uvh *
Preparing...                ########################################### [100%]
   1:horde                  ########################################### [ 16%]
error: cannot remove /home/httpd/horde-phplib - directory not empty
   2:dcb-e-smith-horde      ########################################### [ 33%]
loading /etc/e-smith/sql/init/S10horde_mysql_create into mysql
Loading data into mysql [   OK   ]
   3:imp                    ########################################### [ 50%]
   4:dcb-e-smith-imp        ########################################### [ 66%]
error: cannot remove /home/httpd/html/horde/imp/SSLonly - directory not empty
error: cannot remove /home/httpd/html - directory not empty
error: cannot remove /home/httpd - directory not empty
   5:turba                  ########################################### [ 83%]
   6:dcb-e-smith-turba      ########################################### [100%]
loading /etc/e-smith/sql/init/S10turba_sql_create into mysql
Loading data into mysql [   OK   ]
[root@sme-grn imp_upgrade]#

Dan Brown

Re: IMP V3 SME 5.1.2
« Reply #14 on: February 13, 2002, 08:05:36 AM »
Bill,

Those messages are known issues, but they don't seem to affect anything.  As long as it works, don't worry about it.  Thanks for the kind words!

Steve M

Re: IMP V3 SME 5.1.2
« Reply #15 on: February 13, 2002, 02:57:05 PM »
Hi hope someone can help.
I followed the how to 3 times now but i keep getting this same error on login to imp the error is obviousely got some thing to do with a DB but hoe to fix it i am not sure. I have done this on a fresh install of 5.1.2 upgraded php that is working OK install as per the howto

On install i get the messages below. but nothing about updating a data base.

Preparing...                ########################################### [100%]
   1:horde                  ########################################### [ 16%]
   2:dcb-e-smith-horde      ########################################### [ 33%]
In /etc/e-smith/templates//home/httpd/html/horde/config/horde.php/00Horde: Unquoted string "imap" may clash with future reserved word at (eva.
In /etc/e-smith/templates//home/httpd/html/horde/config/horde.php/00Horde: Unquoted string "example" may clash with future reserved word at (.
In /etc/e-smith/templates//home/httpd/html/horde/config/horde.php/00Horde: Unquoted string "com" may clash with future reserved word at (eval.
In /etc/e-smith/templates//home/httpd/html/horde/config/horde.php/00Horde: Unquoted string "imap" may clash with future reserved word at (eva.
   3:imp                    ########################################### [ 50%]
   4:dcb-e-smith-imp        ########################################### [ 66%]
   5:turba                  ########################################### [ 83%]
   6:dcb-e-smith-turba      ########################################### [100%]
[root@rocky imp_upgrade]#

On login i get this error message.

A fatal error has occurred
object(db_error)(7) {
  ["error_message_prefix"]=>
  string(0) ""
  ["mode"]=>
  int(1)
  ["level"]=>
  int(1024)
  ["code"]=>
  int(-24)
  ["message"]=>
  string(24) "DB Error: connect failed"
  ["userinfo"]=>
  string(86) " [nativecode=Access denied for user: 'horde@localhost' (Using password: YES)] ** Array"
  ["callback"]=>
  NULL
}
[/home/httpd/html/horde/lib/Prefs/sql.php : 102]

Any help would be appreciated.

Steve M.

Dan Brown

Re: IMP V3 SME 5.1.2
« Reply #16 on: February 13, 2002, 04:28:25 PM »
Steve, It looks like you're using a recent version of the HOWTO with older versions of the RPMs.  The current versions automatically upgrade the database.  Run through the download portion of the HOWTO again, making sure you get the current versions, and install them.  This should solve your problem.

Jan-Willem

Re: IMP V3 SME 5.1.2
« Reply #17 on: February 13, 2002, 06:33:56 PM »
Hi Dan,

The upgrade worked perfect (after I changed $DB/turba-1.0-4es.noarch.rpm in $DB/turba-1.0-3es.noarch.rpm). Now when I want to log in, not one account is recognized.
Any idea?

Jan-Willem.

vladmen

Re: IMP V3 SME 5.1.2
« Reply #18 on: February 13, 2002, 08:11:38 PM »
Thanks for great how-to. Just installed it on a fresh SME 5.12. Everything works without any hick-ups.

Dan Brown

Re: IMP V3 SME 5.1.2
« Reply #19 on: February 13, 2002, 08:44:45 PM »
Jan-Willem,

Turba -4es was just updated last night, and may take a while to propogate out to e-smith.org.  It's a minor patch that should fix the trouble with not being able to auto-add addresses to your address book.  It wouldn't be related to difficulty logging in.

What happens when you try to log in?  Do you get an error message?  Do you have any messages in your system log (/var/log/messages)?

Steve M

Re: IMP V3 SME 5.1.2
« Reply #20 on: February 13, 2002, 08:54:59 PM »
All fixed i had downloaded the rpm on monday, didnt realise that they had been updated noticed just after posting.
Thanks for your help.

Jim P BeVard

Re: IMP V3 SME 5.1.2
« Reply #21 on: February 13, 2002, 09:15:49 PM »
I'm having the same problem with no uses being able to login here is the error in the log

Feb 13 13:12:39 RobbieTs HORDE[9830]: [imp] FAILED LOGIN 192.168.1.2 to imap.example.com:143[imap] as jim [on line 332 of "/home/httpd/html/horde/imp/lib/IMP.php"]

I think it's because of the imap.example.com but I don't know how to change that to my server.

Jan-Willem

Re: IMP V3 SME 5.1.2
« Reply #22 on: February 13, 2002, 09:26:32 PM »
Hi,

I have the same error in the log:

feb 13 19:23:32 e-smith-server HORDE[1303]: [imp] FAILED LOGIN 192.168.1.65 to imap.example.com:143[imap] as janwillem [on line 332 of "/home/httpd/html/horde/imp/lib/IMP.php"]

Jan-Willem.

Dan Brown

Re: IMP V3 SME 5.1.2
« Reply #23 on: February 13, 2002, 10:42:48 PM »
Jim and Jan-Willem,

It almost sounds like you didn't install dcb-e-smith-imp.  What does "rpm -q dcb-e-smith-imp" return?  If it is installed, run

/sbin/e-smith/expand-template /home/httpd/horde/imp/config/servers.php

Jim P BeVard

Re: IMP V3 SME 5.1.2
« Reply #24 on: February 13, 2002, 10:55:51 PM »
Thanks, that did the trick!

Jan-Willem

Re: IMP V3 SME 5.1.2
« Reply #25 on: February 13, 2002, 11:13:44 PM »
Hi Dan,

I changed $DB/dcb-e-smith-imp-0.2-2.noarch.rpm in $DB/dcb-e-smith-imp-0.2-1.noarch.rpm.
---------------------------------------------------------------------------------------------------------------------
[root@e-smith-server imp_upgrade]# wget $DB/dcb-e-smith-imp-0.2-1.noarch.rpm
--21:05:40--  ftp://ftp.e-smith.org/pub/e-smith/contrib/DanBrown/RPMS/noarch/dcb-e-smith-imp-0.2-1.noarch.rpm
           => dcb-e-smith-imp-0.2-1.noarch.rpm'
Connecting to ftp.e-smith.org:21... connected!
Logging in as anonymous ... Logged in!
==> TYPE I ... done.  ==> CWD pub/e-smith/contrib/DanBrown/RPMS/noarch ... done.
==> PORT ... done.    ==> RETR dcb-e-smith-imp-0.2-1.noarch.rpm ... done.
Length: 15,898 (unauthoritative)

    0K -> .......... .....                                       [100%]

21:05:42 (57.29 KB/s) - dcb-e-smith-imp-0.2-1.noarch.rpm' saved [15898]
[root@e-smith-server imp_upgrade]# ls
dcb-e-smith-horde-0.2-3.noarch.rpm  horde-2.0-3es.noarch.rpm
dcb-e-smith-imp-0.2-1.noarch.rpm    imp-3.0-2es.noarch.rpm
dcb-e-smith-turba-0.2-3.noarch.rpm  turba-1.0-3es.noarch.rpm
[root@e-smith-server imp_upgrade]# rpm -Uvh *
Preparing...                ########################################### [100%]
package dcb-e-smith-horde-0.2-3 is already installed
package dcb-e-smith-turba-0.2-3 is already installed
package horde-2.0-3es is already installed
package imp-3.0-2es is already installed
package turba-1.0-3es is already installed
[root@e-smith-server imp_upgrade]# rpm -q dcb-e-smith-imp
package dcb-e-smith-imp is not installed
---------------------------------------------------------------------------------------------------------------------
So, it didn't work. How can I install dcb-e-smith-imp-0.2-1.noarch.rpm?

Jan-Willem

Jan-Willem

Re: IMP V3 SME 5.1.2
« Reply #26 on: February 13, 2002, 11:29:03 PM »
Hi Dan,

I installed dcb-e-smith-imp-....rpm.
But /sbin/e-smith/expand-template /home/httpd/horde/imp/config/servers.php didn't work.

Jan-Willem.


[root@e-smith-server imp_upgrade]# rpm -Uvh dcb-e-smith-imp-0.2-1.noarch.rpm
Preparing...                ########################################### [100%]
   1:dcb-e-smith-imp        ########################################### [100%]
error: cannot remove /home/httpd/html/horde/imp/SSLonly - directory not empty
error: cannot remove /home/httpd/html - directory not empty
error: cannot remove /home/httpd - directory not empty
[root@e-smith-server imp_upgrade]# rpm -q dcb-e-smith-imp
dcb-e-smith-imp-0.2-1
[root@e-smith-server imp_upgrade]# /sbin/e-smith/expand-template /home/httpd/horde/imp/config/servers.php
Cannot create output file //home/httpd/horde/imp/config/servers.php.2213: No such file or directory

Jan-Willem

Re: IMP V3 SME 5.1.2
« Reply #27 on: February 13, 2002, 11:37:52 PM »
Hi,

Webmail is working now. Perfect :-)
But why is /sbin/e-smith/expand-template /home/httpd/horde/imp/config/servers.php not working?

Jan-Willem.

> [root@e-smith-server imp_upgrade]#
> /sbin/e-smith/expand-template
> /home/httpd/horde/imp/config/servers.php
> Cannot create output file
> //home/httpd/horde/imp/config/servers.php.2213: No such file
> or directory

Dan Brown

Re: IMP V3 SME 5.1.2
« Reply #28 on: February 13, 2002, 11:39:43 PM »
Jan-Willem wrote:

> But why is /sbin/e-smith/expand-template
> /home/httpd/horde/imp/config/servers.php not working?

    Because I goofed, and that should be "/home/httpd/html/horde..."  Sorry.

Jan-Willem

Re: IMP V3 SME 5.1.2
« Reply #29 on: February 13, 2002, 11:43:34 PM »
Dan,

Thanks for your patient, everything works great now. :-))

Greetings, Jan-Willem

Jan-Willem

Re: IMP V3 SME 5.1.2
« Reply #30 on: February 13, 2002, 11:53:09 PM »
I have one last question:

After the upgrade of PHP, I created the file test.php including the line (text doc) in /home/e-smith/files/primary/html.
When I point my browser to http://mydomain/test.php I get "The page cannot be found" message.

Any idea??

Jan-Willem.

Jan-Willem

Re: IMP V3 SME 5.1.2
« Reply #31 on: February 14, 2002, 03:38:45 PM »
Grumph.....

After I changed test.php.txt in test.php, the test worked.

Jan-Willem

calvin

Re: IMP V3 SME 5.1.2
« Reply #32 on: February 15, 2002, 06:59:04 PM »
When I upgrade IMP V3 SME 5.12 in my server, I have a problem with folders in IMP V2. The users can't access the folders that have been created in IMP V2, if you access the directory of the user on the server you can see the folders and all messages, but in webmail IMP V3 you can't.


...

calvin

Re: IMP V3 SME 5.1.2
« Reply #33 on: February 15, 2002, 06:59:05 PM »
When I upgrade IMP V3 SME 5.12 in my server, I have a problem with folders in IMP V2. The users can't access the folders that have been created in IMP V2, if you access the directory of the user on the server you can see the folders and all messages, but in webmail IMP V3 you can't.


...

Dan Brown

Re: IMP V3 SME 5.1.2
« Reply #34 on: February 15, 2002, 07:10:22 PM »
calvin wrote:

> with folders in IMP V2. The users can't access the folders
> that have been created in IMP V2, if you access the directory

    I'm sure posting this once would have been sufficient.  Try clearing the "Folder Prefix" field on the login screen, and see if that helps.

Scott Lewis

Re: IMP V3 SME 5.1.2
« Reply #35 on: February 16, 2002, 12:51:06 PM »
Is there a way to chnage the colours/layout etc of IMP v3. If so, what files and where can be altered.

Thanks

Scott

calvin

Re: IMP V3 SME 5.1.2
« Reply #36 on: February 17, 2002, 05:16:27 PM »
Thanks Dan I tested here and everything is ok now, excuse-me but I posted the message twice in the forum accidentaly,

Greetings, Calvin

David MONDON

Re: IMP V3 SME 5.1.2
« Reply #37 on: March 06, 2002, 01:32:04 AM »
hello,
I try to upgrade my IMP to V3 on a SME V5.1.2 and got

failed dependencies

php >= php-4.1.0..... etc...

any solution ?

thx

Dan Brown

Re: IMP V3 SME 5.1.2
« Reply #38 on: March 06, 2002, 01:38:54 AM »
Yeah, upgrade PHP as the HOWTO specifies.

David MONDON

Re: IMP V3 SME 5.1.2
« Reply #39 on: March 06, 2002, 12:28:28 PM »
So I should try with the --nodeps tag ???

i'll try today....thx :)

David M

Dan Brown

Re: IMP V3 SME 5.1.2
« Reply #40 on: March 06, 2002, 04:22:05 PM »
No, you should upgrade PHP as specified in the HOWTO.

David MONDON

Re: IMP V3 SME 5.1.2
« Reply #41 on: March 06, 2002, 09:02:04 PM »
I'd succesfully upgraded correctly my server.

Thx Dan for your excellent How-to :)

David

Mike Whitaker

Re: IMP V3 SME 5.1.2
« Reply #42 on: March 08, 2002, 07:28:38 AM »
Ok,

I followed Dan's wonderful how-to to the letter, made sure that dcb-e-smith was installed and expanded the template as posted earlier, and I still cannot login in to IMP 3.  

I've done a fresh reinstall 3 times with the same results.

Does anyone have any idea what I could be doing wrong?

Any help very appreciated.  I'm trying to convince my superiors to move from exchange to e-smith, but if I can't figure this out, that project is in the trash.

Thanks

Dan Brown

Re: IMP V3 SME 5.1.2
« Reply #43 on: March 08, 2002, 07:55:44 AM »
Mike,

Take a look in your system log, and see if there are any references to example.com.  If so, look at home/httpd/html/horde/imp/config/servers.php.  Does it have the "DO NOT MODIFY THIS FILE" banner at the top?

Mike Whitaker

Re: IMP V3 SME 5.1.2
« Reply #44 on: March 09, 2002, 03:47:11 AM »
Dan,

There are no instances of "example.com" in my log, but the "DO NOT MODIFY THIS FILE" is at the top of the servers.php file.

Mike Whitaker

Re: IMP V3 SME 5.1.2
« Reply #45 on: March 10, 2002, 09:47:16 PM »
update,

I seem to lose all webmail function when I upgrade to php 4.1.1.  Has anyone else had this happen?

Mike Whitaker

Re: IMP V3 SME 5.1.2
« Reply #46 on: March 11, 2002, 12:54:38 AM »
update,

It's working!!  For some reason it kept overwriting the php.ini file when I upgraded php.  Thanks Dan for your help!