Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 20th December 2005, 13:18
eduard eduard is offline
Junior Member
 
Join Date: Dec 2005
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default web-ftp shows empty folders

Hi,

I've managed to get ISPconfig up and running on a FC4 machine. Everything is working swell apart from WEB-ftp.
What happens is that I can login as any user that I create and it takes me to the user's home dir, it shows the subdirecties in the right screen and the tree in the left. But when I click on a directory in the left column the right screen doesn't show the files, it just shows the table headers:

Folder:
Name Size Date
__________________________________________________ __________
__________________________________________________ __________

and that's all.
What could be wrong ?

Thanks,
Eduard Renger
PS. Normal ftp with a filezilla client works fine.
Reply With Quote
Sponsored Links
  #2  
Old 20th December 2005, 13:34
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,478
Thanks: 813
Thanked 5,255 Times in 4,121 Posts
Default

I guess the folder is empty? If you click on a folder on the left side, it shows on the right side the sub folders and files. If there are no subfolders and files, the list on the right side is empty.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 20th December 2005, 13:39
eduard eduard is offline
Junior Member
 
Join Date: Dec 2005
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I'm talking about every single folder that I click shows up empty. Although my complete website is residing there.

When I first login to web-ftp I see the following on the left:
/
backup
cgi-bin
log
phptmp
ssl
user
web

and the following on the right:

Folder:

Name Size Date

--------------------------------------------------------------------------------

backup 4096 Dec 20 01:05 [X]
log 4096 Dec 16 23:30 [X]
ssl 4096 Dec 19 22:42 [X]
user 4096 Dec 20 12:28 [X]
cgi-bin 4096 Dec 16 19:54 [X]
web 4096 Dec 20 10:54 [X]
phptmp 4096 Dec 20 07:42 [X]

--------------------------------------------------------------------------------


but when I click on a plus sign or a map icon on the left. The right only shows this:

Folder:

Name Size Date

--------------------------------------------------------------------------

--------------------------------------------------------------------------

although for example my web folder contains the following:
total 96
drwxrwxr-x 10 uucp web1 4096 Dec 20 11:54 .
drwxr-xr-x 9 uucp web1 4096 Dec 20 13:27 ..
-rw-rw---- 1 uucp web1 46 Dec 16 21:07 clear.gif
drwxrwxr-x 2 root web1 4096 Dec 16 21:59 error
drwxrwx--- 9 uucp web1 4096 Dec 20 08:44 fileadmin
-rw-rw---- 1 uucp web1 4957 Dec 16 21:07 _.htaccess
-rw-r--r-- 1 root root 0 Dec 20 11:06 .htaccess
lrwxrwxrwx 1 root root 18 Dec 16 21:07 index.php -> tslib/index_ts.php
-rw-rw---- 1 uucp web1 5127 Dec 20 12:53 INSTALL.txt
lrwxrwxrwx 1 root root 11 Dec 16 21:07 media -> tslib/media
-rw-rw---- 1 uucp web1 618 Dec 16 22:51 Package.txt
-rw-r--r-- 1 root web1 21 Dec 20 11:54 phpinfo.php
drwxr-xr-x 3 admin web1 4096 Dec 18 21:57 rbtest
-rw-rw---- 1 uucp web1 8306 Dec 16 21:07 README.txt
-rw-rw---- 1 uucp web1 1248 Dec 16 21:07 RELEASE_NOTES.txt
lrwxrwxrwx 1 root root 17 Dec 16 21:07 showpic.php -> tslib/showpic.php
drwxr-xr-x 2 uucp web1 4096 Dec 17 04:00 stats
lrwxrwxrwx 1 root root 15 Dec 16 21:07 t3lib -> typo3_src/t3lib
-rw-r--r-- 1 uucp web1 41 Dec 20 11:05 test.php
lrwxrwxrwx 1 root root 15 Dec 16 21:07 tslib -> typo3_src/tslib
lrwxrwxrwx 1 root root 15 Dec 16 21:07 typo3 -> typo3_src/typo3
drwxrwx--x 3 uucp web1 4096 Dec 20 08:44 typo3conf
lrwxrwxrwx 1 root root 16 Dec 16 21:07 typo3_src -> typo3_src-3.8.1/
drwsrws--- 5 uucp web1 4096 Dec 20 12:02 typo3_src-3.8.1
drwxrwx--x 7 uucp web1 4096 Dec 20 08:44 typo3temp
drwxrwx--x 8 uucp web1 12288 Dec 20 08:44 uploads


