CB Response: Upgrade fails with error in cb-pgsql startup log: "could not access directory "/var/cb/data/pgsql": No such file or directory.
book
Article ID: 288249
calendar_today
Updated On:
Products
Carbon Black EDR (formerly Cb Response)
Issue/Introduction
- Cb Response server upgrade fails.
- /tmp is on a small partition (i.e. 1.8 GB free)
- During cluster startup, cb-pgsql fails to start.
- Temporary cb-pgsl folder exists (i.e /var/cb/data/pgsql.93)
- error in cb-pgsql startup log: "could not access directory "/var/cb/data/pgsql": No such file or directory
Environment
- CB Response Server: 6.0.1 and higher
Cause
The partition that /tmp resides on is too small to fit temporary working space for pgsql upgrading.
Resolution
To fix,
- Allow for larger working space by creating a symbolic link for /tmp to a larger partition
- # lsof /tmp <- close any processes with open files in /tmp
- # umount /tmp
- # ln -s /tmp /big/tmp
- Now follow the solution in Article Related Content to re-run the cbupgrade process.
Feedback
thumb_up
Yes
thumb_down
No