 | Need help installing - FTP ERROR: connection to ftp...failed |  |
Posted: 04/04/2007 1:46 PM |
|
|
|
|
|
| Sparrow |
| Posts |
16 |
| Word Cnt. |
1,079 |
| BDay |
N/A |
| Sign |
N/A |
|
|
|
|
|
Joined: Apr 04, 2007
Local time: 1:37 AM
|

|
|
|
|
 |
I've searched through hundred of posts about installation problems (most with very vague subjectlines) and found nothing that helped so far.
I'm getting "FTP ERROR: connection to ftp.mydomain.com:21 failed.
Along with the note about port 21. 21 is the normal port for my ftp connection (which works fine with WS_FTP), so that's not the problem. Here's my debug readout:
(formatted for forum posting)
EM installer v0.3.0 wrote:
EM status: New Install
phpBB version: 2.0.22
Working Dir: /nfs/2/sushidog/therightwells.com/htdocs/gbl/jab/admin/mods/easymod
Install Step: 2
Mode: debug
The Error wrote:
No error.
Permissions: (including system errors)
read access :: OK
write access :: No
root path write :: No
chmod access :: unattempted
unlink access :: unattempted
mkdir access :: unattempted
tmp path write :: OK
FTP extension :: OK
Safe Mode :: OFF
copy access :: No
Additional System Information:
System: Linux hweb6 2.6.12.3 #1 SMP Thu Aug 4 15:42:22 MDT 2005 i686
Configure Command: './configure' '--with-zlib' '--with-bz2' '--with-gd' '--with-mysql' '--with-apxs=/usr/local/apache/bin/apxs' '--enable-exif' '--with-pear' '--enable-memory-limit' '--with-openssl' '--enable-bcmath' '--enable-calendar' '--with-curl' '--enable-ftp' '--with-jpeg-dir=/usr/local/lib' '--with-png-dir=/usr/local/lib' '--with-ttf' '--with-freetype-dir=/usr/local/lib' '--with-t1lib' '--enable-gd-native-ttf' '--enable-dg-jis-conv' '--with-iconv' '--with-mcrypt' '--with-mhash' '--with-mime-magic' '--enable-sysvmsg' '--enable-sysvsem' '--enable-sysvshm' '--enable-wddx' '--with-pspell' '--with-dom'
PHP version: 4.3.11
register_globals: ON
magic_quotes_gpc: ON
magic_quotes_runtime: OFF
allow_url_fopen: ON
sockets_support: N/A
Recommendations:
write: buffer & ftp
move: automated FTP
Selected settings:
write: ftpb
move: ftpa
ftp dir: htdocs/gbl/jab
ftp host: ftp.therightwells.com
ftp port: 21
ftp debug: false
ftp ext: ext
ftp cache: false
CWD Listing:
Code: Select All
drwxr-xr-x .
drwxr-xr-x ..
drwxr-xr-x languages
-rwxr-xr-x easymod_install.php
drwxr-xr-x em_includes
-rwxr-xr-x easymod_display_functions.php
-rwxr-xr-x easymod.gif
drwxr-xr-x includes
drwxr-xr-x templates
Testing FTP access...
FTP ERROR: connection to ftp.therightwells.com:21 failed.
This error occurs frequently when the port number is incorrect. Back on step 1 you should try changing the FTP Port from 21 to whatever port you typically use when you FTP.
Any help would be appreciated.
fin |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Need help installing - FTP ERROR: connection to ftp...failed |  |
Posted: 04/04/2007 1:53 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 4:37 AM
Location: St Pete, FL
|

|
|
|
|
 |
Welcome to RCF sushidog!!!
The port error message is deceptive. It's very unlikely that the port number is the problem...
Rescan Option
Ok, do you see a rescan option at the bottom of this page? If so, click on it. Hopefully on the next page, you will be given the Automcatic Detection option. If so, go with it...
Welcome to RCF sushidog!!!
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Need help installing - FTP ERROR: connection to ftp...failed |  |
Posted: 04/04/2007 2:33 PM |
|
|
|
|
|
| Sparrow |
| Posts |
16 |
| Word Cnt. |
1,079 |
| BDay |
N/A |
| Sign |
N/A |
|
|
|
|
|
Joined: Apr 04, 2007
Local time: 1:37 AM
|

|
|
|
|
 |
