Koozali.org: home of the SME Server

IMP 3.0 upgrade problems

Thomas Svensrud

IMP 3.0 upgrade problems
« on: February 20, 2002, 01:37:25 AM »
Any of you that tried Dan's howto had this problem?
Download is ok, all files i the imp_upgrade dir.
[root@server imp_upgrade]# rpm -Uvh *
Preparing...                ########################################### [100%]
   1:horde                  ########################################### [  7%]
   2:dcb-e-smith-horde      ########################################### [ 15%]
loading /etc/e-smith/sql/init/S10horde_mysql_create into mysql
Loading data into mysql [   OK   ]
   3:dcb-e-smith-horde      ########################################### [ 23%]
loading /etc/e-smith/sql/init/S10horde_mysql_create into mysql
ERROR 1061 at line 74: Duplicate key name 'category_category_name_idx'
Loading data into mysql [ FAILED ]
   4:dcb-e-smith-horde      ########################################### [ 30%]
ln: /etc/e-smith/sql/init/S10horde_mysql_create': File exists
loading /etc/e-smith/sql/init/S10horde_mysql_create into mysql
ERROR 1061 at line 74: Duplicate key name 'category_category_name_idx'
Loading data into mysql [ FAILED ]
   5:horde                  ########################################### [ 38%]
   6:imp                    ########################################### [ 46%]
   7:dcb-e-smith-imp        ########################################### [ 53%]
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
   8:dcb-e-smith-imp        ########################################### [ 61%]
   9:turba                  ########################################### [ 69%]
  10:dcb-e-smith-turba      ########################################### [ 76%]
loading /etc/e-smith/sql/init/S10horde_mysql_create into mysql
ERROR 1061 at line 74: Duplicate key name 'category_category_name_idx'
loading /etc/e-smith/sql/init/S10turba_sql_create into mysql
Loading data into mysql [ FAILED ]
  11:dcb-e-smith-turba      ########################################### [ 84%]
loading /etc/e-smith/sql/init/S10horde_mysql_create into mysql
ERROR 1061 at line 74: Duplicate key name 'category_category_name_idx'
loading /etc/e-smith/sql/init/S10turba_sql_create into mysql
Loading data into mysql [ FAILED ]
  12:dcb-e-smith-turba      ########################################### [ 92%]
loading /etc/e-smith/sql/init/S10horde_mysql_create into mysql
ERROR 1061 at line 74: Duplicate key name 'category_category_name_idx'
loading /etc/e-smith/sql/init/S10turba_sql_create into mysql
Loading data into mysql [ FAILED ]
  13:turba                  ########################################### [100%]
[root@server imp_upgrade]#
[root@server imp_upgrade]# rpm -Uvh *
Preparing...                ########################################### [100%]
package dcb-e-smith-horde-0.2-4 is already installed
package dcb-e-smith-imp-0.2-2 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-4es is already installed
[root@server imp_upgrade]#

Thomas Svensrud

Re: IMP 3.0 upgrade problems
« Reply #1 on: February 20, 2002, 01:41:53 AM »
When I try to uninstall, I get this message????
[root@server imp_upgrade]# rpm -e *
error: package dcb-e-smith-horde-0.2-4.noarch.rpm is not installed
error: package dcb-e-smith-imp-0.2-2.noarch.rpm is not installed
error: package dcb-e-smith-turba-0.2-3.noarch.rpm is not installed
error: package horde-2.0-3es.noarch.rpm is not installed
error: package imp-3.0-2es.noarch.rpm is not installed
error: package turba-1.0-4es.noarch.rpm is not installed
[root@server imp_upgrade]#

Dan Brown

Re: IMP 3.0 upgrade problems
« Reply #2 on: February 20, 2002, 01:50:39 AM »
Does it work?  Some of the messages you've reported are normal, others are the result of your downloading multiple versions of some of the RPMs.  You should have only downloaded the latest versions (as specified in the HOWTO), and that would have saved you some trouble.  In any case, though, none of those error messages sound like they should be fatal.  Give it a try and see what happens.

Rich Lafferty

Re: IMP 3.0 upgrade problems
« Reply #3 on: February 20, 2002, 02:05:05 AM »
"rpm -e" takes an RPM name, not a filename. Instead of
"rpm -e imp-3.0-2es.noarch.rpm", do "rpm -e imp".

Cheers,

--Rich

Thomas Svensrud

Re: IMP 3.0 upgrade problems
« Reply #4 on: February 20, 2002, 10:51:27 AM »
I get a very simple login page with only uname and pword. When I try to login, nothing works and I get thrown back to the login page again.

PS: If it's "fatal" I just reinstall and restore my backup :-)

Thomas

Dan Brown

Re: IMP 3.0 upgrade problems
« Reply #5 on: February 21, 2002, 04:36:27 PM »
Try checking your system log after an attempted login--is there any reference to mail.example.com?  If so, make sure that dcb-e-smith-imp is installed, and run

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