public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] proftpd can't start !
@ 2006-10-19 13:42 Chuanwen Wu
  2006-10-19 13:49 ` Dmitry Gorohov
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Chuanwen Wu @ 2006-10-19 13:42 UTC (permalink / raw
  To: gentoo-user

Hi list!
I can't start my proftpd!

# proftpd
 - IPv6 getaddrinfo 'localhost' error: Name or service not known

then:
# /etc/init.d/proftpd start
 * Starting proftpd ...                                                   [ !! ]

And my /etc/hosts is :
127.0.0.1        localhost  wcw-gentoo

How can i set this problem?
Thanks advanced!


-- 
wcw
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [gentoo-user] proftpd can't start !
  2006-10-19 13:42 [gentoo-user] proftpd can't start ! Chuanwen Wu
@ 2006-10-19 13:49 ` Dmitry Gorohov
  2006-10-20  1:30   ` Chuanwen Wu
  2006-10-19 13:54 ` Erik
  2006-10-19 13:56 ` Dirk Heinrichs
  2 siblings, 1 reply; 12+ messages in thread
From: Dmitry Gorohov @ 2006-10-19 13:49 UTC (permalink / raw
  To: gentoo-user

Chuanwen Wu wrote:
> Hi list!
> I can't start my proftpd!
> 
> # proftpd
> - IPv6 getaddrinfo 'localhost' error: Name or service not known
> 
> then:
> # /etc/init.d/proftpd start
> * Starting proftpd ...                                                  
> [ !! ]
> 
> And my /etc/hosts is :
> 127.0.0.1        localhost  wcw-gentoo
> 
> How can i set this problem?
> Thanks advanced!
> 
> 
Can you post your proftpd.conf here.

-- 
GPG: 2395 DF2C FC5C D041 4811 AA9C B975 6324 B813 740F
Dmitry Gorohov <dchrislee@gmail.com>

--
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [gentoo-user] proftpd can't start !
  2006-10-19 13:42 [gentoo-user] proftpd can't start ! Chuanwen Wu
  2006-10-19 13:49 ` Dmitry Gorohov
@ 2006-10-19 13:54 ` Erik
  2006-10-20  1:43   ` Chuanwen Wu
  2006-10-19 13:56 ` Dirk Heinrichs
  2 siblings, 1 reply; 12+ messages in thread
From: Erik @ 2006-10-19 13:54 UTC (permalink / raw
  To: gentoo-user

Your'e problem is that when you type in:
# proftpd
you've started it before you run the init script.  So when the init
script tries to start it, it fails because there is already a proftpd
started.  The IPV6 error is only a problem if you need IPV6.
Otherwise:
# ps ax | grep proftpd
<number> ?        Ss     0:00 proftpd: (accepting connections)
# kill <number>
# /etc/init.d/proftpd start
# (if you want to start at boot) rc-update add proftpd default

On 10/19/06, Chuanwen Wu <wcw8410@gmail.com> wrote:
> Hi list!
> I can't start my proftpd!
>
> # proftpd
>  - IPv6 getaddrinfo 'localhost' error: Name or service not known
>
> then:
> # /etc/init.d/proftpd start
>  * Starting proftpd ...                                                   [ !! ]
>
> And my /etc/hosts is :
> 127.0.0.1        localhost  wcw-gentoo
>
> How can i set this problem?
> Thanks advanced!
>
>
> --
> wcw
> --
> gentoo-user@gentoo.org mailing list
>
>


-- 
Erik
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [gentoo-user] proftpd can't start !
  2006-10-19 13:42 [gentoo-user] proftpd can't start ! Chuanwen Wu
  2006-10-19 13:49 ` Dmitry Gorohov
  2006-10-19 13:54 ` Erik
@ 2006-10-19 13:56 ` Dirk Heinrichs
  2006-10-19 17:28   ` Mick
  2 siblings, 1 reply; 12+ messages in thread
From: Dirk Heinrichs @ 2006-10-19 13:56 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 751 bytes --]

Am Donnerstag, 19. Oktober 2006 15:42 schrieb ext Chuanwen Wu:

> # proftpd
>  - IPv6 getaddrinfo 'localhost' error: Name or service not known
>
> And my /etc/hosts is :
> 127.0.0.1        localhost  wcw-gentoo

1) This is not an IPV6 address.
2) Maybe not related, but anyway: Don't mess with localhost. Better give 
wcw-gentoo a real address (maybe from the private 192.168.x.x range).

HTH...

	Dirk
-- 
Dirk Heinrichs          | Tel:  +49 (0)162 234 3408
Configuration Manager   | Fax:  +49 (0)211 47068 111
Capgemini Deutschland   | Mail: dirk.heinrichs@capgemini.com
Hambornerstraße 55      | Web:  http://www.capgemini.com
D-40472 Düsseldorf      | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: www.keyserver.net

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [gentoo-user] proftpd can't start !
  2006-10-19 13:56 ` Dirk Heinrichs
