Christian Grube wrote: > Hi Michael, > > Sorry my late answere, i have had problems here with my > project and could now answere. > Bevor i try your package today, i had an update with rsyslog, > umpf, and it seems to work.
Yeah, as I use the dbconfig-common template mechanism now, it should no longer fail to install (which is good and why I closed this bug). > aptitude gave me an answere with this: > > dbconfig-common: writing config to /etc/dbconfig-common/rsyslog-mysql.conf > *** WARNING: ucf was run from a maintainer script that uses debconf, but > the script did not pass --debconf-ok to ucf. The maintainer > script should be fixed to not stop debconf before calling ucf, > and pass it this parameter. For now, ucf will revert to using > old-style, non-debconf prompting. Ugh! > > Please inform the package maintainer about this problem. This is something that has to be fixed within dbconfig-common > Creating config file /etc/dbconfig-common/rsyslog-mysql.conf with new version > > Creating config file /etc/rsyslog.d/mysql.conf with new version > > > Have had a look at: > server:/var/www# cat /etc/rsyslog.d/mysql.conf > ### Configuration file for rsyslog-mysql > ### Changes are preserved > > $ModLoad ommysql > *.* :ommysql:localhost,,, This is imho a dbconfig-common bug now. If everything is working correctly, dbconfig-common should automatically setup your db and create a working configuration. Apparently it doesn't do that on your system. I would like to keep this bug closed, but we could clone this one, reopen and reassign it to dbconfig-common, as you already have submitted valuable log files which are helpful. Sean, would you be ok with that? > I think this should work, but there is no README.Debian > in /usr/share/doc/rsyslog-mysql/ as the changelog.Debian.gz > mention it. > Have had a look at /usr/share/doc/rsyslog/README.Debian > and no config-examples for this. Yeah, a README.Debian for rsyslog-mysql might be helpful for such cases (I'll see what I can do for the next releases). For the moment what you can do manually is this: Create a database in mysql (default name is Syslog) Create the tables using /usr/share/dbconfig-common/data/rsyslog-mysql/install/mysql (it's a sql schema file) Create a user with access to this db (default is rsyslog) Update the configuration /etc/rsyslog.d/mysql.conf to $ModLoad ommysql *.* :ommysql:dbserver,dbname,dbuser,dbpass (localhost,Syslog,rsyslog,whatever password you set for rsyslog) Restart rsyslog > > Should I test the other package from Your hosting, or? Please use the official 3.18.6-4 packages, which should be available from unstable (and testing) Cheers, Michael -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?
signature.asc
Description: OpenPGP digital signature