Re: [dspam-users] Webui History

From: Kyle Johnson <kjohnson@fixertec.net>
Date: Wed Dec 28 2005 - 12:08:44 EST

Well, from what I know, which means I could be 100% wrong, dspam_stats
reads from the database table dspam_stats, whereas the WebUI reads stats
from the users data directory. If you click 'reset' in the WebUI, it
resets the stats in the users data dir, not the database table.
I don't know what to say. My suexec.log and apache2 error_log helped me
narrow it down quite a bit :-/
-Kyle

rob@dns90.homelinux.com wrote:

>Hey,
>
> I'm having the same problem. Same type of permission as you only different users. I have gone to the extream of taking the entire configure.pl file apart and linking everything directly. Still nothing. However when i run dspam_stats from a command line it shows everything for everyone. :*(
>
>On Wed, 28 Dec 2005 10:08:59 -0500, Kyle Johnson <kjohnson@fixertec.net> wrote:
>
>
>>That sounds right, here's a ls -l of my dspam data:
>>mail:/usr/local/var/dspam/data # ls -l
>>total 1
>>drwxrwx--- 6 dspam dspam 184 Nov 25 14:38 .
>>drwxrwx--- 5 dspam dspam 304 Dec 26 19:36 ..
>>drwxrwx--- 4 dspam dspam 96 Oct 27 08:03 fixertec.net
>>drwxrwx--- 5 dspam dspam 136 Nov 17 16:36 hanoveruniform.com
>>drwxrwx--- 3 dspam dspam 72 Nov 25 12:26 hanoveruniforms.com
>>drwxrwx--- 33 dspam dspam 792 Nov 25 12:26 local
>>mail:/usr/local/var/dspam/data # cd local
>>mail:/usr/local/var/dspam/data/local # ls -l
>>total 1
>>drwxrwx--- 33 dspam dspam 792 Nov 25 12:26 .
>>drwxrwx--- 6 dspam dspam 184 Nov 25 14:38 ..
>>drwxrwx--- 2 dspam dspam 200 Dec 28 09:51 2008
>>drwxrwx--- 2 dspam dspam 232 Dec 28 09:54 2020
>>drwxrwx--- 2 dspam dspam 200 Dec 27 08:29 2021
>>drwxrwx--- 2 dspam dspam 168 Nov 21 06:16 2022
>>drwxrwx--- 2 dspam dspam 200 Dec 27 08:30 2023
>>drwxrwx--- 2 dspam dspam 200 Dec 28 08:03 2024
>>drwxrwx--- 2 dspam dspam 200 Dec 21 09:19 2025
>>drwxrwx--- 2 dspam dspam 232 Dec 28 06:28 2026
>>drwxrwx--- 2 dspam dspam 200 Dec 27 08:20 2027
>>drwxrwx--- 2 dspam dspam 232 Dec 8 15:17 2028
>>drwxrwx--- 2 dspam dspam 200 Dec 23 09:18 2029
>>drwxrwx--- 2 dspam dspam 232 Dec 23 09:20 2030
>>drwxrwx--- 2 dspam dspam 200 Dec 23 09:25 2031
>>drwxrwx--- 2 dspam dspam 200 Nov 30 13:50 2032
>>drwxrwx--- 2 dspam dspam 232 Dec 28 09:54 2033
>>drwxrwx--- 2 dspam dspam 200 Dec 23 09:28 2034
>>drwxrwx--- 2 dspam dspam 200 Dec 23 09:29 2035
>>drwxrwx--- 2 dspam dspam 200 Dec 23 09:29 2036
>>drwxrwx--- 2 dspam dspam 232 Dec 23 09:32 2037
>>drwxrwx--- 2 dspam dspam 200 Dec 28 09:53 2038
>>drwxrwx--- 2 dspam dspam 232 Dec 12 10:00 2039
>>drwxrwx--- 2 dspam dspam 200 Dec 23 09:23 2040
>>drwxrwx--- 2 dspam dspam 200 Dec 5 15:43 2041
>>drwxrwx--- 2 dspam dspam 200 Dec 19 09:54 2043
>>drwxrwx--- 2 dspam dspam 168 Dec 20 12:36 2220
>>drwxrwx--- 2 dspam dspam 136 Nov 30 13:50 2221
>>drwxrwx--- 2 dspam dspam 200 Dec 5 16:23 2222
>>drwxrwx--- 2 dspam dspam 200 Dec 23 09:24 2223
>>drwxrwx--- 2 dspam dspam 200 Dec 27 08:22 2224
>>drwxrwx--- 2 dspam dspam 200 Dec 7 09:22 2225
>>drwxrwx--- 2 dspam dspam 144 Nov 30 13:50 2226
>>
>>The fixertec.net and hanoveruniform(s).com are only there because I
>>forgot to setup the localStore for a few users. I don't know if my
>>permissions are too lax, either: it works.
>>Maybe check dpsam $WEBROOT/configure.pl Verify that all of the lines
>>are correct (such as the paths, etc.)
>>
>>Also check your apache2 log for suexec.log. See if it shows anything
>>interesting, as well as error_log and dspam_error_log (might be
>>different on your system)
>>
>>Let me know,
>>--Kyle
>>
>>
>>aps wrote:
>>
>>
>>
>>>Kyle Johnson wrote:
>>>
>>>
>>>
>>>>The data is stored in dspam $HOME/data, depending on your scale
>>>>(large, domain, etc).
>>>>I had similar problems, and they boiled down to permission issues.
>>>>On my system, I had to set the user and group owners to dspam, though
>>>>this will likely depend on your setup.
>>>>-Kyle
>>>>
>>>>aps wrote:
>>>>
>>>>
>>>>
>>>>>I have been searching for something to help me figure out why
>>>>>history is not available through the web interface. I am using
>>>>>dspam version 3.60 and Apache 2.0.55. I almost have everything
>>>>>working but this has me stumped. When I go to the website the
>>>>>history page gives me this:
>>>>>
>>>>>An Error Has Occured
>>>>>The following error occured while trying to process your request:
>>>>>*No historical data is available**
>>>>>
>>>>>*I can run a dspam utility and see statistics so I should have
>>>>>history, I think. I have seen other posts on this but haven't found
>>>>>any that help me. I haven't found any log entries that help either.
>>>>>Any ideas on where to look or what might be wrong?
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>That is what I thought too but I have changed the permissions to dspam
>>>dspam on the data folder and allowed the files and folders to inherit
>>>the permissions but it didn't correct it. I am running suexec as dspam
>>>dspam so I thought that would be right. Is it correct to set the
>>>permissions to the same as suexec is running?
>>>
>>>
>>>
>
>
>
>
>
>
Received on Wed Dec 28 12:10:46 2005

This archive was generated by hypermail 2.1.8 : Thu Dec 29 2005 - 00:00:01 EST