Quản trị net diễn đàn chia sẻ thông tin các thủ thuật mạng, internet bảo mật thông tin dành cho giới IT VIệt hy vọng là nơi bổ ích cho cộng đồng

Quản trị net diễn đàn chia sẻ thông tin các thủ thuật mạng, internet bảo mật thông tin dành cho giới IT VIệt hy vọng là nơi bổ ích cho cộng đồng (http://quantrinet.com/forum/index.php)
-   9. Xây dựng máy chủ FTP (http://quantrinet.com/forum/forumdisplay.php?f=210)
-   -   Lỗi Ftp (Fatal: error processing configuration file '/etc/proftpd.conf) (http://quantrinet.com/forum/showthread.php?t=4978)

hoctinhoc 18-07-2010 07:25 PM

Lỗi Ftp (Fatal: error processing configuration file '/etc/proftpd.conf)
 
Thông tin về lỗi

Khi bạn đã cài đặt và cấu hình đúng toàn bộ cho Proftp rồi nhưng khi truy cập vào thì lại không được

bạn có thể xem lổi ở:

# cat /var/log/messages


Trích dẫn:


rs00033 xinetd[2591]: START: ftp pid=9367 from=115.75.84.70
rs00033 proftpd[9367]: warning: unable to determine IP address of rs00033.dinodata.vn'
rs00033 proftpd[9367]: error: no valid servers configured
rs00033 proftpd[9367]: Fatal: error processing configuration file '/etc/proftpd.conf'


Nguyên nhân:


Do file ban chưa đặt tên máy trong file: /etc/hosts


[root@rs00033 log]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6


Cách Fix lỗi trên:

Bạn chỉ cần mở file /etc/hosts --> thêm vào IP và tên máy tương ứng của Server như hình bên dưới:

#vi /etc/hosts

Mã:


[root@rs00033 log]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1              localhost.localdomain localhost
::1            localhost6.localdomain6 localhost6

118.70.223.37  rs00033.dinodata.vn    rs00033

Chúc bạn thành công!

:battay:


Bây giờ là 12:49 AM. Giờ GMT +7

Diễn đàn tin học QuantriNet
quantrinet.com | quantrimang.co.cc
Founded by Trương Văn Phương | Developed by QuantriNet's members.
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.