Koozali.org: home of the SME Server

Howto Opengroupware

MasterSleepy

Howto Opengroupware
« on: September 03, 2003, 05:12:09 PM »
Hello,

I finally finish both howto for installation of opengroupware.
These howtos are in french and english.

you could find it here:
http://vanhees.homeip.net/modules.php?op=modload&name=indexer&file=index&dir=/5.6//HowTo/

If you have any problem with the install, don't hesitate to send me a private message;

Regards,
MasterSleepy

Warren Blackbeard

Re: Howto Opengroupware
« Reply #1 on: September 03, 2003, 06:32:44 PM »
Thnx MasterSleepy ,

The howto for opengroupware and postgres is extremely helpful,
much appreciated.!

Warren

IDar

Re: Howto Opengroupware
« Reply #2 on: September 04, 2003, 04:53:49 PM »
I have installed opengroupware but i get this error

The SKYRIX application server could not connect to the database server !

Please ensure that your database server is running and that the LSConnectionDictionary default is correctly set.


--------------------------------------------------------------------------------
Current database configuration: database: ogo
server: localhost
user: ogo

How can i correct this?

MasterSleepy

Re: Howto Opengroupware
« Reply #3 on: September 04, 2003, 05:28:21 PM »
Hello,

Connect on a console with opengroupware user.
at the prompt type :
Defaults read NSGlobalDomain and assure that all value fit with the howto.
Or send it to me, I'll check asap.

By

MasterSleepy

Re: Howto Opengroupware
« Reply #4 on: September 04, 2003, 06:07:57 PM »
Sorry, maybe I'll made a mistake,
I see that for the hostname you enter localhost, don't use localhost.
Put the name of your server.

IDar

Re: Howto Opengroupware
« Reply #5 on: September 04, 2003, 06:16:13 PM »
Ok i did, but i also get this error:

root@servidor root]# /etc/init.d/opengroupware start
/etc/init.d/opengroupware: /root/.bash_profile: Permission denied
/etc/init.d/opengroupware: achievable: command not found
Starting OpenGroupware:
/etc/init.d/opengroupware: ----------------------------------------------------------------------: command not found
                                                           [   OK   ]
[root@servidor root]#

any idea?
BTW, thanks ;)

IDar

Re: Howto Opengroupware
« Reply #6 on: September 04, 2003, 06:44:39 PM »
I solved the previous error... I had an error on ^c ^v ....
but how can i make the lsconnectiondictionary work?
I make:
Defaults write NSGlobalDomain LSConnectionDictionary '{databaseName = ogo; hostName = gaf.ruizlizondo.com; password = ""; port = 5432; userName = ogo}'
but i still get this error
 
The SKYRIX application server could not connect to the database server !

Please ensure that your database server is running and that the LSConnectionDictionary default is correctly set.


--------------------------------------------------------------------------------
Current database configuration: database: ogo
server: localhost
user: ogo

IDar

Re: Howto Opengroupware
« Reply #7 on: September 04, 2003, 07:26:46 PM »
Despite my changes i get:

The SKYRIX application server could not connect to the database server !

Please ensure that your database server is running and that the LSConnectionDictionary default is correctly set.


--------------------------------------------------------------------------------
Current database configuration: database: ogo
server: gaf.ruizlizondo.com
user: ogo

It can work?? ;)

MasterSleepy

Re: Howto Opengroupware
« Reply #8 on: September 04, 2003, 08:24:08 PM »
Try to replace the gaf.ruizlizondo.com by "gaf".

Just another question, can you connect the database with :
psql postgrestest-h gaf -U ogo
???

IDar

Re: Howto Opengroupware
« Reply #9 on: September 04, 2003, 09:38:29 PM »
let's see

i have changed gaf to servidor (i understanded this point at last)
and i can do:

[root@servidor root]#  psql postgrestest -h servidor  -U ogo
Welcome to psql, the PostgreSQL interactive terminal.

Type:  \copyright for distribution terms
       \h for help with SQL commands
       \? for help on internal slash commands
       \g or terminate with semicolon to execute query
       \q to quit

postgrestest=>



and the error it's naw:
The SKYRIX application server could not connect to the database server !

Please ensure that your database server is running and that the LSConnectionDictionary default is correctly set.


--------------------------------------------------------------------------------
Current database configuration: database: ogo
server: servidor
user: ogo


mybe i need to delete the tables and reinstall them? but How can this be done?
do you know something like phpmyadmin? (I know, i ask for a lot of things... but it's my first time face to face with postgre... :( ...)
Thanks anyway

MasterSleepy

Re: Howto Opengroupware
« Reply #10 on: September 04, 2003, 11:05:06 PM »
The problem is not you table.
The problem is the connector you define for user opengroupware.
Everythings seems to be good,

Hmmmmm, I'll looking for that problem and come back to you with the solution.

IDar

Re: Howto Opengroupware
« Reply #11 on: September 05, 2003, 12:11:11 PM »
I don't know what i did... but it works...
Thanks MaasterSleepy

IDar

Re: Howto Opengroupware
« Reply #12 on: September 05, 2003, 12:15:53 PM »
ejem... it works... but i can't login....
:( :(

IDar

Re: Howto Opengroupware
« Reply #13 on: September 05, 2003, 05:06:50 PM »
Let's see... I can't login, may be i made a mistake configuring the database, i try to drop the tables or the db but i can't and i can't reload the original sql...

Can you help me to delete the db or the tables?

By the way, I'm sorry for asking so much...
Thanks a lot

MasterSleepy

Re: Howto Opengroupware
« Reply #14 on: September 05, 2003, 07:48:59 PM »
Ok here the method to delete the database.
1 . stop opengroupware service
     -> service opengroupware stop
2 . connect with postgres user
     -> su - postgres
3 . drop database
     -> dropdb ogo

and restart howto at step 3

I notice that I have made the howto for postgres to quickly, now I've change it. I just forget to specifie to expand the template.
And I also made a modification in step 5, "Modify configuration files"
So please go back see the howto and adapt your parameter.

Sorry for that mistake