Current time: 04-26-2024, 09:59 AM Hello There, Guest! (LoginRegister)


Post Reply 
net2ftp
Author Message
bsn Offline
Junior Member
*

Posts: 32
Joined: Feb 2009
Reputation: 0
Post: #1
net2ftp
Ubuntu hardy 8.0.4 and ispCP 1.0.0 OMEGA build: 20090225

Help me resolve my problem.
When i start http://ispcp.mydomain.com/ftp/
and enter correct login and password
I have error 500 (Internal Server Error!)
In my /var/log/apache2/users/default-error.log
[Mon Mar 02 21:58:53 2009] [notice] mod_fcgid: call /var/www/ispcp/gui/tools/filemanager/index.php with wrapper /var/www/fcgi/master/php5-fcgi-starter
[Mon Mar 02 21:59:39 2009] [warn] mod_fcgid: read data timeout in 40 seconds
[Mon Mar 02 21:59:39 2009] [error] [client 80.252.244.31] Premature end of script headers: index.php, referer: http://ispcp.mydomain.com/ftp/
[Mon Mar 02 21:59:44 2009] [notice] mod_fcgid: process 30283 going graceful shutdown, sending SIGTERM
[Mon Mar 02 21:59:50 2009] [notice] mod_fcgid: process /var/www/ispcp/gui/tools/filemanager/index.php(30283) exit(communication error), terminated by calling exit(), return code: 0
Proftpd work fine.
What can i do for resolve this error?
03-03-2009 06:21 AM
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: #2
RE: net2ftp
Is there someting in the /var/log/apache2/users/admin.domain.tld-error ?
And ProFTPd works really fine with the same Login/Password from extern?

Greez BeNe
03-03-2009 07:23 AM
Visit this user's website Find all posts by this user Quote this message in a reply
victor531 Offline
Junior Member
*

Posts: 167
Joined: Oct 2007
Reputation: 3
Post: #3
RE: net2ftp
The same things to me , same logs, same error 500

Debian lenny + ispCP Omega 1.0.0 • 2009-02-25

I've cheked my resolv.conf, and I've also changed mi IP , and now I've, from scratch, reinstalled...... and ......... Error 500 again Sad

Victor
(This post was last modified: 03-03-2009 08:30 AM by victor531.)
03-03-2009 08:21 AM
Find all posts by this user Quote this message in a reply
bsn Offline
Junior Member
*

Posts: 32
Joined: Feb 2009
Reputation: 0
Post: #4
RE: net2ftp
ProFTPd works really fine with this login and password

In ispcp.mydomain.com-access.log
211.131.12.226 - - [03/Mar/2009:07:41:30 +0200] "POST /ftp/index.php HTTP/1.1" 500 1181 "http://ispcp.mydomain.com/ftp/" "Mozilla/5.0 (X11; U; Linux i686; ru; rv:1.9.0.6) Gecko/2009011912 Firefox/3.0.6"
211.131.12.226 - - [03/Mar/2009:07:42:11 +0200] "GET /errors/inc/errordocs.js HTTP/1.1" 200 191 "http://ispcp.mydomain.com/ftp/index.php" "Mozilla/5.0 (X11; U; Linux i686; ru; rv:1.9.0.6) Gecko/2009011912 Firefox/3.0.6"
211.131.12.226 - - [03/Mar/2009:07:42:11 +0200] "GET /errors/inc/errordocs.css HTTP/1.1" 200 1041 "http://ispcp.mydomain.com/ftp/index.php" "Mozilla/5.0 (X11; U; Linux i686; ru; rv:1.9.0.6) Gecko/2009011912 Firefox/3.0.6"
211.131.12.226 - - [03/Mar/2009:07:42:11 +0200] "GET /errors/inc/error_top.jpg HTTP/1.1" 200 6244 "http://ispcp.mydomain.com/errors/inc/errordocs.css" "Mozilla/5.0 (X11; U; Linux i686; ru; rv:1.9.0.6) Gecko/2009011912 Firefox/3.0.6"
211.131.12.226 - - [03/Mar/2009:07:42:11 +0200] "GET /errors/inc/valid_css.jpg HTTP/1.1" 200 1754 "http://ispcp.mydomain.com/ftp/index.php" "Mozilla/5.0 (X11; U; Linux i686; ru; rv:1.9.0.6) Gecko/2009011912 Firefox/3.0.6"
211.131.12.226 - - [03/Mar/2009:07:42:11 +0200] "GET /errors/inc/valid_xhtml.jpg HTTP/1.1" 200 1783 "http://ispcp.mydomain.com/ftp/index.php" "Mozilla/5.0 (X11; U; Linux i686; ru; rv:1.9.0.6) Gecko/2009011912 Firefox/3.0.6"
211.131.12.226 - - [03/Mar/2009:08:14:18 +0200] "GET /ftp/ HTTP/1.1" 200 9506 "-" "Mozilla/5.0 (X11; U; Linux i686; ru; rv:1.9.0.6) Gecko/2009011912 Firefox/3.0.6"
211.131.12.226 - - [03/Mar/2009:08:14:18 +0200] "GET /ftp/skins/omega/css/main.css.php?ltr=ltr&image_url=%2Fftp%2Fskins%2Fomega%2Fimages HTTP/1.1" 200 5919 "http://ispcp.mydomain.com/ftp/" "Mozilla/5.0 (X11; U; Linux i686; ru; rv:1.9.0.6) Gecko/2009011912 Firefox/3.0.6"
211.131.12.226 - - [03/Mar/2009:08:14:27 +0200] "POST /ftp/index.php HTTP/1.1" 500 1181 "http://ispcp.mydomain.com/ftp/" "Mozilla/5.0 (X11; U; Linux i686; ru; rv:1.9.0.6) Gecko/2009011912 Firefox/3.0.6"
========================
In default-error.log
[Tue Mar 03 08:14:18 2009] [notice] mod_fcgid: call /var/www/ispcp/gui/tools/filemanager/index.php with wrapper /var/www/fcgi/master/php5-fcgi-starter
[Tue Mar 03 08:15:07 2009] [warn] mod_fcgid: read data timeout in 40 seconds
[Tue Mar 03 08:15:07 2009] [error] [client 211.131.12.226] Premature end of script headers: index.php, referer: http://ispcp.mydomain.com/ftp/
[Tue Mar 03 08:15:12 2009] [notice] mod_fcgid: process 12441 going graceful shutdown, sending SIGTERM
[Tue Mar 03 08:15:18 2009] [notice] mod_fcgid: process /var/www/ispcp/gui/tools/filemanager/index.php(12441) exit(communication error), terminated by calli
ng exit(), return code: 0
Interesting moment.
Sometimes I can open http://ispcp.mydomain.com/ftp with the same Login/Password
But this happen very rarely
(This post was last modified: 03-03-2009 05:15 PM by bsn.)
03-03-2009 04:44 PM
Find all posts by this user Quote this message in a reply
bsn Offline
Junior Member
*

