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 13th May 2009, 21:16
frehovl frehovl is offline
Junior Member
 
Join Date: May 2009
Location: Oslo, Norway
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default Problems pure-ftpd-mysql on Ubuntu 9.0

Hi.

I have installed Ispconfig 3 following this guide.
http://www.howtoforge.com/perfect-se...04-ispconfig-3

Everything seems to run fine except pure-ftpd.
Ispconfig reports that pure-ftpd is not running.

I try to restart the serivce, and get no error messages.
Code:
user@totally:~$ sudo /etc/init.d/pure-ftpd-mysql restart
Restarting ftp server: Running: /usr/sbin/pure-ftpd-mysql-virtualchroot -l mysql:/etc/pure-ftpd/db/mysql.conf -l pam -u 1000 -E -A -b -O clf:/var/log/pure-ftpd/transfer.log -B
Ispconfig still reports errors on pure-ftpd. To get any errormessages i've have to run "aptitude install".

Code:
user@totally:~$ sudo aptitude install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
The following partially installed packages will be configured:
  pure-ftpd-mysql
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Setting up pure-ftpd-mysql (1.0.21-11.4ubuntu1) ...
Starting ftp server: Running: /usr/sbin/pure-ftpd-mysql -l mysql:/etc/pure-ftpd/                                                                                                                     db/mysql.conf -l pam -u 1000 -E -A -b -O clf:/var/log/pure-ftpd/transfer.log -B
invoke-rc.d: initscript pure-ftpd-mysql, action "start" failed.
dpkg: error processing pure-ftpd-mysql (--configure):
 subprocess post-installation script returned error exit status 252
Errors were encountered while processing:
 pure-ftpd-mysql
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up pure-ftpd-mysql (1.0.21-11.4ubuntu1) ...
Starting ftp server: Running: /usr/sbin/pure-ftpd-mysql -l mysql:/etc/pure-ftpd/                                                                                                                     db/mysql.conf -l pam -u 1000 -E -A -b -O clf:/var/log/pure-ftpd/transfer.log -B
invoke-rc.d: initscript pure-ftpd-mysql, action "start" failed.
dpkg: error processing pure-ftpd-mysql (--configure):
 subprocess post-installation script returned error exit status 252
Errors were encountered while processing:
 pure-ftpd-mysql
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
anyone who knows how i might fix this problem?
Reply With Quote
Sponsored Links
  #2  
Old 14th May 2009, 10:36
frehovl frehovl is offline
Junior Member
 
Join Date: May 2009
Location: Oslo, Norway
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Ubuntu 9.04 that is :P
Reply With Quote
  #3  
Old 14th May 2009, 17:04
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

What's the output of
Code:
netstat -tap
?
__________________
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
  #4  
Old 14th May 2009, 17:59
frehovl frehovl is offline
Junior Member
 
Join Date: May 2009
Location: Oslo, Norway
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

here comes the output.

Code:
root@totally:/home/user# netstat -tap
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 localhost.localdo:10024 *:*                     LISTEN      2611/amavisd (maste
tcp        0      0 localhost.localdo:10025 *:*                     LISTEN      3364/master     
tcp        0      0 *:mysql                 *:*                     LISTEN      2686/mysqld     
tcp        0      0 localhost.localdo:spamd *:*                     LISTEN      2778/spamd.pid  
tcp        0      0 *:http-alt              *:*                     LISTEN      2755/apache2    
tcp        0      0 *:www                   *:*                     LISTEN      2755/apache2    
tcp        0      0 totally.lifelnes:domain *:*                     LISTEN      3291/mydns      
tcp        0      0 localhost.locald:domain *:*                     LISTEN      3291/mydns      
tcp        0      0 *:ssh                   *:*                     LISTEN      2583/sshd       
tcp        0      0 *:smtp                  *:*                     LISTEN      3364/master     
tcp        0      0 *:https                 *:*                     LISTEN      2755/apache2    
tcp        0      0 totally.lifelness:38978 im.bitlbee.org:ircd     ESTABLISHED 20828/irssi     
tcp        0    288 totally.lifelness.n:ssh ti0125a340-1242.b:49437 ESTABLISHED 13045/sshd: user [p
tcp        0      0 totally.lifelness:39674 irc.servercentral.:ircd ESTABLISHED 20828/irssi     
tcp        0      0 totally.lifelness.n:ssh ti0125a340-1242.b:64118 ESTABLISHED 12779/sshd: fredrik
tcp6       0      0 [::]:imaps              [::]:*                  LISTEN      3248/couriertcpd
tcp6       0      0 [::]:pop3s              [::]:*                  LISTEN      3286/couriertcpd
tcp6       0      0 [::]:pop3               [::]:*                  LISTEN      3264/couriertcpd
tcp6       0      0 [::]:imap2              [::]:*                  LISTEN      3226/couriertcpd
tcp6       0      0 localhost:domain        [::]:*                  LISTEN      3291/mydns      
tcp6       0      0 [::]:ssh                [::]:*                  LISTEN      2583/sshd
I also have problems reaching domains i add on port 81.

I'm running the server on a machine hosted at netdirekt.de, it's at fresh ubuntu 8.04 install upgraded to 8.10 and 9.04 with "do-release-upgrade -d". After the upgrade i ran the perfect server how to. Don't know if it matters, but thought i should mention it.
Reply With Quote
  #5  
Old 14th May 2009, 18:23
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,166
Thanks: 829
Thanked 5,412 Times in 4,255 Posts
Default

1) Which exact perfect server howto did you use?
2) ISPconfig 3 does not use port 81, it uses port 8080. You seem to mix this up with ispconfig 2.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #6  
Old 14th May 2009, 19:09
frehovl frehovl is offline
Junior Member
 
