SOLVED! Pictures in websites have just disappeared

General Discussion of atomic repo and development projects.

Ask for help here with anything else not covered by other forums.
coolemail
Forum Regular
Forum Regular
Posts: 369
Joined: Tue Dec 16, 2008 8:01 am
Location: United Kingdom

SOLVED! Pictures in websites have just disappeared

Unread post 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
Last edited by coolemail on Fri Feb 05, 2010 2:22 pm, edited 1 time in total.
faris
Long Time Forum Regular
Long Time Forum Regular
Posts: 2321
Joined: Thu Dec 09, 2004 11:19 am

Re: HELP! Pictures in websites have just disappeared

Unread post 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.
--------------------------------
<advert>
If you want to rent a UK-based VPS that comes with friendly advice and support from a fellow ART fan, please get in touch.
</advert>
faris
Long Time Forum Regular
Long Time Forum Regular
Posts: 2321
Joined: Thu Dec 09, 2004 11:19 am

Re: HELP! Pictures in websites have just disappeared

Unread post by faris »

Oh. I didn't see edit2. Maybe you were editing when I was typing?

Faris.
--------------------------------
<advert>
If you want to rent a UK-based VPS that comes with friendly advice and support from a fellow ART fan, please get in touch.
</advert>
coolemail
Forum Regular
Forum Regular
Posts: 369
Joined: Tue Dec 16, 2008 8:01 am
Location: United Kingdom

Re: HELP! Pictures in websites have just disappeared

Unread post 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.
User avatar
mikeshinn
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 4155
Joined: Thu Feb 07, 2008 7:49 pm
Location: Chantilly, VA

Re: SOLVED! Pictures in websites have just disappeared

Unread post 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
coolemail
Forum Regular
Forum Regular
Posts: 369
Joined: Tue Dec 16, 2008 8:01 am
Location: United Kingdom

Re: SOLVED! Pictures in websites have just disappeared

Unread post 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?
User avatar
mikeshinn
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 4155
Joined: Thu Feb 07, 2008 7:49 pm
Location: Chantilly, VA

Re: SOLVED! Pictures in websites have just disappeared

Unread post by mikeshinn »

asl -v

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

asl -s -f
faris
Long Time Forum Regular
Long Time Forum Regular
Posts: 2321
Joined: Thu Dec 09, 2004 11:19 am

Re: SOLVED! Pictures in websites have just disappeared

Unread post 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.
--------------------------------
<advert>
If you want to rent a UK-based VPS that comes with friendly advice and support from a fellow ART fan, please get in touch.
</advert>
coolemail
Forum Regular
Forum Regular
Posts: 369
Joined: Tue Dec 16, 2008 8:01 am
Location: United Kingdom

Re: SOLVED! Pictures in websites have just disappeared

Unread post 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
Post Reply