Site maintenance: Sun 15 Nov, from 12:00 UTC, about 4–6 hours. Details

This cutover relies on some testing that is still incomplete so may be cancelled at short notice

Forums / General Questions / php scripts?

php scripts?

Locked

Started by silverkop on 26 Aug 2009, 10:18 AM · Views: 932

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
26 Aug 2009, 10:18 AM
#1
silverkop avatar

silverkop

Zen Follower

Join Date:
Sep 2006
Location:
U.K.
Posts:
164
Plugin Contributions:
0

php scripts?

I am getting hundreds of messages into my error log like this.

[Tue Aug 25 13:11:00 2009] [info] Executing "/home/user/public_html/admin/index.php" as UID 32177, GID 32179
[Tue Aug 25 13:10:59 2009] [info] Executing "/home/user/public_html/admin/login.php" as UID 32177, GID 32179
[Tue Aug 25 13:10:54 2009] [info] Executing "/home/user/public_html/admin/login.php" as UID 32177, GID 32179
[Tue Aug 25 13:09:54 2009] [info] Executing "/home/user/public_html/index.php" as UID 32177, GID 32179

I contacted my hosting company and they replied

Upon investigating this further, I found that the UID and GID cited in the message belong to the "you" user. Given the fact that the server is running suphp, PHP scripts will be executed as your user. If one of your scripts calls the primary index.php, it would indeed result in this message being displayed. The messages can safely be ignored and are not an indication of an attack.

These messages are coming constantly, is there any way I can stop this. I have just changed my template to Desert Noon and did not notice if this problem started before change.

Can anyone help please.

Stephen.

  • ZenCart v:1.3.9h - Template: Simply_Kerrin- Column layout grid. v:1.3.6 - big royal mail. v:2.3.4 - stock by attributes 4.7 - Logo Sidebox - SitemapXML v2s.
26 Aug 2009, 6:29 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: php scripts?

That appears to be the same issue as you were discussing here: http://www.zen-cart.com/forum/showthread.php?t=132677

And, as far as stopping those messages from appearing, you'll have to work with your hosting company to do that, since that's ALL handled by the server. Zen Cart has no control over that whatsoever.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

27 Aug 2009, 5:21 PM
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: php scripts?

SilverKop:

[Tue Aug 25 13:11:00 2009] [info] Executing "/home/user/public_html/admin/index.php" as UID 32177, GID 32179
Messages of type "info" are not errors or warnings or alerts. They are merely "info".
Presumably the server has been configured to log those kinds of "info" messages for your benefit.
Perhaps the logging is triggered because the UID and GID are not the same? Only your hosting company can confirm that.

A status of "info" is generally something I would ignore unless I've been instructed otherwise.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

28 Aug 2009, 9:48 AM
#4
silverkop avatar

silverkop

Zen Follower

Join Date:
Sep 2006
Location:
U.K.
Posts:
164
Plugin Contributions:
0

Re: php scripts?

This is the reply from my hosting company.....

""Unfortunately, that is part of the standard logging procedure that we can't alter.""

So will have to live with all these messages in my error log.

Many thanks for your help Dr.B

Stephen.

  • ZenCart v:1.3.9h - Template: Simply_Kerrin- Column layout grid. v:1.3.6 - big royal mail. v:2.3.4 - stock by attributes 4.7 - Logo Sidebox - SitemapXML v2s.