samba links file will go after doing patching so we need to follow below lines
svc:/network/samba:default (SMB file server)
State: maintenance since Wed Jul 10 13:17:17 2013
Reason: Start method failed repeatedly, last exited with status 1.
See: http://sun.com/msg/SMF-8000-KS
See: man -M /usr/share/man -s 1m smbd
See: man -M /usr/share/man -s 4 smb.conf
See: /var/svc/log/network-samba:default.log
Impact: This service is not running.
svcs -d svc:/network/samba:default --- check all dependents are all online are not other wise jst bring these services online
and after patching there is a possibility of removing symlinks from /etc/samba file to
Sometimes, /var/samba/log will show you the problem, sometimes it won’t. The issue is that it can’t find the smb.conf file in /etc/samba/. Just check for a simlink in there to the /etc/sfw/smb.conf file. I don’t know why Solaris upgrades remove the symlink. Nor do I know why a fresh install of Solaris has it set up this way to begin with and updates break it. But the fix is pretty simple:
svcadm disable svc:/network/samba:default
svcadm disable svc:/network/wins:default
cd /etc/samba/
ln -s /etc/sfw/smb.conf . create a link file to this directory
svcadm clear svc:/network/samba:default
svcadm clear svc:/network/wins:default
svcadm enable svc:/network/samba:default
svcadm enable svc:/network/wins:default
nlxsl299\:a537069> pwd
/etc/samba
nlxsl299\:a537069>
nlxsl299\:a537069> ls -lrth
total 24
-r--r--r-- 1 root bin 9.4K Oct 26 2011 smb.conf-example
lrwxrwxrwx 1 root root 17 Jul 10 14:13 smb.conf -> /etc/sfw/smb.conf
dr-x------ 2 root bin 512 Jul 10 14:13 private
bash-3.00# ls -lrt /etc/samba/smb.conf
lrwxrwxrwx 1 root root 17 Jul 10 14:13 /etc/samba/smb.conf -> /etc/sfw/smb.conf
bash-3.00#
svc:/network/samba:default (SMB file server)
State: maintenance since Wed Jul 10 13:17:17 2013
Reason: Start method failed repeatedly, last exited with status 1.
See: http://sun.com/msg/SMF-8000-KS
See: man -M /usr/share/man -s 1m smbd
See: man -M /usr/share/man -s 4 smb.conf
See: /var/svc/log/network-samba:default.log
Impact: This service is not running.
svcs -d svc:/network/samba:default --- check all dependents are all online are not other wise jst bring these services online
and after patching there is a possibility of removing symlinks from /etc/samba file to
Sometimes, /var/samba/log will show you the problem, sometimes it won’t. The issue is that it can’t find the smb.conf file in /etc/samba/. Just check for a simlink in there to the /etc/sfw/smb.conf file. I don’t know why Solaris upgrades remove the symlink. Nor do I know why a fresh install of Solaris has it set up this way to begin with and updates break it. But the fix is pretty simple:
svcadm disable svc:/network/samba:default
svcadm disable svc:/network/wins:default
cd /etc/samba/
ln -s /etc/sfw/smb.conf . create a link file to this directory
svcadm clear svc:/network/samba:default
svcadm clear svc:/network/wins:default
svcadm enable svc:/network/samba:default
svcadm enable svc:/network/wins:default
nlxsl299\:a537069> pwd
/etc/samba
nlxsl299\:a537069>
nlxsl299\:a537069> ls -lrth
total 24
-r--r--r-- 1 root bin 9.4K Oct 26 2011 smb.conf-example
lrwxrwxrwx 1 root root 17 Jul 10 14:13 smb.conf -> /etc/sfw/smb.conf
dr-x------ 2 root bin 512 Jul 10 14:13 private
bash-3.00# ls -lrt /etc/samba/smb.conf
lrwxrwxrwx 1 root root 17 Jul 10 14:13 /etc/samba/smb.conf -> /etc/sfw/smb.conf
bash-3.00#
No comments:
Post a Comment