If I'm not mistaken the documentation said that we must become the service user for the installation, not root, like this:
[root root]# su - $OPENACS_SERVICE_NAME
[$OPENACS_SERVICE_NAME $OPENACS_SERVICE_NAME]$ cd /var/lib/aolserver
[$OPENACS_SERVICE_NAME aolserver]$ tar xzf /tmp/openacs-5.1.4.tgz
[$OPENACS_SERVICE_NAME aolserver]$ mv openacs-5.1.4 $OPENACS_SERVICE_NAME
[$OPENACS_SERVICE_NAME aolserver]$ chmod -R 775 $OPENACS_SERVICE_NAME
[$OPENACS_SERVICE_NAME aolserver]$ chown -R
$OPENACS_SERVICE_NAME.$OPENACS_SERVICE_NAME $OPENACS_SERVICE_NAME
[$OPENACS_SERVICE_NAME aolserver]$ ls -al
_taken from https://openacs.org/doc/openacs-5-1/openacs.html
..but you said that root account should be used. How could this possible? Should I really use root instead?