Posts: 32
Joined: Feb 2009
Reputation: 0
Post: #5
RE: net2ftp
I disable fcgid_ispcp
a2dismod fcgid_ispcp
An enable fastcgi_ispcp
a2enmod fastcgi_ispcp
/etc/init.d/apache2 reload
And now http://ispcp.mydomain.com/ftp/ work!
I enter login and password and press Login.
And wait about 40-50 seconds
How decrease time for connections?
03-03-2009 06:17 PM
Find all posts by this user Quote this message in a reply
victor531 Offline
Junior Member
*

Posts: 167
Joined: Oct 2007
Reputation: 3
Post: #6
RE: net2ftp
yeaaa, ...but wath happens if you want to work with fcgid mods ?

what happens with the other services and with your server (performance)?

please test it for a while and post here your results.

I have a testing server whit Lenny+Ispcp V1.0.0 stable and works fine except this.


Saludos

Victor
03-03-2009 11:26 PM
Find all posts by this user Quote this message in a reply
bsn Offline
Junior Member
*

Posts: 32
Joined: Feb 2009
Reputation: 0
Post: #7
RE: net2ftp
I try to use http://www.net2ftp.com
I've made connection from http://www.net2ftp.com with my server.
Connection was established in 5 seconds
When I try to connect with my server from ISPCP conection was
established in 70 seconds.
Why it's so slowly?
How increase connection speed?
03-04-2009 03:40 AM
Find all posts by this user Quote this message in a reply
sci2tech Away
Senior Member
****

Posts: 1,285
Joined: Jan 2007
Reputation: 23
Post: #8
RE: net2ftp
Try add as first line in /etc/resolv.conf
Code:
nameserver 127.0.0.1
(This post was last modified: 03-04-2009 04:25 AM by sci2tech.)
03-04-2009 04:25 AM
Visit this user's website Find all posts by this user Quote this message in a reply
bsn Offline
Junior Member
*

Posts: 32
Joined: Feb 2009
Reputation: 0
Post: #9
RE: net2ftp
I write code in php.
I check php functions for work with ftp.
When I try to connect with my server connection was established about 3-4 seconds
When I use http://www.mydomain.com/ftp and change language only I wait 60-70 seconds
May be this is problem - session?

victor531 please try change language without login
How long?
03-04-2009 04:33 PM
Find all posts by this user Quote this message in a reply
victor531 Offline
Junior Member
*

Posts: 167
Joined: Oct 2007
Reputation: 3
Post: #10
RE: net2ftp
(03-04-2009 04:33 PM)bsn Wrote:  victor531 please try change language without login
How long?
[/u]

....uuuffffffff..... 37 seconds


really bad....... or not?

there is a problem here


Victor
03-05-2009 04:01 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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