Open dalehenrich opened 9 years ago
For the record...recently I got this error too and the error description was misleading too. STDERR: startnetldi[Error]: 'roassal_ldi' already exists but is not responding.
was not 100% correct because in my case the ldi DID NOT existed...but did existed and was causing the problem is the lock file of the netldi. Probably some dirty shutdown or whatever killed netldi without removing the lock. So....it took me some time to realize I had to explicitly remove the lock file.
Good point @marianopeck the lock file is the "proof of life" for the netldi ... in fact your observation leads me to believe that I can "avoid thsese errors in the future", because one can use gslist -c
to clean up stale lock files ... I can arrange for this command to at least do that much ... THX!
Sure, good idea about using gslist -c
. However, as far as I remember I had problems with gslist -c
doing nothing, in the sense that it would NOT delete the lock file in question. Don't remember if it was a permission/owner issue or something else (pointing to a wrong folder?). But I do remember having to delete using rm
because gslist -c
would not do it. So..you may want to double check after performing the gslist -c
that the file is indeed deleted (most of the time you have at least read access to the file). If not you can throw a message saying human intervention to delete such file is needed.
good point!
Here's a stack dumpe:
The actual error was
STDERR: startnetldi[Error]: 'roassal_ldi' already exists but is not responding.
so dumping the STDERR output first would be an improvement.Even better would be to include a suggestion as to what steps should be taken ... in this case kill the process associated with 'roassal_ldi' and try again ...