FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora User

 
 
LinkBack Thread Tools
 
Old 06-29-2012, 09:55 PM
"Erik P. Olsen"
 
Default Fail to start bacula director with systemctl.

When migrating to fedora 16 (from 14) I have to start bacula using systemctl. It
works fine with the client and storage daemons but the director service fails.
systemctl status bacula-<daemon> shows:


[root@epohost ~]# systemctl status bacula-dir.service
bacula-dir.service - Bacula-Director, the Backup-server
Loaded: loaded (/lib/systemd/system/bacula-dir.service; enabled)
Active: failed since Fri, 29 Jun 2012 23:09:35 +0200; 1min 9s ago
Process: 1781 ExecStart=/usr/sbin/bacula-dir -f $OPTS -c $CONFIG -u $DIR_USER
-g $DIR_GROUP (code=exited, status=1/FAILURE)
Process: 1778 ExecStartPre=/usr/sbin/bacula-checkconf $CONFIG (code=exited,
status=0/SUCCESS)

CGroup: name=systemd:/system/bacula-dir.service

[root@epohost ~]# systemctl status bacula-sd.service
bacula-sd.service - Bacula-StorageDaemon, the storage-server
Loaded: loaded (/lib/systemd/system/bacula-sd.service; enabled)
Active: active (running) since Fri, 29 Jun 2012 23:09:27 +0200; 1min 42s ago
Process: 1205 ExecStartPre=/usr/sbin/bacula-checkconf $CONFIG (code=exited,
status=0/SUCCESS)

Main PID: 1219 (bacula-sd)
CGroup: name=systemd:/system/bacula-sd.service
â”” 1219 /usr/sbin/bacula-sd -f -c /etc/bacula/bacula-sd.co...

[root@epohost ~]# systemctl status bacula-fd.service
bacula-fd.service - Bacula-FileDaemon, a Backup-client
Loaded: loaded (/lib/systemd/system/bacula-fd.service; enabled)
Active: active (running) since Fri, 29 Jun 2012 23:09:27 +0200; 1min 55s ago
Process: 1196 ExecStartPre=/usr/sbin/bacula-checkconf $CONFIG (code=exited,
status=0/SUCCESS)

Main PID: 1214 (bacula-fd)
CGroup: name=systemd:/system/bacula-fd.service
â”” 1214 /usr/sbin/bacula-fd -f -c /etc/bacula/bacula-fd.co...

Can somebody decipher what is wrong or perhaps suggest a way to diagnose the
problem? Starting bacula-dir manually works fine. Maybe this is for the bacula
community to answer but I've started here since it may a failure in the rpm package.


--
Erik
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 
Old 06-30-2012, 12:35 AM
Bill Shirley
 
Default Fail to start bacula director with systemctl.

Is there any information in /var/log/messages or bacula's log?

What does 'Starting bacula-dir manually' mean? From systemd vs upon boot?

Bill


On 6/29/2012 5:55 PM, Erik P. Olsen wrote:
When migrating to fedora 16 (from 14) I have to start bacula using
systemctl. It works fine with the client and storage daemons but the
director service fails. systemctl status bacula-<daemon> shows:


[root@epohost ~]# systemctl status bacula-dir.service
bacula-dir.service - Bacula-Director, the Backup-server
Loaded: loaded (/lib/systemd/system/bacula-dir.service; enabled)
Active: failed since Fri, 29 Jun 2012 23:09:35 +0200; 1min 9s ago
Process: 1781 ExecStart=/usr/sbin/bacula-dir -f $OPTS -c $CONFIG
-u $DIR_USER -g $DIR_GROUP (code=exited, status=1/FAILURE)
Process: 1778 ExecStartPre=/usr/sbin/bacula-checkconf $CONFIG
(code=exited, status=0/SUCCESS)

CGroup: name=systemd:/system/bacula-dir.service

[root@epohost ~]# systemctl status bacula-sd.service
bacula-sd.service - Bacula-StorageDaemon, the storage-server
Loaded: loaded (/lib/systemd/system/bacula-sd.service; enabled)
Active: active (running) since Fri, 29 Jun 2012 23:09:27 +0200;
1min 42s ago
Process: 1205 ExecStartPre=/usr/sbin/bacula-checkconf $CONFIG
(code=exited, status=0/SUCCESS)

Main PID: 1219 (bacula-sd)
CGroup: name=systemd:/system/bacula-sd.service
â”” 1219 /usr/sbin/bacula-sd -f -c /etc/bacula/bacula-sd.co...

[root@epohost ~]# systemctl status bacula-fd.service
bacula-fd.service - Bacula-FileDaemon, a Backup-client
Loaded: loaded (/lib/systemd/system/bacula-fd.service; enabled)
Active: active (running) since Fri, 29 Jun 2012 23:09:27 +0200;
1min 55s ago
Process: 1196 ExecStartPre=/usr/sbin/bacula-checkconf $CONFIG
(code=exited, status=0/SUCCESS)

Main PID: 1214 (bacula-fd)
CGroup: name=systemd:/system/bacula-fd.service
â”” 1214 /usr/sbin/bacula-fd -f -c /etc/bacula/bacula-fd.co...

Can somebody decipher what is wrong or perhaps suggest a way to
diagnose the problem? Starting bacula-dir manually works fine. Maybe
this is for the bacula community to answer but I've started here since
it may a failure in the rpm package.



--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 

Thread Tools




All times are GMT. The time now is 05:18 PM.

VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org