Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: rachid on February 11, 2002, 01:36:59 PM

Title: IMP V3 SME 5.1.2
Post by: rachid 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
Title: Re: IMP V3 SME 5.1.2
Post by: Dan Brown 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...
Title: Re: IMP V3 SME 5.1.2
Post by: Robert 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
Title: Re: IMP V3 SME 5.1.2
Post by: Dan Brown 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?
Title: Re: IMP V3 SME 5.1.2
Post by: Jean-Philippe on February 12, 2002, 01:31:21 AM
Thanks for this one, Dan : everything went OK with SME 5.1.2!
Title: Re: IMP V3 SME 5.1.2
Post by: dubois on February 12, 2002, 01:44:30 AM
works, and looks good with my 5.1.2
Title: Re: IMP V3 SME 5.1.2
Post by: Robert 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
Title: Re: IMP V3 SME 5.1.2
Post by: Dan Brown 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?
Title: Re: IMP V3 SME 5.1.2
Post by: Robert on February 12, 2002, 06:52:40 PM
I couldn't get the wget to work without the /7/

Robert
Title: Re: IMP V3 SME 5.1.2
Post by: Robert 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
Title: Re: IMP V3 SME 5.1.2
Post by: daithik 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?
Title: Re: IMP V3 SME 5.1.2
Post by: Dan Brown 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.
Title: Re: IMP V3 SME 5.1.2
Post by: Charlie Brady 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
Title: Re: IMP V3 SME 5.1.2
Post by: Bill Pflaumer 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]#
Title: Re: IMP V3 SME 5.1.2
Post by: Dan Brown 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!
Title: Re: IMP V3 SME 5.1.2
Post by: Steve M 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.
Title: Re: IMP V3 SME 5.1.2
Post by: Dan Brown 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.
Title: Re: IMP V3 SME 5.1.2
Post by: Jan-Willem 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.
Title: Re: IMP V3 SME 5.1.2
Post by: vladmen 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.
Title: Re: IMP V3 SME 5.1.2
Post by: Dan Brown 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)?
Title: Re: IMP V3 SME 5.1.2
Post by: Steve M 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.
Title: Re: IMP V3 SME 5.1.2
Post by: Jim P BeVard 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.
Title: Re: IMP V3 SME 5.1.2
Post by: Jan-Willem 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.
Title: Re: IMP V3 SME 5.1.2
Post by: Dan Brown 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
Title: Re: IMP V3 SME 5.1.2
Post by: Jim P BeVard on February 13, 2002, 10:55:51 PM
Thanks, that did the trick!
Title: Re: IMP V3 SME 5.1.2
Post by: Jan-Willem 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
Title: Re: IMP V3 SME 5.1.2
Post by: Jan-Willem 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
Title: Re: IMP V3 SME 5.1.2
Post by: Jan-Willem 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
Title: Re: IMP V3 SME 5.1.2
Post by: Dan Brown 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.
Title: Re: IMP V3 SME 5.1.2
Post by: Jan-Willem on February 13, 2002, 11:43:34 PM
Dan,

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

Greetings, Jan-Willem
Title: Re: IMP V3 SME 5.1.2
Post by: Jan-Willem 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.
Title: Re: IMP V3 SME 5.1.2
Post by: Jan-Willem on February 14, 2002, 03:38:45 PM
Grumph.....

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

Jan-Willem
Title: Re: IMP V3 SME 5.1.2
Post by: calvin 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.


...
Title: Re: IMP V3 SME 5.1.2
Post by: calvin 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.


...
Title: Re: IMP V3 SME 5.1.2
Post by: Dan Brown 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.
Title: Re: IMP V3 SME 5.1.2
Post by: Scott Lewis 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
Title: Re: IMP V3 SME 5.1.2
Post by: calvin 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
Title: Re: IMP V3 SME 5.1.2
Post by: David MONDON 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
Title: Re: IMP V3 SME 5.1.2
Post by: Dan Brown on March 06, 2002, 01:38:54 AM
Yeah, upgrade PHP as the HOWTO specifies.
Title: Re: IMP V3 SME 5.1.2
Post by: David MONDON on March 06, 2002, 12:28:28 PM
So I should try with the --nodeps tag ???

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

David M
Title: Re: IMP V3 SME 5.1.2
Post by: Dan Brown on March 06, 2002, 04:22:05 PM
No, you should upgrade PHP as specified in the HOWTO.
Title: Re: IMP V3 SME 5.1.2
Post by: David MONDON on March 06, 2002, 09:02:04 PM
I'd succesfully upgraded correctly my server.

Thx Dan for your excellent How-to :)

David
Title: Re: IMP V3 SME 5.1.2
Post by: Mike Whitaker 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
Title: Re: IMP V3 SME 5.1.2
Post by: Dan Brown 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?
Title: Re: IMP V3 SME 5.1.2
Post by: Mike Whitaker 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.
Title: Re: IMP V3 SME 5.1.2
Post by: Mike Whitaker 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?
Title: Re: IMP V3 SME 5.1.2
Post by: Mike Whitaker 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!