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

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 4th August 2010, 18:48
mixian mixian is offline
Member
 
Join Date: Jun 2010
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
Default Pure-ftpd not start, no error

Hi,
i have installed succesfully ispconfig 3.
I'm very happy.

I see that only ftp service is down and not start.
No error is given, no message in the log.

I have see the post at this link, but the result is the same.

But is valid this tutorial for ispconfig 3 post installation ?

This problem may depend from quota management ?

Depens

I'm on Ec2 Amazon virtual server.

Thanks in advance.

Last edited by mixian; 4th August 2010 at 19:07.
Reply With Quote
Sponsored Links
  #2  
Old 4th August 2010, 21:53
damir damir is offline
Senior Member
 
Join Date: Jun 2006
Posts: 375
Thanks: 11
Thanked 51 Times in 42 Posts
Default

Which perfect guide have you followed?

If it's Debian, than make sure you have in /etc/default/pure-ftpd-common

Code:
STANDALONE_OR_INETD=standalone
VIRTUALCHROOT=true
and uncommented line in /etc/inetd.conf

Code:
ftp    stream  tcp     nowait  root    /usr/sbin/tcpd /usr/sbin/pure-ftpd-wrapper
Reply With Quote
  #3  
Old 5th August 2010, 10:30
mixian mixian is offline
Member
 
Join Date: Jun 2010
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
Default

thanks,
i was sure of my configuration ...i set INETD in the conf file.

But your next advice..."uncommented line in /etc/inetd.conf"
...the line is COMMENTED!???!
Reply With Quote
  #4  
Old 5th August 2010, 10:39
damir damir is offline
Senior Member
 
Join Date: Jun 2006
Posts: 375
Thanks: 11
Thanked 51 Times in 42 Posts
Default

You should comment out the line. Remove the # in front of:

Code:
ftp    stream  tcp     nowait  root    /usr/sbin/tcpd /usr/sbin/pure-ftpd-wrapper
Than restart inetd:

Code:
/etc/init.d/openbsd-inetd restart
and pureftpd

Code:
/etc/init.d/pure-ftpd-mysql stop
Code:
/etc/init.d/pure-ftpd-mysql start
Reply With Quote
  #5  
Old 11th August 2010, 13:36
theflame theflame is offline
Junior Member
 
Join Date: Aug 2010
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I have the same problem but in Ubuntu Server 10.04.
All work but I cannot access to my site through ftp connection.

In file /etc/inetd.conf there is no line with "ftp stream tcp ..."

