Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #11  
Old 7th August 2007, 18:59
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
Default

What's in /etc/hosts?
__________________
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
Sponsored Links
  #12  
Old 8th August 2007, 01:36
geekman geekman is offline
Member
 
Join Date: Sep 2006
Location: Sydney, Australia
Posts: 56
Thanks: 1
Thanked 10 Times in 10 Posts
Send a message via ICQ to geekman Send a message via MSN to geekman
Default

Here it is:

Code:
root@trinity:/home# cat /etc/hosts
127.0.0.1       localhost
192.168.1.200   trinity
192.168.1.201   mysql neo

# The following lines are desirable for IPv6 capable hosts
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
Reply With Quote
  #13  
Old 8th August 2007, 13:27
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
Default

Modify it like this:
Code:
127.0.0.1       localhost
192.168.1.200   trinity
192.168.1.201   mysql neo

# The following lines are desirable for IPv6 capable hosts
::1     ip6-localhost ip6-loopback trinity
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
__________________
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
  #14  
Old 8th August 2007, 13:45
geekman geekman is offline
Member
 
Join Date: Sep 2006
Location: Sydney, Australia
Posts: 56
Thanks: 1
Thanked 10 Times in 10 Posts
Send a message via ICQ to geekman Send a message via MSN to geekman
Default

Ok well it starts up much quicker and doesn't give the IPv6 error but it still boots me when I try and connect to the FTP server

Thanks.
Reply With Quote
  #15  
Old 8th August 2007, 13:49
geekman geekman is offline
Member
 
Join Date: Sep 2006
Location: Sydney, Australia
Posts: 56
Thanks: 1
Thanked 10 Times in 10 Posts
Send a message via ICQ to geekman Send a message via MSN to geekman
Default

I read somehwere about using virtualhosts like apache virtualhosts I guess, but with proftpd where you can set things per user. Do you know anything about these or think it may help? And...I didn't want to give up on this challenge but it has to be one of the weirdest problems i've ever faced, could you recommend a similar ftp server that at least matches proftpd in security and ability that is better known to work with mysql on ubuntu?

Thanks.
...Disapointed i'm sort of giving up, but I can't handle much more downtime
Reply With Quote
  #16  
Old 8th August 2007, 13:56
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
Default

Quote:
Originally Posted by geekman
could you recommend a similar ftp server that at least matches proftpd in security and ability that is better known to work with mysql on ubuntu?
I'd use PureFTPd then: http://www.howtoforge.com/debian_etc...pd_mysql_quota

But did you try this guide with ProFTPd? http://www.howtoforge.com/proftpd_my...ng_debian_etch
__________________
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
The Following User Says Thank You to falko For This Useful Post:
dragon (20th July 2008)
  #17  
Old 8th August 2007, 14:06
jasenward jasenward is offline
Junior Member
 
Join Date: Aug 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Red face Pure-FTPD, MySQL "Error 421 Can't connect. Service not available, etc...

I realize that this thread is for ProFTP and I don't mean to start anything by adding to it, but as a complete newbie to Fedora 7 I ran into a similar error message and searched the internet high and low for a solution and didn't find the one I needed (probably because it should be obvious), but since I spent numerous looking for why I was getting error 421 when I logged in I hope that this warning will help others avoid a DOH moment...

When you turn on the feature of Pure-FTP to bind users to the home directory of the mapped FTPDUSER, it will not auto-create a folder outside of the "home" directory nor will it autocreate anything until you actually include the user name in the path of every* virtual user's directory (Oy).

So, if you are new, a bit slow on the uptake or just plain in too big of a hurry to pay attention and you are getting an error 421 stating that the service has stopped and the login failed, check your home directory paths that user name MUST be in there somewhere.
Reply With Quote
  #18  
Old 8th August 2007, 14:09
geekman geekman is offline
Member
 
Join Date: Sep 2006
Location: Sydney, Australia
Posts: 56
Thanks: 1
Thanked 10 Times in 10 Posts
Send a message via ICQ to geekman Send a message via MSN to geekman
Default

I might try this guide, though i've already seen, the guide uses an IPv6 directive which is not supported in what I have installed...which is not an issue but it's obvious things will be different. Do you think it would be reasonably safe/possible to install the etch proftpd-mysql package on my ubuntu 6.10 box?

Thanks.
Reply With Quote
  #19  
Old 8th August 2007, 14:14
geekman geekman is offline
Member
 
Join Date: Sep 2006
Location: Sydney, Australia
Posts: 56
Thanks: 1
Thanked 10 Times in 10 Posts
Send a message via ICQ to geekman Send a message via MSN to geekman
Default

Well I was not aware of this, thankyou, the test user I created was "exampleuser" with the home directory "/home/wwww.example.com", I have changed it to www.exampleuser.com. Though I'm not sure that this could be the issue for I don't get a chance to authenticate at all...I am booted right away, when FileZilla says "Waiting for Welcome Message".

Thanks.
Reply With Quote
  #20  
Old 8th August 2007, 14:49
geekman geekman is offline
Member
 
Join Date: Sep 2006
Location: Sydney, Australia
Posts: 56
Thanks: 1
Thanked 10 Times in 10 Posts
Send a message via ICQ to geekman Send a message via MSN to geekman
 
Default

Hahaha! I can't bloody believe it...the guide said to install libmysqlclient12-dev, following the etch guide Falko supplied I installed libmysqlclient15-dev which had not been installed. After doing this it actually worked! It's real odd that it didn't work with the package supplied in the original guide I guess proftpd needed something the older package didn't have....nice of it to tell me though .

Thanks a bunch everyone, and I think maybe an edit should be made to that guide? Or at the very least a note for ubuntu 6.10 users?

Thanks again.
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
Junk mail and spamassassin... sthompson Installation/Configuration 4 27th December 2006 16:11
SECRUTIY issue with Virtual hosting with Proftpd & Mysql snowfly HOWTO-Related Questions 4 9th July 2006 04:50
Virtual Hosting With Proftpd And MySQL Problems bigredgecko HOWTO-Related Questions 1 7th July 2006 12:56
Problem with Virtual Users And Domains With Postfix, Courier And MySQL Howto fenix Server Operation 4 11th March 2006 02:53
Another Problem: Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP bluegrass Installation/Configuration 24 8th March 2006 01:41


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


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