Pages: [1]
  Print  
Author Topic: bongo-config install "could not connect to store" error  (Read 7764 times)
joshdmiller
Newbie
*

Karma: 0
Offline Offline

Posts: 5


View Profile
« on: July 25, 2009, 03:20:51 AM »

Hello all.

I am running OpenSuSE 11 and installed from the repos without issue. Upon running "bongo-config install" as root, I got the error others seem to be getting about not being able to open the users sqlite database. I ran "chown -R bongo /var/bongo" which fixed the issue.

After running the command again, I no longer get this error, but after entering the mail domains, the program sits idle for several minutes and finally errors out:

Code:
li89-109:~ # bongo-config -v install
IP address to run on [127.0.0.1]:
DNS name to use as main hostname: [localhost]:
Mail Domains (enter "" to end adding domains): []: theopendomain.org
Mail Domains (enter "" to end adding domains): []:
ERROR: Could not connect to store

Does anyone know what might cause this?

Thanks!
Logged
LanceHaig
Jr. Member
**

Karma: 0
Offline Offline

Posts: 50


View Profile WWW
« Reply #1 on: July 25, 2009, 12:22:04 PM »

Hi,

Please make sure that bongo is not running before you run bongo-config install

Thanks

Lance
Logged
joshdmiller
Newbie
*

Karma: 0
Offline Offline

Posts: 5


View Profile
« Reply #2 on: July 25, 2009, 12:51:30 PM »

Hey Lance - thanks for the reply. I did forget to include in my post that I had tried it both ways. For good measure, I just ran "service bongo stop" and then re-ran the command, but I get the same result.

Any other suggestions?

Also, forgive my ignorance but to what is bongo-config attempting to connect? And by tcp or socket or file or what? Some more information might help me troubleshoot some machine-specific issues.
Logged
so_solid_moo
Newbie
*

Karma: 0
Offline Offline

Posts: 25


View Profile
« Reply #3 on: July 27, 2009, 10:12:03 AM »

As part of the install process, bongo-config starts bongostore and attempts to connect to it over port 689 - apparently, it's failing.

You could try running bongostore manually (it should just sit there blankly, you quit it with Ctrl-C) - that might throw up an error message.
Logged
joshdmiller
Newbie
*

Karma: 0
Offline Offline

Posts: 5


View Profile
« Reply #4 on: July 27, 2009, 02:32:25 PM »

Ok, that helped a little bit. The reason it could not connect to bongostore is that (for reasons passing understanding) my server had no loopback interface. Huh

I am not sure why this is the case, but I added one using "ifconfig lo 127.0.0.1". Then, upon running the install again, I get a little feedback:

