cant Uninstall??

Discuss installation of Scalix software

Moderators: ScalixSupport, admin

nnuxx

cant Uninstall??

Postby nnuxx » Mon Jan 22, 2007 12:14 am

hello

i first installed scalix11 normally, then i tried to move all dir's into a Scsi drive of 6oGB
so i created all dirs in the scsi disk like:
/opt/scalix would point to /sda1/scalix/opt/scalix
/var/opt/scalix would point to /sda1scalix/var/opt/scalix
symb links were working fine :), so i stopped scalix services (all) as stated in manual
and moved all folders and file, started scalix, and all when fine, i was a happy dude :D

but when i tryed to upgrade to latest downloaded version i got errors with the installer...

since i didnt had any config, neihter mailboxes on the server yet, i tried to uninstall, but still no joy, i got the same errors, i went wako, so i removed ALL files and folders AND all symb links, to try to do a clean install of lastest version after creating the symb links

but installer gives up with same errors as follows:

Code: Select all

tail -f /var/log/scalix-installer-20070122.log
2007-01-22 03:11:08,775 ERROR Failed to get available instances: ['sh: /opt/scalix-tomcat/bin/sxtomcat-get-mounted-instances: No such file or directory'].
2007-01-22 03:11:08,777 ERROR Couldn't locate Tomcat instances.
2007-01-22 03:11:08,778 ERROR Pre-uninstall function config_tomcat_instance failed to execute successfully
2007-01-22 03:11:08,778 ERROR Aborting uninstall
2007-01-22 03:11:08,779 INFO Uninstall end
2007-01-22 03:11:13,432 INFO Tomcat is already running so stopping it first
2007-01-22 03:11:13,563 INFO Stopped Tomcat using command /opt/scalix-tomcat/bin/shutdown.sh
2007-01-22 03:11:16,635 WARNING Tomcat was not stopped properly so forcing it now
2007-01-22 03:11:16,769 INFO Started Tomcat using /opt/scalix-tomcat/bin/startup.sh
2007-01-22 03:11:19,843 INFO Tomcat is now running True
2007-01-22 03:14:12,953 INFO Ending Scalix Installer - completed successfully
2007-01-22 03:14:19,060 INFO Initializing Scalix Installer version 11.0.0.653
2007-01-22 03:14:19,380 INFO Platform is: SUSE LINUX 10.1 (i586) on i386 : supported.
2007-01-22 03:14:20,111 INFO Starting Scalix Installer
2007-01-22 03:14:21,042 INFO Current locale is en_US and default is en_US
2007-01-22 03:14:28,308 INFO Packages installed: {'scalix-tomcat': ['5.5.16-140', '4744820', 'noarch', 'linux', '140', '(none)', '(none)'], 'scalix-server': ['11.0.0.431-1.suse101', '52361639', 'i586', 'linux', '1.suse101', 'SUSE101', '(none)'], 'scalix-postgres': ['11.0.0.653-1', '13411', 'noarch', 'linux', '1', '(none)', '(none)'], 'scalix-tomcat-connector': ['11.0.0.130-1.suse101', '657', 'i586', 'linux', '1.suse101', '(none)', '(none)']}
2007-01-22 03:14:30,689 INFO Obsolete packages installed: {}
2007-01-22 03:14:39,118 INFO Saving installation type:  uninstall mode:
2007-01-22 03:14:39,211 INFO Tomcat was running when we started: True
2007-01-22 03:14:39,218 INFO Packages installed: {'scalix-tomcat': ['5.5.16-140', '4744820', 'noarch', 'linux', '140', '(none)', '(none)'], 'scalix-server': ['11.0.0.431-1.suse101', '52361639', 'i586', 'linux', '1.suse101', 'SUSE101', '(none)'], 'scalix-postgres': ['11.0.0.653-1', '13411', 'noarch', 'linux', '1', '(none)', '(none)'], 'scalix-tomcat-connector': ['11.0.0.130-1.suse101', '657', 'i586', 'linux', '1.suse101', '(none)', '(none)']}
2007-01-22 03:14:44,506 INFO Components to uninstall: ['scalix-tomcat', 'scalix-server', 'scalix-postgres', 'scalix-tomcat-connector']
2007-01-22 03:14:49,664 INFO Java home directory is /usr/java/jre1.5.0_06
2007-01-22 03:14:49,719 INFO Stopped Tomcat using command /opt/scalix-tomcat/bin/shutdown.sh
2007-01-22 03:14:52,847 WARNING Tomcat was not stopped properly so forcing it now
2007-01-22 03:14:53,240 INFO Uninstall start
2007-01-22 03:14:53,252 ERROR Failed to get available instances: ['sh: /opt/scalix-tomcat/bin/sxtomcat-get-mounted-instances: No such file or directory'].
2007-01-22 03:14:53,255 ERROR Couldn't locate Tomcat instances.
2007-01-22 03:14:53,256 ERROR Could not find scalix-tomcat instances.
2007-01-22 03:14:53,281 ERROR Failed to get available instances: ['sh: /opt/scalix-postgres/bin/sxpsql-get-mounted-instances: No such file or directory'].
2007-01-22 03:14:53,282 ERROR Could not find Postgres instance names.
2007-01-22 03:14:53,282 ERROR Could not find scalix-postgres instances.
2007-01-22 03:14:53,283 ERROR Cannot find server instances: no /etc/opt/scalix/instance.cfg file.
2007-01-22 03:14:53,284 ERROR Could not find scalix-server instances.
2007-01-22 03:14:53,284 ERROR Pre-uninstall function discover_instances failed to execute successfully
2007-01-22 03:14:53,430 ERROR Failed to get available instances: ['sh: /opt/scalix-tomcat/bin/sxtomcat-get-mounted-instances: No such file or directory'].
2007-01-22 03:14:53,431 ERROR Couldn't locate Tomcat instances.
2007-01-22 03:14:53,432 ERROR Pre-uninstall function config_tomcat_instance failed to execute successfully
2007-01-22 03:14:53,501 INFO Server system admin user to possibly remove later: None
2007-01-22 03:14:53,502 INFO Server system admin group to possibly remove later: None
2007-01-22 03:14:53,503 INFO Server is not running
2007-01-22 03:14:53,518 INFO ldapmapper is not running.
2007-01-22 03:14:53,532 INFO Starting uninstallation of scalix-tomcat
2007-01-22 03:14:54,804 ERROR Operation failed: Uninstall /bin/rpm -e scalix-tomcat: (255) ['scalix-tomcat: unknown service', 'error: %preun(scalix-tomcat-5.5.16-140.noarch) scriptlet failed, exit status 1']
2007-01-22 03:14:54,806 ERROR Uninstall of scalix-tomcat failed
2007-01-22 03:14:55,806 ERROR Aborting uninstall
2007-01-22 03:14:55,807 ERROR Uninstallation aborted with errors
2007-01-22 03:14:55,807 INFO Uninstall end
2007-01-22 03:15:01,957 INFO Tomcat is already running so stopping it first
2007-01-22 03:15:02,148 INFO Stopped Tomcat using command /opt/scalix-tomcat/bin/shutdown.sh
2007-01-22 03:15:05,220 WARNING Tomcat was not stopped properly so forcing it now
2007-01-22 03:15:05,380 INFO Started Tomcat using /opt/scalix-tomcat/bin/startup.sh
2007-01-22 03:15:08,453 INFO Tomcat is now running True
2007-01-22 03:15:10,550 INFO Ending Scalix Installer - completed successfully


this is the strangest thing... like:

Code: Select all

2007-01-22 03:15:05,380 INFO Started Tomcat using /opt/scalix-tomcat/bin/startup.sh

offcourse this dir DOESNT exists!...



i cant uninstall Scalix server, DB, and Tomcat, to do a clean install!...

i'm thinking maybe trying a fsck???
any ideas?


thx much

:)

florian
Scalix
Scalix
Posts: 3852
Joined: Fri Dec 24, 2004 8:16 am
Location: Frankfurt, Germany
Contact:

Postby florian » Mon Jan 22, 2007 4:27 am

/op/scalix-tomcat should actually exist once you have installed the scalix-tomcat package. Could it be that while moving your data to your other disk that you accidentally moved this as well (and didn't create the respective symlink) or deleted it?

I would probably try to manually reinstalling the scalix-tomcat RPM using the --force option if necessary and see if you can get it back.

As an alternative, you can also force-uninstall all scalix RPMs using the RPM command, delete everything scalix-related under /opt, /etc/opt and /var/opt and start from scratch.

Cheers,
Florian.
Florian von Kurnatowski, Die Harder!


Return to “Installation”



Who is online

Users browsing this forum: No registered users and 7 guests

cron