Resource Menu


posted by Sébastien Sockeel at Jan 11, 2006 12:22 PM
Quote
Ok, thx a lot. It works well now!
posted by Maxime Biais at Jan 11, 2006 12:22 PM
Quote
Your first boostrap have failed, so you have to drop the database and re-create a new one before boostraping for the second time.
posted by Maxime Biais at Jan 11, 2006 12:22 PM
Quote
(quoted message not found : ls://dev.libresource.org/home/forum/10287f8ec0a8001e01874501e5a4a301/10850562c0a8001e01d9d3636eaef0ee)

lo_import() is a PostgreSQL function to import blobs, only the database superuser can create blobs.

To execute the bootstrap modify the libresourceDS.properties and set the superuser login/pass of your postgreSQL server (typically user named "postgres").

posted by Sébastien Sockeel at Jan 11, 2006 12:22 PM
Quote
Ok, now, some files had been created in the directory … But I've got this error :
  1. mporting Page "Users" at node /users
  2. Importing User "Guest" at node /users/guest
  3. Importing File "defaultUser.gif" at node /users/guest/defaultUserPicture
org.libresource.LibresourceException: Problem during import() ! … ! Caused by: org.libresource.files.LibresourceFilesException: Error in createFile : ERREUR: doit être superutilisateur pour utiliser lo_import() du côté serveur (en français dans le texte)

Does that mean Jonas must be launched as a superuser? Or it is something else?

Thx in advance

posted by Maxime Biais at Jan 11, 2006 12:22 PM
Quote
(quoted message not found : ls://dev.libresource.org/home/forum/10287f8ec0a8001e01874501e5a4a301/107745a9c0a8001e01d4f79cb146c0f0)

You can find the community boostrap file there : LIBRESOURCE_HOME/Distribution/resources/Boostrap.xml

posted by Maxime Biais at Jan 11, 2006 12:22 PM
Quote
Normally, the front page (http://localhost:9000/) after a fresh new intallation of LibreSource ask you to create a root account.

To create a new account go to this page : http://localhost:9000/CreateUser and create a user with root as login.

posted by Sébastien Sockeel at Jan 11, 2006 12:22 PM
Quote
Ok, I've managed to make it work! The subtility is that the homepage advises to log as 'Root' (with a big R) although the superuser account is 'root' as in any traditionnal Unix.

But then, I got a page asking me for a file to boostrap. Where can I found an example of such a file?

Merci d'avance

posted by Sébastien Sockeel at Jan 11, 2006 12:22 PM
Quote
I've tried it but the libresource wants me to log in as root to do that and I've no root account (it's a fresh new installation). Is there a root account by default (and in that case, waht in the password)? Or, should I create it (and in that case, how) ?

Thx in advance

posted by Maxime Biais at Jan 11, 2006 12:22 PM
Quote
NOTE: The file /tmp/LSC-DFiles/segments is created by the initialisation of the indexation engine.
posted by Maxime Biais at Jan 11, 2006 12:22 PM
Quote
Before using the search utility, you have to initialize the indexation engine.

Log in as root on your LS server and go to this page (replace localhost:9000 if needed): http://localhost:9000/?action=indexation

This will initialize the indexation engine in background.

posted by Guest at Jan 11, 2006 12:22 PM
Quote
Hello ! We tried to install a Libresource server and we encountered a problem: Libresource didn't seem to find the resources. The message we got is

! … ! Caused by: java.io.FileNotFoundException: /tmp/LSC-DFiles/segments (No such file or directory) ! … !

Nevertheless, we had created the directory specified in the kernel.indexation.data.dir and libresource.distributedFilesystem properties (/tmp/LSC-DFiles). The server seems to search for some information in it (/users or /segment). What files should we put inside?

Is our diagnosis correct?

Thx in advance