Ticket #1578 (Closed: invalid)
Setting up DB fails on reinstall
Priority: | high | Reporter: | sebastian |
---|---|---|---|
Severity: | minor | Assigned to: | tomash |
Component: | storage server | Status: | closed |
Version: | 1.0.2 | Resolution: | invalid |
Milestone: | 1.1.x | Keywords: |
Description by sebastian:
The first install of 1.0.2-4 package went fine (database were removed before). But after I removed livesupport-station and tryed to reinstall, it failed:
Creating database and database user... /usr/lib/postgresql/bin/readpgenv: line 2: /etc/postgresql/postgresql.env: No such file or directory FEHLER: Benutzer »livesupport« existiert bereits /usr/lib/postgresql/bin/readpgenv: line 2: /etc/postgresql/postgresql.env: No such file or directory FEHLER: Datenbank »LiveSupport« existiert bereits Creating ODBC data source and driver... Registering LiveSupport ODBC data source... Setting up directory permissions... Configuring apache ... /etc/apache/conf.d Y /etc/apache2/conf/modules.d N /etc/httpd/conf.d N done Restarting apache... apache N apache2 Y Forcing reload of web server: Apache2. httpd N done Creating symlinks... Initializing database...
Warning: main(../conf.php): failed to open stream: No such file or directory in /opt/livesupport/var/LiveSupport/storageServer/var/install/install.php on line 39
Fatal error: main(): Failed opening required '../conf.php' (include_path='.:/usr/share/php:/usr/share/pear') in /opt/livesupport/var/LiveSupport/storageServer/var/install/install.php on line 39 dpkg: Fehler beim Bearbeiten von livesupport-station (--configure):
Unterprozess post-installation script gab den Fehlerwert 1 zurück Fehler traten auf beim Bearbeiten von: livesupport-station E: Sub-process /usr/bin/dpkg returned an error code (1)
Attachments
Changelog
Thu Dec 22 21:04:55 2005: Modified by sebastian
Thu Dec 22 21:12:20 2005: Modified by sebastian
- resolution set to invalid
- status changed from new to closed
Sorry, for some reason the whole lib directory was removed.
After I purged livesupport-station package, following happend:
Creating database and database user... /usr/lib/postgresql/bin/readpgenv: line 2: /etc/postgresql/postgresql.env: No such file or directory CREATE USER /usr/lib/postgresql/bin/readpgenv: line 2: /etc/postgresql/postgresql.env: No such file or directory CREATE DATABASE Creating ODBC data source and driver... Registering ODBC PostgreSQL driver... Registering LiveSupport ODBC data source... /opt/livesupport/bin/postInstallStation.sh: line 307: /opt/livesupport/usr/lib/pear/bin/install.sh: Datei oder Verzeichnis nicht gefunden dpkg: Fehler beim Bearbeiten von livesupport-station (--install):
This happens even with the 1.0.2-2 package, were I changed nothing by myself except the control file.