Anything else that could be wrong?

thanks for the quick reply btw!
Eduard
Reply With Quote
  #4  
Old 20th December 2005, 13:45
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,478
Thanks: 813
Thanked 5,255 Times in 4,121 Posts
Default

Please check if the URL you use to logib to ISPConfig is idntical to the URL in the ISPConfig configuration file:

/home/admispconfig/ispconfig/lib/config.inc.php
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 20th December 2005, 14:08
eduard eduard is offline
Junior Member
 
Join Date: Dec 2005
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Okay I changed that. I used to have my IP adress in there, now I changed it to:

$go_info["server"]["server_url"] = "http://rbtest.nl:81";

I restarted apache and logged into ISPconfig using the above url, but still a nogo.
Reply With Quote
  #6  
Old 20th December 2005, 16:33
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

Quote:
Originally Posted by eduard
I'm talking about every single folder that I click shows up empty. Although my complete website is residing there.

When I first login to web-ftp I see the following on the left:
/
backup
cgi-bin
log
phptmp
ssl
user
web

and the following on the right:

Folder:

Name Size Date

--------------------------------------------------------------------------------

backup 4096 Dec 20 01:05 [X]
log 4096 Dec 16 23:30 [X]
ssl 4096 Dec 19 22:42 [X]
user 4096 Dec 20 12:28 [X]
cgi-bin 4096 Dec 16 19:54 [X]
web 4096 Dec 20 10:54 [X]
phptmp 4096 Dec 20 07:42 [X]

--------------------------------------------------------------------------------


but when I click on a plus sign or a map icon on the left. The right only shows this:

Folder:

Name Size Date

--------------------------------------------------------------------------

--------------------------------------------------------------------------

although for example my web folder contains the following:
total 96
drwxrwxr-x 10 uucp web1 4096 Dec 20 11:54 .
drwxr-xr-x 9 uucp web1 4096 Dec 20 13:27 ..
-rw-rw---- 1 uucp web1 46 Dec 16 21:07 clear.gif
drwxrwxr-x 2 root web1 4096 Dec 16 21:59 error
drwxrwx--- 9 uucp web1 4096 Dec 20 08:44 fileadmin
-rw-rw---- 1 uucp web1 4957 Dec 16 21:07 _.htaccess
-rw-r--r-- 1 root root 0 Dec 20 11:06 .htaccess
lrwxrwxrwx 1 root root 18 Dec 16 21:07 index.php -> tslib/index_ts.php
-rw-rw---- 1 uucp web1 5127 Dec 20 12:53 INSTALL.txt
lrwxrwxrwx 1 root root 11 Dec 16 21:07 media -> tslib/media
-rw-rw---- 1 uucp web1 618 Dec 16 22:51 Package.txt
-rw-r--r-- 1 root web1 21 Dec 20 11:54 phpinfo.php
drwxr-xr-x 3 admin web1 4096 Dec 18 21:57 rbtest
-rw-rw---- 1 uucp web1 8306 Dec 16 21:07 README.txt
-rw-rw---- 1 uucp web1 1248 Dec 16 21:07 RELEASE_NOTES.txt
lrwxrwxrwx 1 root root 17 Dec 16 21:07 showpic.php -> tslib/showpic.php
drwxr-xr-x 2 uucp web1 4096 Dec 17 04:00 stats
lrwxrwxrwx 1 root root 15 Dec 16 21:07 t3lib -> typo3_src/t3lib
-rw-r--r-- 1 uucp web1 41 Dec 20 11:05 test.php
lrwxrwxrwx 1 root root 15 Dec 16 21:07 tslib -> typo3_src/tslib
lrwxrwxrwx 1 root root 15 Dec 16 21:07 typo3 -> typo3_src/typo3
drwxrwx--x 3 uucp web1 4096 Dec 20 08:44 typo3conf
lrwxrwxrwx 1 root root 16 Dec 16 21:07 typo3_src -> typo3_src-3.8.1/
drwsrws--- 5 uucp web1 4096 Dec 20 12:02 typo3_src-3.8.1
drwxrwx--x 7 uucp web1 4096 Dec 20 08:44 typo3temp
drwxrwx--x 8 uucp web1 12288 Dec 20 08:44 uploads


Anything else that could be wrong?

