「VxRail:VxRail ManagerのPSQLサービスの開始に失敗しました
概要: VxRail Managerに空き領域がないため、PSQLサービスの開始に失敗します。
この記事は次に適用されます:
この記事は次には適用されません:
この記事は、特定の製品に関連付けられていません。
すべての製品パージョンがこの記事に記載されているわけではありません。
現象
VxRail ManagerでPSQLデータベースにアクセスしようとすると、ログインに失敗し、次のエラーが表示されます。
vxrm:/home/mystic # psql -U postgres mysticmanager
psql: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
サービスのステータスを確認すると、ダウンしていました。
vxrm:/home/mystic # systemctl -l status postgresql
* postgresql.service - PostgreSQL database server
Loaded: loaded (/usr/lib/systemd/system/postgresql.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Thu 2019-05-30 07:27:04 UTC; 21min ago
Process: 1280 ExecStart=/usr/lib/postgresql-init start (code=exited, status=1/FAILURE)
May 30 07:27:03 vxrm systemd[1]: Starting PostgreSQL database server...
May 30 07:27:03 vxrm postgresql-init[1280]: 2019-05-30 07:27:03 GMT [1447]: [1-1] user=,db= FATAL: could not write lock file "postmaster.pid": No space left on device
May 30 07:27:04 vxrm postgresql-init[1280]: pg_ctl: could not start server
May 30 07:27:04 vxrm postgresql-init[1280]: Examine the log output.
May 30 07:27:04 vxrm systemd[1]: postgresql.service: Control process exited, code=exited status=1
May 30 07:27:04 vxrm systemd[1]: Failed to start PostgreSQL database server.
May 30 07:27:04 vxrm systemd[1]: postgresql.service: Unit entered failed state.
May 30 07:27:04 vxrm systemd[1]: postgresql.service: Failed with result 'exit-code'.原因
スペースが残っていなかったため、サービスがダウンしていました。これを確認するには、次のコマンドを実行します。 df -h
vxrm:/home/mystic # df -h
Filesystem Size Used Avail Use% Mounted on
devtmpfs 3.9G 0 3.9G 0% /dev
tmpfs 3.9G 0 3.9G 0% /dev/shm
tmpfs 3.9G 8.8M 3.9G 1% /run
tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup
/dev/sda3 16G 16G 0 100% /
/dev/sda1 124M 35M 84M 30% /boot
/dev/mapper/data_vg-store1 2.0G 3.1M 1.9G 1% /data/store1
/dev/mapper/data_vg-store2 14G 36M 13G 1% /data/store2
tmpfs 799M 0 799M 0% /run/user/493
tmpfs 799M 0 799M 0% /run/user/1000
古いVxRailログ バンドルがキャッシュされていました /tmp/mystic/dcの詳細を確認してください。
解決方法
注意:ファイルを削除する前にVxRail Managerのスナップショットを作成する
- VxRail Managerから古いログ バンドルを削除して領域を解放してください。バンドルは次の場所にあります。
/tmp/mystic/dc - VxRail Manager VMを再起動して、失敗したすべてのサービスを再起動します
対象製品
VxRail, VxRail Appliance Series, VxRail Software文書のプロパティ
文書番号: 000044554
文書の種類: Solution
最終更新: 31 10月 2025
バージョン: 4
質問に対する他のDellユーザーからの回答を見つける
サポート サービス
お使いのデバイスがサポート サービスの対象かどうかを確認してください。