Alright I'm out of ideas. I don't know how to install the libraries this 
thing needs. I've tried copying to every director the strace says it 
looking for and I'm still not working. On the GOOD news...I'm not 
getting a Seg Fault anymore. Now it says
"bacula-fd: error while loading shared libraries: libacl.so.1: cannot 
open shared object file: No such file or directory"

I've run the program with strace and found all the instances where it's 
looking for libacl.so.1 and copied them all over to it. I cannot get 
this thing to work. I don't know what to do now. Here is my strace output:

[EMAIL PROTECTED] tls]# bacula-fd
bacula-fd: error while loading shared libraries: libacl.so.1: cannot 
open shared object file: No such file or directory
[EMAIL PROTECTED] tls]# strace bacula-fd -f -d 500
execve("/usr/sbin/bacula-fd", ["bacula-fd", "-f", "-d", "500"], [/* 23 
vars */]) = 0
[ Process PID=1927 runs in 32 bit mode. ]
uname({sys="Linux", node="lovelace.informs.com", ...}) = 0
brk(0)                                  = 0x8147000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or 
directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(0x3, 0xffffcf6c)                = 0
old_mmap(NULL, 77355, PROT_READ, MAP_PRIVATE, 3, 0) = 0xfffffffff7feb000
close(3)                                = 0
open("/lib/tls/i686/sse2/libacl.so.1", O_RDONLY) = -1 ENOENT (No such 
file or directory)
stat64(0xffffcf90, 0xffffd000)          = -1 ENOENT (No such file or 
directory)
open("/lib/tls/i686/libacl.so.1", O_RDONLY) = -1 ENOENT (No such file or 
directory)
stat64(0xffffcf90, 0xffffd000)          = -1 ENOENT (No such file or 
directory)
open("/lib/tls/sse2/libacl.so.1", O_RDONLY) = -1 ENOENT (No such file or 
directory)
stat64(0xffffcf90, 0xffffd000)          = -1 ENOENT (No such file or 
directory)
open("/lib/tls/libacl.so.1", O_RDONLY)  = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220\31\200"..., 
512) = 512
close(3)                                = 0
stat64(0xffffcf90, 0xffffd000)          = 0
open("/lib/i686/sse2/libacl.so.1", O_RDONLY) = -1 ENOENT (No such file 
or directory)
stat64(0xffffcf90, 0xffffd000)          = -1 ENOENT (No such file or 
directory)
open("/lib/i686/libacl.so.1", O_RDONLY) = -1 ENOENT (No such file or 
directory)
stat64(0xffffcf90, 0xffffd000)          = 0
open("/lib/sse2/libacl.so.1", O_RDONLY) = -1 ENOENT (No such file or 
directory)
stat64(0xffffcf90, 0xffffd000)          = -1 ENOENT (No such file or 
directory)
open("/lib/libacl.so.1", O_RDONLY)      = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220\31\200"..., 
512) = 512
close(3)                                = 0
stat64(0xffffcf90, 0xffffd000)          = 0
open("/usr/lib/tls/i686/sse2/libacl.so.1", O_RDONLY) = -1 ENOENT (No 
such file or directory)
stat64(0xffffcf90, 0xffffd000)          = -1 ENOENT (No such file or 
directory)
open("/usr/lib/tls/i686/libacl.so.1", O_RDONLY) = -1 ENOENT (No such 
file or directory)
stat64(0xffffcf90, 0xffffd000)          = -1 ENOENT (No such file or 
directory)
open("/usr/lib/tls/sse2/libacl.so.1", O_RDONLY) = -1 ENOENT (No such 
file or directory)
stat64(0xffffcf90, 0xffffd000)          = -1 ENOENT (No such file or 
directory)
open("/usr/lib/tls/libacl.so.1", O_RDONLY) = -1 ENOENT (No such file or 
directory)
stat64(0xffffcf90, 0xffffd000)          = -1 ENOENT (No such file or 
directory)
open("/usr/lib/i686/sse2/libacl.so.1", O_RDONLY) = -1 ENOENT (No such 
file or directory)
stat64(0xffffcf90, 0xffffd000)          = -1 ENOENT (No such file or 
directory)
open("/usr/lib/i686/libacl.so.1", O_RDONLY) = -1 ENOENT (No such file or 
directory)
stat64(0xffffcf90, 0xffffd000)          = -1 ENOENT (No such file or 
directory)
open("/usr/lib/sse2/libacl.so.1", O_RDONLY) = -1 ENOENT (No such file or 
directory)
stat64(0xffffcf90, 0xffffd000)          = -1 ENOENT (No such file or 
directory)
open("/usr/lib/libacl.so.1", O_RDONLY)  = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220\31\200"..., 
512) = 512
close(3)                                = 0
stat64(0xffffcf90, 0xffffd000)          = 0
writev(2, [{ptrace: umoven: Input/output error
0x9ffffdbbb, 8596612869}, {ptrace: umoven: Input/output error
0x240065fa08, 8596612873}, {ptrace: umoven: Input/output error
0xb00661def, 8596612864}, {ptrace: umoven: Input/output error
0x1e00661dd0, 8596612864}, {ptrace: umoven: Input/output error
0x190065e91d, 4301645589}, {NULL, 0}, {NULL, 0}, {NULL, 0}, {NULL, 0}, 
{NULL, 0}], 10bacula-fd: error while loading shared libraries: 
libacl.so.1: cannot open shared object file: No such file or directory
) = 120
exit_group(127)                         = ?
Process 1927 detached



