View Single Post
Tuổi 18-07-2010, 07:25 PM   #1
hoctinhoc
Guest
 
Trả Lời: n/a
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!

  Trả lời ngay kèm theo trích dẫn này