Board logo

標題: 學籍系統Ubuntu 10.10升級至11.10所產生的問題 [打印本頁]

作者: david    時間: 2012-3-29 10:01     標題: 學籍系統Ubuntu 10.10升級至11.10所產生的問題

學籍系統Ubuntu 10.10升級至11.10所產生的問題
A.Proftp出現LoadModule: error
error loading module 'mod_vroot.c': Operation not permitted on line 68 of '/etc/proftpd/modules.conf'
LoadModule mod_vroot.c

解決方法執行
1.sudo apt-get install proftpd-mod-vroot
2.sudo /etc/init.d/proftpd restart
3.即可

B.出現Lost networking-內部samba不能動
查看#ifconfig

eth0    inet addr:192.168.2.3
eth0:1 inet addr:163.23.6x.6x
eth0:2 inet addr:163.23.6x.7x

eth0及eth0:1全不見了,只有eth0:2存活
重新啟動 /etc/init.d/networking restart
出現以下訊息
* Running /etc/init.d/networking restart is deprecated because it may not enable again some interfaces
* Reconfiguring network interfaces...                                                                                                       ssh stop/waiting
ssh start/running, process 4201
/etc/network/if-up.d/upstart: 38: cannot create /run/network/ifup.eth0: Directory nonexistent
run-parts: /etc/network/if-up.d/upstart exited with return code 2
net.ipv6.conf.eth0.autoconf = 0
ssh stop/waiting
ssh start/running, process 4251
/etc/network/if-up.d/upstart: 38: cannot create /run/network/ifup.eth0: Directory nonexistent
run-parts: /etc/network/if-up.d/upstart exited with return code 2
RTNETLINK answers: File exists
Failed to bring up eth0:1.
RTNETLINK answers: File exists
Failed to bring up eth0:2.

依 ubuntu 討論群 http://ubuntuforums.org/showthread.php?t=1859643
The network fail issue happened to me after the reboot on a Natty to Oneiric upgrade today.
It seems the move from /var/run to /run did not work during the upgrade process.
I fixed with this:

解決方法
cd /var
mv run _run
ln -s /run .




歡迎光臨 彰縣自由軟體交流論壇 (http://free.jls.idv.tw/) Powered by Discuz! 6.0.0