Code:
li89-109:~ # bongo-config -v install
IP address to run on [127.0.0.1]:
DNS name to use as main hostname: [localhost]:
Mail Domains (enter "" to end adding domains): []: theopendomain.org
Mail Domains (enter "" to end adding domains): []:
*** stack smashing detected ***: /usr/sbin/bongostore terminated
======= Backtrace: =========
/lib/libc.so.6(__fortify_fail+0x48)[0xb79394c8]
/lib/libc.so.6(__fortify_fail+0x0)[0xb7939480]
/usr/sbin/bongostore[0x8073d6d]
/usr/sbin/bongostore[0x80601e6]
/usr/sbin/bongostore[0x8056860]
/usr/sbin/bongostore[0x8075124]
/usr/lib/libbongonmap.so.0[0xb7ee47dd]
/usr/lib/libbongoutil.so.0[0xb7da88fe]
/lib/libpthread.so.0[0xb7ac4175]
/lib/libc.so.6(clone+0x5e)[0xb7923dce]
======= Memory map: ========
08048000-08083000 r-xp 00000000 ca:00 83026      /usr/sbin/bongostore
08083000-08084000 r--p 0003a000 ca:00 83026      /usr/sbin/bongostore
08084000-08085000 rw-p 0003b000 ca:00 83026      /usr/sbin/bongostore
08085000-083fd000 rw-p 08085000 00:00 0          [heap]
b5b50000-b5b51000 ---p b5b50000 00:00 0
b5b51000-b6351000 rw-p b5b51000 00:00 0
b6351000-b6352000 ---p b6351000 00:00 0
b6352000-b6b52000 rw-p b6352000 00:00 0
b6b52000-b6b53000 ---p b6b52000 00:00 0
b6b53000-b73b6000 rw-p b6b53000 00:00 0
b73b6000-b73ba000 r-xp 00000000 ca:00 249        /lib/libnss_dns-2.8.so
b73ba000-b73bb000 r--p 00003000 ca:00 249        /lib/libnss_dns-2.8.so
b73bb000-b73bc000 rw-p 00004000 ca:00 249        /lib/libnss_dns-2.8.so
b73be000-b73c1000 r-xp 00000000 ca:00 106225     /usr/lib/bongo-auth/libauthsqlite3.so.0.0.0
b73c1000-b73c2000 r--p 00002000 ca:00 106225     /usr/lib/bongo-auth/libauthsqlite3.so.0.0.0
b73c2000-b73c3000 rw-p 00003000 ca:00 106225     /usr/lib/bongo-auth/libauthsqlite3.so.0.0.0
b73c3000-b7402000 r--p 00000000 ca:00 14263      /usr/lib/locale/en_US.utf8/LC_CTYPE
b7402000-b7403000 r--p 00000000 ca:00 14245      /usr/lib/locale/en_US.utf8/LC_NUMERIC
b7403000-b7404000 r--p 00000000 ca:00 11842      /usr/lib/locale/en_US.utf8/LC_TIME
b7404000-b74e8000 r--p 00000000 ca:00 14264      /usr/lib/locale/en_US.utf8/LC_COLLATE
b74e8000-b74e9000 r--p 00000000 ca:00 11841      /usr/lib/locale/en_US.utf8/LC_MONETARY
b74e9000-b74f0000 r--s 00000000 ca:00 8264       /usr/lib/gconv/gconv-modules.cache
b74f0000-b74f9000 r-xp 00000000 ca:00 251        /lib/libnss_files-2.8.so
b74f9000-b74fa000 r--p 00008000 ca:00 251        /lib/libnss_files-2.8.so
b74fa000-b74fb000 rw-p 00009000 ca:00 251        /lib/libnss_files-2.8.so
b74fb000-b7503000 r-xp 00000000 ca:00 255        /lib/libnss_nis-2.8.so
b7503000-b7504000 r--p 00007000 ca:00 255        /lib/libnss_nis-2.8.so
b7504000-b7505000 rw-p 00008000 ca:00 255        /lib/libnss_nis-2.8.so
b7505000-b7518000 r-xp 00000000 ca:00 245        /lib/libnsl-2.8.so
b7518000-b7519000 r--p 00012000 ca:00 245        /lib/libnsl-2.8.so
b7519000-b751a000 rw-p 00013000 ca:00 245        /lib/libnsl-2.8.so
b751a000-b751c000 rw-p b751a000 00:00 0
b751c000-b7523000 r-xp 00000000 ca:00 247        /lib/libnss_compat-2.8.so
b7523000-b7524000 r--p 00006000 ca:00 247        /lib/libnss_compat-2.8.so
b7524000-b7525000 rw-p 00007000 ca:00 247        /lib/libnss_compat-2.8.so
b7525000-b7528000 rw-p b7525000 00:00 0
b7528000-b752f000 r-xp 00000000 ca:00 6630       /usr/lib/libkrb5support.so.0.1
b752f000-b7530000 r--p 00006000 ca:00 6630       /usr/lib/libkrb5support.so.0.1
b7530000-b7531000 rw-p 00007000 ca:00 6630       /usr/lib/libkrb5support.so.0.1
b7531000-b7548000 r-xp 00000000 ca:00 6647       /usr/lib/libsasl2.so.2.0.22
b7548000-b7549000 r--p 00016000 ca:00 6647       /usr/lib/libsasl2.so.2.0.22
b7549000-b754a000 rw-p 00017000 ca:00 6647       /usr/lib/libsasl2.so.2.0.22
b754a000-b754b000 rw-p b754a000 00:00 0
b754b000-b7558000 r-xp 00000000 ca:00 6688       /usr/lib/liblber-2.4.so.2.0.5
b7558000-b7559000 r--p 0000c000 ca:00 6688       /usr/lib/liblber-2.4.so.2.0.5
b7559000-b755a000 rw-p 0000d000 ca:00 6688       /usr/lib/liblber-2.4.so.2.0.5
b755a000-b756c000 r-xp 00000000 ca:00 271        /lib/libz.so.1.2.3
b756c000-b756d000 r--p 00011000 ca:00 271        /lib/libz.so.1.2.3
b756d000-b756e000 rw-p 00012000 ca:00 271        /lib/libz.so.1.2.3
b756e000-b7570000 r-xp 00000000 ca:00 299        /lib/libkeyutils-1.2.so
b7570000-b7571000 r--p 00001000 ca:00 299        /lib/libkeyutils-1.2.so
b7571000-b7572000 rw-p 00002000 ca:00 299        /lib/libkeyutils-1.2.so
b7572000-b7574000 r-xp 00000000 ca:00 321        /lib/libcom_err.so.2.1
b7574000-b7575000 r--p 00001000 ca:00 321        /lib/libcom_err.so.2.1
b7575000-b7576000 rw-p 00002000 ca:00 321        /lib/libcom_err.so.2.1
b7576000-b7577000 rw-p b7576000 00:00 0
b7577000-b759a000 r-xp 00000000 ca:00 6618       /usr/lib/libk5crypto.so.3.1
b759a000-b759b000 r--p 00022000 ca:00 6618       /usr/lib/libk5crypto.so.3.1
b759b000-b759c000 rw-p 00023000 ca:00 6618       /usr/lib/libk5crypto.so.3.1
b759c000-b762d000 r-xp 00000000 ca:00 6628       /usr/lib/libkrb5.so.3.3
b762d000-b762f000 r--p 00090000 ca:00 6628       /usr/lib/libkrb5.so.3.3
b762f000-b7630000 rw-p 00092000 ca:00 6628       /usr/lib/libkrb5.so.3.3
b7630000-b7659000 r-xp 00000000 ca:00 6614       /usr/lib/libgssapi_krb5.so.2.2
b7659000-b765a000 r--p 00028000 ca:00 6614       /usr/lib/libgssapi_krb5.so.2.2
b765a000-b765b000 rw-p 00029000 ca:00 6614       /usr/lib/libgssapi_krb5.so.2.2
b765b000-b7698000 r-xp 00000000 ca:00 6690       /usr/lib/libldap-2.4.so.2.0.5
b7698000-b7699000 r--p 0003c000 ca:00 6690       /usr/lib/libldap-2.4.so.2.0.5
b7699000-b769a000 rw-p 0003d000 ca:00 6690       /usr/lib/libldap-2.4.so.2.0.5
b769a000-b77c5000 r-xp 00000000 ca:00 5656       /usr/lib/libcrypto.so.0.9.8
b77c5000-b77cd000 r--p 0012a000 ca:00 5656       /usr/lib/libcrypto.so.0.9.8
b77cd000-b77da000 rw-p 00132000 ca:00 5656       /usr/lib/libcrypto.so.0.9.8
b77da000-b77de000 rw-p b77da000 00:00 0
b77de000-b781f000 r-xp 00000000 ca:00 5657       /usr/lib/libssl.so.0.9.8
b781f000-b7820000 r--p 00040000 ca:00 5657       /usr/lib/libssl.so.0.9.8
b7820000-b7823000 rw-p 00041000 ca:00 5657       /usr/lib/libssl.so.0.9.8
b7823000-b7824000 rw-p b7823000 00:00 0
b7824000-b7854000 r-xp 00000000 ca:00 5783       /usr/lib/libidn.so.11.5.37
b7854000-b7855000 r--p 00030000 ca:00 5783       /usr/lib/libidn.so.11.5.37
b7855000-b7856000 rw-p 00031000 ca:00 5783       /usr/lib/libidn.so.11.5.37
b7856000-b7993000 r-xp 00000000 ca:00 234        /lib/libc-2.8.so
b7993000-b7995000 r--p 0013d000 ca:00 234        /lib/libc-2.8.so
b7995000-b7996000 rw-p 0013f000 ca:00 234        /lib/libc-2.8.so
b7996000-b7999000 rw-p b7996000 00:00 0
b7999000-b79a5000 r-xp 00000000 ca:00 317        /lib/libgcc_s.so.1
b79a5000-b79a6000 r--p 0000b000 ca:00 317        /lib/libgcc_s.so.1
b79a6000-b79a7000 rw-p 0000c000 ca:00 317        /lib/libgcc_s.so.1
b79a7000-b79cb000 r-xp 00000000 ca:00 242        /lib/libm-2.8.so
b79cb000-b79cc000 r--p 00023000 ca:00 242        /lib/libm-2.8.so
b79cc000-b79cd000 rw-p 00024000 ca:00 242        /lib/libm-2.8.so
b79cd000-b7ab2000 r-xp 00000000 ca:00 5716       /usr/lib/libstdc++.so.6.0.10
b7ab2000-b7ab6000 r--p 000e5000 ca:00 5716       /usr/lib/libstdc++.so.6.0.10
b7ab6000-b7ab7000 rw-p 000e9000 ca:00 5716       /usr/lib/libstdc++.so.6.0.10
b7ab7000-b7abe000 rw-p b7ab7000 00:00 0
b7abe000-b7ad2000 r-xp 00000000 ca:00 260        /lib/libpthread-2.8.so
b7ad2000-b7ad3000 r--p 00013000 ca:00 260        /lib/libpthread-2.8.so
b7ad3000-b7ad4000 rw-p 00014000 ca:00 260        /lib/libpthread-2.8.so
b7ad4000-b7ad6000 rw-p b7ad4000 00:00 0
b7ad6000-b7be0000 r-xp 00000000 ca:00 301629     /usr/lib/libclucene.so.0.0.0
b7be0000-b7be5000 r--p 0010a000 ca:00 301629     /usr/lib/libclucene.so.0.0.0
b7be5000-b7be7000 rw-p 0010f000 ca:00 301629     /usr/lib/libclucene.so.0.0.0
b7be7000-b7be8000 rw-p b7be7000 00:00 0
b7be8000-b7c6a000 r-xp 00000000 ca:00 301337     /usr/lib/libsqlite3.so.0.8.6
b7c6a000-b7c6b000 r--p 00081000 ca:00 301337     /usr/lib/libsqlite3.so.0.8.6
b7c6b000-b7c6c000 rw-p 00082000 ca:00 301337     /usr/lib/libsqlite3.so.0.8.6
b7c6c000-b7c7b000 r-xp 00000000 ca:00 262        /lib/libresolv-2.8.so
b7c7b000-b7c7c000 r--p 0000f000 ca:00 262        /lib/libresolv-2.8.so
b7c7c000-b7c7d000 rw-p 00010000 ca:00 262        /lib/libresolv-2.8.so
b7c7d000-b7c7f000 rw-p b7c7d000 00:00 0
b7c7f000-b7c82000 r-xp 00000000 ca:00 316        /lib/libgpg-error.so.0.4.0
b7c82000-b7c83000 r--p 00002000 ca:00 316        /lib/libgpg-error.so.0.4.0
b7c83000-b7c84000 rw-p 00003000 ca:00 316        /lib/libgpg-error.so.0.4.0
b7c84000-b7cea000 r-xp 00000000 ca:00 374        /lib/libgcrypt.so.11.4.3
b7cea000-b7ceb000 r--p 00065000 ca:00 374        /lib/libgcrypt.so.11.4.3
b7ceb000-b7ced000 rw-p 00066000 ca:00 374        /lib/libgcrypt.so.11.4.3
b7ced000-b7cee000 rw-p b7ced000 00:00 0
b7cee000-b7d72000 r-xp 00000000 ca:00 301639     /usr/lib/libgnutls.so.26.1.3
b7d72000-b7d77000 r--p 00084000 ca:00 301639     /usr/lib/libgnutls.so.26.1.3
b7d77000-b7d78000 rw-p 00089000 ca:00 301639     /usr/lib/libgnutls.so.26.1.3
b7d78000-b7d7f000 r-xp 00000000 ca:00 301667     /usr/lib/libbongoxpl.so.0.0.0
b7d7f000-b7d80000 r--p 00006000 ca:00 301667     /usr/lib/libbongoxpl.so.0.0.0
b7d80000-b7d81000 rw-p 00007000 ca:00 301667     /usr/lib/libbongoxpl.so.0.0.0
b7d81000-b7da3000 r-xp 00000000 ca:00 301657     /usr/lib/libbongomemmgr.so.0.0.0
b7da3000-b7da4000 r--p 00021000 ca:00 301657     /usr/lib/libbongomemmgr.so.0.0.0
b7da4000-b7da5000 rw-p 00022000 ca:00 301657     /usr/lib/libbongomemmgr.so.0.0.0
b7da5000-b7daf000 r-xp 00000000 ca:00 301665     /usr/lib/libbongoutil.so.0.0.0
b7daf000-b7db0000 r--p 00009000 ca:00 301665     /usr/lib/libbongoutil.so.0.0.0
b7db0000-b7db1000 rw-p 0000a000 ca:00 301665     /usr/lib/libbongoutil.so.0.0.0
b7db1000-b7db3000 r-xp 00000000 ca:00 240        /lib/libdl-2.8.so
b7db3000-b7db4000 r--p 00001000 ca:00 240        /lib/libdl-2.8.so
b7db4000-b7db5000 rw-p 00002000 ca:00 240        /lib/libdl-2.8.so
b7db5000-b7df6000 r-xp 00000000 ca:00 301633     /usr/lib/libical-bongo.so.0.0.0
b7df6000-b7df8000 r--p 00040000 ca:00 301633     /usr/lib/libical-bongo.so.0.0.0
b7df8000-b7e01000 rw-p 00042000 ca:00 301633     /usr/lib/libical-bongo.so.0.0.0
b7e01000-b7e03000 rw-p b7e01000 00:00 0
b7e03000-b7e3e000 r-xp 00000000 ca:00 6707       /usr/lib/libcurl.so.4.0.1
b7e3e000-b7e3f000 r--p 0003b000 ca:00 6707       /usr/lib/libcurl.so.4.0.1
b7e3f000-b7e40000 rw-p 0003c000 ca:00 6707       /usr/lib/libcurl.so.4.0.1
b7e40000-b7e55000 r-xp 00000000 ca:00 301631     /usr/lib/libbongolog4c.so.0.0.0
b7e55000-b7e56000 r--p 00014000 ca:00 301631     /usr/lib/libbongolog4c.so.0.0.0
b7e56000-b7e57000 rw-p 00015000 ca:00 301631     /usr/lib/libbongolog4c.so.0.0.0
b7e57000-b7ebc000 r-xp 00000000 ca:00 301663     /usr/lib/libbongostreamio.so.0.0.0
b7ebc000-b7ebd000 r--p 00064000 ca:00 301663     /usr/lib/libbongostreamio.so.0.0.0
b7ebd000-b7ebf000 rw-p 00065000 ca:00 301663     /usr/lib/libbongostreamio.so.0.0.0
b7ebf000-b7ec7000 r-xp 00000000 ca:00 301653     /usr/lib/libbongoconnio.so.0.0.0
b7ec7000-b7ec8000 r--p 00007000 ca:00 301653     /usr/lib/libbongoconnio.so.0.0.0
b7ec8000-b7ec9000 rw-p 00008000 ca:00 301653     /usr/lib/libbongoconnio.so.0.0.0
b7ec9000-b7eca000 rw-p b7ec9000 00:00 0
b7eca000-b7ecf000 r-xp 00000000 ca:00 301655     /usr/lib/libbongologger.so.0.0.0
b7ecf000-b7ed0000 r--p 00004000 ca:00 301655     /usr/lib/libbongologger.so.0.0.0
b7ed0000-b7ed1000 rw-p 00005000 ca:00 301655     /usr/lib/libbongologger.so.0.0.0
b7ed1000-b7ede000 r-xp 00000000 ca:00 301659     /usr/lib/libbongomsgapi.so.0.0.0
b7ede000-b7edf000 r--p 0000c000 ca:00 301659     /usr/lib/libbongomsgapi.so.0.0.0
b7edf000-b7ee0000 rw-p 0000d000 ca:00 301659     /usr/lib/libbongomsgapi.so.0.0.0
b7ee0000-b7ee1000 rw-p b7ee0000 00:00 0
b7ee1000-b7eea000 r-xp 00000000 ca:00 301661     /usr/lib/libbongonmap.so.0.0.0
b7eea000-b7eeb000 r--p 00008000 ca:00 301661     /usr/lib/libbongonmap.so.0.0.0
b7eeb000-b7eec000 rw-p 00009000 ca:00 301661     /usr/lib/libbongonmap.so.0.0.0
b7eec000-b7f08000 r-xp 00000000 ca:00 301649     /usr/lib/libbongocal.so.0.0.0
b7f08000-b7f09000 r--p 0001b000 ca:00 301649     /usr/lib/libbongocal.so.0.0.0
b7f09000-b7f0b000 rw-p 0001c000 ca:00 301649     /usr/lib/libbongocal.so.0.0.0
b7f0b000-b7f11000 r-xp 00000000 ca:00 301647     /usr/lib/libbongo-json.so.0.0.0
b7f11000-b7f12000 r--p 00005000 ca:00 301647     /usr/lib/libbongo-json.so.0.0.0
b7f12000-b7f13000 rw-p 00006000 ca:00 301647     /usr/lib/libbongo-json.so.0.0.0
b7f13000-b7f14000 r--p 00000000 ca:00 14238      /usr/lib/locale/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES
b7f14000-b7f15000 r--p 00000000 ca:00 14168      /usr/lib/locale/en_US.utf8/LC_PAPER
b7f15000-b7f16000 r--p 00000000 ca:00 14187      /usr/lib/locale/en_US.utf8/LC_NAME
b7f16000-b7f17000 r--p 00000000 ca:00 11838      /usr/lib/locale/en_US.utf8/LC_ADDRESS
b7f17000-b7f18000 r--p 00000000 ca:00 14155      /usr/lib/locale/en_US.utf8/LC_TELEPHONE
b7f18000-b7f19000 r--p 00000000 ca:00 14156      /usr/lib/locale/en_US.utf8/LC_MEASUREMENT
b7f19000-b7f1a000 r--p 00000000 ca:00 11839      /usr/lib/locale/en_US.utf8/LC_IDENTIFICATION
b7f1a000-b7f1b000 rw-p b7f1a000 00:00 0
b7f1b000-b7f1c000 r-xp b7f1b000 00:00 0          [vdso]
b7f1c000-b7f37000 r-xp 00000000 ca:00 227        /lib/ld-2.8.so
b7f37000-b7f38000 r--p 0001a000 ca:00 227        /lib/ld-2.8.so
b7f38000-b7f39000 rw-p 0001b000 ca:00 227        /lib/ld-2.8.so
bf92c000-bf942000 rw-p bf92c000 00:00 0          [stack]
ERROR: Couldn't access store

