MySQL not started by daily cron for log rotation
Aurélien MALO
amalo at cerdd.org
Fri Jun 17 10:51:50 CEST 2005
Hi Andreas,
I've got exactly the same problem, have you find a solution ?
For the moment, I made a terrible hack in crontab :
>*/1 * * * * root if /kolab/bin/openpkg rc mysql status | grep
'mysql_active="no"'; then /kolab/bin/openpkg rc mysql
stop; /kolab/bin/openpkg rc mysql start; fi
Do you think that the problem is coming from :
/kolab/etc/rc.d/rc.mysql ?
Or from theses command lines in the /etc/crontab :
# <OpenPKG prefix=/kolab pkg=openpkg>
# chronological tasks of /kolab OpenPKG hierarchy
0 0 1 * * root [ -f /kolab/etc/rc ] && /kolab/etc/rc all monthly
0 0 * * 0 root [ -f /kolab/etc/rc ] && /kolab/etc/rc all weekly
0 0 * * * root [ -f /kolab/etc/rc ] && /kolab/etc/rc all daily
0 * * * * root [ -f /kolab/etc/rc ] && /kolab/etc/rc all hourly
*/15 * * * * root [ -f /kolab/etc/rc ] && /kolab/etc/rc all quarterly
# </OpenPKG>
Let me know ...
Thanks in advance
Aurélien MALO
Le Jeudi 31 Mars 2005 17:01, Andreas Gungl a écrit :
> On Thursday 31 March 2005 16:06, Martin Konold wrote:
> > Am Donnerstag, 31. März 2005 14:07 schrieb Andreas Gungl:
> > > Is that meant to be fixed in Beta4? OTOH reading about the trouble
> > > after upgrading Beta3 to Beta4 I would actually like to skip that
> > > version.
> >
> > Please note that neither MySQL nor Horde are part of the official Kolab 2
> > distribution.
>
> Sure. It's just that Kolab accidently uses OpenPkg which seems to be
> responsible for that problem. And Kolab Beta 3 accidently introduced the
> logrotation, the SQL server had been running fine before. As I thought the
> combination of software run by me is not unusual for Kolab 2 admins, I was
> under the impression that this mailing list is an appropriate place to ask
> for.
>
> Andreas
>
> _______________________________________________
> Kolab-users mailing list
> Kolab-users at kolab.org
> https://kolab.org/mailman/listinfo/kolab-users
--
Aurélien MALO - amalo at cerdd.org
Tél. bureau : 03 21 08 52 42 - Tél. port : 06 21 54 23 80
CEntre Ressource du Développement Durable
More information about the users
mailing list