[Linux-cluster] Re: Four partitions mounted for one server -- samba fails

Andreso andreseso at gmail.com
Fri Sep 23 11:10:21 UTC 2005


I have looked at the /var/log/cluster and here I will reproduce all
the messages.  I have set the log level on all the cluster daemons to
INFO

In effect it is a samba issue

Sep 23 12:53:46 hercules clusvcmgrd: [16076]: <warning> service warning: share_s
tart_stop: Samba configuration file /etc/samba/smb.conf.not found does not exist
.
Sep 23 12:53:46 hercules clusvcmgrd: [16076]: <err> service error: share_start_s
top: nmbd for service httpd died!
Sep 23 12:53:46 hercules clusvcmgrd: [16076]: <err> service error: /usr/lib/clum
anager/services/service: line 220: [: status: integer expression expected
Sep 23 12:53:46 hercules clusvcmgrd: [16076]: <err> service error: grep: found:
No such file or directory
Sep 23 12:53:46 hercules clusvcmgrd: [16076]: <err> service error: Check status
failed on Samba for httpd
Sep 23 12:53:46 hercules clusvcmgrd[16075]: <warning> Restarting locally failed
service httpd
Sep 23 12:53:46 hercules clusvcmgrd: [16228]: <notice> service notice: Stopping
service httpd ...
Sep 23 12:53:46 hercules clusvcmgrd: [16228]: <notice> service notice: Running u
ser script '/etc/init.d/apache2 stop'
Sep 23 12:53:46 hercules clusvcmgrd: [16228]: <info> service info: Stopping IP a
ddress 10.64.34.141
Sep 23 12:53:46 hercules clusvcmgrd: [16228]: <warning> service warning: share_s
tart_stop: Samba configuration file /etc/samba/smb.conf.not found does not exist
.
Sep 23 12:53:47 hercules last message repeated 2 times
Sep 23 12:53:47 hercules clusvcmgrd: [16228]: <info> service info: /usr/lib/clum
anager/services/service: line 220: [: stop: integer expression expected
Sep 23 12:53:47 hercules clusvcmgrd: [16228]: <info> service info: grep: found:
No such file or directory
Sep 23 12:53:47 hercules clusvcmgrd: [16228]: <info> service info: /usr/lib/clum
anager/services/service: line 220: [: stop: integer expression expected
Sep 23 12:53:47 hercules clusvcmgrd: [16228]: <info> service info: grep: found:
No such file or directory
Sep 23 12:53:47 hercules clusvcmgrd: [16228]: <info> service info: /usr/lib/clum
anager/services/service: line 220: [: stop: integer expression expected
Sep 23 12:53:47 hercules clusvcmgrd: [16228]: <info> service info: grep: found:
No such file or directory
Sep 23 12:53:47 hercules clusvcmgrd: [16228]: <info> service info: grep: found:
No such file or directory
Sep 23 12:53:47 hercules clusvcmgrd: [16228]: <info> service info: unmounting /d
ev/sdb7 (/usr/local/htdocs)
Sep 23 12:53:47 hercules clusvcmgrd: [16228]: <info> service info: unmounting /d
ev/sdb9 (/plantillas)
Sep 23 12:53:47 hercules clusvcmgrd: [16228]: <info> service info: unmounting /d
ev/sdb10 (/etse)
Sep 23 12:53:47 hercules clusvcmgrd: [16228]: <info> service info: unmounting /d
ev/sdc1 (/backup)
Sep 23 12:53:47 hercules clusvcmgrd: [16228]: <notice> service notice: Stopped s
ervice httpd ...
Sep 23 12:53:48 hercules clusvcmgrd[16075]: <notice> Starting stopped service ht
tpd
Sep 23 12:53:48 hercules clusvcmgrd: [16727]: <notice> service notice: Starting
service httpd ...
Sep 23 12:53:48 hercules clusvcmgrd: [16727]: <info> service info: Starting IP a
ddress 10.64.34.141
Sep 23 12:53:48 hercules clusvcmgrd: [16727]: <info> service info: Sending Gratu
itous arp for 10.64.34.141 (00:11:43:E7:BA:A5)
Sep 23 12:53:49 hercules clusvcmgrd: [16727]: <warning> service warning: share_s
tart_stop: Samba configuration file /etc/samba/smb.conf.not found does not exist
.
Sep 23 12:53:49 hercules last message repeated 2 times
Sep 23 12:53:49 hercules clusvcmgrd: [16727]: <info> service info: /usr/lib/clum
anager/services/service: line 220: [: start: integer expression expected
Sep 23 12:53:49 hercules clusvcmgrd: [16727]: <info> service info: grep: found:
No such file or directory
Sep 23 12:53:49 hercules clusvcmgrd: [16727]: <info> service info: /usr/lib/clum
anager/services/service: line 220: [: start: integer expression expected
Sep 23 12:53:49 hercules clusvcmgrd: [16727]: <info> service info: grep: found:
No such file or directory
Sep 23 12:53:49 hercules clusvcmgrd: [16727]: <info> service info: /usr/lib/clum
anager/services/service: line 220: [: start: integer expression expected
Sep 23 12:53:49 hercules clusvcmgrd: [16727]: <info> service info: grep: found:
No such file or directory
Sep 23 12:53:49 hercules clusvcmgrd: [16727]: <notice> service notice: Running u
ser script '/etc/init.d/apache2 start'


I set up a /etc/samba/smb.conf.not file with just a global section
 [global]
        workgroup = RHCLUSTER
        pid directory = /var/run/samba/not
        lock directory = /var/cache/samba/not
        log file = /var/log/samba/%m.log
        encrypt passwords = yes
        bind interfaces only = yes
        interfaces = 10.64.34.141/255.255.255.0


To the best of my knowledge /etc/samba/smb.conf.not is not documented




More information about the Linux-cluster mailing list