So then I tried starting bongostore manually ("bongostore &") and then ran it again and got:

Code:
li89-109:~ # bongostore &
[1] 9264
li89-109:~ # bongo-config -v install
IP address to run on [127.0.0.1]:
DNS name to use as main hostname: [localhost]:
Mail Domains (enter "" to end adding domains): []: theopendomain.org
Mail Domains (enter "" to end adding domains): []:
ERROR: Could not authenticate to store

This will probably be easier for you guys to help me troubleshoot.

Thanks for your continued help!

Josh
Logged
so_solid_moo
Newbie
*

Karma: 0
Offline Offline

Posts: 25


View Profile
« Reply #5 on: July 29, 2009, 03:27:24 AM »

The last 'couldn't auth' error is because bongo-config install starts the store in a special mode which disables authentication (you obviously can't authenticate before authentication is set up Wink. It runs 'bongostore --install'.

The stack smashing thing is a bit concerning. Can you tell us what OS you're using?
Logged
joshdmiller
Newbie
*

Karma: 0
Offline Offline

Posts: 5


View Profile
« Reply #6 on: July 29, 2009, 03:42:50 AM »

I am running opensuse 11.0 with a 2.6.18 kernel (on a Xen VPS through Linode).

"uname -a" provides:
Linux li89-109 2.6.18.8-linode16 #1 SMP Mon Jan 12 09:50:18 EST 2009 i686 i686 i386 GNU/Linux
Logged
LanceHaig
Jr. Member
**

