Tag Archives: Was unable to create shared memory for log buffer + r1soft

Issue with r1soft backup agent !

Last day, got an issue which prevented a backup node to take the regular backup’s of a server which was already configured and working well.

The error which showed in backup node was :

Remote host unexpectedly closed the connection

Tried to stop the agent service running in the server and the error now obtained showed : “Connection refused

This meant that there was connections going through initially between the backup node and the concerned server, but somehow connection wasn’t getting established. Made sure the ports are opened and are listening in the server.

A quick grep on /var/log/messages showed the following :

Date hostname buagent: Was unable to create shared memory for log buffer

On checking the /etc/buagent/agent_config file, could see the CacheDir variable was set to : /var/cache/buagent

On trying to cd into the directory, was facing the error, ‘lots of symbolic links created’ and this error was preventing to enter in.

Removed the symlinks which is really not needed , re-created the folder/var/cache/buagent and attempted a backup task, bingo ! All good !!