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 9th January 2010, 04:40
M10 M10 is offline
Junior Member
 
Join Date: Jan 2010
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default Ispconfig and Proftpd

just followed "perfect server" tutorial. i have suse 11.2. at first, i could create users/sites and i could access their web-ftp accounts. somewhere along the line, proftpd stopped working from my web browser or from a ftp client, but it still worked on web-ftp via ispconfig. i decided to uninstall and re-install proftpd. now i can access ftp via ftp client or web browser, but cannot access client's web-ftp. the only way web-ftp will work is if i login as admin (which is user on system).

i have given users ftp access. where should i start looking?
Reply With Quote
Sponsored Links
  #2  
Old 9th January 2010, 11:39
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,745 Times in 2,578 Posts
Default

Any errors in your logs? Did you switch off AppArmor?
__________________
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
  #3  
Old 10th January 2010, 00:17
M10 M10 is offline
Junior Member
 
Join Date: Jan 2010
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

no errors in proftpd.log, apparmor and firewall are off.

this is what is see in /var/messages/

Jan 8 05:17:45 server proftpd[10111]: server.localhost.com (pool-173-78-17-102.tampfl.fios.verizon.net[173.78.17.102]) - USER admin: Login successful.
Jan 8 05:20:50 server proftpd[10171]: localhost (localhost[127.0.0.1]) - FTP session opened.
Jan 8 05:20:50 server proftpd[10171]: localhost (localhost[127.0.0.1]) - FTP session closed.
Jan 8 05:21:03 server proftpd[10367]: localhost (localhost[127.0.0.1]) - FTP session opened.
Jan 8 05:21:03 server proftpd[10367]: localhost (localhost[127.0.0.1]) - FTP session closed.
Jan 8 05:21:11 server proftpd[10378]: localhost (localhost[127.0.0.1]) - FTP session opened.
Jan 8 05:21:11 server proftpd[10378]: localhost (localhost[127.0.0.1]) - FTP session closed.
Jan 8 05:21:28 server proftpd[10541]: localhost (localhost[127.0.0.1]) - FTP session opened.
Jan 8 05:21:28 server proftpd[10541]: localhost (localhost[127.0.0.1]) - FTP session closed.

why is opening and closing so rapidly?

couple other questions....

i have a couple of things in /var/log:
messages-20100103.bz2
warn-20100103.bz2

i scanned one and there were about a billion "Possible Breakin-In Attempt" warnings on my ssh account.

Can i just delete those?

i'm actually going to implement the "perfect server" setup on a diff computer. this one was just a guinea pig to see how things went. i'm pretty sure i messed up when i was playing with proftpd.conf early on.

also, i just followed the guide for setting up DNS w/ godaddy. i have a couple nameserver domains now pointing back to my computer. but when i type in my other domain name (the one for the site) it brings me to the "IP Shared" page. any ideas? do i have to wait the full 48 hours before looking for problems?

Last edited by M10; 10th January 2010 at 00:27.
Reply With Quote
  #4  
Old 10th January 2010, 17:48
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,745 Times in 2,578 Posts
Default

Quote:
Originally Posted by M10 View Post
no errors in proftpd.log, apparmor and firewall are off.

this is what is see in /var/messages/

Jan 8 05:17:45 server proftpd[10111]: server.localhost.com (pool-173-78-17-102.tampfl.fios.verizon.net[173.78.17.102]) - USER admin: Login successful.
Jan 8 05:20:50 server proftpd[10171]: localhost (localhost[127.0.0.1]) - FTP session opened.
Jan 8 05:20:50 server proftpd[10171]: localhost (localhost[127.0.0.1]) - FTP session closed.
Jan 8 05:21:03 server proftpd[10367]: localhost (localhost[127.0.0.1]) - FTP session opened.
Jan 8 05:21:03 server proftpd[10367]: localhost (localhost[127.0.0.1]) - FTP session closed.
Jan 8 05:21:11 server proftpd[10378]: localhost (localhost[127.0.0.1]) - FTP session opened.
Jan 8 05:21:11 server proftpd[10378]: localhost (localhost[127.0.0.1]) - FTP session closed.
Jan 8 05:21:28 server proftpd[10541]: localhost (localhost[127.0.0.1]) - FTP session opened.
Jan 8 05:21:28 server proftpd[10541]: localhost (localhost[127.0.0.1]) - FTP session closed.

why is opening and closing so rapidly?
This is ISPConfig's monitoring module which is trying to find out if ProFTPd is still running. nothing to worry about.

Quote:
Originally Posted by M10 View Post
also, i just followed the guide for setting up DNS w/ godaddy. i have a couple nameserver domains now pointing back to my computer. but when i type in my other domain name (the one for the site) it brings me to the "IP Shared" page. any ideas? do i have to wait the full 48 hours before looking for problems?
What's the output of
Code:
ifconfig
, and what's in your Vhosts_ispconfig.conf?
__________________
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
  #5  
Old 11th January 2010, 19:30
M10 M10 is offline
Junior Member
 
Join Date: Jan 2010
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

eth0 Link encap:Ethernet HWaddr 00:E0:18:9C:57:23
inet addr:192.168.0.119 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::2e0:18ff:fe9c:5723/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:48640 errors:0 dropped:0 overruns:0 frame:0
TX packets:21839 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:5068103 (4.8 Mb) TX bytes:12984982 (12.3 Mb)
Interrupt:17

