Home > 備忘録 > samba に関すること > Samba が自動起動しない( 74 )
下の例はFedora16の場合で、それ以外はコマンドの書式が違います。
[root@server]# service network stop ←network.serviceの停止
[root@server]# chkconfig network off ←network.serviceの自動起動を解除
[root@server]# systemctl restart NetworkManager.service ←NetworkManager.serviceの再起動
[root@server]# systemctl enable NetworkManager.service ←NetworkManager.serviceの自動起動を設定[root@server]# testparm
Load smb config files from /etc/samba/smb.conf
Processing section "[printers]"
Processing section "[public]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions[root@server]# vi /etc/hosts
127.0.0.1 localhost.localdomain localhost
10.1.0.55 leom leom.example.com ← この行が抜けている(IPアドレスはサーバーのアドレスに変更)