Problem: [warn] exec() may not be safe

This is a discussion on Problem: [warn] exec() may not be safe within the Apache Web Server forums, part of the Web Server and Related Forums category; Hi, I upgraded from 1.3.27 to 1.3.29 on a local Win32 machine, I kept the http....


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-13-2003
Hans-Peter Sauer
 
Posts: n/a
Default Problem: [warn] exec() may not be safe

Hi,

I upgraded from 1.3.27 to 1.3.29 on a local Win32 machine, I kept the
http.conf from the previous setting.
Apache was properly running since a plenty period of time.

Now after starting Apache, it shows a log entry in the DOS box:
<<
[Thu Nov 06 10:42:59 2003] [warn] (2)No such file or directory: exec()
may not be safe
Apache/1.3.29 (Win32) mod_perl/1.27_01-dev running...
<<

The error log is filled up with the warning plus an add. warnings for
each page request:
[Thu Nov 06 10:31:07 2003] [warn] (2)No such file or directory: exec()
may not be safe
[Thu Nov 06 10:31:07 2003] [warn] exec() may not be safe
[Thu Nov 06 10:31:07 2003] [warn] exec() may not be safe
[Thu Nov 06 10:31:08 2003] [warn] exec() may not be safe


What's the reason for, can't find any hint in the docs.

Thanx for reply,
Hans-Peter


  #2 (permalink)  
Old 12-06-2003
Justin Philpott
 
Posts: n/a
Default Re: Problem: [warn] exec() may not be safe

Hi Hans-Peter,

I wonder if you have found a solution to this??? It's not even obvious
where to submit such a question on the apache site.

Here's my spec:
win98 on 368MHZ AMD
apache 1.3.29
PHP 4.3.4

When I start up I get the same or similar in console:

... [warn] (2)No such file or directory: exec() may not be safe ...
Apache/1.3.29 (Win32) PHP/4.3.4 Running...

I welcome you thoughts!

Thanks,

Justin Philpott



Hans-Peter Sauer wrote:


> Hi,


> I upgraded from 1.3.27 to 1.3.29 on a local Win32 machine, I kept the
> http.conf from the previous setting.
> Apache was properly running since a plenty period of time.


> Now after starting Apache, it shows a log entry in the DOS box:
> <<
> [Thu Nov 06 10:42:59 2003] [warn] (2)No such file or directory: exec()
> may not be safe
> Apache/1.3.29 (Win32) mod_perl/1.27_01-dev running...
> <<


> The error log is filled up with the warning plus an add. warnings for
> each page request:
> [Thu Nov 06 10:31:07 2003] [warn] (2)No such file or directory: exec()
> may not be safe
> [Thu Nov 06 10:31:07 2003] [warn] exec() may not be safe
> [Thu Nov 06 10:31:07 2003] [warn] exec() may not be safe
> [Thu Nov 06 10:31:08 2003] [warn] exec() may not be safe



> What's the reason for, can't find any hint in the docs.


> Thanx for reply,
> Hans-Peter








##-----------------------------------------------#
Article posted from PHP Freaks NewsGroup
http://www.phpfreaks.com/newsgroup
Get Addicted: alt.apache.configuratio
##-----------------------------------------------##
  #3 (permalink)  
Old 12-11-2003
Hans-Peter Sauer
 
Posts: n/a
Default Re: Problem: [warn] exec() may not be safe

Hi Justin,

I sent the same question directly to a contact at Apache - the person
who is stated to be the sender on every Apache newsletter...

Immediately I got an answer:

>>

Yes, this is a bug in 1.3.28/1.3.29 which does a preventative close on
socket fd's.
Under Win32 this is unneeded and is not done, but Apache thinks this
is an error.

Bumping up LogLevel past warn will prevent the errors from filling
error_log. This will be fixed in 1.3.30 :)

THANKS!
>>



Actually I went back to 1.3.27 on my development WIN98 machine just to
avoid that my log will be overflood with there 'errors'. Setting
LogLevel would be also a solution, but not done just to not forget it
to turn back on 1.3.30 :))

So let's wait for 1.3.30 ...

Best whishes,
Hans-Peter


"Justin Philpott" <web_at_jphil_dot_net@foo.com> schrieb im
Newsbeitrag news:ZMCcnapWovJlmU-iXTWQlg@giganews.com...
> Hi Hans-Peter,
>
> I wonder if you have found a solution to this??? It's not even

obvious
> where to submit such a question on the apache site.
>
> Here's my spec:
> win98 on 368MHZ AMD
> apache 1.3.29
> PHP 4.3.4
>
> When I start up I get the same or similar in console:
>
> .. [warn] (2)No such file or directory: exec() may not be safe ...
> Apache/1.3.29 (Win32) PHP/4.3.4 Running...
>
> I welcome you thoughts!
>
> Thanks,
>
> Justin Philpott
>
>
>
> Hans-Peter Sauer wrote:
>
>
> > Hi,

>
> > I upgraded from 1.3.27 to 1.3.29 on a local Win32 machine, I kept

the
> > http.conf from the previous setting.
> > Apache was properly running since a plenty period of time.

>
> > Now after starting Apache, it shows a log entry in the DOS box:
> > <<
> > [Thu Nov 06 10:42:59 2003] [warn] (2)No such file or directory:

exec()
> > may not be safe
> > Apache/1.3.29 (Win32) mod_perl/1.27_01-dev running...
> > <<

>
> > The error log is filled up with the warning plus an add. warnings

for
> > each page request:
> > [Thu Nov 06 10:31:07 2003] [warn] (2)No such file or directory:

exec()
> > may not be safe
> > [Thu Nov 06 10:31:07 2003] [warn] exec() may not be safe
> > [Thu Nov 06 10:31:07 2003] [warn] exec() may not be safe
> > [Thu Nov 06 10:31:08 2003] [warn] exec() may not be safe

>
>
> > What's the reason for, can't find any hint in the docs.

>
> > Thanx for reply,
> > Hans-Peter

>
>
>
>
>
>
>
>
> ##-----------------------------------------------##
> Article posted from PHP Freaks NewsGroups
> http://www.phpfreaks.com/newsgroups
> Get Addicted: alt.apache.configuration
> ##-----------------------------------------------##



 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 06:07 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0