eth0:0 Link encap:Ethernet HWaddr 00:E0:18:9C:57:23
inet addr:127.0.0.2 Bcast:127.0.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:17

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1829 errors:0 dropped:0 overruns:0 frame:0
TX packets:1829 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:125608 (122.6 Kb) TX bytes:125608 (122.6 Kb)
__________________________________________________ ____________________

<VirtualHost 192.168.0.119:80>
ServerName localhost
ServerAdmin root@localhost
DocumentRoot /var/www/sharedip
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
RewriteRule .* - [F]
</IfModule>
</VirtualHost>
#
#
######################################
# Vhost: www.mytechdoctor.com:80
######################################
#
#
<VirtualHost 127.0.0.2:80>
ServerName www.mytechdoctor.com:80
ServerAdmin webmaster@mytechdoctor.com
DocumentRoot /srv/www/web25/web
ServerAlias mytechdoctor.com
DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 index.shtml index.cgi index.pl index.jsp Default.htm default.htm
ErrorLog /srv/www/web25/log/error.log
Alias /stats "/srv/www/web25/web/webalizer"
Alias /error/ "/srv/www/web25/web/error/"
ErrorDocument 400 /error/invalidSyntax.html
ErrorDocument 401 /error/authorizationRequired.html
ErrorDocument 403 /error/forbidden.html
ErrorDocument 404 /error/fileNotFound.html
ErrorDocument 405 /error/methodNotAllowed.html
ErrorDocument 500 /error/internalServerError.html
ErrorDocument 503 /error/overloaded.html
AliasMatch ^/~([^/]+)(/(.*))? /srv/www/web25/user/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /srv/www/web25/user/$1/web/$3
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
RewriteRule .* - [F]
</IfModule>
</VirtualHost>
#
#
#
Reply With Quote
  #6  
Old 11th January 2010, 19:32
M10 M10 is offline
Junior Member
 
Join Date: Jan 2010
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

<VirtualHost 192.168.0.119:80>
ServerName localhost
ServerAdmin root@localhost
DocumentRoot /var/www/sharedip
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
RewriteRule .* - [F]
</IfModule>
</VirtualHost>
#
#
######################################
# Vhost: www.mytechdoctor.com:80
######################################
#
#
<VirtualHost 127.0.0.2:80>
ServerName www.mytechdoctor.com:80
ServerAdmin webmaster@mytechdoctor.com
DocumentRoot /srv/www/web25/web
ServerAlias mytechdoctor.com
DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 index.shtml index.cgi index.pl index.jsp Default.htm default.htm
ErrorLog /srv/www/web25/log/error.log
Alias /stats "/srv/www/web25/web/webalizer"
Alias /error/ "/srv/www/web25/web/error/"
ErrorDocument 400 /error/invalidSyntax.html
ErrorDocument 401 /error/authorizationRequired.html
ErrorDocument 403 /error/forbidden.html
ErrorDocument 404 /error/fileNotFound.html
ErrorDocument 405 /error/methodNotAllowed.html
ErrorDocument 500 /error/internalServerError.html
ErrorDocument 503 /error/overloaded.html
AliasMatch ^/~([^/]+)(/(.*))? /srv/www/web25/user/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /srv/www/web25/user/$1/web/$3
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
RewriteRule .* - [F]
</IfModule>
</VirtualHost>
#
#
#
__________________________________________________ ______________

eth0 Link encap:Ethernet HWaddr 00:E0:18:9C:57:23
inet addr:192.168.0.119 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::2e0:18ff:fe9c:5723/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:50484 errors:0 dropped:0 overruns:0 frame:0
TX packets:22714 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:5263536 (5.0 Mb) TX bytes:13366656 (12.7 Mb)
Interrupt:17

eth0:0 Link encap:Ethernet HWaddr 00:E0:18:9C:57:23
inet addr:127.0.0.2 Bcast:127.0.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:17

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1829 errors:0 dropped:0 overruns:0 frame:0
TX packets:1829 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:125608 (122.6 Kb) TX bytes:125608 (122.6 Kb)
Reply With Quote
  #7  
Old 12th January 2010, 15:00
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,745 Times in 2,578 Posts
Default

Quote:
<VirtualHost 127.0.0.2:80>
You are using 127.0.0.2 for your vhosts - you must use 192.168.0.119 instead.
__________________
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
  #8  
Old 12th January 2010, 21:56
M10 M10 is offline
Junior Member
 
Join Date: Jan 2010
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by falko View Post
You are using 127.0.0.2 for your vhosts - you must use 192.168.0.119 instead.
thanks will give it a try
Reply With Quote
  #9  
Old 12th January 2010, 22:01
M10 M10 is offline
Junior Member
 
Join Date: Jan 2010
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Forbidden

You don't have permission to access / on this server.

Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2.2.13 (Linux/SUSE) Server at www.mytechdoctor.com Port 80

now i get this error...any ideas?
Reply With Quote
  #10  
Old 13th January 2010, 14:19
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,745 Times in 2,578 Posts
 
Default

What's in your Vhosts_ispconfig.conf now?
__________________
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
ISPConfig 2 ProFTPD issue Razvan Cioiu Installation/Configuration 5 21st February 2010 12:58
proftpd *deliberately* disabled in ispconfig but still get half-hourly warnings rachel General 4 12th October 2008 17:18
ISPConfig 2.3.2-dev released till General 9 4th June 2007 10:46
Im thinking about throwing proftpd to the trashcan danf.1979 Installation/Configuration 2 23rd December 2005 09:27
ISPConfig ProFTPD changes? ProTrooper Installation/Configuration 3 9th September 2005 18:13


All times are GMT +2. The time now is 13:30.


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