PASOE incorrectly reports missing directory

Posted by cverbiest on 20-Oct-2016 08:34

tcman failed with a missing directory error.

$DLC/servers/pasoe/bin/tcman.sh create -f -p 8820 -s 8821 -P 8822 -U proadmin -v oepas
Error locating required directory - instances location: /usr/oe1162/servers/pasoe/conf

The directory is present.

Looking into this I found that tcmanager.sh checks for write permissions instead of existence of the directory.

       if [ ! -w ${_instancesdir} ] ; then
            die ERR_DIRMISS "instances location: ${_instancesdir}"
        fi

I think either the check or the error message is wrong. I couldn"t find a PKB entry for this so I'm sharing it here.

sudo $DLC/servers/pasoe/bin/tcman.sh create -f -p 8820 -s 8821 -P 8822 -U proadmin -v oepas
works

All Replies

Posted by cverbiest on 20-Oct-2016 09:40

should $DLC/servers/pasoe/conf be writable by the user starting oepas ?

I get the same error when I try to start the newly created OEPAS, I don't want to start oepas with root

This thread is closed