Hello,
we're running an Win2003server with IIS6 and PHP4 in fastCGI config.
When i try to use system() command to execute ffmpeg.exe it works ok
when i run the PHP script from the commandline on the server, but when
i run it from the webbrowser i get a return value: 128 and nothing
happens.
I checked for all the security settings, and everything seems fine.
Does anybody have a clue where i should be looking?
Olaf 10 2397
<ol*******@gmai l.comwrote in message
news:11******** **************@ y66g2000hsf.goo glegroups.com.. .
Hello,
we're running an Win2003server with IIS6 and PHP4 in fastCGI config.
When i try to use system() command to execute ffmpeg.exe it works ok
when i run the PHP script from the commandline on the server, but when
i run it from the webbrowser i get a return value: 128 and nothing
happens.
I checked for all the security settings, and everything seems fine.
Does anybody have a clue where i should be looking?
Does the IIS user have permission to execute cmd.exe ? the IIS user is
something like IUSR_COMPUTERNA ME
--
"Ohjelmoija on organismi joka muuttaa kofeiinia koodiksi" - lpk http://outolempi.net/ahdistus/ - Satunnaisesti päivittyvä nettisarjis sp**@outolempi. net | rot13(xv***@bhg byrzcv.arg)
On 28 mrt, 10:13, "Kimmo Laine" <s...@outolempi .netwrote:
<olafil...@gmai l.comwrote in message
news:11******** **************@ y66g2000hsf.goo glegroups.com.. .
Hello,
we're running an Win2003server with IIS6 and PHP4 in fastCGI config.
When i try to use system() command to execute ffmpeg.exe it works ok
when i run the PHP script from the commandline on the server, but when
i run it from the webbrowser i get a return value: 128 and nothing
happens.
I checked for all the security settings, and everything seems fine.
Does anybody have a clue where i should be looking?
Does the IIS user have permission to execute cmd.exe ? the IIS user is
something like IUSR_COMPUTERNA ME
--
"Ohjelmoija on organismi joka muuttaa kofeiinia koodiksi" - lpkhttp://outolempi.net/ahdistus/- Satunnaisesti päivittyvä nettisarjis
s...@outolempi. net | rot13(x...@bhgb yrzcv.arg)
yes, i don't get the "unable to fork" error messages. So that has been
taken care of.
Olaf
olafmol wrote:
On 28 mrt, 10:13, "Kimmo Laine" <s...@outolempi .netwrote:
><olafil...@gma il.comwrote in message
news:11******* *************** @y66g2000hsf.go oglegroups.com. ..
>>Hello, we're running an Win2003server with IIS6 and PHP4 in fastCGI config. When i try to use system() command to execute ffmpeg.exe it works ok when i run the PHP script from the commandline on the server, but when i run it from the webbrowser i get a return value: 128 and nothing happens. I checked for all the security settings, and everything seems fine. Does anybody have a clue where i should be looking?
Does the IIS user have permission to execute cmd.exe ? the IIS user is something like IUSR_COMPUTERNA ME
-- "Ohjelmoija on organismi joka muuttaa kofeiinia koodiksi" - lpkhttp://outolempi.net/ahdistus/- Satunnaisesti päivittyvä nettisarjis s...@outolempi .net | rot13(x...@bhgb yrzcv.arg)
yes, i don't get the "unable to fork" error messages. So that has been
taken care of.
Olaf
Olaf,
Not getting the message doesn't mean anything. IIRC, RC 128 is a
permission problem, and cmd.exe is a real good bet.
And BTW - Windows doesn't fork. Linux does.
--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp. js*******@attgl obal.net
=============== ===
On 28 mrt, 15:18, Jerry Stuckle <jstuck...@attg lobal.netwrote:
olafmol wrote:
On 28 mrt, 10:13, "Kimmo Laine" <s...@outolempi .netwrote:
<olafil...@gmai l.comwrote in message
>news:11******* *************** @y66g2000hsf.go oglegroups.com. ..
>Hello, we're running an Win2003server with IIS6 and PHP4 in fastCGI config. When i try to use system() command to execute ffmpeg.exe it works ok when i run the PHP script from the commandline on the server, but when i run it from the webbrowser i get a return value: 128 and nothing happens. I checked for all the security settings, and everything seems fine. Does anybody have a clue where i should be looking?
Does the IIS user have permission to execute cmd.exe ? the IIS user is
something like IUSR_COMPUTERNA ME
--
"Ohjelmoija on organismi joka muuttaa kofeiinia koodiksi" - lpkhttp://outolempi.net/ahdistus/-Satunnaisesti päivittyvä nettisarjis
s...@outolempi. net | rot13(x...@bhgb yrzcv.arg)
yes, i don't get the "unable to fork" error messages. So that has been
taken care of.
Olaf
Olaf,
Not getting the message doesn't mean anything. IIRC, RC 128 is a
permission problem, and cmd.exe is a real good bet.
And BTW - Windows doesn't fork. Linux does.
Hello,
all the permissions are ok, i even put "everyone" to all rights. I can
create normal directories, and pipe directory readings to new files,
this works without a problem. But when i try to execute ffmpeg i get
this returncode 128.
Furthermore, when i try to execute ImageMagick's convert.exe without
parameters, i get the regular output of convert.exe back, but when i
try to convert some images i get a false returncode back.
Could it be something with my PHP installation?
Olaf
olafmol wrote:
On 28 mrt, 15:18, Jerry Stuckle <jstuck...@attg lobal.netwrote:
>olafmol wrote:
>>On 28 mrt, 10:13, "Kimmo Laine" <s...@outolempi .netwrote: <olafil...@g mail.comwrote in message news:11***** *************** **@y66g2000hsf. googlegroups.co m... Hello, we're running an Win2003server with IIS6 and PHP4 in fastCGI config. When i try to use system() command to execute ffmpeg.exe it works ok when i run the PHP script from the commandline on the server, but when i run it from the webbrowser i get a return value: 128 and nothing happens. I checked for all the security settings, and everything seems fine. Does anybody have a clue where i should be looking? Does the IIS user have permission to execute cmd.exe ? the IIS user is something like IUSR_COMPUTERNA ME -- "Ohjelmoij a on organismi joka muuttaa kofeiinia koodiksi" - lpkhttp://outolempi.net/ahdistus/-Satunnaisesti päivittyvä nettisarjis s...@outolem pi.net | rot13(x...@bhgb yrzcv.arg) yes, i don't get the "unable to fork" error messages. So that has been taken care of. Olaf
Olaf,
Not getting the message doesn't mean anything. IIRC, RC 128 is a permission problem, and cmd.exe is a real good bet.
And BTW - Windows doesn't fork. Linux does.
Hello,
all the permissions are ok, i even put "everyone" to all rights. I can
create normal directories, and pipe directory readings to new files,
this works without a problem. But when i try to execute ffmpeg i get
this returncode 128.
Furthermore, when i try to execute ImageMagick's convert.exe without
parameters, i get the regular output of convert.exe back, but when i
try to convert some images i get a false returncode back.
Could it be something with my PHP installation?
Olaf
It's always possible it's something in your installation. But it sounds
more like convert.exe can't access some resource. Maybe a temp
directory? I don't know.
Is there anything in your error log file, or your Windows Event log
about it?
--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp. js*******@attgl obal.net
=============== ===
On 28 mrt, 17:58, Jerry Stuckle <jstuck...@attg lobal.netwrote:
olafmol wrote:
On 28 mrt, 15:18, Jerry Stuckle <jstuck...@attg lobal.netwrote:
olafmol wrote: On 28 mrt, 10:13, "Kimmo Laine" <s...@outolempi .netwrote: <olafil...@gm ail.comwrote in message news:11***** *************** **@y66g2000hsf. googlegroups.co m... Hello, we're running an Win2003server with IIS6 and PHP4 in fastCGI config. When i try to use system() command to execute ffmpeg.exe it works ok when i run the PHP script from the commandline on the server, but when i run it from the webbrowser i get a return value: 128 and nothing happens. I checked for all the security settings, and everything seems fine. Does anybody have a clue where i should be looking? Does the IIS user have permission to execute cmd.exe ? the IIS user is something like IUSR_COMPUTERNA ME -- "Ohjelmoija on organismi joka muuttaa kofeiinia koodiksi" - lpkhttp://outolempi.net/ahdistus/-Satunnaisestipä ivittyvä nettisarjis s...@outolemp i.net | rot13(x...@bhgb yrzcv.arg) yes, i don't get the "unable to fork" error messages. So that has been taken care of. Olaf
Olaf,
Not getting the message doesn't mean anything. IIRC, RC 128 is a
permission problem, and cmd.exe is a real good bet.
And BTW - Windows doesn't fork. Linux does.
Hello,
all the permissions are ok, i even put "everyone" to all rights. I can
create normal directories, and pipe directory readings to new files,
this works without a problem. But when i try to execute ffmpeg i get
this returncode 128.
Furthermore, when i try to execute ImageMagick's convert.exe without
parameters, i get the regular output of convert.exe back, but when i
try to convert some images i get a false returncode back.
Could it be something with my PHP installation?
Olaf
It's always possible it's something in your installation. But it sounds
more like convert.exe can't access some resource. Maybe a temp
directory? I don't know.
Is there anything in your error log file, or your Windows Event log
about it?
--
there doesn't seem to be any error-events in the logs. Convert.exe can
access the resources ok when the PHP script is ran from the
commandline with PHP.exe. Very strange. I think it has something to do
with our PHP config and/or some obscure security setting somewhere...
Olaf
olafmol wrote:
On 28 mrt, 17:58, Jerry Stuckle <jstuck...@attg lobal.netwrote:
>olafmol wrote:
>>On 28 mrt, 15:18, Jerry Stuckle <jstuck...@attg lobal.netwrote: olafmol wrote: On 28 mrt, 10:13, "Kimmo Laine" <s...@outolempi .netwrote: ><olafil... @gmail.comwrote in message >news:11*** *************** ****@y66g2000hs f.googlegroups. com... >>Hello, >>we're running an Win2003server with IIS6 and PHP4 in fastCGI config. >>When i try to use system() command to execute ffmpeg.exe it works ok >>when i run the PHP script from the commandline on the server, but when >>i run it from the webbrowser i get a return value: 128 and nothing >>happens . >>I checked for all the security settings, and everything seems fine. >>Does anybody have a clue where i should be looking? >Does the IIS user have permission to execute cmd.exe ? the IIS user is >somethin g like IUSR_COMPUTERNA ME >-- >"Ohjelmoij a on organismi joka muuttaa kofeiinia koodiksi" - lpkhttp://outolempi.net/ahdistus/-Satunnaisestipä ivittyvä nettisarjis >s...@outol empi.net | rot13(x...@bhgb yrzcv.arg) yes, i don't get the "unable to fork" error messages. So that has been taken care of. Olaf Olaf, Not getting the message doesn't mean anything. IIRC, RC 128 is a permission problem, and cmd.exe is a real good bet. And BTW - Windows doesn't fork. Linux does. Hello, all the permissions are ok, i even put "everyone" to all rights. I can create normal directories, and pipe directory readings to new files, this works without a problem. But when i try to execute ffmpeg i get this returncode 128. Furthermore , when i try to execute ImageMagick's convert.exe without parameters, i get the regular output of convert.exe back, but when i try to convert some images i get a false returncode back. Could it be something with my PHP installation? Olaf
It's always possible it's something in your installation. But it sounds more like convert.exe can't access some resource. Maybe a temp directory? I don't know.
Is there anything in your error log file, or your Windows Event log about it?
--
there doesn't seem to be any error-events in the logs. Convert.exe can
access the resources ok when the PHP script is ran from the
commandline with PHP.exe. Very strange. I think it has something to do
with our PHP config and/or some obscure security setting somewhere...
Olaf
Maybe completely off here, but isn't it true the commandline version
runs as YOU, and the IIS-server parsed version runs as the server? So
the fact the cli version works doesn't mean you still are facing a
rights issue...
Sh.
On 28 mrt, 19:21, Schraalhans Keukenmeester <bitbuc...@inva lid.spam>
wrote:
olafmol wrote:
On 28 mrt, 17:58, Jerry Stuckle <jstuck...@attg lobal.netwrote:
olafmol wrote: On 28 mrt, 15:18, Jerry Stuckle <jstuck...@attg lobal.netwrote: olafmol wrote: On 28 mrt, 10:13, "Kimmo Laine" <s...@outolempi .netwrote: <olafil...@ gmail.comwrote in message >news:11*** *************** ****@y66g2000hs f.googlegroups. com... >Hello, >we're running an Win2003server with IIS6 and PHP4 in fastCGI config. >When i try to use system() command to execute ffmpeg.exe it worksok >when i run the PHP script from the commandline on the server, butwhen >i run it from the webbrowser i get a return value: 128 and nothing >happens. >I checked for all the security settings, and everything seems fine. >Does anybody have a clue where i should be looking? Does the IIS user have permission to execute cmd.exe ? the IIS user is something like IUSR_COMPUTERNA ME -- "Ohjelmoi ja on organismi joka muuttaa kofeiinia koodiksi" - lpkhttp://outolempi.net/ahdistus/-Satunnaisestipä ivittyvä nettisarjis s...@outole mpi.net | rot13(x...@bhgb yrzcv.arg) yes, i don't get the "unable to fork" error messages. So that has been taken care of. Olaf Olaf, Not getting the message doesn't mean anything. IIRC, RC 128 is a permission problem, and cmd.exe is a real good bet. And BTW - Windows doesn't fork. Linux does. Hello, all the permissions are ok, i even put "everyone" to all rights. I can create normal directories, and pipe directory readings to new files, this works without a problem. But when i try to execute ffmpeg i get this returncode 128. Furthermore, when i try to execute ImageMagick's convert.exe without parameters, i get the regular output of convert.exe back, but when i try to convert some images i get a false returncode back. Could it be something with my PHP installation? Olaf
It's always possible it's something in your installation. But it sounds
more like convert.exe can't access some resource. Maybe a temp
directory? I don't know.
Is there anything in your error log file, or your Windows Event log
about it?
--
there doesn't seem to be any error-events in the logs. Convert.exe can
access the resources ok when the PHP script is ran from the
commandline with PHP.exe. Very strange. I think it has something to do
with our PHP config and/or some obscure security setting somewhere...
Olaf
Maybe completely off here, but isn't it true the commandline version
runs as YOU, and the IIS-server parsed version runs as the server? So
the fact the cli version works doesn't mean you still are facing a
rights issue...
Sh.
I think you might be right somewhere. The thing is i now have run the
application pool for the website i am using under a more powerfull
account, and now i can use convert.exe without a problem.
Still, the ffmpeg.exe returns code 128.
Olaf
olafmol wrote:
On 28 mrt, 17:58, Jerry Stuckle <jstuck...@attg lobal.netwrote:
>olafmol wrote:
>>On 28 mrt, 15:18, Jerry Stuckle <jstuck...@attg lobal.netwrote: olafmol wrote: On 28 mrt, 10:13, "Kimmo Laine" <s...@outolempi .netwrote: ><olafil... @gmail.comwrote in message >news:11*** *************** ****@y66g2000hs f.googlegroups. com... >>Hello, >>we're running an Win2003server with IIS6 and PHP4 in fastCGI config. >>When i try to use system() command to execute ffmpeg.exe it works ok >>when i run the PHP script from the commandline on the server, but when >>i run it from the webbrowser i get a return value: 128 and nothing >>happens . >>I checked for all the security settings, and everything seems fine. >>Does anybody have a clue where i should be looking? >Does the IIS user have permission to execute cmd.exe ? the IIS user is >somethin g like IUSR_COMPUTERNA ME >-- >"Ohjelmoij a on organismi joka muuttaa kofeiinia koodiksi" - lpkhttp://outolempi.net/ahdistus/-Satunnaisestipä ivittyvä nettisarjis >s...@outol empi.net | rot13(x...@bhgb yrzcv.arg) yes, i don't get the "unable to fork" error messages. So that has been taken care of. Olaf Olaf, Not getting the message doesn't mean anything. IIRC, RC 128 is a permission problem, and cmd.exe is a real good bet. And BTW - Windows doesn't fork. Linux does. Hello, all the permissions are ok, i even put "everyone" to all rights. I can create normal directories, and pipe directory readings to new files, this works without a problem. But when i try to execute ffmpeg i get this returncode 128. Furthermore , when i try to execute ImageMagick's convert.exe without parameters, i get the regular output of convert.exe back, but when i try to convert some images i get a false returncode back. Could it be something with my PHP installation? Olaf
It's always possible it's something in your installation. But it sounds more like convert.exe can't access some resource. Maybe a temp directory? I don't know.
Is there anything in your error log file, or your Windows Event log about it?
--
there doesn't seem to be any error-events in the logs. Convert.exe can
access the resources ok when the PHP script is ran from the
commandline with PHP.exe. Very strange. I think it has something to do
with our PHP config and/or some obscure security setting somewhere...
Olaf
Very strange. But it still looks like a security issue. What happens
if you sign on with the web servers userid and try to execute it?
--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp. js*******@attgl obal.net
=============== === This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: David |
last post by:
Hi,
I am running Debian 3.0r1 with Apache 1.3.27, MySQL 3.23.49 and PHP
4.3.3RC3.
I installed Apache and MySQL when I originally installed Debian and these
work fine. I recently wanted to run some PHP scripts on my web server that
talked to a MySQL database. I installed php4 and php4-mysql using apt-get.
Unfortunatly I can't get the scripts to work. I keep getting the following
error:
Fatal error: Call to undefined function:...
|
by: Lu |
last post by:
Hi,
I have a redhat 9 linux machine running apache 2.0.47, mysql 4.0.15,
and php 4.3.4. I have been puzzled by this mail() problem for quite a
while, could someone please give me some hint on this?
I configured sendmail with a relay so that all outgoing mails go
through our organization's exchange mail server:
DSexchange.domain.com. The php.ini file specified the path to
sendmail: "sendmail_path= /usr/sbin/sendmail -t -i".
|
by: Sheldon |
last post by:
Hi,
I have a mysql setting problem that is driving me mad. Hopefully someone can
give some advice:
On the local network I have windows 2000/iis5 machine running our intranet
site, with php and mysql working ok. Anonymous access is disabled, and root
has been assigned a password and given full access to all tables from all
hosts (i reliase this isn't secure but its only temporary for testing)
|
by: Phil |
last post by:
Hi,
I have my create statments for tables, procedures, views, etc in
individual Transact-SQL script files (.sql).
I wnat to write another script file that executes these scripts in the
correct order to create the database.
What is the syntax for executing script files from Transact-SQL?
|
by: Paul |
last post by:
Hi all, I seem to been having a problem with sessions. I have a session in
the login page
Session("UserLevel") = (MM_rsUser.Fields.Item("Accesslevel").Value)
which doesn't seem to be visible through out the site. If I use <%
Response.Write(Session("UserLevel")) %> on the login page then it shows that
the session in is present and the correct value. but when I use <%
Response.Write(Session("UserLevel")) %>. on any other page through...
| |
by: Adam Short |
last post by:
I'm having all sorts of problems with Sessions, I've been using them for
years with out a hitch, all of a sudden the last 6 - 12 months since getting
our new Win2003 server it's all gone shakey!!!
Our development server started life as an NT4 machine and has been simply
upgraded from one operating system to the next, it is now a cross, NT4
Server, Win2000 Server, Win2003 server. All development sites work fine and
under heavy stress. ...
|
by: Propin |
last post by:
Have a problem with below code in global.asa. Same problem as described in
this news group before, IWAM_machinename did not solve my problem.
Have created the following test code (file is never deleted on my IIS6
Win2003
environment, any idea?):
<SCRIPT LANGUAGE="VBScript" RUNAT="Server">
Sub Application_OnStart
End Sub
|
by: KShapiro |
last post by:
Hi All,
I am trying to assist my wife, by making a simple menu system for the website.
The web page is a .php4 file and does an include of the navigation file. Before it includes that file at the top I have the following line of code to include my .js file.
<script src="scripts/SideNav.js" language="JavaScript" type="text/javascript"></script>
that is inside the <head> tag. It used to work fine with a more hard coded version of...
|
by: OverTheTop |
last post by:
All the usual Newbie stuff applies...
I have a Windows2000 Server with ActivePerl and a module (DBD-Interbase) that worked fine. Trying to duplicate the environment on Windows2003 Server for future upgrade, and this module won't work (other Perl scripts in IIS6 are OK, just not this Interbase module, which is critical).
The error comes from Dynaloader.pm file, which I've read through, and it says that it's a generic message about external...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |