Dan Langille wrote:
> Frank Sweetser wrote:
>> Dan Langille wrote:
>>
>>> To:
>>> [email protected]
>>>
>>>
>>> unable to write 'random state'
>> Is it possible that HOME is either unset or points to an unusable directory?
> 
> Probably not.  I was running this from the command line.  And just 
> tested now, FWIW:
> 
> $ echo $HOME
> /home/dan
> 
> 
>> http://www.openssl.org/support/faq.html#USER1
>>
> 
> Reading that led me to look here:
> 
> $ ls -l ~/.rnd
> -rw-------  1 root  dan  1024 Nov 28 22:11 /home/dan/.rnd
> 
> 
> Perhaps I'll change that ownership and try again.  Actually, instead, I 
> removed that file . It may be a leftover from running some other test.
> 
> That seems to be much better.  Thank you. But....

One step closer =)


>   === Starting pretest at 16:35:45 ===
> 
> Starting the Bacula Storage daemon
> Fatal error 'mutex is on list' at line 540 in file 
> /usr/src/lib/libpthread/thread/thr_mutex.c (errno = 0)
> Starting the Bacula File daemon
> Fatal error 'mutex is on list' at line 540 in file 
> /usr/src/lib/libpthread/thread/thr_mutex.c (errno = 2)
> Starting the Bacula Director daemon
> Connecting to Director localhost:8101
> Fatal error 'mutex is on list' at line 540 in file 
> /usr/src/lib/libpthread/thread/thr_mutex.c (errno = 0)
> 01-Jan 16:36 bconsole JobId 0: Fatal error: bsock.c:135 Unable to 
> connect to Director daemon on localhost:8101. ERR=Connection refused
> Error: bconsole error
> scripts/cleanup

The most likely explanation I found is in this email thread:

http://unix.derkeiler.com/Mailing-Lists/FreeBSD/hackers/2008-03/msg00108.html

and in particular this quote:

> POSIX only lets you call exec() from a child process of a multithreaded app.
> Either fork before creating threads or just create more threads rather than
> forking.

Fixing this is beyond me, but hopefully it'll point someone in the right
direction.

-- 
Frank Sweetser fs at wpi.edu  |  For every problem, there is a solution that
WPI Senior Network Engineer   |  is simple, elegant, and wrong. - HL Mencken
    GPG fingerprint = 6174 1257 129E 0D21 D8D4  E8A3 8E39 29E3 E2E8 8CEC

------------------------------------------------------------------------------
_______________________________________________
Bacula-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to