I'm stumped here. Our /home/vpopmail/bin/clearopensmtp running from cron sends out an error when it is run

vmysql: couldn't create database 'vpopmail': Can't create database 'vpopmail'. (errno: 2)
vmysql: error creating table 'relay': No Database Selected
vmysql: sql error[8]: No Database Selected

Running it from the command line gives no error.  Any ideas ?

Slackware 9.1
Vpopmail 5.4.6 with MySQL
Crontab entry is
*/10 * * * * /home/vpopmail/bin/clearopensmtp 2>&1 > /dev/null

vpopmail configured by ./configure, generated by GNU Autoconf 2.53,
with options \"'--enable-ip-alias-domains=y' '--enable-logging=v' '--enable-qmail-ext=y' '--enable-roaming-users=y' '--enable-auth-module=mysql' '--enable-incdir=/usr/local/mysql/include/' '--enable-libdir=/usr/local/mysql/lib'\"



Reply via email to