Displaying 3 results from an estimated 3 matches for "signierung".
Did you mean:
signieren
2017 Feb 01
4
Script not running correctly as cronjob
...When i run the script from bash, it works like it should. But when it is executed in cron not. Its starting normal as cronjob:
Feb 1 03:00:01 xxx CROND[20116]: (root) CMD (sh /opt/dnssec/resign_dnssec_zones.sh)
But after i get a mail that everything is finsihed, but it isn't.
03:04:28 DNSSEC-Signierung abgeschlossen
The script deletes the old signed zones, but don't resign it. The mail is also sent.
Below the script.
Anybody an idea why it doesn't work in cron?^
I cannot find any error in any log.
Best regards
Daniel
#!/bin/bash
KSKDIR="/etc/named/KSK"
ZSKDIR="/etc/nam...
2017 Feb 01
1
Script not running correctly as cronjob
...m bash, it works like it should. But when it is executed in cron not. Its starting normal as cronjob:
> Feb 1 03:00:01 xxx CROND[20116]: (root) CMD (sh
> /opt/dnssec/resign_dnssec_zones.sh)
>
> But after i get a mail that everything is finsihed, but it isn't.
> 03:04:28 DNSSEC-Signierung abgeschlossen
>
> The script deletes the old signed zones, but don't resign it. The mail is also sent.
> Below the script.
>
> Anybody an idea why it doesn't work in cron?^ I cannot find any error
> in any log.
After the first line, add a line saying: set -x
Then set...
2017 Feb 01
0
Script not running correctly as cronjob
...om bash, it works like it should. But
> when it is executed in cron not. Its starting normal as cronjob:
> Feb 1 03:00:01 xxx CROND[20116]: (root) CMD (sh /opt/dnssec/resign_dnssec_zones.sh)
>
> But after i get a mail that everything is finsihed, but it isn't.
> 03:04:28 DNSSEC-Signierung abgeschlossen
>
> The script deletes the old signed zones, but don't resign it. The mail is also sent.
> Below the script.
>
> Anybody an idea why it doesn't work in cron?^
> I cannot find any error in any log.
After the first line, add a line saying: set -x
Then set c...