Content Gateway command line commands do not execute

Command line commands do not execute if:

  • The content_manager process is not running.

    Confirm that the content_manager process is running by entering the following command:

    ps aux | grep content_manager

    or, from the /opt/WCG directory:

    ./WCGAdmin status

    If the content_manager process is not running, to start it enter the following command from the Content Gateway bin directory (/opt/WCG/bin):

    ./content_manager

    Important:

    If you must stop Content Gateway use:

    ./WCGAdmin stop

    To start Content Gateway use:

    ./WCGAdmin start

    To restart Content Gateway use:

    ./WCGAdmin restart

  • You are not executing the command from $WCGHome/bin.

    If the Content Gateway bin directory is not in your path, make your working directory /opt/WCG/bin and prepend each command with ‘./’

    For example:

    ./content_line -h