-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mod_stats causing mirrorbrain dbd error? #178
Comments
mod_stats was probably used with MySQL, before the switch to PostgreSQL. Also, it was maybe used with an earlier (very early) mod_dbd API. Apache DBD still was young in the days.
I suggest to check stats_dbd_prepare() carefully, if it uses the correct semantics. You could compare to mod_mirrorbrain (where it works).
Another question: did you configure queries as can be seen in
https://github.com/poeml/mirrorbrain/blob/master/mod_stats/mod_stats.conf
?
I don’t quite understand how our modules trigger this seemingly dbd-internal error.
… Am 22.02.2019 um 15:24 schrieb Chris Njuguna ***@***.***>:
I am aware that mod_stats has not been maintained for a while now, however, I am looking at possibly modifying it to log realtime stats for an mb installation.
mod_stats builds fine and seems to run, however, I have noticed that when I enable it the mod_dbd connections fail for both mb and mod_stats. Is there a reason that this should happen? Maybe there is something outdated?
Apache is using mpm_event and mod_dbd.
This is what the mb logs look like without mod_stats:
|
Thanks @poeml I will look at the stats_dbd_prepare(). I did configure the queries - rewritten for postgresql. These are the queries I have - are they alright?
I am perplexed how enabling mod_stats affects mb via dbd. |
I have just realized that I had installed mirrorbrain from the OpenSUSE mirrors at http://download.opensuse.org/repositories/Apache:/MirrorBrain/xUbuntu_15.10/ Meanwhile, I downloaded mod_stats from here on github since the packages did not have mod_stats. I have just realized what I have installed is mb version 2.18.1 while the master seems to be at 2.19.0. Is this likely to cause a problem? Do I have to upgrade the mirrorbrain? |
I am aware that mod_stats has not been maintained for a while now, however, I am looking at possibly modifying it to log realtime stats for an mb installation.
mod_stats builds fine and seems to run, however, I have noticed that when I enable it the mod_dbd connections fail for both mb and mod_stats. Is there a reason that this should happen? Maybe there is something outdated?
Apache is using mpm_event and mod_dbd.
This is what the mb logs look like without mod_stats:
However, once I enable mod_stats, both mb and mod_stats log errors related to dbd. For convenience the error line is:
The full logs
Any assistance would be appreciated.
The text was updated successfully, but these errors were encountered: