On Thu, Jul 31, 2008 at 7:24 AM, Schmidt, Florian <[EMAIL PROTECTED]> wrote: > Hi list, > > Samba is part of my linux-ha and drbd setup. > > Because I want to store the config files at a central place, I put them onto > a DRBD-device. > > Problem is: when heartbeat starts it first triggers a monitor operation of > all resources. > Because samba cannot find its config files (they are on the drbd-device, that > is not mounted yet, with a symlink from /etc/samba to /configs/samba) it > returns 4.
Is Samba a part of your HA cluster? If so why do you start your resources in that order? I'd try to make a group of IP, DRBD, Filesystem and Samba resources in which Samba would be the last one to start. >So heartbeat does not know how to handle this and does not start the resource. > > Does anyone have a script that handles this fine or do I have to make the > init-script more lsb-compatible? > > > Regards > Florian > > PS: The startup log and /etc/init.d/smb are attached. > > > > Mit freundlichen Grüßen > > Florian Schmidt > > Centric altro GmbH > GB IT-Services > Mittelbacher Straße 3 > 09224 Chemnitz > Germany > > Phone +49 371 88 17016 > Fax +49 371 88 17460 > [EMAIL PROTECTED] > www.centric-it.de > > Geschäftsführung: Thomas Vallbracht-Theßeling, Gerard Sanderink ~ Sitz der > Gesellschaft: Oberhausen > Registergericht: Duisburg HRB 17807 ~ Steuer-Nr.: 124/5704/1303 ~ > USt.-Id.-Nr.: DE246840541 > > ------------------------------------- > The information included in this message is personal and/or confidential and > intended > exclusively for the addressees as stated. This message and/or the > accompanying documents > may contain confidential information and should be handled accordingly. If > you are not the > intended reader of this message, we urgently request that you notify Centric > immediately and > that you delete this e-mail and any copies of it from your system and destroy > any printouts > immediately. > It is forbidden to distribute, reproduce, use or disclose the information in > this e-mail to third > parties without obtaining prior permission from Centric. We expressly point > out that there are > risks associated with the use of e-mail. Centric and the companies within the > group shall not > accept any liability whatsoever for damage resulting from the use of e-mail. > Legally binding > obligations can only arise for Centric by means of a written instrument, > signed by an authorized > representative of Centric. > ------------------------------------- > > > _______________________________________________ > Linux-HA mailing list > Linux-HA@lists.linux-ha.org > http://lists.linux-ha.org/mailman/listinfo/linux-ha > See also: http://linux-ha.org/ReportingProblems > -- Serge Dubrouski. _______________________________________________ Linux-HA mailing list Linux-HA@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems