/etc/cron.daily/libdspam7-drv-mysql:
error: Found option without preceding group in config file: /var/run/libdspam7-drv-mysql.cron.passwd at line: 1
Fatal error in defaults handling. Program aborted
the cronjob generates a .passwd file that should contain mysql password.
if should look like this:
[client]
password=mypassword
but it looks like:
-e [client]
password=mypassword
so in the /etc/cron.daily/libdspam7-drv-mysql file there is a line generating this
echo -e "[client]\npassword=$MYSQL_PASS" > "$MYSQLCONF_PASSWD"
apparently -e also gets echoed for some reason.
Removing -e generates a correct file _with_ \n interpreted as newline.
Binary package hint: dspam
dspam-3. 6.8-5ubuntu1. 2 fails running daily cronjob:
/etc/cron. daily/libdspam7 -drv-mysql: libdspam7- drv-mysql. cron.passwd at line: 1
error: Found option without preceding group in config file: /var/run/
Fatal error in defaults handling. Program aborted
the cronjob generates a .passwd file that should contain mysql password.
if should look like this:
[client]
password=mypassword
but it looks like:
-e [client]
password=mypassword
so in the /etc/cron. daily/libdspam7 -drv-mysql file there is a line generating this \npassword= $MYSQL_ PASS" > "$MYSQLCONF_PASSWD"
echo -e "[client]
apparently -e also gets echoed for some reason.
Removing -e generates a correct file _with_ \n interpreted as newline.
this is on an up to date Gutsy server.