Page 1 of 1

SOLVED! Pictures in websites have just disappeared

Posted: Fri Feb 05, 2010 1:56 pm
by coolemail
I hope that this is really simple, but I'm baffled. Late this afternoon, all pictures are simply not showing up on our hosted domains e.g. http://www.salisburyrfc.org. All was fine earlier today. I've even rebooted the server and they have still not come back. Can anyone help, please? Rather worried about this one.

Many thanks in advance.

EDIT: If it helps, I am getting things like the following in /var/log/httpd/error_log
[Fri Feb 05 17:55:28 2010] [error] [client xxx.xxx.xxx.xxx] ModSecurity: Unable to retrieve collection (name "ip", key "xxx.xxx.xxx.xxx"). Use SecDataDir to define data directory first. [hostname "webmail.domain.com"] [uri "/services/portal/sidebar.php"] [unique_id "KCfPQFLFTwQAABUsUXcAAAAN"]
but not sure that that gives me any clues!

EDIT 2: Then suddenly it started working and we did nothing. Can anyone suggest what was causing this? The only other entry I found that may give me a clue is:
[Fri Feb 05 18:01:34 2010] [warn] Init: You should not use name-based virtual hosts in conjunction with SSL!!
[Fri Feb 05 18:01:34 2010] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.
[Fri Feb 05 18:01:34 2010] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations

Re: HELP! Pictures in websites have just disappeared

Posted: Fri Feb 05, 2010 2:07 pm
by faris
The webmail error is a common one -- I see it quite often. Unfortunately, because it does not appear in the ASL GUI I've never got round to doing anything about it. There are several other webmail related errors that crop up quite often too, which are also FPs.

As to the pics missing....Good News! When I looked just now they are all there.

If you have not fixed it yourself, it might be browser related (i.e. pics got switched to "no"). Have you tried a different browser (e.g. firefox)?

Faris.

Re: HELP! Pictures in websites have just disappeared

Posted: Fri Feb 05, 2010 2:08 pm
by faris
Oh. I didn't see edit2. Maybe you were editing when I was typing?

Faris.

Re: HELP! Pictures in websites have just disappeared

Posted: Fri Feb 05, 2010 2:21 pm
by coolemail
I tried 2 different browsers and a number of websites. Mine were not showing pictures, and all others were so there must have been something on the server that caused it. Not sure which log might give me a clue.

Thank you for the reassurance on the webmail error, and THANK YOU for the quick response faris.

Re: SOLVED! Pictures in websites have just disappeared

Posted: Fri Feb 05, 2010 2:24 pm
by mikeshinn
[Fri Feb 05 17:55:28 2010] [error] [client xxx.xxx.xxx.xxx] ModSecurity: Unable to retrieve collection (name "ip", key "xxx.xxx.xxx.xxx"). Use SecDataDir to define data directory first. [hostname "webmail.domain.com"] [uri "/services/portal/sidebar.php"] [unique_id "KCfPQFLFTwQAABUsUXcAAAAN"]
This is unrelated to your problem, but to fix this you need to upgrade asl to 2.2.3 and run this command after you upgrade:

asl -s -f

Re: SOLVED! Pictures in websites have just disappeared

Posted: Fri Feb 05, 2010 2:40 pm
by coolemail
I've recently done the latest yum upgrade to the new ASL. I'm sure I have the latest one. My ASL GUI says "ASL Web 2.2" but I also get:
[root@plesk2 ~]# cat /etc/asl/VERSION
ASL_VERSION=2.0.7
APPINV_VERSION=201002010805
CLAMAV_VERSION=201002010946
GEOMAP_VERSION=201002051109
GRSEC_VERSION=0
MODSEC_VERSION=201002051249
OSSEC_VERSION=201001121503
[root@plesk2 ~]#
How can I find the definitive answer to what version of ASL I have?

Re: SOLVED! Pictures in websites have just disappeared

Posted: Fri Feb 05, 2010 3:34 pm
by mikeshinn
asl -v

And also run this to fix your .pag file error:

asl -s -f

Re: SOLVED! Pictures in websites have just disappeared

Posted: Fri Feb 05, 2010 3:39 pm
by faris
You'll have seen the webmail problem in /var/log/httpd/error_log I expect, so the next place to look would be /home/httpd/vhosts/[domain.com]/statistics/logs/error_log (or /var/www/vhosts/[domain.com]/statistics/logs/error_log if it is a modern install of plesk) where [domains.com] is one of the domains exhibiting the problem.


The version of asl in the version file is definitily bogus and can be ignored. I think running asl --v will give you a difinitive answer if I remember correctly.

I did think that the latest version of asl fixed that particular problem, but obviously I'm wrong.

Faris.

Re: SOLVED! Pictures in websites have just disappeared

Posted: Sat Feb 06, 2010 5:27 am
by coolemail
THANK YOU both for the responses.

asl -s -f fixed one problem and I'm running the latest version which is good.
[root@plesk2 ~]# asl -v
ASL Version 2.2.3