Menu

Permission denied when running dbAdmin.pl

Help
joepr
2014-08-10
2014-08-14
  • joepr

    joepr - 2014-08-10

    Hello everyone, Im upgrading our Enterprise version. However when I try to run the script dbAdmin.pl to update the mysql tables I run into this issue. Im using Centos

    Last login: Sat Aug 9 22:19:29 2014
    $ cd $GTS_HOME
    $ bin/dbAdmin.pl -tables=cak
    -bash: bin/dbAdmin.pl: Permission denied

    The folder owner and group are correctly as you may see below.

    drwxr-xr-x 17 opengts opengts 4096 Jul 3 10:59 GTS_2.5.7-B03

    Any advice will be appreciated.

     
  • tea4two

    tea4two - 2014-08-10

    I suppose you need to set up your db username/password.

    Run bin/checkInstall.sh for a complete error log.

    -Pierluigi

     
  • joepr

    joepr - 2014-08-10

    In case someone had the same issue. The "executable" permission was not assigned to the "$GTS_HOME/bin/dbAdmin.pl"

    Run this and it should solve it.

    cd $GTS_HOME/bin/
    chmod a+x .pl
    chmod a+x
    .sh

    Then run this command to complete the upgrade process on the Mysql Tables.

    cd $GTS_HOME
    bin/dbAdmin.pl -tables=cak

     
  • Petar Milenov

    Petar Milenov - 2014-08-14

    I suppouse u use linux os :) just chmod this dir as

    chmod -R 777 directory/

    :)

     

    Last edit: Petar Milenov 2014-08-14

Log in to post a comment.