And is ubuntu a good distribution enought ?
I try to install the deb package
First one : lib... ok after some dependencies missing
2nd station :
I got an error
-------------------------------------------------------------- cb@ubuntu:~/deb$ sudo dpkg -i livesupport-station_1.0.2-2_i386.deb
(Lecture de la base de données... 73668 fichiers et répertoires déjà installés.)
Dépaquetage de livesupport-station (à partir de livesupport-station_1.0.2-2_i386.deb) ...
Checking for required tools...
Exectuable sed found...
Exectuable psql not found...
dpkg : erreur de traitement de livesupport-station_1.0.2-2_i386.deb (--install) :
le sous-processus pre-installation script a retourné une erreur de sortie d'état 1
Removing any system startup links for /etc/init.d/livesupport-station ...
Des erreurs ont été rencontrées pendant l'exécution :
livesupport-station_1.0.2-2_i386.deb
---------------------------------------------------------------
I check on my /etc/init.d I have nothing like livesupport...
> 2nd station :
> I got an error
> --------------------------------------------------------------
> cb@ubuntu:~/deb$ sudo dpkg -i livesupport-station_1.0.2-2_i386.deb
> (Lecture de la base de données... 73668 fichiers et répertoires déjà installés.)
> Dépaquetage de livesupport-station (à partir de livesupport-station_1.0.2-2_i386.deb) ...
> Checking for required tools...
> Exectuable sed found...
> Exectuable psql not found...
I had the same some time ago. An simple "apt-get install postgresql" will fix it.
But, why does this raise an error from post-install-script, instead the installation does not start because of missing dependency?
> -----Ursprüngliche Nachricht-----
> Von: ls-support-bounces@lists.campware.org
> [mailto:ls-support-bounces@lists.campware.org]Im Auftrag von Ákos Maróy
> Gesendet: Freitag, 2. Dezember 2005 18:21
> An: Support mailing list for the LiveSupport software project
> Betreff: Re: [LS Support] Re: AW: [ls-support] What is the best distro
> forlivesupport
>
>
> phorum@code.campware.org wrote:
> > Author: cb68
> > Link: http://code.campware.org/phorum/read.php?20,3121,3129#msg-3129
> >
> ------------------------------------------------------------------
> --------------
> >
> > And is ubuntu a good distribution enought ?
> > I try to install the deb package
> > First one : lib... ok after some dependencies missing
>
> and did you install the missing dependencies?
>
> > 2nd station :
> > I got an error
> > --------------------------------------------------------------
> > cb@ubuntu:~/deb$ sudo dpkg -i livesupport-station_1.0.2-2_i386.deb
> > (Lecture de la base de données... 73668 fichiers et répertoires
> déjà installés.)
> > Dépaquetage de livesupport-station (à partir de
> livesupport-station_1.0.2-2_i386.deb) ...
> > Checking for required tools...
> > Exectuable sed found...
> > Exectuable psql not found...
>
> it seems you don't have postgresql...
>
>
> Akos
> _______________________________________________
> ls-support mailing list
> ls-support@lists.campware.org
> http://lists.campware.org/mailman/listinfo/ls-support
>
Thank you you are right postgresql was missing !
I Install it
After that few other pakages was missing.
By the way : is ther a detailed documentation for installation.
I mean the package we need to install before.
My last status is :
------------------------------------------------------------------------------- cb@ubuntu:~/deb$ sudo dpkg -i livesupport-station_1.0.2-2_i386.deb
(Lecture de la base de données... 77456 fichiers et répertoires déjà installés.)
Préparation du remplacement de livesupport-station 1.0.2-2 (en utilisant livesupport-station_1.0.2-2_i386.deb) ...
/var/lib/dpkg/info/livesupport-station.prerm: line 23: /etc/init.d/livesupport-station: Aucun fichier ou répertoire de ce type
/var/lib/dpkg/info/livesupport-station.prerm: line 24: /etc/init.d/livesupport-station: Aucun fichier ou répertoire de ce type
Checking for required tools...
Exectuable sed found...
Exectuable psql found...
Exectuable php found...
Exectuable pear found...
Exectuable odbcinst found...
Checking for validity of apache daemon group www-data...
Apache daemon group www-data OK.
/var/lib/dpkg/tmp.ci/preinst: line 95: /etc/init.d/livesupport-station: Aucun fichier ou répertoire de ce type
/var/lib/dpkg/tmp.ci/preinst: line 96: /etc/init.d/livesupport-station: Aucun fichier ou répertoire de ce type
Dépaquetage de la mise à jour de livesupport-station ...
Removing any system startup links for /etc/init.d/livesupport-station ...
Paramétrage de livesupport-station (1.0.2-2) ...
Making post-install steps for the LiveSupport scheduler.
Checking for required tools...
Executable sed found...
Executable psql found...
Executable php found...
Executable pear found...
Executable odbcinst found...
Modifying postgresql access permissions...
/opt/livesupport/bin/postInstallStation.sh: line 255: /etc/init.d/postgresql: Aucun fichier ou répertoire de ce type
/opt/livesupport/bin/postInstallStation.sh: line 256: /etc/init.d/postgresql: Aucun fichier ou répertoire de ce type
Creating database and database user...
psql: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
Couldn't create database user livesupport.
psql: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
Couldn't create database LiveSupport.
Creating ODBC data source and driver...
Registering LiveSupport ODBC data source...
Configuring PEAR packages needed by LiveSupport
(with destdir: /opt/livesupport)
Installing PEAR packages needed by LiveSupport to directory:
/opt/livesupport
Archive_Tar: upgrading to Archive_Tar-1.3.1 OK
Console_Getopt: upgrading to Console_Getopt-1.2 OK
XML_RPC: upgrading to XML_RPC-1.4.4 OK
PEAR: upgrading to PEAR-1.3.5 OK
Calendar: upgrading to Calendar-0.5.2 OK
DB: upgrading to DB-1.7.6 OK
File: upgrading to File-1.2.0 OK
File_Find: upgrading to File_Find-0.3.1 OK
HTML_Common: upgrading to HTML_Common-1.2.1 OK
HTML_QuickForm: upgrading to HTML_QuickForm-3.2.5 OK
XML_Util: upgrading to XML_Util-1.1.1 OK
XML_Parser: upgrading to XML_Parser-1.2.6 OK
XML_Beautifier: upgrading to XML_Beautifier-1.1 OK
XML_Serializer: upgrading to XML_Serializer-0.15.0 OK
Install of PEAR packages needed by LiveSupport finished OK.
Setting up directory permissions...
Configuring apache ...
/etc/apache/conf.d N
/etc/apache2/conf/modules.d N
/etc/httpd/conf.d N
###############################
Could not configure Apache
include following file into apache config manually:
/opt/livesupport/etc/apache/90_php_livesupport.conf
###############################
done
Restarting apache...
apache N
apache2 Y
* Forcing reload of web server (Apache2)... [ ok ]
httpd N
done
Creating symlinks...
Initializing database...
Fatal error: PostgreSQL PHP extension required and not found. in /opt/livesupport/var/LiveSupport/storageServer/var/install/install.php on line 56
dpkg : erreur de traitement de livesupport-station (--install) :
le sous-processus post-installation script a retourné une erreur de sortie d'état 1
Des erreurs ont été rencontrées pendant l'exécution :
livesupport-station
--------------------------------------------------------------------------
Some messages are in english some in french I how this is understable !
What shall I do now ?
What is wrong ?