Join Date: May 2009
Location: Oslo, Norway
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Ah, that explains why

I just read it in the ispconfig faq that you could reach a admin panel by typing in a customer_domain.com:21

I'm running ispconfig 3 on ubuntu 9.04, by following "The Perfect Server - Ubuntu 9.04 [ISPConfig 3]". See link in first post.
Reply With Quote
  #7  
Old 15th May 2009, 11:58
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Quote:
Originally Posted by frehovl View Post
here comes the output.

Code:
root@totally:/home/user# netstat -tap
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 localhost.localdo:10024 *:*                     LISTEN      2611/amavisd (maste
tcp        0      0 localhost.localdo:10025 *:*                     LISTEN      3364/master     
tcp        0      0 *:mysql                 *:*                     LISTEN      2686/mysqld     
tcp        0      0 localhost.localdo:spamd *:*                     LISTEN      2778/spamd.pid  
tcp        0      0 *:http-alt              *:*                     LISTEN      2755/apache2    
tcp        0      0 *:www                   *:*                     LISTEN      2755/apache2    
tcp        0      0 totally.lifelnes:domain *:*                     LISTEN      3291/mydns      
tcp        0      0 localhost.locald:domain *:*                     LISTEN      3291/mydns      
tcp        0      0 *:ssh                   *:*                     LISTEN      2583/sshd       
tcp        0      0 *:smtp                  *:*                     LISTEN      3364/master     
tcp        0      0 *:https                 *:*                     LISTEN      2755/apache2    
tcp        0      0 totally.lifelness:38978 im.bitlbee.org:ircd     ESTABLISHED 20828/irssi     
tcp        0    288 totally.lifelness.n:ssh ti0125a340-1242.b:49437 ESTABLISHED 13045/sshd: user [p
tcp        0      0 totally.lifelness:39674 irc.servercentral.:ircd ESTABLISHED 20828/irssi     
tcp        0      0 totally.lifelness.n:ssh ti0125a340-1242.b:64118 ESTABLISHED 12779/sshd: fredrik
tcp6       0      0 [::]:imaps              [::]:*                  LISTEN      3248/couriertcpd
tcp6       0      0 [::]:pop3s              [::]:*                  LISTEN      3286/couriertcpd
tcp6       0      0 [::]:pop3               [::]:*                  LISTEN      3264/couriertcpd
tcp6       0      0 [::]:imap2              [::]:*                  LISTEN      3226/couriertcpd
tcp6       0      0 localhost:domain        [::]:*                  LISTEN      3291/mydns      
tcp6       0      0 [::]:ssh                [::]:*                  LISTEN      2583/sshd
I also have problems reaching domains i add on port 81.

I'm running the server on a machine hosted at netdirekt.de, it's at fresh ubuntu 8.04 install upgraded to 8.10 and 9.04 with "do-release-upgrade -d". After the upgrade i ran the perfect server how to. Don't know if it matters, but thought i should mention it.
Pureftpd isn't running. Please try this:

Code:
sudo /etc/init.d/pure-ftpd-mysql stop
sudo /etc/init.d/pure-ftpd-mysql start
__________________
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 15th May 2009, 12:19
frehovl frehovl is offline
Junior Member
 
Join Date: May 2009
Location: Oslo, Norway
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

That's what I don't understand. I don't get any errormessages when I stop/start or restart the service.

Code:
root@totally:/home/user# /etc/init.d/pure-ftpd-mysql stop
Stopping ftp server: pure-ftpd.
root@totally:/home/user# /etc/init.d/pure-ftpd-mysql start
Starting ftp server: Running: /usr/sbin/pure-ftpd-mysql-virtualchroot -l mysql:/etc/pure-ftpd/db/mysql.conf -l pam -u 1000 -E -A -b -O clf:/var/log/pure-ftpd/transfer.log -B
root@totally:/home/user# /etc/init.d/pure-ftpd-mysql restart
Restarting ftp server: Running: /usr/sbin/pure-ftpd-mysql-virtualchroot -l mysql:/etc/pure-ftpd/db/mysql.conf -l pam -u 1000 -E -A -b -O clf:/var/log/pure-ftpd/transfer.log -B
root@totally:/home/user#
New netstat output after stop/start.

Code:
root@totally:/home/user# netstat -tap
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 localhost.localdo:10024 *:*                     LISTEN      2611/amavisd (maste
tcp        0      0 localhost.localdo:10025 *:*                     LISTEN      3364/master
tcp        0      0 *:mysql                 *:*                     LISTEN      2686/mysqld
tcp        0      0 localhost.localdo:spamd *:*                     LISTEN      2778/spamd.pid
tcp        0      0 *:http-alt              *:*                     LISTEN      2755/apache2
tcp        0      0 *:www                   *:*                     LISTEN      2755/apache2
tcp        0      0 totally.lifelnes:domain *:*                     LISTEN      3291/mydns
tcp        0      0 localhost.locald:domain *:*                     LISTEN      3291/mydns
tcp        0      0 *:ssh                   *:*                     LISTEN      2583/sshd
tcp        0      0 *:smtp                  *:*                     LISTEN      3364/master
tcp        0      0 *:https                 *:*                     LISTEN      2755/apache2
tcp        0      0 localhost.localdo:mysql localhost.localdo:58790 ESTABLISHED 2686/mysqld
tcp        0      0 totally.lifelness:38978 im.bitlbee.org:ircd     ESTABLISHED 20828/irssi
tcp        0    300 totally.lifelness.n:ssh 83.163.121.148.in-:4467 ESTABLISHED 21126/sshd: user [p
tcp        0      0 localhost.localdo:41215 localhost.localdoma:www TIME_WAIT   -
tcp        0      0 localhost.localdo:58790 localhost.localdo:mysql ESTABLISHED 2708/amavisd (ch6-a
tcp        0      0 totally.lifelness.n:ssh 83.163.121.148.in-:1631 ESTABLISHED 2826/sshd: fredrik
tcp        0      0 totally.lifelness:39674 irc.servercentral.:ircd ESTABLISHED 20828/irssi
tcp6       0      0 [::]:imaps              [::]:*                  LISTEN      3248/couriertcpd
tcp6       0      0 [::]:pop3s              [::]:*                  LISTEN      3286/couriertcpd
tcp6       0      0 [::]:pop3               [::]:*                  LISTEN      3264/couriertcpd
tcp6       0      0 [::]:imap2              [::]:*                  LISTEN      3226/couriertcpd
tcp6       0      0 localhost:domain        [::]:*                  LISTEN      3291/mydns
tcp6       0      0 [::]:ssh                [::]:*                  LISTEN      2583/sshd
tcp6       0      0 localhost:34290         localhost:domain        TIME_WAIT   -

The only place I get an error is when I try to run aptitude an update the "broken" package.

Code:
root@totally:/home/user# aptitude install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
The following partially installed packages will be configured:
  pure-ftpd-mysql
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Setting up pure-ftpd-mysql (1.0.21-11.4ubuntu1) ...
Starting ftp server: Running: /usr/sbin/pure-ftpd-mysql-virtualchroot -l mysql:/etc/pure-ftpd/db/mysql.conf -l pam -u 1000 -E -A -b -O clf:/var/log/pure-ftpd/transfer.log -B
invoke-rc.d: initscript pure-ftpd-mysql, action "start" failed.
dpkg: error processing pure-ftpd-mysql (--configure):
 subprocess post-installation script returned error exit status 252
Errors were encountered while processing:
 pure-ftpd-mysql
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up pure-ftpd-mysql (1.0.21-11.4ubuntu1) ...
Starting ftp server: Running: /usr/sbin/pure-ftpd-mysql-virtualchroot -l mysql:/etc/pure-ftpd/db/mysql.conf -l pam -u 1000 -E -A -b -O clf:/var/log/pure-ftpd/transfer.log -B
invoke-rc.d: initscript pure-ftpd-mysql, action "start" failed.
dpkg: error processing pure-ftpd-mysql (--configure):
 subprocess post-installation script returned error exit status 252
Errors were encountered while processing:
 pure-ftpd-mysql
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Reply With Quote
  #9  
Old 15th May 2009, 12:43
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Does
Code:
/usr/sbin/pure-ftpd-mysql-virtualchroot -l mysql:/etc/pure-ftpd/db/mysql.conf -l pam -u 1000 -E -A -b -O clf:/var/log/pure-ftpd/transfer.log -B
show any errors?
__________________
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
  #10  
Old 15th May 2009, 13:09
frehovl frehovl is offline
Junior Member
 
Join Date: May 2009
Location: Oslo, Norway
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Nope

No errors at all.

Code:
root@totally:/home/user# /usr/sbin/pure-ftpd-mysql-virtualchroot -l mysql:/etc/pure-ftpd/db/mysql.conf -l pam -u 1000 -E -A -b -O clf:/var/log/pure-ftpd/transfer.log -B
root@totally:/home/user#
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
Unbale to login to Postfix from webmail wasimriz HOWTO-Related Questions 5 6th April 2009 13:49
Management/system config/settings & /server/settings not working!! dactor Installation/Configuration 9 6th February 2008 09:11
Configuring MySql on Ubuntu inside VM Pzzldmom Suggest HOWTO 7 13th December 2007 20:46
My first server.. mysql. problems /w Ubuntu Lamp Server mwburris Installation/Configuration 2 20th March 2007 04:28
Having Problems loging into Mysql Database Ubuntu 6.06 Perfect Setup badgerbox76 Installation/Configuration 2 21st June 2006 23:00


All times are GMT +2. The time now is 07:57.


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