针对你提出的“connection to localhost:5432 refused. check that the hostname and port are correct and that the postmaster is accepting tcp/ip connections”问题,可以按照以下步骤进行排查和解决: 检查本地主机名和端口号是否正确: 确保你在连接数据库时使用的hostname是localhost(如果你在本地机器上运行客户...
$ check_postgres_locks --warning=100--critical="total=200:exclusive=20"POSTGRES_LOCKS OK: DB"postgres"total=1|time=0.00s peiybdb.total=0;100;200postgres.total=1;100;200template1.total=0;100;200trade.total=0;100;200$ check_postgres_txn_idle --port=5432--warning='+50'--critical='5 f...
You can use the df command on Linux and Unix operating systems to acquire a thorough report on the system’s disk space consumption.
For example, HTTP runs on port 80 by default, serving up websites, and when you SSH to a computer, you’re probably connecting on port 22, which is the default for the SSH service. The port tells the computer what process you’re trying to reach. A service can be set to respond on...
Step 1 — Installing Checkmk on Ubuntu In order to use our monitoring site, we first must install Checkmk on the Ubuntu server. This will give us all the tools we need. Checkmk provides official ready-to-use Ubuntu package files that we can use to install the software bundle. ...
msg "Connection type (auto-detected): PostgreSQL ($HOST:$PGPORT)" fi export HOST fi dbg "CHECK_HOST_CMD: '${CHECK_HOST_CMD}'" dbg "HOST: '${HOST}'" dbg "_PSQL: '${_PSQL}'" dbg "_PSQL_NO_TIMEOUT: '${_PSQL_NO_TIMEOUT}'" ...
{DB_DATA_LOCATION}:/var/lib/postgresql/datahealthcheck:test:>-pg_isready --dbname="$${POSTGRES_DB}" --username="$${POSTGRES_USER}" || exit 1;Chksum="$$(psql --dbname="$${POSTGRES_DB}" --username="$${POSTGRES_USER}" --tuples-only --no-align--command='SELECT COALESCE(SUM(...
HI, I just install CVAT in Ubuntu 18.04LTS. All installations and configurations did without any error. But when I load the CVAT site it's getting the error "Could not check authorization on the server. Open the Browser Console to get de...
Database:pgsql PostgreSQL 10.12 (Ubuntu 10.12-0ubuntu0.18.04.1) on x86_64-pc-linux-gnu, compiled by gcc (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0, 64-bit PHP version: 7.2.24-0ubuntu0.18.04.2 Modules loaded: Core, date, libxml, openssl, pcre, zlib, filter, hash, Reflection, SPL, sod...
Step 5:Checking Postgresql DB and user ... OK:Postgresql version and default port are OK. gvmd | _gvm | UTF8 | en_US.UTF-8 | en_US.UTF-8 | OK:At least one user exists. Step 6:Checking Greenbone Security Assistant (GSA) ... ...