Karma: 0
Offline Offline

Posts: 50


View Profile WWW
« Reply #7 on: August 14, 2009, 05:43:49 AM »

Hi,

we are looking to get the opensuse packages built in the near future.

I wil be testing the build on Opensuse 11.1 myself as I am going to migrate my laptop.

Regards

Lance
Logged
joshdmiller
Newbie
*

Karma: 0
Offline Offline

Posts: 5


View Profile
« Reply #8 on: August 14, 2009, 05:38:45 PM »

Thanks, Lance. I would like this to work as Bongo seems like a cool project, so let me know if there's anything I can do to help.
Logged
Ulyssess
Newbie
*

Karma: 0
Offline Offline

Posts: 2


View Profile
« Reply #9 on: August 25, 2009, 05:22:15 AM »

I just installed the 0.6 branch on a Ubunut 9.04 server and get the same error (after specifying my mail domains):
Code:
msgapi: Failed to open database "/usr/local/bongo/var/bongo/dbf/userdb.sqlite".
Warning: Couldn't create user database
ERROR: Cannot create server credential
I've checked if bongostore (or any other bongo process) was running, but that turned out to be negative.

Any idea what's going wrong?

Thanks!
Logged
LanceHaig
Jr. Member
**

Karma: 0
Offline Offline

