Go Back   CodingForums.com > :: Server side development > Apache configuration

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 07-02-2012, 04:03 PM   PM User | #1
robbiez
New Coder

 
Join Date: Jul 2008
Posts: 70
Thanks: 8
Thanked 0 Times in 0 Posts
robbiez is an unknown quantity at this point
Error Log - [pid=20195 euid=0 egid=99] suexec.cpp(294): setrlimit(2)s

Hi
I have dedicated server with 1and1 who recently upgraded the server.

I now have this error in the error log, every few seconds.

PHP Code:
[Wed Jun 27 17:13:26 2012] [warnCannot get media type from 'x-mapp-php4'
[Wed Jun 27 17:13:26 2012] [warnCannot get media type from 'x-mapp-php4'
[Wed Jun 27 17:13:26 2012] [error] [client 82.69.62.110] [info] [pid=20195 euid=0 egid=99suexec.cpp(294): setrlimit(2)s set (DATA, AS, STACKto 32768 kBrefererhttp://www.xxx.co.uk/shop/index.php
[Wed Jun 27 17:13:26 2012] [error] [client 82.69.62.110] [info] [pid=20195 euid=0 egid=99suexec.cpp(294): setrlimit(2)s set (DATA, AS, STACKto 151552 kBrefererhttp://www.xxx.co.uk/shop/index.php 
The ip and webpage is different every time.

The server is running php 5, not 4.

As per 1and1 instructions i have
AddHandler x-mapp-php5 .php is the htaccess file to run php5.

Any pointers would be appreciated.

I have asked 1and1 but am still waiting for a response.

Thanks
Rob
robbiez is offline   Reply With Quote
Old 07-03-2012, 07:35 AM   PM User | #2
leslie.jones
New Coder

 
Join Date: Nov 2011
Posts: 88
Thanks: 4
Thanked 26 Times in 26 Posts
leslie.jones is an unknown quantity at this point
I'm just wondering why you would have something trying to set the user id of the running task? I'd expect to see that in malware trying to escalate privileges, but It may have other uses relating to file ownership and the like.

Does your script/application (/shop/index.php) make use of posix_setuid() / posix_setgid() and try to change the user ID to euid=0 (?root?) and the group ID to egid=99 for some reason you are aware of?

See: http://php.net/manual/en/function.posix-setuid.php
leslie.jones is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 04:45 PM.


Advertisement
Log in to turn off these ads.