-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Another commonly helpful step in situations like this:

ldd -v /usr/bin/bat

...should tell you if there are libraries missing. You should see
something like this:

[EMAIL PROTECTED]:~$ ldd -v /usr/bin/bat
        linux-gate.so.1 =>  (0xffffe000)
        libssl.so.0.9.8 => /usr/lib/i686/cmov/libssl.so.0.9.8 (0xb7f15000)
        libcrypto.so.0.9.8 => /usr/lib/i686/cmov/libcrypto.so.0.9.8
(0xb7dd2000)
        libQtGui.so.4 => /usr/lib/libQtGui.so.4 (0xb7636000)
        libQtCore.so.4 => /usr/lib/libQtCore.so.4 (0xb74b6000)
        libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb749e000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb73ab000)
        libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7386000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb737b000)
        libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7230000)
        libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb722c000)

.../etc. No right-hand side of an arrow should be blank, otherwise it
means it was not able to come up with that library on your machine (I
don't have an example of what it looks like when it can't find one, but
you get the idea).


Greg Miller wrote:
> OK, I finally figured out where I went wrong with this.  Bat is now
> working correctly.  Apparently, the problem had something to do with
> missing X11 components on my system (dependency info incorrect in some
> package?).  After performing a yum groupinstall "X Window System",
> everything just worked.  I don't know what component in that group fixed
> the problem, but at least it is fixed!  To any others out there running
> Bacula on a stripped-down (Base), headless CentOS5 installation, make
> sure that you install the "X Window System" group in order for Bat to
> work...
> 
> Thanks to all of those who helped me with this problem!
> 
> 
> 
> Greg Miller wrote:
>>
>>
>> Ryan Novosielski wrote:
> Greg Miller wrote:
>   
>>>>> Hi everyone!
>>>>>
>>>>> I have an issue with Bat that I hope someone has an answer to.
>>>>>
>>>>> CentOS 5 x86_64
>>>>> Bacula 2.2.7-1 (installed from fschwarz RPMS on Sourceforge)
>>>>> QT4 4.2.1-1
>>>>> QWT 5.0.2-5
>>>>>
>>>>> All components installed via Yum (should have taken care of all
>>>>> dependencies?).  This server was set up as a "base" server without X or
>>>>> anything else on it originally.  Then, all dependencies were loaded by
>>>>> Yum.  The server is at Runlevel 3.  I am attempting to run Bat as I do
>>>>> all other Linux server GUI programs by forwarding the X display back to
>>>>> Xming running on my WinXP workstation.
>>>>>
>>>>> When I attempt to run Bat, I get the following message:
>>>>> Config error: Cannot open config file "./bat.conf": No such file or
>>>>> directory
>>>>>
>>>>> If I "cd /usr/bin" and then "ln /etc/bacula/bat.conf", I get the
>>>>> following error:
>>>>> Segmentation fault
>>>>>
>>>>> Is there any way to debug this further to troubleshoot the cause of this
>>>>> issue?
>>>>>
>>>>> Big thanks from a Bacula Newbie!
>>>>>     
> 
> Start bat from the config directory:
> 
> cd /etc/bacula
> /usr/bin/bat
> 
> See what happens.
>   
>>> Thanks for the advice!  Running /usr/bin/bat doesn't seem to do
>>> anything.  Running /usr/sbin/bat Seg faults again.
>>>
>>> [EMAIL PROTECTED] bacula]# pwd
>>> /etc/bacula
>>> [EMAIL PROTECTED] bacula]# /usr/bin/bat
>>> [EMAIL PROTECTED] bacula]# /usr/sbin/bat
>>> Segmentation fault
>>> [EMAIL PROTECTED] bacula]# ps ax | grep bat
>>> 32320 pts/1    R+     0:00 grep bat
>>> [EMAIL PROTECTED] bacula]# ps ax | grep bacula
>>>  2504 ?        Ssl    0:00 /usr/sbin/bacula-sd -u bacula -g disk -c
>>> /etc/bacula/bacula-sd.conf
>>>  2566 ?        Ssl    0:00 /usr/sbin/bacula-fd -u root -g bacula -c
>>> /etc/bacula/bacula-fd.conf
>>>  2586 ?        Ssl    0:00 /usr/sbin/bacula-dir -u bacula -g bacula -c
>>> /etc/bacula/bacula-dir.conf
>>> 32324 pts/1    R+     0:00 grep bacula
>>> [EMAIL PROTECTED] bacula]#
>>>
>>> When I run an strace, I get a bunch of text dumped to the screen. 
>>> There are several errors that might be causing the problem:
>>> stat("/etc/xdg/Trolltech.conf", 0x7fffda9a2c40) = -1 ENOENT (No such
>>> file or directory)
>>> stat("/usr/sbin/iconengines/.", 0x855af30) = -1 ENOENT (No such file
>>> or directory)
>>> lstat("/usr/sbin/iconengines/.", 0x7fffda9a40f0) = -1 ENOENT (No such
>>> file or directory)
>>>
>>> These items do not exist on my system (hence the "No such file or
>>> directory" error).  I search on Google has not shown me where I can
>>> find these items to install...
>>>
>>>
> Also consider running 'strace bat'. I'm assuming a core is dumped too...
> you could run gdb against the core file.
> 

>>
>> Thanks again!
>> ------------------------------------------------------------------------
>>
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by: Microsoft
>> Defy all challenges. Microsoft(R) Visual Studio 2008.
>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Bacula-users mailing list
>> Bacula-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/bacula-users
>>   

> ------------------------------------------------------------------------

> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/


> ------------------------------------------------------------------------

> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users


- --
 ---- _  _ _  _ ___  _  _  _
 |Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Systems Programmer II
 |$&| |__| |  | |__/ | \| _| |[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.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHkRAomb+gadEcsb4RAtGtAJ9LsRVLtZqGVUYs5kXZ56Ic0L0FAQCggkzi
Fqyna8LdXIfz2ADC+A4aZDM=
=qsgk
-----END PGP SIGNATURE-----
begin:vcard
fn:Ryan Novosielski
n:Novosielski;Ryan
org:UMDNJ;IST/AST
adr;dom:MSB C630;;185 South Orange Avenue;Newark;NJ;07103
email;internet:[EMAIL PROTECTED]
title:Systems Programmer III
tel;work:(973) 972-0922
tel;fax:(973) 972-7412
tel;pager:(866) 20-UMDNJ
x-mozilla-html:FALSE
version:2.1
end:vcard

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to