Posts: 50


View Profile WWW
« Reply #10 on: August 25, 2009, 07:05:48 AM »

Hi There,

I have a feeling this is permisssions based.

Can you show me the cmake command that you run?

Regards

Lance
Logged
LanceHaig
Jr. Member
**

Karma: 0
Offline Offline

Posts: 50


View Profile WWW
« Reply #11 on: August 25, 2009, 07:07:36 AM »

Please change your PREFIX from /usr/local/bongo to just /usr

Does the bongo user exist?

Thanks

Lance

Logged
Ulyssess
Newbie
*

Karma: 0
Offline Offline

Posts: 2


View Profile
« Reply #12 on: August 27, 2009, 02:22:17 PM »

The cmake command I run is
Code:
cmake ../ -DCMAKE_INSTALL_PREFIX=/usr -DBONGO_USER=bongo -DCMAKE_BUILD_TYPE=Debug -DDEBUG=On
The cmake and make commands are executed as a normal user; make install via sudo.

But you were right: it was a permission issue. /usr/var (with this install; so probably also /usr/local/bongo/var with the previous install) was owned by root and had 700 as permission code.

I did not check if this directory existed before, but I suppose not because bonge was the only child folder in it. My umask for root is set to 0022, but for the user I made bongo with 0077...

Thanks for your help. Can now start experimenting with bongo ;-)
Logged
LanceHaig
Jr. Member
**

Karma: 0
Offline Offline

Posts: 50


View Profile WWW
« Reply #13 on: August 27, 2009, 02:39:16 PM »

Great Stuff,

We are almost reay for a 0.6 release

If you know any good web UI developers please tell them we are looking for help

Regards

Lance
Logged
Pages: [1]
  Print  
 
Jump to: