Hi Andreas,

Thanks for reporting this.

Quoting Andreas Harth (2012-04-23 16:44:20)
> Starting 4s-backend: 4s-backend4store[2839]: lock.c:38 failed to open 
> metadata file /var/lib/4store/default/metadata.nt for locking: No such 
> file or directory
> 4store[2839]:  1: /usr/bin/4s-backend() [0x805bcd3]
> 4store[2839]:  2: /usr/bin/4s-backend() [0x804aef7]
> 4store[2839]:  3: 
> /lib/i386-linux-gnu/i686/cmov/libc.so.6(__libc_start_main+0xe6) [0xb7526e46]
> 4store[2839]:  4: /usr/bin/4s-backend() [0x804af51]

Two bugs in SysV init script (both happening only on pristine 
install, 
which is how I missed it):

  * Init script fails to adjust access rights
  * Init script does not create required default knowledge base

Both are now fixed in the packaging git, but it may take a while to get 
that released (it fails with errors linking the libraries together).

For now, you get a working setup with these two commands as root:

  chown -R fourstore: /var/lib/4store /var/log/4store
  su - fourstore -s /bin/sh -c "4s-backend-setup default"

 - Jonas

Attachment: signature.asc
Description: signature

Reply via email to