Ryan Novosielski wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> I wouldn't personally do either one of those things (though they are one
> answer).
>
> You really need to know where those files are supposed to be and install
> those packages from that version of RHEL. All that stuff is definitely
> available if bacula is to ever run on RHEL. If you mix and match
> distribution numbers, you're asking for trouble. I occasionally do the
> same myself, but not for anything more important than movie players or
> desktop software.
>
> Again, I think I've personally asked you for this already, if you want
> decent help, provide decent information. When in doubt, if your original
> request for help fits in an SMS, you've messed up.
>
> RHEL4.1 and RHEL4.4 are not even that similar as pertains to version
> numbers. I have 4.3, if I'm not mistaken, and have /lib64/libssl.so.4 --
> however, this file is not owned by any package, according to rpm. If you
> don't have it, I'd be concerned.
>
> Per Andreas Buer wrote:
>   
>> Hi.
>>
>> I would recommend that you install from source unless you have the 
>> required libraries installed for bacula - do not use --nodeps unless you 
>> know exactly what you are doing. Or you might compare the machine you've 
>> got working with this one.
>>
>> Per.
>>
>>
>> Jason King wrote:
>>     
>>> On another note, what packages are required to install and run the 
>>> bacula client. The RPM requires some dependencies but it is requiring 
>>> some .so.# files and I don't know what package those libraries would 
>>> be under. I've tried up2date -i bacula-client and it isn't available. 
>>> Tried the RPM and it has required library files so I just FORCED the 
>>> install by telling it --nodeps while doing the rpm install. Then as I 
>>> tried to start it the system would say "Can't find file 
>>> /lib/libssl.so.4" or whatever file it needed. I would go get the file 
>>> it needed and put it in place then try to start it again...then it 
>>> would tell me "Can't find file /lib/libcrypto.so.4" and so on until it 
>>> started working...I did this successfully on another RHEL4 machine but 
>>> this one doesn't work for whatever reason. I think it has something to 
>>> do with the fact that I never installed the required packages except 
>>> for copying files from one place to another manually. I might have 
>>> flubbed something up while doing the manual install of the required 
>>> lib files.
>>>
>>> Jason
>>>
>>> Jason King wrote:
>>>       
>>>> Ok, here you go:
>>>>
>>>> Jason
>>>>
>>>> Aaron Knister wrote:
>>>>         
>>>>> Try this-
>>>>>
>>>>> strace bacula-fd -f -d 500 2>&1 | tee log.out
>>>>>
>>>>> Then post log.out
>>>>>
>>>>> -Aaron
>>>>>
>>>>> Jason King wrote:
>>>>>           
>>>>>> Here is the output:
>>>>>>
>>>>>> [EMAIL PROTECTED] ~]# bacula-fd -f -d 500
>>>>>> Segmentation fault
>>>>>> [EMAIL PROTECTED] ~]#
>>>>>>
>>>>>> Not very helpful huh?
>>>>>>
>>>>>> Jason
>>>>>>
>>>>>> Per Andreas Buer wrote:
>>>>>>  
>>>>>>             
>>>>>>> Jason King wrote:
>>>>>>>  
>>>>>>>               
>>>>>>>> I'm trying to run the bacula-client on my RHEL box. I have it 
>>>>>>>> running correctly on another RHEL box but on another one it 
>>>>>>>> doesn't work. When I try and start the FD I get a simple message 
>>>>>>>> "Segmentation Fault".
>>>>>>>>       
>>>>>>>>                 
>>>>>>> Could you start it with "bacula-fd -f -d 500" and post the output 
>>>>>>> here?
>>>>>>>
>>>>>>>
>>>>>>> Per.
>>>>>>>     
>>>>>>>               
>>>>>> -------------------------------------------------------------------------
>>>>>>  
>>>>>>
>>>>>> Take Surveys. Earn Cash. Influence the Future of IT
>>>>>> Join SourceForge.net's Techsay panel and you'll get the chance to 
>>>>>> share your
>>>>>> opinions on IT & business topics through brief surveys-and earn cash
>>>>>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>>>>>>  
>>>>>>
>>>>>> _______________________________________________
>>>>>> Bacula-users mailing list
>>>>>> Bacula-users@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/bacula-users
>>>>>>
>>>>>>   
>>>>>>             
>>>> ------------------------------------------------------------------------
>>>>
>>>> execve("/usr/sbin/bacula-fd", ["bacula-fd", "-f", "-d", "500"], [/* 
>>>> 23 vars */]) = 0
>>>> uname({sys="Linux", node="lovelace.informs.com", ...}) = 0
>>>> brk(0)                                  = 0x8147000
>>>> access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or 
>>>> directory)
>>>> open("/etc/ld.so.cache", O_RDONLY)      = 3
>>>> fstat64(0x3, 0xffffcf6c)                = 0
>>>> old_mmap(NULL, 77355, PROT_READ, MAP_PRIVATE, 3, 0) = 0xfffffffff7feb000
>>>> close(3)                                = 0
>>>> open("/lib/tls/i686/sse2/libacl.so.1", O_RDONLY) = -1 ENOENT (No such 
>>>> file or directory)
>>>> stat64(0xffffcf90, 0xffffd000)          = -1 ENOENT (No such file or 
>>>> directory)
>>>> open("/lib/tls/i686/libacl.so.1", O_RDONLY) = -1 ENOENT (No such file 
>>>> or directory)
>>>> stat64(0xffffcf90, 0xffffd000)          = -1 ENOENT (No such file or 
>>>> directory)
>>>> open("/lib/tls/sse2/libacl.so.1", O_RDONLY) = -1 ENOENT (No such file 
>>>> or directory)
>>>> stat64(0xffffcf90, 0xffffd000)          = -1 ENOENT (No such file or 
>>>> directory)
>>>> open("/lib/tls/libacl.so.1", O_RDONLY)  = -1 ENOENT (No such file or 
>>>> directory)
>>>> stat64(0xffffcf90, 0xffffd000)          = 0
>>>> open("/lib/i686/sse2/libacl.so.1", O_RDONLY) = -1 ENOENT (No such 
>>>> file or directory)
>>>> stat64(0xffffcf90, 0xffffd000)          = -1 ENOENT (No such file or 
>>>> directory)
>>>> open("/lib/i686/libacl.so.1", O_RDONLY) = -1 ENOENT (No such file or 
>>>> directory)
>>>> stat64(0xffffcf90, 0xffffd000)          = 0
>>>> open("/lib/sse2/libacl.so.1", O_RDONLY) = -1 ENOENT (No such file or 
>>>> directory)
>>>> stat64(0xffffcf90, 0xffffd000)          = -1 ENOENT (No such file or 
>>>> directory)
>>>> open("/lib/libacl.so.1", O_RDONLY)      = 3
>>>> read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300\362"..., 
>>>> 512) = 512
>>>> fstat64(0x3, 0xffffd000)                = 0
>>>> old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 
>>>> -1, 0) = 0xfffffffff7fea000
>>>> old_mmap(0xc1e000, 20948, PROT_READ|PROT_EXEC, 
>>>> MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xc1e000
>>>> old_mmap(0xc23000, 4096, PROT_READ|PROT_WRITE, 
>>>> MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x5000) = 0xc23000
>>>> close(3)                                = 0
>>>> open("/usr/lib/libz.so.1", O_RDONLY)    = 3
>>>> read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\260\25"..., 
>>>> 512) = 512
>>>> fstat64(0x3, 0xffffcfe4)                = 0
>>>> old_mmap(NULL, 65124, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 
>>>> 3, 0) = 0xfffffffff7fda000
>>>> old_mmap(0xf7fe9000, 4096, PROT_READ|PROT_WRITE, 
>>>> MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xe000) = 0xfffffffff7fe9000
>>>> close(3)                                = 0
>>>> open("/lib/libutil.so.1", O_RDONLY)     = 3
>>>> read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\220\f\0"..., 
>>>> 512) = 512
>>>> fstat64(0x3, 0xffffcfc8)                = 0
>>>> old_mmap(NULL, 12428, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 
>>>> 3, 0) = 0xfffffffff7fd6000
>>>> old_mmap(0xf7fd8000, 8192, PROT_READ|PROT_WRITE, 
>>>> MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) = 0xfffffffff7fd8000
>>>> close(3)                                = 0
>>>> open("/lib/tls/librt.so.1", O_RDONLY)   = 3
>>>> read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\320 \0"..., 
>>>> 512) = 512
>>>> fstat64(0x3, 0xffffcfac)                = 0
>>>> old_mmap(NULL, 81656, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 
>>>> 3, 0) = 0xfffffffff7fc2000
>>>> old_mmap(0xf7fca000, 8192, PROT_READ|PROT_WRITE, 
>>>> MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0xfffffffff7fca000
>>>> old_mmap(0xf7fcc000, 40696, PROT_READ|PROT_WRITE, 
>>>> MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xfffffffff7fcc000
>>>> close(3)                                = 0
>>>> open("/lib/tls/libpthread.so.0", O_RDONLY) = 3
>>>> read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0PH\0\000"..., 
>>>> 512) = 512
>>>> fstat64(0x3, 0xffffcf90)                = 0
>>>> old_mmap(NULL, 70108, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 
>>>> 3, 0) = 0xfffffffff7fb0000
>>>> old_mmap(0xf7fbe000, 8192, PROT_READ|PROT_WRITE, 
>>>> MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xd000) = 0xfffffffff7fbe000
>>>> old_mmap(0xf7fc0000, 4572, PROT_READ|PROT_WRITE, 
>>>> MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xfffffffff7fc0000
>>>> close(3)                                = 0
>>>> open("/lib/libdl.so.2", O_RDONLY)       = 3
>>>> read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\260\v\0"..., 
>>>> 512) = 512
>>>> fstat64(0x3, 0xffffcf74)                = 0
>>>> old_mmap(NULL, 12388, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 
>>>> 3, 0) = 0xfffffffff7fac000
>>>> old_mmap(0xf7fae000, 8192, PROT_READ|PROT_WRITE, 
>>>> MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) = 0xfffffffff7fae000
>>>> close(3)                                = 0
>>>> open("/lib/tls/libssl.so.4", O_RDONLY)  = -1 ENOENT (No such file or 
>>>> directory)
>>>> open("/lib/i686/libssl.so.4", O_RDONLY) = -1 ENOENT (No such file or 
>>>> directory)
>>>> open("/lib/libssl.so.4", O_RDONLY)      = 3
>>>> read(3, 
>>>> "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0206\273"..., 512) = 
>>>> 512
>>>> fstat64(0x3, 0xffffcf58)                = 0
>>>> old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 
>>>> -1, 0) = 0xfffffffff7fab000
>>>> old_mmap(0xbaa000, 212692, PROT_READ|PROT_EXEC, 
>>>> MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xbaa000
>>>> old_mmap(0xbdb000, 12288, PROT_READ|PROT_WRITE, 
>>>> MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x31000) = 0xbdb000
>>>> close(3)                                = 0
>>>> open("/lib/tls/libcrypto.so.4", O_RDONLY) = -1 ENOENT (No such file 
>>>> or directory)
>>>> open("/lib/i686/libcrypto.so.4", O_RDONLY) = -1 ENOENT (No such file 
>>>> or directory)
>>>> open("/lib/libcrypto.so.4", O_RDONLY)   = 3
>>>> read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\260\273"..., 
>>>> 512) = 512
>>>> fstat64(0x3, 0xffffcf3c)                = 0
>>>> old_mmap(0x101000, 953176, PROT_READ|PROT_EXEC, 
>>>> MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x101000
>>>> old_mmap(0x1d5000, 73728, PROT_READ|PROT_WRITE, 
>>>> MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xd4000) = 0x1d5000
>>>> old_mmap(0x1e7000, 11096, PROT_READ|PROT_WRITE, 
>>>> MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x1e7000
>>>> --- SIGSEGV (Segmentation fault) @ 0 (0) ---
>>>> +++ killed by SIGSEGV +++
>>>> Process 32727 detached
>>>> [ Process PID=32727 runs in 32 bit mode. ]
>>>>   
>>>> ------------------------------------------------------------------------
>>>>
>>>> ------------------------------------------------------------------------- 
>>>>
>>>> Take Surveys. Earn Cash. Influence the Future of IT
>>>> Join SourceForge.net's Techsay panel and you'll get the chance to 
>>>> share your
>>>> opinions on IT & business topics through brief surveys-and earn cash
>>>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV 
>>>>
>>>> ------------------------------------------------------------------------
>>>>
>>>> _______________________________________________
>>>> Bacula-users mailing list
>>>> Bacula-users@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/bacula-users
>>>>   
>>>>         
>> -------------------------------------------------------------------------
>> Take Surveys. Earn Cash. Influence the Future of IT
>> Join SourceForge.net's Techsay panel and you'll get the chance to share your
>> opinions on IT & business topics through brief surveys-and earn cash
>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>> _______________________________________________
>> Bacula-users mailing list
>> Bacula-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/bacula-users
>>     
>
> - --
>  ---- _  _ _  _ ___  _  _  _
>  |Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Systems Programmer III
>  |$&| |__| |  | |__/ | \| _| |[EMAIL PROTECTED] - 973/972.0922 (2-0922)
>  \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.5 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFF1h7Dmb+gadEcsb4RApGwAJ90lGyE6GAQm+bEHvJA4o8DcQlG1QCfTht1
> yaUxxuULNMQfpw4nf9CJ9XA=
> =Qglz
> -----END PGP SIGNATURE-----
>
>   

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to