But I tried it too ((( No result.
Reply With Quote
  #6  
Old 11th August 2010, 13:45
damir damir is offline
Senior Member
 
Join Date: Jun 2006
Posts: 375
Thanks: 11
Thanked 51 Times in 42 Posts
Default

How and when you connect what is the error message?
Reply With Quote
  #7  
Old 11th August 2010, 14:16
theflame theflame is offline
Junior Member
 
Join Date: Aug 2010
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I suppose ftp is working because I can connect to ftp using name of server user. But all login wich create ISPConfig return error "530 Login authentication failed".

netstat -tap | grep ftp
return:
tcp 0 0 *:ftp *:* LISTEN 1655/pure-ftpd (SER
tcp6 0 0 [::]:ftp [::]:* LISTEN 1655/pure-ftpd (SER
tcp6 0 0 localhost:44100 localhost:ftp TIME_WAIT -

During server setup as Internet getaway I use:
sudo iptables -A FORWARD -i eth0 -o eth1 -s 192.168.0.0/24 -m conntrack --ctstate NEW -j ACCEPT
sudo iptables -A FORWARD -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT
sudo iptables -A POSTROUTING -t nat -j MASQUERADE

Using this advice:
http://www.faqforge.com/linux/contro...-debian-linux/
I get:
Aug 11 15:12:58 server pure-ftpd: (?@192.168.0.128) [INFO] New connection from 192.168.0.128
Aug 11 15:13:01 server CRON[2526]: (root) CMD (/usr/local/ispconfig/server/server.sh > /dev/null 2>> /var/log/ispconfig/cron.log)
Aug 11 15:13:04 server pure-ftpd: (?@192.168.0.128) [ERROR] The SQL server seems to be down [Access denied for user 'ispconfig'@'server.el-dom.net.ua' (using password: YES)]
Aug 11 15:13:04 server pure-ftpd: (?@192.168.0.128) [INFO] PAM_RHOST enabled. Getting the peer address
Aug 11 15:13:11 server pure-ftpd: (?@192.168.0.128) [WARNING] Authentication failed for user [eldom]
Aug 11 15:13:13 server pure-ftpd: (?@192.168.0.128) [INFO] Logout.
Aug 11 15:13:15 server pure-ftpd: (?@192.168.0.128) [INFO] New connection from 192.168.0.128
Aug 11 15:13:21 server postfix/anvil[2503]: statistics: max connection rate 1/60s for (smtp:188.231.191.148) at Aug 11 15:10:01
Aug 11 15:13:21 server postfix/anvil[2503]: statistics: max connection count 1 for (smtp:188.231.191.148) at Aug 11 15:10:01
Aug 11 15:13:21 server postfix/anvil[2503]: statistics: max cache size 1 at Aug 11 15:10:01
Aug 11 15:13:22 server pure-ftpd: (?@192.168.0.128) [ERROR] The SQL server seems to be down [Access denied for user 'ispconfig'@'server.el-dom.net.ua' (using password: YES)]
Aug 11 15:13:22 server pure-ftpd: (?@192.168.0.128) [INFO] PAM_RHOST enabled. Getting the peer address
Aug 11 15:13:29 server pure-ftpd: (?@192.168.0.128) [WARNING] Authentication failed for user [eldomftp]
Aug 11 15:13:32 server pure-ftpd: (?@192.168.0.128) [INFO] Logout.

What can I do?
Reply With Quote
  #8  
Old 11th August 2010, 15:15
theflame theflame is offline
Junior Member
 
Join Date: Aug 2010
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Default

How can I change 'ispconfig'@'server.el-dom.net.ua' to 'ispconfig'@'localhost'?
Where can I edit it?


P.S. Sorry for my poor linux )
Reply With Quote
  #9  
Old 11th August 2010, 15:24
damir damir is offline
Senior Member
 
Join Date: Jun 2006
Posts: 375
Thanks: 11
Thanked 51 Times in 42 Posts
Default

Via Phpmyadmin you can login as root and check out Mysql/users tables. Also check /etc/pure-ftpd/db/mysql.conf
Reply With Quote
  #10  
Old 11th August 2010, 15:59
theflame theflame is offline
Junior Member
 
Join Date: Aug 2010
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

OK. I opened phpmyadmin as root. In DB mysql in table users I was surprise. Fields "host", "user", "password" contain random symbols. Five records in this table look like md5 code. Is it correct? But in dbispconfig/ftp_user I found all users which I had created.

Where should I look for?

This is my /etc/pure-ftpd/db/mysql.conf

MYSQLServer 127.0.0.1
MYSQLUser ispconfig
MYSQLPassword *************
MYSQLDatabase dbispconfig
MYSQLCrypt crypt
MYSQLGetPW SELECT password FROM ftp_user WHERE active = 'y' AND server_id = '1' AND username="\L"
MYSQLGetUID SELECT uid FROM ftp_user WHERE active = 'y' AND server_id = '1' AND username="\L"
MYSQLGetGID SELECT gid FROM ftp_user WHERE active = 'y' AND server_id = '1' AND username="\L"
MYSQLGetDir SELECT dir FROM ftp_user WHERE active = 'y' AND server_id = '1' AND username="\L"
MySQLGetQTAFS SELECT quota_files FROM ftp_user WHERE active = 'y' AND server_id = '1' AND quota_files != '-1' AND username="\L"
MySQLGetQTASZ SELECT quota_size FROM ftp_user WHERE active = 'y' AND server_id = '1' AND quota_size != '-1' AND username="\L"
MySQLGetRatioUL SELECT ul_ratio FROM ftp_user WHERE active = 'y' AND server_id = '1' AND ul_ratio != '-1' AND username="\L"
MySQLGetRatioDL SELECT dl_ratio FROM ftp_user WHERE active = 'y' AND server_id = '1' AND dl_ratio != '-1' AND username="\L"
MySQLGetBandwidthUL SELECT ul_bandwidth FROM ftp_user WHERE active = 'y' AND server_id = '1' AND ul_bandwidth != '-1' AND username="\L"
MySQLGetBandwidthDL SELECT dl_bandwidth FROM ftp_user WHERE active = 'y' AND server_id = '1' AND dl_bandwidth != '-1' AND username="\L"
MySQLTransactions On

As I see all right. Or not?

Maybe should I change "MYSQLServer 127.0.0.1" on "MYSQLServer localhost"?

Last edited by theflame; 11th August 2010 at 16:18.
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
dns server error Hellbound General 7 2nd August 2007 09:18
log files cruz Technical 3 15th May 2007 14:35
ADSL PCI Modems alexillsley Server Operation 5 9th May 2007 19:32
installing Perl module GD - ran into problems Ovidiu Installation/Configuration 6 19th September 2006 09:32
Install stop at uuwish, UUDeview SeaWolf Installation/Configuration 6 4th October 2005 23:53


All times are GMT +2. The time now is 06:31.


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