Hi,
Le dimanche 15 avril 2007 09:29, DongInn Kim a écrit :
> Hi,
>
> http://svn.oscar.openclustergroup.org/trac/oscar/ticket/306
>
> I have tried to resolve the prereq.cfg issue having a symlink to the
> corresponding real prereq.cfg according to the database type.
> But I like to put the real prereq.cfg (e.g., mysql.cfg and pgsql.cfg) to
> another directory to separate from other files or directories. Well it
> really does not matter where they are located but I would like to hear
> what you guys think about having another directory (prereqs/ ) in
> $OSCAR_HOME/packages/oda/.
>
Why should we re-invent the wheel ? In the config.xml file, we have a whole
bunch of tags to describe package dependancies. If config.xml schema does not
handle your problem, it can be updated.
> BTW, does anyone know how to check to see whether a certain rpm is newly
> installed during OSCAR installation or was already installed?
>
> Unfortunately, when postregreSQL is newly installed, it does not work
> until a user manually sets up its configuration properly. So I have to
> do some works on packages/oda/scripts/setup to handle this issue by
> updating the configuration file but I don't want to update the
> configuration when pgsql was already installed and used.
>
A suggestion: can't you just check if pgsql or mysql is running ? If you say
pgsql "does not work", that means that you can "ps -ef |grep pgsql" or
something like this (cat /var/run/postgresql ?) ?
Best regards,
Jean
> Regards,
--
------------------------------------------------------------------------
Kerrighed inside
http://www.kerrighed.org/
------------------------------------------------------------------------
Jean PARPAILLON - Engineer - PARIS group - Office E210
IRISA-INRIA, Campus de Beaulieu, 35042 Rennes cedex, France
Tél: +33 2 99 84 22 33, Fax: +33 2 99 84 71 71
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Oscar-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oscar-devel