No, I didn't get that option. I did the rescan, here's the output via display debug:
(formatted for forum posting)
| EM installer v0.3.0 wrote:
|
EM status: New Install
phpBB version: 2.0.22
Working Dir: /nfs/2/sushidog/therightwells.com/htdocs/gbl/jab/admin/mods/easymod
Install Step: 2
Mode: debug
| The Error wrote:
|
No error.
|
Permissions: (including system errors)
read access :: OK
write access :: No
root path write :: No
chmod access :: unattempted
unlink access :: unattempted
mkdir access :: unattempted
tmp path write :: OK
FTP extension :: OK
Safe Mode :: OFF
copy access :: No
Additional System Information:
System: Linux hweb6 2.6.12.3 #1 SMP Thu Aug 4 15:42:22 MDT 2005 i686
Configure Command: './configure' '--with-zlib' '--with-bz2' '--with-gd' '--with-mysql' '--with-apxs=/usr/local/apache/bin/apxs' '--enable-exif' '--with-pear' '--enable-memory-limit' '--with-openssl' '--enable-bcmath' '--enable-calendar' '--with-curl' '--enable-ftp' '--with-jpeg-dir=/usr/local/lib' '--with-png-dir=/usr/local/lib' '--with-ttf' '--with-freetype-dir=/usr/local/lib' '--with-t1lib' '--enable-gd-native-ttf' '--enable-dg-jis-conv' '--with-iconv' '--with-mcrypt' '--with-mhash' '--with-mime-magic' '--enable-sysvmsg' '--enable-sysvsem' '--enable-sysvshm' '--enable-wddx' '--with-pspell' '--with-dom'
PHP version: 4.3.11
register_globals: ON
magic_quotes_gpc: ON
magic_quotes_runtime: OFF
allow_url_fopen: ON
sockets_support: N/A
Recommendations:
write: buffer & ftp
move: automated FTP
Selected settings:
write:
move:
ftp dir:
ftp host:
ftp port: 0
ftp debug: false
ftp ext:
ftp cache: false
CWD Listing:
| Code:
|
drwxr-xr-x .
drwxr-xr-x ..
drwxr-xr-x languages
-rwxr-xr-x easymod_install.php
drwxr-xr-x em_includes
-rwxr-xr-x easymod_display_functions.php
-rwxr-xr-x easymod.gif
drwxr-xr-x includes
drwxr-xr-x templates
|
Not testing FTP since it is not being used.
|
[/img] |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Need help installing - FTP ERROR: connection to ftp...failed |  |
Posted: 04/04/2007 2:41 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 4:37 AM
Location: St Pete, FL
|

|
|
|
|
 |
That's unfortunate. That works more often than not and when it does, everything typically goes smoothly from that point on...
Does your host require that your file permissions be set to 755 or did you change them? On most servers, the file permissions are set to 644 by default. If your host is one of the exceptions, then you will need to install a modified version of EM on your site...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Need help installing - FTP ERROR: connection to ftp...failed |  |
Posted: 04/04/2007 2:53 PM |
|
|
|
|
|
| Sparrow |
| Posts |
16 |
| Word Cnt. |
1,079 |
| BDay |
N/A |
| Sign |
N/A |
|
|
|
|
|
Joined: Apr 04, 2007
Local time: 1:37 AM
|

|
|
|
|
 |
| I did this all a week ago or so, but I believe I set all the dirs and files to 755 (except config.php which I think I set to 777 out of frustration). |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Need help installing - FTP ERROR: connection to ftp...failed |  |
Posted: 04/04/2007 3:02 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 4:37 AM
Location: St Pete, FL
|

|
|
|
|
 |
IF you set your config.php file to 777, you are giving away all the details necessary for anyone to be able to connect to your database and wipe it clean. You need to set it back to 644 unless your host requires that the file permissions be set to 755...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Need help installing - FTP ERROR: connection to ftp...failed |  |
Posted: 04/04/2007 3:07 PM |
|
|
|
|
|
| Sparrow |
| Posts |
16 |
| Word Cnt. |
1,079 |
| BDay |
N/A |
| Sign |
N/A |
|
|
|
|
|
Joined: Apr 04, 2007
Local time: 1:37 AM
|

|
|
|
|
 |
| yeah, I thought maybe just opening it up during installation might help, and then set it back later. I was obviously getting frustrated at not being able to install easymod :^) |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Need help installing - FTP ERROR: connection to ftp...failed |  |
Posted: 04/04/2007 3:16 PM |
|
|
|
|
|
| Sparrow |
| Posts |
16 |
| Word Cnt. |
1,079 |
| BDay |
N/A |
| Sign |
N/A |
|
|
|
|
|
Joined: Apr 04, 2007
Local time: 1:37 AM
|

|
|
|
|
 |
| Also, I have another phpBB on the same server. All the dirs and files are set to 755. It has easymod installed. I did that a year ago, so I'm not sure what has changed. Same db, just different prefix for tables. |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Need help installing - FTP ERROR: connection to ftp...failed |  |
Posted: 04/04/2007 3:16 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 4:37 AM
Location: St Pete, FL
|

|
|
|
|
 |
Ok, do this first. Set all of your file and folder permssions back to what are normal for your server. If you are unsure what that would be, you can upload a file and check it's permissions. Your host software should set the permissions correctly for you. Then reset all the rest of the file permissions to match it. Most of your folder permissions should be set to 755. The only exceptions would be your cache and images/avatars folders along with any folder where you allow members to upload files to your server. The vast majority of your folders should be set to 755...
Improper file and folder permissions can cause installation problems so let's get us back so that this is not part of the problem...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Need help installing - FTP ERROR: connection to ftp...failed |  |
Posted: 04/04/2007 3:22 PM |
|
|
|
|
|
| Sparrow |
| Posts |
16 |
| Word Cnt. |
1,079 |
| BDay |
N/A |
| Sign |
N/A |
|
|
|
|
|
Joined: Apr 04, 2007
Local time: 1:37 AM
|

|
|
|
|
 |
OK, I set all the files to 644 and the folders to 755 (though the files in folders are now 755- do I need to manually change teh files in folders to 644?). Also, what should the cache and avatars folders be set to?
PS- thanks for all this help |
|
|
 |
 |
| Back to Top |
|
|
 | Information |  |
|