#1  
Old 8th August 2011, 15:24
msp msp is offline
Member
 
Join Date: Aug 2011
Posts: 37
Thanks: 2
Thanked 2 Times in 2 Posts
Default FTP-Server: Offline

Hi all

After grappling with this problem for many hours I thought I'd better ask for some help...

I installed ISPConfig3 from this howto, then retraced my steps using the more popular "Perfect Server Debian Squeeze with Bind and Courier ISPConfig3" guide, updating and reinstalling packages where necessary.

I removed the default FTP server (proftpd) which appeared to be installed somehow, but not running, installed pure-ftpd, and then updated ISPConfig to recognise my pure-ftpd installation, which it didn't before, but now does.

At least, it shows up as a listed service under the monitor tab now, however it shows as "Offline".

I watched the console during updating my ISPConfig installation and it did appear to start it with the following command:

/usr/sbin/pure-ftpd-mysql-virtualchroot -l mysql:/etc/pure-ftpd/db/mysql.conf -l pam -D -b -u 1000 -Y 1 -O clf:/var/log/pure-ftpd/transfer.log -E -A -8 UTF-8 -H -B

However if I run netstat, the process isn't listening on any port.

(I can start it manually by running "pure-ftpd-mysql &", and it shows up in netstat. It just doesn't appear to be invoked by ISPConfig.)

I've read a bunch of existing threads on the subject, but couldn't find my answer.

Where do I start trying to troubleshoot this?

Last edited by msp; 8th August 2011 at 15:28.
Reply With Quote
Sponsored Links
  #2  
Old 8th August 2011, 20:26
CSsab CSsab is offline
Senior Member
 
Join Date: Apr 2010
Posts: 174
Thanks: 19
Thanked 32 Times in 27 Posts
Default

Perhaps edit /etc/default/saslauthd

and change autostart to "yes"

# Should saslauthd run automatically on startup? (default: no)
START=yes


Hope it works for you.
Reply With Quote
  #3  
Old 8th August 2011, 20:35
msp msp is offline
Member
 
Join Date: Aug 2011
Posts: 37
Thanks: 2
Thanked 2 Times in 2 Posts
Default

Hi

Thanks - I checked the autostart option and it was set to YES already ...

Any other ideas?
Reply With Quote
  #4  
Old 8th August 2011, 20:50
CSsab CSsab is offline
Senior Member
 
Join Date: Apr 2010
Posts: 174
Thanks: 19
Thanked 32 Times in 27 Posts
Default

In the monitor ---> "show system log" part of the dashboard can you see pure-ftpd running every 5 minutes something like this?

....... xftp pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127.0.0.1
....... xftp pure-ftpd: (?@127.0.0.1) [INFO] Logout.
....... xftp pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127.0.0.1
....... xftp pure-ftpd: (?@127.0.0.1) [INFO] Logout.


Are there any errors in the system log?
Reply With Quote
The Following User Says Thank You to CSsab For This Useful Post:
ajanesstivaovay7707 (24th September 2013)
  #5  
Old 8th August 2011, 20:57
msp msp is offline
Member
 
Join Date: Aug 2011
Posts: 37
Thanks: 2
Thanked 2 Times in 2 Posts
Default

Um, I appear to have nothing in the log section, see attached image...

Is there an equivalent log file I can look at not through the web interface?


Untitled-1 by hazymat, on Flickr
Reply With Quote
  #6  
Old 8th August 2011, 21:13
CSsab CSsab is offline
Senior Member
 
Join Date: Apr 2010
Posts: 174
Thanks: 19
Thanked 32 Times in 27 Posts
Default

Cool screenshot.

What is happening in the "logfiles" section down the bottom there -- especially the "system log" output?
Reply With Quote
  #7  
Old 8th August 2011, 21:27
CSsab CSsab is offline
Senior Member
 
Join Date: Apr 2010
Posts: 174
Thanks: 19
Thanked 32 Times in 27 Posts
Default

Quote:
Originally Posted by msp View Post
Is there an equivalent log file I can look at not through the web interface?
The equivalent log file is /var/log/messages
Reply With Quote
  #8  
Old 8th August 2011, 22:21
msp msp is offline
Member
 
Join Date: Aug 2011
Posts: 37
Thanks: 2
Thanked 2 Times in 2 Posts
Default

Not much appears to be happening in the log files. Last messages were from a number of hours ago since I rebooted.

To be honest I don't entirely know what I'm looking at, so I'll post a bunch of lines from the messages file below, but there's nothing pertaining to FTP, or any obvious errors.

Code:
Aug  8 14:41:00 hogarth kernel: Detected 2261.000 MHz processor.
Aug  8 14:41:00 hogarth kernel: Calibrating delay loop (skipped), value calculated using timer frequency.. 4522.00 BogoMIPS (lpj=2261000)
Aug  8 14:41:00 hogarth kernel: pid_max: default: 32768 minimum: 301
Aug  8 14:41:00 hogarth kernel: Security Framework initialized
Aug  8 14:41:00 hogarth kernel: Mount-cache hash table entries: 512
Aug  8 14:41:00 hogarth kernel: CPU: Unsupported number of siblings 16
Aug  8 14:41:00 hogarth kernel: SMP alternatives: switching to UP code
Aug  8 14:41:00 hogarth kernel: cpu 0 spinlock event irq 17
Aug  8 14:41:00 hogarth kernel: Performance Events: unsupported p6 CPU model 26 no PMU driver, software events only.
Aug  8 14:41:00 hogarth kernel: installing Xen timer for CPU 1
Aug  8 14:41:00 hogarth kernel: cpu 1 spinlock event irq 23
Aug  8 14:41:00 hogarth kernel: SMP alternatives: switching to SMP code
Aug  8 14:41:00 hogarth kernel: Initializing CPU#1
Aug  8 14:41:00 hogarth kernel: CPU: Unsupported number of siblings 16
Aug  8 14:41:00 hogarth kernel: installing Xen timer for CPU 2
Aug  8 14:41:00 hogarth kernel: cpu 2 spinlock event irq 29
Aug  8 14:41:00 hogarth kernel: Initializing CPU#2
Aug  8 14:41:00 hogarth kernel: CPU: Unsupported number of siblings 16
Aug  8 14:41:00 hogarth kernel: installing Xen timer for CPU 3
Aug  8 14:41:00 hogarth kernel: cpu 3 spinlock event irq 35
Aug  8 14:41:00 hogarth kernel: Initializing CPU#3
Aug  8 14:41:00 hogarth kernel: CPU: Unsupported number of siblings 16
Aug  8 14:41:00 hogarth kernel: Brought up 4 CPUs
Aug  8 14:41:00 hogarth kernel: devtmpfs: initialized
Aug  8 14:41:00 hogarth kernel: xor: automatically using best checksumming function: pIII_sse
Aug  8 14:41:00 hogarth kernel:   pIII_sse  : 40416.000 MB/sec
Aug  8 14:41:00 hogarth kernel: xor: using function: pIII_sse (40416.000 MB/sec)
Aug  8 14:41:00 hogarth kernel: Grant table initialized
Aug  8 14:41:00 hogarth kernel: NET: Registered protocol family 16
Aug  8 14:41:00 hogarth kernel: bio: create slab <bio-0> at 0
Aug  8 14:41:00 hogarth kernel: raid6: int32x1    769 MB/s
Aug  8 14:41:00 hogarth kernel: raid6: int32x2    812 MB/s
Aug  8 14:41:00 hogarth kernel: raid6: int32x4    507 MB/s
Aug  8 14:41:00 hogarth kernel: raid6: int32x8    445 MB/s
Aug  8 14:41:00 hogarth kernel: raid6: mmxx1     2515 MB/s
Aug  8 14:41:00 hogarth kernel: raid6: mmxx2     6378 MB/s
Aug  8 14:41:00 hogarth kernel: raid6: sse1x1    3488 MB/s
Aug  8 14:41:00 hogarth kernel: raid6: sse1x2    2722 MB/s
Aug  8 14:41:00 hogarth kernel: raid6: sse2x1    6511 MB/s
Aug  8 14:41:00 hogarth kernel: raid6: sse2x2    5878 MB/s
Aug  8 14:41:00 hogarth kernel: raid6: using algorithm sse2x1 (6511 MB/s)
Aug  8 14:41:00 hogarth kernel: xen/balloon: Initialising balloon driver.
Aug  8 14:41:00 hogarth kernel: last_pfn = 0x20800 max_arch_pfn = 0x1000000
Aug  8 14:41:00 hogarth kernel: Switching to clocksource xen
Aug  8 14:41:00 hogarth kernel: Switched to NOHz mode on CPU #2
Aug  8 14:41:00 hogarth kernel: Switched to NOHz mode on CPU #1
Aug  8 14:41:00 hogarth kernel: Switched to NOHz mode on CPU #0
Aug  8 14:41:00 hogarth kernel: Switched to NOHz mode on CPU #3
Aug  8 14:41:00 hogarth kernel: NET: Registered protocol family 2
Aug  8 14:41:00 hogarth kernel: IP route cache hash table entries: 8192 (order: 3, 32768 bytes)
Reply With Quote
  #9  
Old 8th August 2011, 22:39
CSsab CSsab is offline
Senior Member
 
Join Date: Apr 2010
Posts: 174
Thanks: 19
Thanked 32 Times in 27 Posts
Default

When pure-ftpd is running the logins can be seen in that log.

Here is what I would do.

Uninstall ISPConfig 3

To uninstall you follow the same steps as you did when you installed except you run:

php -q uninstall.php (in the same directory)

Remove the ispconfig user from the mysql database.
(You can do this in phpmyadmin easily)

Reboot your server

Reinstall ISPConfig 3

If these problems persist then there is something wrong with your setup.
Reply With Quote
  #10  
Old 9th August 2011, 11:25
msp msp is offline
Member
 
Join Date: Aug 2011
Posts: 37
Thanks: 2
Thanked 2 Times in 2 Posts
 
Default

Tried that last night and it seemed to break even more things!

Will post back once I've got it under control... right now London appears to be rioting around me...
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
ISPConfig3 mail doesn't work Marr General 6 1st September 2010 09:32
amavis & ispconfig 3 yalex2000 Installation/Configuration 20 18th February 2010 17:02
ISPConfig3 Mail Warn Errors reason8 General 3 25th November 2009 13:58
FTP cannot open remote folder!?! andysm849 Server Operation 23 16th October 2008 23:34
Troubleshooting FTP bswinnerton Installation/Configuration 4 10th October 2008 19:34


All times are GMT +2. The time now is 04:08.


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