@ 2006-10-19 17:28   ` Mick
  2006-10-20  1:40     ` Chuanwen Wu
  0 siblings, 1 reply; 12+ messages in thread
From: Mick @ 2006-10-19 17:28 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 835 bytes --]

On Thursday 19 October 2006 14:56, Dirk Heinrichs wrote:
> Am Donnerstag, 19. Oktober 2006 15:42 schrieb ext Chuanwen Wu:
> > # proftpd
> >  - IPv6 getaddrinfo 'localhost' error: Name or service not known
> >
> > And my /etc/hosts is :
> > 127.0.0.1        localhost  wcw-gentoo
>
> 1) This is not an IPV6 address.
> 2) Maybe not related, but anyway: Don't mess with localhost. Better give
> wcw-gentoo a real address (maybe from the private 192.168.x.x range).

Unless you are using an ISP that supports IPv6, I suggest that you use 
the -ipv6 USE flag.  Also, I have noticed on two machines of mine that unless 
you place localhost at the end of the line in your /etc/hosts, you will 
get "This is wcw-gentoo.(none) (Linux i686 2.6. . . .)" when you login.  Your 
domain will not be recognised.
-- 
Regards,
Mick

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [gentoo-user] proftpd can't start !
  2006-10-19 13:49 ` Dmitry Gorohov
@ 2006-10-20  1:30   ` Chuanwen Wu
  0 siblings, 0 replies; 12+ messages in thread
From: Chuanwen Wu @ 2006-10-20  1:30 UTC (permalink / raw
  To: gentoo-user

2006/10/19, Dmitry Gorohov <dchrislee@gmail.com>:

> Can you post your proftpd.conf here.
my proftpd.conf is just copied from proftpd.conf.sample
>
> --
> GPG: 2395 DF2C FC5C D041 4811 AA9C B975 6324 B813 740F
> Dmitry Gorohov <dchrislee@gmail.com>
>
> --
> --
> gentoo-user@gentoo.org mailing list
>
>


-- 
wcw
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [gentoo-user] proftpd can't start !
  2006-10-19 17:28   ` Mick
@ 2006-10-20  1:40     ` Chuanwen Wu
  0 siblings, 0 replies; 12+ messages in thread
From: Chuanwen Wu @ 2006-10-20  1:40 UTC (permalink / raw
  To: gentoo-user

Now i find that my proftpd actually has start up even the warning(-
IPv6 getaddrinfo 'localhost' error: Name or service not known) is
still here.

Maybe it will be OK after i remerge proftpd with the USE='-ipv6'
I will try it!
-- 
wcw
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [gentoo-user] proftpd can't start !
  2006-10-19 13:54 ` Erik
@ 2006-10-20  1:43   ` Chuanwen Wu
  2006-10-20  7:53     ` Chuanwen Wu
  0 siblings, 1 reply; 12+ messages in thread
From: Chuanwen Wu @ 2006-10-20  1:43 UTC (permalink / raw
  To: gentoo-user

2006/10/19, Erik <mistereastenstream@gmail.com>:
> Your'e problem is that when you type in:
> # proftpd
> you've started it before you run the init script.  So when the init
> script tries to start it, it fails because there is already a proftpd
> started.
Yes.I just thought the first time i type in:
#proftpd
my proftpd didn't start.Now i know that it can start.
> The IPV6 error is only a problem if you need IPV6.
> Otherwise:
> # ps ax | grep proftpd
> <number> ?        Ss     0:00 proftpd: (accepting connections)
> # kill <number>
> # /etc/init.d/proftpd start
> # (if you want to start at boot) rc-update add proftpd default
>
> On 10/19/06, Chuanwen Wu <wcw8410@gmail.com> wrote:
> > Hi list!
> > I can't start my proftpd!
> >
> > # proftpd
> >  - IPv6 getaddrinfo 'localhost' error: Name or service not known
> >
> > then:
> > # /etc/init.d/proftpd start
> >  * Starting proftpd ...                                                   [ !! ]
> >
> > And my /etc/hosts is :
> > 127.0.0.1        localhost  wcw-gentoo
> >
> > How can i set this problem?
> > Thanks advanced!
> >
> >
> > --
> > wcw
> > --
> > gentoo-user@gentoo.org mailing list
> >
> >
>
>
> --
> Erik
> --
> gentoo-user@gentoo.org mailing list
>
>


-- 
wcw
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [gentoo-user] proftpd can't start !
  2006-10-20  1:43   ` Chuanwen Wu
@ 2006-10-20  7:53     ` Chuanwen Wu
  2006-10-20  8:38       ` Neil Bothwick
  0 siblings, 1 reply; 12+ messages in thread
From: Chuanwen Wu @ 2006-10-20  7:53 UTC (permalink / raw
  To: gentoo-user

Errors occur,now!
I remerged proftpd with the USE='-ipv6',then the warning
disappears,but i can't connection my  ftp .
And then i remerged proftpd back again with  the USE='ipv6', but still
can't connect my ftp.
When i use gftp to connect my ftp ,the message is just below:

Looking up 222.20.45.71
Trying 222.20.45.71:21
Connected to 222.20.45.71:21
500 FTP server shut down (going down at Fri Oct 20 10:37:21 2006) --
please try again later
Disconnecting from site 222.20.45.71

How to set this problem now ?I didn't change my proftpd.conf.
> --
> wcw
>


-- 
wcw
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [gentoo-user] proftpd can't start !
  2006-10-20  7:53     ` Chuanwen Wu
@ 2006-10-20  8:38       ` Neil Bothwick
  2006-10-20  8:56         ` Chuanwen Wu
  0 siblings, 1 reply; 12+ messages in thread
From: Neil Bothwick @ 2006-10-20  8:38 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 398 bytes --]

On Fri, 20 Oct 2006 15:53:41 +0800, Chuanwen Wu wrote:

> I remerged proftpd with the USE='-ipv6',then the warning
> disappears,but i can't connection my  ftp .
> And then i remerged proftpd back again with  the USE='ipv6', but still
> can't connect my ftp.

What does the proftpd log file (/var/log/xferlog?) show?


-- 
Neil Bothwick

There is never enough beer, sex or disk space!

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [gentoo-user] proftpd can't start !
  2006-10-20  8:38       ` Neil Bothwick
@ 2006-10-20  8:56         ` Chuanwen Wu
  2006-10-20 15:29           ` Neil Bothwick
  0 siblings, 1 reply; 12+ messages in thread
From: Chuanwen Wu @ 2006-10-20  8:56 UTC (permalink / raw
  To: gentoo-user

2006/10/20, Neil Bothwick <neil@digimed.co.uk>:
> On Fri, 20 Oct 2006 15:53:41 +0800, Chuanwen Wu wrote:

>
> What does the proftpd log file (/var/log/xferlog?) show?
>
$ cat /var/log/xferlog
Fri Oct 20 01:25:49 2006 0 222.20.45.71 249 /home/ftp/mybash b _ o a
mozilla@example.com ftp 1 * c

How to analyse this sentence?
>
> --
> Neil Bothwick
>
> There is never enough beer, sex or disk space!
>
>
>


-- 
wcw
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [gentoo-user] proftpd can't start !
  2006-10-20  8:56         ` Chuanwen Wu
@ 2006-10-20 15:29           ` Neil Bothwick
  0 siblings, 0 replies; 12+ messages in thread
From: Neil Bothwick @ 2006-10-20 15:29 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 510 bytes --]

On Fri, 20 Oct 2006 16:56:40 +0800, Chuanwen Wu wrote:

> > What does the proftpd log file (/var/log/xferlog?) show?
> >  
> $ cat /var/log/xferlog
> Fri Oct 20 01:25:49 2006 0 222.20.45.71 249 /home/ftp/mybash b _ o a
> mozilla@example.com ftp 1 * c
> 
> How to analyse this sentence?

man xferlog explains the syntax. You should also check log file specified
as SystemLog in proftpd.conf.


-- 
Neil Bothwick

It's the year 2000. Where are all the flying cars? I was promised flying
cars!

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2006-10-20 15:36 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-19 13:42 [gentoo-user] proftpd can't start ! Chuanwen Wu
2006-10-19 13:49 ` Dmitry Gorohov
2006-10-20  1:30   ` Chuanwen Wu
2006-10-19 13:54 ` Erik
2006-10-20  1:43   ` Chuanwen Wu
2006-10-20  7:53     ` Chuanwen Wu
2006-10-20  8:38       ` Neil Bothwick
2006-10-20  8:56         ` Chuanwen Wu
2006-10-20 15:29           ` Neil Bothwick
2006-10-19 13:56 ` Dirk Heinrichs
2006-10-19 17:28   ` Mick
2006-10-20  1:40     ` Chuanwen Wu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox