- Fatal: unknown configuration directive ‘SQLAuthTypes’
วันนี้จะทำเว็บซ่ะหน่อยดัน FTP ไม่ได้เลยลองเปลี่ยนพาสเวิร์ดดูก็ไม่หายนั่งคิดตั้งนานว่ามันเป็นอะไรเลยเข้าไปดูใน CP เลยรู้ว่า service FTP มัน down ปกติ restart service FTP ก็หายแต่วันนี้มันขึ้น Error อะไรมาก็ไม่รู้ไม่เคยเจอ
root@ns1:# /etc/init.d/proftpd restart* Stopping ftp server proftpd ...done. * Starting ftp server proftpd - warning: the DisplayFirstChdir directive is deprecated and will be removed in a future release. Please use the DisplayChdir directive. - Fatal: unknown configuration directive 'SQLAuthTypes' on line 84 of '/etc/proftpd/proftpd.conf' ...fail!
มันขึ้นมาแบบนี้คืออะไรก็ไม่รู้ทำไงดีหว่าลองดูอีกเครื่องนึงก็ได้ปกติแต่มี error นิดหน่อยแต่มันก็ start ได้
# /etc/init.d/proftpd restart * Stopping ftp server proftpd ...done. * Starting ftp server proftpd - warning: the DisplayFirstChdir directive is deprecated and will be removed in a future release. Please use the DisplayChdir directive. - warning: handling possibly truncated configuration data at line 113 of '/etc/proftpd/proftpd.conf' ...done.
ถามอาจารย์กี้ แกบอกว่ามันไม่รู้จัก ‘SQLAuthTypes’ มันคืออะไรก็ไม่รู้ถาม Google ก็ตอบไม่ได้ตามที่อื่นๆมันก็เถียงกันไปเถียงกันมา นั่งดูบอลไทยไปแก้ config ไปนั่งดู config อีกเครื่องก็เลยเจออะไรแปลกอิอิช่างโชคดีจริงในที่สุดก็ได้แล้วเพิ่ม include ไฟล์นี้เข้าไปในFile: /etc/proftpd/proftpd.conf
Include /etc/proftpd/modules.conf
หลังจากนั้นก็ทำการ restart ftp ซ่ะ FTP ใช้งานได้ปกติแล้วเย้ เพียงเท่านี้ก็เสร็จแล้วครับพี่น้องนั่งทำเว็บต่อดีกว่า



Posted in
Tags:
งง ครับ ไม่รู้เรื่องเลย้้
warning: the DisplayFirstChdir directive is deprecated and will be removed in a future release. Please use the DisplayChdir directive.
เก่งจังครับ