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

You wrote:

. ./etc/init.d/functions

Did you mean . /etc/init.d/functions (. is a command that loads files
into the environment) or did you actually do the above ('cuz that won't
work)?

Beren wrote:
> Right! Now we're getting somewhere:
> 
>>From bacula-dir.conf:
> # Source function library
> . /etc/rc.d/init.d/functions
> 
> however, "functions" is located in /etc/init.d
> 
> I tried:
> 
> . ./etc/init.d/functions
> and
> /etc/init.d/functions
> 
> both still didn't work. Says it can't find the daemon command.
> 
> 
> 
> 
> 
> 
> On 15/02/07, Ryan Novosielski <[EMAIL PROTECTED]> wrote:
> That should be right. I don't have any EL3 machines (AS is just a
> version of RHEL, like WS and ES).
> 
> The command 'daemon' probably DOES exist on your system though... in
> fact, look at the top of the bacula-dir script; you probably have this:
> 
> # Source function library
> . /etc/rc.d/init.d/functions
> 
> ...try running the second line, and then manually running the 'daemon'
> line (do a set -x at the shell prompt prior to get more info about what
> is going to take place).
> 
> =R
> 
> Beren wrote:
>>>> I used bacula-mysql-2.0.2-1.el3.i386.rpm - It says "Enterprise Linux"
>>>> but in the past that has worked with Redhat AS.
>>>>
>>>> Maybe I should just build it from source...?
>>>>
>>>> On 14/02/07, Ryan Novosielski <[EMAIL PROTECTED]> wrote:
>>>> Which rpm did you use, though? If 'daemon' is not a command that exists
>>>> in RHEL3, the script should probably not try to use it.
>>>>
>>>> =R
>>>>
>>>> Beren wrote:
>>>>> Hi... I copied to the list this time... sorry about the last two
>>>> times :)
>>>>
>>>>> I'm using RedHat Advanced Server v3. I think i've got the right RPM..
>>>>> It installed fine anyway.
>>>>> I've changed permissions of the bacula directory and its contained
>>>>> files to owner "bacula" and group "bacula"
>>>>> /etc/init.d/bacula-dir start still doesn't says successful but
>>>>> bacula-dir isn't running.
>>>>> Running out of options here! :)
>>>>
>>>>
>>>>> On 13/02/07, Ryan Novosielski <[EMAIL PROTECTED]> wrote:
>>>>> 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
>>>>>>>>
>>>>>>>>
>>>>
>>>>
>>>>
>>>> -------------------------------------------------------------------------
>>>>> 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
>>

> -------------------------------------------------------------------------
> 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

iD8DBQFF1IH4mb+gadEcsb4RAgwqAKDeu4Uqz44muFBS5tLMK1/KlNyMEACbB0u5
uK2+KuHQA+pZ66YJYHiAm2k=
=ZKBB
-----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