Roundcube logging

ReN

Verified User
Joined
Jul 2, 2005
Messages
202
hey guys, can anyone tell me when roundcube stores its login attempt logs.
 
When: everytime a failed login is attempted...
I suppose your question was more on "where", if so: /var/www/html/roundcube/logs/errors

Regards
 
yes sorry for the typo, SeLLeRoNe thank you for the feedback, i to assumed that file but its not getting populated, any suggestions where i might look?
 
You need to enable maybe in: /var/www/html/roundcube/config/config.inc.php

Add (if not present) line: $config['log_logins'] = true;

If present make sure it is set to "true".

Also keep in mind that CB will overwrite that config.inc.php file once rebuild roundcube, so you may want to make a custom config.inc.php file in CB to let it use that file on roundcube rebuild.

Regards
 
i did look for this info , just wasn't able to find it , again thank you for your time on this mate.

indeed that config was not there, added it as you suggested, log is still not populating, maybe a permissions issue?
 
nono the part of the config in your response was not there, is now - version roundcubemail-1.0.2
 
Last edited:
yeah absolutely its there with 4 days past logs also all empty except for the log rotate message
 
Thank you for the input, yeah i dont get stuck on much, usually its something simple.... hopefully a support person might have the answer :)
 
A few things to try:
1) Re-install roundcube to get CB to reset the permisisons:
Code:
cd /usr/local/directadmin/custombuild
./build update
./build roundcube
1.0.3 has been out for a while, so you should be using that.

2) Check what php is running as. Create:
Code:
/var/www/html/roundcube/info.php
with the code:
http://help.directadmin.com/item.php?id=532

and compare the uid/gid that php is running as with the values chowned for the logs folder and logs/errors file.
The ./build roundcube command should have reset them.

3) Beyond that, there should be errors in the apache error logs.
If you're accessing /roundcube via IP or hostname, then:
/var/log/httpd/error_log

else via domain:
/var/log/httpd/domains/domain.com.error.log

John
 
ok thats very strange, i have never adjusted anything in roundcube etc, now i feel stupid as it usually the first thing i do is to update it, but as soon as the update finished it logged the tests i was doing to /var/www/html/roundcube/logs/errors, in my defence it was 3 am , thats the excuse i'm using hhhaah, thank you guys for your input.
 
Back
Top