[DRBD-user] error while starting drbd service

Lars Ellenberg lars.ellenberg at linbit.com
Thu Nov 8 16:16:10 CET 2007

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


On Thu, Nov 08, 2007 at 04:12:43PM +0500, Shams Baqai wrote:
> Dear friends,
> 
> Kindly help me out following is the out of error and also the 
> configuration of drbd.conf. if there is any problem then kindly let me 
> know i will be very grateful to you.
> 
> [root at node1 ~]# service drbd start
> /etc/drbd.conf:12: Parse error: 'dialog-refresh | minor-count | 
> disable-ip-verification' expected,
> '       but got '
> Starting DRBD resources:    /etc/drbd.conf:12: Parse error: 
> 'dialog-refresh | minor-count | disable-ip-verification' expected,
> '       but got '
> [root at node1 ~]#

aparently our config file scanner chokes on '\r'.
please dos2unix your config file...

 # perl -i -pe 's/\r//' drbd.conf 

will do, too.

-- 
: Lars Ellenberg                           http://www.linbit.com :
: DRBD/HA support and consulting             sales at linbit.com :
: LINBIT Information Technologies GmbH      Tel +43-1-8178292-0  :
: Vivenotgasse 48, A-1120 Vienna/Europe     Fax +43-1-8178292-82 :
__
please use the "List-Reply" function of your email client.



More information about the drbd-user mailing list