Opened 5 years ago

Closed 5 years ago

#223 closed defect (fixed)

rasmgr writes ill-formatted rasmgr.conf file

Reported by: herziga@… Owned by:
Priority: major Milestone: 8.4
Component: rasmgr Version: 8.3
Keywords: rasmgr.conf Cc:


rasmgr writes ill-formatted rasmgr.conf file. It seems to forget a new line after the first line of the file (see below), which defines the data base host and the associated connect string. Below is what I get on my machine after rasmgr overwrites the file:

# rasmgr config file (v1.1)
# warning: do not edit this file, it may be overwritten by rasmgr!
define dbh rasdaman_host -connect RASBASEdefine srv N1 -host WorkingBee? -type n -port 0x1b5a -dbh rasdaman_host
change srv N1 -countdown 200 -autorestart on -xp --timeout 300
define srv N2 -host WorkingBee? -type n -port 0x1b5b -dbh rasdaman_host
change srv N2 -countdown 200 -autorestart on -xp --timeout 300

This prevents the any servers from being started. Manually editing the file resolves the issue until rasmgr overwrites it again.

Change History (3)

comment:1 Changed 5 years ago by dmisev

Alex, did you come across this issue recently? I've never had this problem.

comment:2 Changed 5 years ago by herziga@…

Hi Dimitar

It's been a while since I noticed it the first time. I had a look and I think it was probably introduced by commit 60f1d6c3de6bbb4fcb4db8295edec6fb714b83c9 from 19/07/2012 regarding There is probably a

ofs << std::endl;

missing at the end of the inserted lines.


comment:3 Changed 5 years ago by dmisev

  • Resolution set to fixed
  • Status changed from new to closed

Yes you're right, changeset:60f1d6c3de6bbb4fcb4db8295edec6fb714b83c9/rasmgr/ Strange how I haven't had issues with this so far. Submitted patch to fix it.

Note: See TracTickets for help on using tickets.