Current time: 11-30-2024, 03:12 PM Hello There, Guest! (LoginRegister)


Post Reply 
[SOLVED] No input file specified
Author Message
surfweb82 Offline
Junior Member
*

Posts: 47
Joined: Jul 2008
Reputation: 0
Post: #1
[SOLVED] No input file specified
Hello.

I have a problem with ispCP and ubuntu 9.10.

ftp, mysql, mail and other services are working correctly and if I try to enter the control panel or any one I get this message: No input file specified.

I could help solve the problem. For me it is very important!

Thanks for your help and sorry for my bad English.
I forgot: version of ispCP Omega is 1.06 and system is 64bit
(This post was last modified: 01-13-2011 06:27 PM by surfweb82.)
01-12-2011 07:22 PM
Find all posts by this user Quote this message in a reply
surfweb82 Offline
Junior Member
*

Posts: 47
Joined: Jul 2008
Reputation: 0
Post: #2
RE: No input file specified
anyone can help me? I do not know how to fix it!

Help me please!
01-12-2011 10:30 PM
Find all posts by this user Quote this message in a reply
surfweb82 Offline
Junior Member
*

Posts: 47
Joined: Jul 2008
Reputation: 0
Post: #3
RE: No input file specified
I discovered that other browser gives me page not found with the php file and call if you receive html page!

Seeking help also for a fee. I really need!
01-13-2011 04:04 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #4
RE: No input file specified
Seem to be a problem with the php config (fastcgi/fcgid).

Are html files loading coreectly?
Only php files make problem?

/J
01-13-2011 10:16 AM
Visit this user's website Find all posts by this user Quote this message in a reply
MePha Offline
Newbie
*

Posts: 6
Joined: Oct 2008
Reputation: 0
Post: #5
RE: No input file specified
i have the same problem.

after system updates (ubuntu karmic) all php files answer "No input file specified."

html, css, images works fine

ispcp 1.0.7
(This post was last modified: 01-13-2011 12:16 PM by MePha.)
01-13-2011 12:16 PM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #6
RE: No input file specified
Something in the Apache Logs ?

Greez BeNe
01-13-2011 04:14 PM
Visit this user's website Find all posts by this user Quote this message in a reply
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #7
RE: No input file specified
Okay, this may be caused by either (1) apache sending an incorrect path to the php file to php5-cgi; or (2) something (permissions?) that prevents php5-cgi from running the script.

The first should be easy to test. Look in your /var/log/apache2/users/domain.tld-error.log and copy us some of the "mod_fcgid: call /path/to/php/file ..." lines. Does the path look correct?

For the second one, I would try a more "direct" approach than to check for every permission in the path to the file. What we will do is try to run the file under the user of this website. To do so, start by:
Code:
grep domain.tld /etc/passwd
This will answer you with the vuXXXX user that corresponds to "domain.tld". Does it match the owner of the /var/www/fcgi/domain.tld folder? If it doesn't, ispcp got confused somehow about the users of the system and we have found the problem.
If it matches, proceed to switch to this user, by runnig (as root):
Code:
cd /; su -s/bin/sh vuXXXX
At this point you have the very same permissions than the website user. Now try to run the php file and see if any error comes out, or the page is rendered correctly (you'll see the output):
Code:
export PHPRC="/var/www/fcgi/<domain.tld>/php5/"
/usr/bin/php5-cgi -f /path/to/the/php/file/that/you/saw/in/the/mod_cgid/call/line

Okay, what happened? If there's an error, this should lead you to the appropiate solution.

If everything went well, then we go back to the beggining in that there's some problem about the path that apache tells php where to find the file. If this is the case, the last idea I have right now is to try enabling the "cgi.fix_pathinfo" directive in the domain's php.ini file and restarting apache.

I hope this helped. Please tell us what happened with this issue as there seems to be other users seeing it.
01-13-2011 04:54 PM
Visit this user's website Find all posts by this user Quote this message in a reply
surfweb82 Offline
Junior Member
*

Posts: 47
Joined: Jul 2008
Reputation: 0
Post: #8
RE: No input file specified
Thanks for reply!

now I try to make the changes I've indicated and I will let you know.

Thank you again!
Checking the errors in the file you told me, I've found out that apache was sending an incorrect path to the php file to php5-cgi.

This is the message in the log error:
".... [Wed Jan 12 23:16:17 2011] [notice] mod_fcgid: call /var/www/virtual/domain.tdl/gdg/htdocs/login.php with wrapper /var/www/fcgi/domain.tdl/php5-fcgi-starter
[Wed Jan 12 23:56:27 2011] [notice] mod_fcgid: call /var/www/virtual/domain.tdl/htdocs/index.php with wrapper /var/www/fcgi/domain.tdl/php5-fcgi-starter
[Thu Jan 13 07:49:55 2011] [notice] mod_fcgid: process /var/www/virtual/domain.tdl/htdocs/index.php(4454) exit(shutting down), terminated by calling exit(), return code: 0
[Thu Jan 13 08:00:34 2011] [notice] mod_fcgid: call /var/www/virtual/domain.tdl/htdocs/index.php with wrapper /var/www/fcgi/domain.tdl/php5-fcgi-starter...."

now, how can I solve the problem to make everything working again?

Thank you a lot!!!
(This post was last modified: 01-13-2011 05:42 PM by surfweb82.)
01-13-2011 05:22 PM
Find all posts by this user Quote this message in a reply
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #9
RE: No input file specified
Quote:call /var/www/virtual/domain.tdl/htdocs/index.php

This looks like a valid (good) path to the file. What do you see wrong in here?
01-13-2011 05:45 PM
Visit this user's website Find all posts by this user Quote this message in a reply
surfweb82 Offline
Junior Member
*

Posts: 47
Joined: Jul 2008
Reputation: 0
Post: #10
RE: No input file specified
I thought that was the problem. Then proceed with the other suggestions and let you know

(01-13-2011 05:45 PM)kilburn Wrote:  
Quote:call /var/www/virtual/domain.tdl/htdocs/index.php

This looks like a valid (good) path to the file. What do you see wrong in here?


with this command:

grep domain.tdl /etc/passwd

I get this message:

vu2001:x:2001:2001:virtual-user:/var/www/virtual/domain.tdl:/bin/false

export PHPRC="/var/www/fcgi/<domain.tld>/php5/"

I can not understand this line: /path/to/the/php/file/that/you/saw/in/the/mod_cgid/call/line
(This post was last modified: 01-13-2011 06:20 PM by surfweb82.)
01-13-2011 05:56 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)