[Box Backup] Compiling boxbackup chris-merge on debian etch?

Tobias Balle-Petersen boxbackup@fluffy.co.uk
Fri, 29 Jun 2007 09:50:40 +0200


Hi Chris.

Thanks for your help.


Doing everything from the top:

1. Stop bbstored
2. Check that pid-file does not exist
3. check for running instances of bbstored
4. Checkout code
5. ./bootstrap -> ./configure -> make
6. cd debug/test/basicserver
7. ../../bin/bbstored/bbstored -DVT testfiles/bbstored.conf -> No such file
8. ls ../../bin/bbstored -> "Empty dir"

9. find /root/merge -type f -iname bbstored
/root/merge/release/bin/bbstored/bbstored
/root/merge/parcels/boxbackup-chris_merge_1708-backup-server-linux-gnu/bbstored
/root/merge/distribution/boxbackup/contrib/redhat/bbstored
/root/merge/distribution/boxbackup/contrib/suse/bbstored

10. /root/merge/release/bin/bbstored/bbstored -DVT testfiles/bbstored.conf
09:50:04 Unknown error in getopt: returned '?'

>From /var/log/syslog:
Jun 29 09:50:04 misora Box Backup (bbstored)[15154]: Unknown error in getopt: returned '?'


Any ideas?


Tobias





Chris Wilson wrote:
> Hi Tobias,
> 
> On Thu, 28 Jun 2007, Tobias Balle-Petersen wrote:
> 
>> I have a bbstored on the machine allready.
>>
>> But:
>> 1. It's not running
>> 2. /var/run/bbstored.pid does not exist
>>
>> There is no bbstored.pid on the whole system as repported by:
>> find / -iname bbstored.pid
>>
>> I have compiled again, but still get the same errors:
>> Skipping tests.
>> ***********
>> Server: ../../bin/bbstored/bbstored testfiles/bbstored.conf
>> FAILURE: Couldn't start server at ../../lib/common/Test.h(224)
>> FAILURE: Condition [bbstored_pid != -1 && bbstored_pid != 0] failed at
>> testbbackupd.cpp(425)
>> FAILED: 2 tests failed (first at ../../lib/common/Test.h:224)
> 
> Please could you try this:
> 
> ps auxww | grep bbstored (check that none are running)
> cd debug/test/basicserver
> ../../bin/bbstored/bbstored -DVT testfiles/bbstored.conf
> 
> It should run in the foreground, waiting for a connection. And if so,
> then the test should work fine. Can you let me know if it does so?
> 
> If it exits for any reason, then the test will not work. In that case,
> please could you paste the output?
> 
> Also, please check your system logs for messages from bbstored in either
> case.
> 
> Cheers, Chris.