Alle weiteren Dienste, die nicht in die drei oberen Foren gehören.
-
herophil322
- Beiträge: 55
- Registriert: 18.12.2012 19:23:20
- Wohnort: Vienna
Beitrag
von herophil322 » 22.02.2013 18:45:43
Hallo,
ich habe mir nun Bacula nach diesem HOWTO eingerichtet:
http://www.asconix.com/howtos/debian/ba ... bian-howto
Nun möchte ich den Bacula Director starten und bekomme folgende Meldung:
Code: Alles auswählen
root@server:/etc/init.d# /etc/init.d/bacula-dir start
Starting the Bacula Director daemon
22-Feb 18:36 bacula-dir: ERROR TERMINATION at parse_conf.c:954
Config error: expected resource name, got: File
: line 119, col 9 of file /etc/bacula/bacula-dir.conf
File = /usr/sbin
Hier noch der Abschnitt aus dem Configfile:
Code: Alles auswählen
# Put your list of files here, preceded by 'File =', one per line
# or include an external list with:
#
# File = <file-name
#
# Note: / backs up everything on the root partition.
# if you have other partitions such as /usr or /home
# you will probably want to add them too.
#
# By default this is defined to point to the Bacula binary
# directory to give a reasonable FileSet to backup to
# disk storage during initial testing.
#
File = /usr/sbin #!!!!!!!!!! Um das hier geht es;)!!!
}
#
# If you backup the root directory, the following two excluded
# files can be useful
#
Exclude {
File = /var/lib/bacula
File = /tmp
File = /proc
File = /tmp
File = /.journal
File = /.fsck
}
}
#
Hat jemand ne Ahnung? Danke Guys:D
lg herophil322
Zuletzt geändert von
herophil322 am 26.03.2013 22:35:13, insgesamt 1-mal geändert.
-
syssi
- Beiträge: 2951
- Registriert: 24.12.2010 16:50:59
- Lizenz eigener Beiträge: MIT Lizenz
- Wohnort: Rheinland
Beitrag
von syssi » 22.02.2013 19:32:14
Kannst du den ganzen Absatz posten? In dem Bereich, wo die "File"-Zeile steht geht irgendwann eine Klammer zu. Wo geht sie auf? Was steht *alles* zwischen den beiden Klammern?
-
herophil322
- Beiträge: 55
- Registriert: 18.12.2012 19:23:20
- Wohnort: Vienna
Beitrag
von herophil322 » 23.02.2013 04:38:53
Na klaro,
hier ist eine Erweiterung:
Code: Alles auswählen
# List of files to be backed up
FileSet {
Name = "Full Set"
Include {
Options {
signature = MD5
}
File = /
}
Exclude {
File = /tmp
File = /proc
File = /var/lib/bacula
File = /.journal
File = /.fsck
}
}
#
# Put your list of files here, preceded by 'File =', one per line
# or include an external list with:
#
# File = <file-name
#
# Note: / backs up everything on the root partition.
# if you have other partitions such as /usr or /home
# you will probably want to add them too.
#
# By default this is defined to point to the Bacula binary
# directory to give a reasonable FileSet to backup to
# disk storage during initial testing.
#
File = /usr/sbin
}
#
# If you backup the root directory, the following two excluded
# files can be useful
#
Exclude {
File = /var/lib/bacula
File = /tmp
File = /proc
File = /tmp
File = /.journal
File = /.fsck
}
}
lg herophil322
-
syssi
- Beiträge: 2951
- Registriert: 24.12.2010 16:50:59
- Lizenz eigener Beiträge: MIT Lizenz
- Wohnort: Rheinland
Beitrag
von syssi » 23.02.2013 10:03:02
Schau doch mal genau hin und zaehl wie viele Klammern geoeffnet wurden und wie wenige wieder geschlossen...
-
herophil322
- Beiträge: 55
- Registriert: 18.12.2012 19:23:20
- Wohnort: Vienna
Beitrag
von herophil322 » 23.02.2013 18:26:56
Also ich hab jetzt geschaut kommt aber leider nicht drauf kannst du mir sagen, welche klammer flasch ist bitte?
lg herophil322
-
Cae
- Beiträge: 6349
- Registriert: 17.07.2011 23:36:39
- Wohnort: 2130706433
Beitrag
von Cae » 23.02.2013 19:02:25
Die beiden schliessenden geschweiften Klammern } am Ende der beiden letzen Absaetze sind ueberzaehlig. Allerdings koennte das noch alles zum FileSet-Block gehoeren, dann ist die am zweitletzen Absatz falsch und die vor dem langen Kommentar. Wie herum das richtig ist, haengt von deinen Wuenschen ab.
Gruss Cae
If universal surveillance were the answer, lots of us would have moved to the former East Germany. If surveillance cameras were the answer, camera-happy London, with something like 500,000 of them at a cost of $700 million, would be the safest city on the planet.
—Bruce Schneier
-
herophil322
- Beiträge: 55
- Registriert: 18.12.2012 19:23:20
- Wohnort: Vienna
Beitrag
von herophil322 » 28.02.2013 15:37:05
Danke für die Hilfe,
wollte nur Kurz sagen das mir ein dummer Copy/Paste Fehler unterlaufen ist.
Nach einer Neuinstallation im munderen Zustand hat alles funktioniert.
lg herophil322