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

Again, please copy the list. :)

I suspect you are not using the bacula that is specifically for your
distrobution of Linux. I believe daemon is an RHEL thing. You have not
mentioned your distro, but this is probably the problem. I'd make sure
there's not a more appropriate package for you.

=R

Beren wrote:
> I don't have the "daemon" command....!?
> 
> Here are the permissions
> 
> [EMAIL PROTECTED] bacula]# ls -l bacula*.conf
> -rw-r--r--    1 root     root        60460 Feb  8 15:35 bacula-dir.conf
> -rw-r-----    1 root     root          930 Dec  2  2005 bacula-fd.conf
> -rw-r-----    1 root     disk         5160 Mar 24  2006 bacula-sd.conf
> [EMAIL PROTECTED] bacula]#
> 
> Should the user or group be bacula?
> 
> 
> 
> On 13/02/07, Ryan Novosielski <[EMAIL PROTECTED]> wrote:
> Please always copy the list.
> 
> After this, bacula is not running? Do you have a user bacula and a group
> bacula? Can you run the exact command:
> 
> daemon /usr/sbin/bacula-dir -u bacula -g bacula -c
> /etc/bacula/bacula-dir.conf
> 
> ...and have THAT work?
> 
> Beren wrote:
>> Thanks Ryan,
> 
>> I edited the script and it outputed lots of stuff I don't understand
>> :D It says it was successful!!?
> 
>> Here's the output:
> 
>> [EMAIL PROTECTED] init.d]# ./bacula-dir start
>> + . /etc/rc.d/init.d/functions
>> ++ TEXTDOMAIN=initscripts
>> ++ umask 022
>> ++ PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin
>> ++ export PATH
>> ++ '[' -z '' ']'
>> ++ COLUMNS=80
>> ++ '[' -z '' ']'
>> +++ /sbin/consoletype
>> ++ CONSOLETYPE=pty
>> ++ '[' -f /etc/sysconfig/i18n -a -z '' ']'
>> ++ . /etc/sysconfig/i18n
>> +++ LANG=en_GB.UTF-8
>> +++ SUPPORTED=en_GB.UTF-8:en_GB:en
>> +++ SYSFONT=latarcyrheb-sun16
>> ++ '[' pty '!=' pty ']'
>> ++ export LANG
>> ++ '[' -z '' ']'
>> ++ '[' -f /etc/sysconfig/init ']'
>> ++ . /etc/sysconfig/init
>> +++ BOOTUP=color
>> +++ GRAPHICAL=yes
>> +++ RES_COL=60
>> +++ MOVE_TO_COL=echo -en \033[60G
>> +++ SETCOLOR_SUCCESS=echo -en \033[0;32m
>> +++ SETCOLOR_FAILURE=echo -en \033[0;31m
>> +++ SETCOLOR_WARNING=echo -en \033[0;33m
>> +++ SETCOLOR_NORMAL=echo -en \033[0;39m
>> +++ LOGLEVEL=3
>> +++ PROMPT=yes
>> ++ '[' pty = serial ']'
>> ++ '[' color '!=' verbose ']'
>> ++ INITLOG_ARGS=-q
>> + DIR_USER=bacula
>> + DIR_GROUP=bacula
>> + DIR_OPTIONS=
>> ++ uname -s
>> + OS=Linux
>> ++ uname -r
>> ++ cut -c1-3
>> + '[' -d /lib/tls -a Linux = Linux -a 2.4 = 2.4 ']'
>> + export LD_ASSUME_KERNEL=2.4.19
>> + LD_ASSUME_KERNEL=2.4.19
>> + '[' -f /etc/sysconfig/bacula ']'
>> + RETVAL=0
>> + '[' bacula '!=' '' ']'
>> + DIR_OPTIONS= -u bacula
>> + '[' bacula '!=' '' ']'
>> + DIR_OPTIONS= -u bacula -g bacula
>> + echo -n 'Starting Bacula Director services: '
>> Starting Bacula Director services: + daemon /usr/sbin/bacula-dir -u
>> bacula -g bacula -c /etc/bacula/bacula-dir.conf
>> + local gotbase= force=
>> + local base= user= nice= bg= pid=
>> + nicelevel=0
>> + '[' /usr/sbin/bacula-dir '!=' /usr/sbin/bacula-dir ']'
>> + '[' -z '' ']'
>> + base=bacula-dir
>> + '[' -f /var/run/bacula-dir.pid ']'
>> + '[' -n '' -a -z '' ']'
>> + ulimit -S -c 0
>> + '[' -n '' ']'
>> + '[' color = verbose -a -z '' ']'
>> + '[' -z '' ']'
>> + initlog -q -c '/usr/sbin/bacula-dir -u bacula -g bacula -c
>> /etc/bacula/bacula-dir.conf'
>> + '[' 0 -eq 0 ']'
>> + success 'bacula-dir startup'
>> + '[' -z '' ']'
>> + initlog -q -n ./bacula-dir -s 'bacula-dir startup' -e 1
>> + '[' color '!=' verbose -a -z '' ']'
>> + echo_success
>> + '[' color = color ']'
>> + echo -en '\033[60G'
>>                                                           + echo -n
> '[  '
>> [  + '[' color = color ']'
>> + echo -en '\033[0;32m'
>> + echo -n OK
>> OK+ '[' color = color ']'
>> + echo -en '\033[0;39m'
>> + echo -n '  ]'
>>  ]+ echo -ne '\r'
>> + return 0
>> + return 0
>> + RETVAL=0
>> + echo
> 
>> + '[' 0 -eq 0 ']'
>> + touch /var/lock/subsys/bacula-dir
>> + exit 0
>> [EMAIL PROTECTED] init.d]#
> 
> 
>> On 13/02/07, Ryan Novosielski <[EMAIL PROTECTED]> wrote:
>> If you are using a shell that supports it, add a 'set -x' or equivalent
>> near the top of the script and you'll see the execution of every
> command
>> and might see what goes wrong.
> 
>> Beren wrote:
>>> Hi Everyone
> 
>>> I've just upgraded from 1.38 to v2.0.1 and changed my bacula-dir.conf
>>> to accomodate.
> 
>>> I can't start the director bacula by typing /etc/bacula/bacula start
>>> or by typing /etc/init.d/bacula-dir start or service bacula start
> 
>>> It says it completes successfully, but if I do "ps -ef" I can't see
> it.
> 
>>> The only way I can start it is by typing "bacula-dir -c
>>> /etc/bacula/bacula-dir.conf"
> 
>>> Any ideas?
> 
> 
> 
> -------------------------------------------------------------------------
>>> Using Tomcat but need to do more? Need to support web services,
>> security?
>>> Get stuff done quickly with pre-integrated technology to make your
>> job easier.
>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache
>> Geronimo
> 
> 
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>>> _______________________________________________
>>> 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

iD8DBQFF0gNymb+gadEcsb4RAtEOAKDK0OTxl4jIqbu6oiHWofrUz+3WCgCfbBAB
PjOp+Riv3x97ozdG0PKq1ag=
=UGM1
-----END PGP SIGNATURE-----


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to