thanks for the quick reply btw!
Eduard
The reason is that most of your files have these permissions:
Quote:
-rw-rw---- 1 uucp web1
which means that the user uucp and the group web1 are allowed to read and write, but anyone else is not even allowed to read. What's the user you use to login via Web-FTP?
I guess a chmod 664 on these files will help.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #7  
Old 20th December 2005, 21:01
eduard eduard is offline
Junior Member
 
Join Date: Dec 2005
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Falko,

thanks for the reply. However I don't think that that can be the problem because the user that I login with is the user that is administrator for the site, so he is member of the group web1. Even when I log in as the root user I have the same problem. Or any other user. They all have the same problem.

Any other suggestions maybe?
Eduard
Reply With Quote
  #8  
Old 21st December 2005, 01:10
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

I think the problem is that the ISPConfig Apache runs as user and group admispconfig, and therefore the Apache doesn't have the permissions to show the files.
Can you try to chmod at least some of the files to 664 and see if the files get displayed then?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #9  
Old 21st December 2005, 18:31
eduard eduard is offline
Junior Member
 
Join Date: Dec 2005
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Falko,

thanks for the suggestion. I checked a couple things and changed the permissions on all the files I showed earlier so they are legible to the world:

total 100
drwxrwxr-x 10 uucp web1 4096 Dec 20 11:54 .
drwxr-xr-x 9 uucp web1 4096 Dec 21 08:36 ..
-rw-rw-r-- 1 uucp web1 46 Dec 16 21:07 clear.gif
drwxrwxr-x 2 root web1 4096 Dec 16 21:59 error
drwxrwxr-x 9 uucp web1 4096 Dec 20 14:24 fileadmin
-rw-rw-r-- 1 uucp web1 4957 Dec 16 21:07 _.htaccess
-rw-r--r-- 1 uucp web1 0 Dec 20 11:06 .htaccess
lrwxrwxrwx 1 root root 18 Dec 16 21:07 index.php -> tslib/index_ts.php
-rw-rw-r-- 1 uucp web1 5127 Dec 20 12:53 INSTALL.txt
lrwxrwxrwx 1 root root 11 Dec 16 21:07 media -> tslib/media
-rw-rw-r-- 1 uucp web1 618 Dec 16 22:51 Package.txt
-rw-rw-r-- 1 root web1 21 Dec 20 11:54 phpinfo.php
drwxr-xr-x 3 admin web1 4096 Dec 18 21:57 rbtest
-rw-rw-r-- 1 uucp web1 8118 Dec 21 07:21 README.txt
-rw-rw-r-- 1 uucp web1 1248 Dec 16 21:07 RELEASE_NOTES.txt
lrwxrwxrwx 1 root root 17 Dec 16 21:07 showpic.php -> tslib/showpic.php
drwxr-xr-x 2 uucp web1 4096 Dec 17 04:00 stats
lrwxrwxrwx 1 root root 15 Dec 16 21:07 t3lib -> typo3_src/t3lib
-rw-rw-r-- 1 uucp web1 41 Dec 20 11:05 test.php
lrwxrwxrwx 1 root root 15 Dec 16 21:07 tslib -> typo3_src/tslib
lrwxrwxrwx 1 root root 15 Dec 16 21:07 typo3 -> typo3_src/typo3
drwxrwxr-x 3 uucp web1 4096 Dec 20 21:51 typo3conf
lrwxrwxrwx 1 root root 16 Dec 16 21:07 typo3_src -> typo3_src-3.8.1/
drwxrwxr-x 5 uucp web1 4096 Dec 20 12:02 typo3_src-3.8.1
drwxrwxr-x 7 uucp web1 12288 Dec 20 21:46 typo3temp
drwxrwxr-x 9 uucp web1 12288 Dec 20 21:46 uploads

The admispconfig user is also a member of the web1 group:
web1:x:10001:admispconfig,apache,admin,rbtest.nl_a dmin

I restarted both the ftp server and the web server but still no file listing in web-ftp.
Reply With Quote
  #10  
Old 21st December 2005, 19:18
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
 
Default

Do you see any warnings/errors in the ftp log (I think it's /var/log/xferlog)?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
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 On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Empty mails after update to 2.0.7 maxx Installation/Configuration 12 28th March 2008 14:14
ISPConfig Folders Link Problem sodapop General 3 10th January 2006 12:28
[error] mDPRLD is empty, not checked domino Installation/Configuration 0 20th October 2005 21:03
LDAP and Shared Folders? nformosa General 1 12th September 2005 15:04
Empty messages jysse Installation/Configuration 5 15th August 2005 09:33


All times are GMT +2. The time now is 05:42.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.