Error on pbm status

Hi All,

I am getting below error when trying to get the status of pbm.

Error: parse command line parameters: expected command but got “status”

[mongod@xxxxxx ~]$pbm version
Version: 1.3.4
Platform: linux/amd64
GitCommit: 2789dbc4973d52e0c4ee3963cbe70222f192b463
GitBranch: release-1.3.4
BuildTime: 2020-11-17_15:43_UTC
GoVersion: go1.14.2
[mongod@xxxxx ~]$ps aux|grep pbm-agen[t]
mongod 28835 0.2 0.0 1625168 18788 pts/0 Sl 13:55 0:08 pbm-agent --mongodb-uri mongodb://pbmuser:pbmuser@xxxxxx:27019/?authSource=admin&replicaSet=configReplSet
mongod 28851 0.2 0.0 1551692 19144 pts/0 Sl 13:55 0:07 pbm-agent --mongodb-uri mongodb://pbmuser:pbmuser@xxxxxxx:27018/?authSource=admin&replicaSet=shard1ReplSet
[mongod@xxxxxx ~]$pbm status
Error: parse command line parameters: expected command but got “status”
[mongod@pmgo-pl205 ~]$pbm logs
Error: parse command line parameters: expected command but got “logs”

1 Like

Hello, you seem to be using an older version of pbm that doesn’t have the status or logs commands. These were introduced more recently. Please update to 1.8.

1 Like

Hi @ [igroene],

My server is Oracle Linux 6.9. Seems latest version for this supported OS is 1.3.4 not higher versions.
Upgrading OS is not possible at this time.

Is there anyway to achieve apart from upgrading OS. Kindly advise.

$cat /etc/os-release
NAME=“Oracle Linux Server”
VERSION=“6.9”
ID=“ol”
VERSION_ID=“6.9”
PRETTY_NAME=“Oracle Linux Server 6.9”
ANSI_COLOR=“0;31”
CPE_NAME=“cpe:/o:oracle:linux:6:9:server”
HOME_URL=“https://linux.oracle.com/
BUG_REPORT_URL=“https://bugzilla.oracle.com/

ORACLE_BUGZILLA_PRODUCT=“Oracle Linux 6”
ORACLE_BUGZILLA_PRODUCT_VERSION=6.9
ORACLE_SUPPORT_PRODUCT=“Oracle Linux”
ORACLE_SUPPORT_PRODUCT_VERSION=6.9

1 Like

Hello, since the OS you have is so old you have 2 options: you can try downloading the Linux-Generic version or compiling yourself from source. I highly suggest upgrading to a newer OS though

1 Like