Tools
Web Help Desk or PostgreSQL does not start because the Linux server disk space is full
This article addresses the issue where Web Help Desk or PostgreSQL does not start because the server disk space is full
First published date
Last published date
Overview
Product section
Cause
- /usr/local/webhelpdesk/pgsql9/Backups
- /usr/local/webhelpdesk/bin/tomcat/logs/catalina.out
- /usr/local/webhelpdesk/installerbackup/
Resolution
1. Log in to the Linux appliance server as root
2. To confirm if the disk space is full, run the command below:
REM - Scripts are provided AS IS without warranty of any kind. SolarWinds further disclaims all warranties including, without limitation, any implied warranties of merchantability or of fitness for a particular purpose. REM - The risk arising out of the use or performance of the scripts and documentation stays with you. REM - In no event shall SolarWinds or anyone else involved in the creation, production, or delivery of the scripts be liable for any damages whatsoever (including, without limitation, damages for loss of business profits, business interruption, loss of business information, or other pecuniary loss) arising out of the use of or inability to use the scripts or documentation. df -h3. Go to the Web Help Desk directory by running the command below:
REM - Scripts are provided AS IS without warranty of any kind. SolarWinds further disclaims all warranties including, without limitation, any implied warranties of merchantability or of fitness for a particular purpose. REM - The risk arising out of the use or performance of the scripts and documentation stays with you. REM - In no event shall SolarWinds or anyone else involved in the creation, production, or delivery of the scripts be liable for any damages whatsoever (including, without limitation, damages for loss of business profits, business interruption, loss of business information, or other pecuniary loss) arising out of the use of or inability to use the scripts or documentation. cd /usr/local/webhelpdesk4. Verify which folder has a large file size by running the command below.
REM - Scripts are provided AS IS without warranty of any kind. SolarWinds further disclaims all warranties including, without limitation, any implied warranties of merchantability or of fitness for a particular purpose. REM - The risk arising out of the use or performance of the scripts and documentation stays with you. REM - In no event shall SolarWinds or anyone else involved in the creation, production, or delivery of the scripts be liable for any damages whatsoever (including, without limitation, damages for loss of business profits, business interruption, loss of business information, or other pecuniary loss) arising out of the use of or inability to use the scripts or documentation. du -sh *Here are the folders to check.
- /usr/local/webhelpdesk/pgsql9/Backups
- /usr/local/webhelpdesk/bin/tomcat/logs/catalina.out
- /usr/local/webhelpdesk/installerbackup/
Once the problem folder or file is identified, follow the steps below.
A. If the result shows that the 'bin' folder is huge, it is highly possible that the catalina.out has grown in size and needs to be deleted. Note that this log file is not used by WHD or for troubleshooting purposes, so it is safe to delete this file.
A.1. Stop Web Help Desk by running the command:
REM - Scripts are provided AS IS without warranty of any kind. SolarWinds further disclaims all warranties including, without limitation, any implied warranties of merchantability or of fitness for a particular purpose. REM - The risk arising out of the use or performance of the scripts and documentation stays with you. REM - In no event shall SolarWinds or anyone else involved in the creation, production, or delivery of the scripts be liable for any damages whatsoever (including, without limitation, damages for loss of business profits, business interruption, loss of business information, or other pecuniary loss) arising out of the use of or inability to use the scripts or documentation. /usr/local/webhelpdesk/whd stop or service webhelpdesk stopA.2. Go to /usr/local/webhelpdesk/bin/tomcat/logs
A.3. Run the command below to delete all the files contained in the folder.
REM - Scripts are provided AS IS without warranty of any kind. SolarWinds further disclaims all warranties including, without limitation, any implied warranties of merchantability or of fitness for a particular purpose. REM - The risk arising out of the use or performance of the scripts and documentation stays with you. REM - In no event shall SolarWinds or anyone else involved in the creation, production, or delivery of the scripts be liable for any damages whatsoever (including, without limitation, damages for loss of business profits, business interruption, loss of business information, or other pecuniary loss) arising out of the use of or inability to use the scripts or documentation. rm -rf * OR rm -rf catalina.outA.4. Start Web Help Desk again by running the command:
REM - Scripts are provided AS IS without warranty of any kind. SolarWinds further disclaims all warranties including, without limitation, any implied warranties of merchantability or of fitness for a particular purpose. REM - The risk arising out of the use or performance of the scripts and documentation stays with you. REM - In no event shall SolarWinds or anyone else involved in the creation, production, or delivery of the scripts be liable for any damages whatsoever (including, without limitation, damages for loss of business profits, business interruption, loss of business information, or other pecuniary loss) arising out of the use of or inability to use the scripts or documentation. /usr/local/webhelpdesk/whd start or service webhelpdesk startA.5. Verify that the server now has enough disk space by running the command: It should show that the main drive has now available disk space.
REM - Scripts are provided AS IS without warranty of any kind. SolarWinds further disclaims all warranties including, without limitation, any implied warranties of merchantability or of fitness for a particular purpose. REM - The risk arising out of the use or performance of the scripts and documentation stays with you. REM - In no event shall SolarWinds or anyone else involved in the creation, production, or delivery of the scripts be liable for any damages whatsoever (including, without limitation, damages for loss of business profits, business interruption, loss of business information, or other pecuniary loss) arising out of the use of or inability to use the scripts or documentation. df -h
B. If the result shows that the 'pgsql' folder is huge, the PostgreSQL database backups need to me deleted or moved to another drive.
B.1. Stop Web Help Desk by running the command:
REM - Scripts are provided AS IS without warranty of any kind. SolarWinds further disclaims all warranties including, without limitation, any implied warranties of merchantability or of fitness for a particular purpose. REM - The risk arising out of the use or performance of the scripts and documentation stays with you. REM - In no event shall SolarWinds or anyone else involved in the creation, production, or delivery of the scripts be liable for any damages whatsoever (including, without limitation, damages for loss of business profits, business interruption, loss of business information, or other pecuniary loss) arising out of the use of or inability to use the scripts or documentation. /usr/local/webhelpdesk/whd stop or service webhelpdesk stopB.2. Go to /usr/local/webhelpdesk/bin/pgsql/Backups
B.3. If there are multiple backup files, delete or move the oldest ones to another folder. Make sure to have a backup of the most recent database backup before deleting them. Run the command below to delete all the files contained in the folder.
REM - Scripts are provided AS IS without warranty of any kind. SolarWinds further disclaims all warranties including, without limitation, any implied warranties of merchantability or of fitness for a particular purpose. REM - The risk arising out of the use or performance of the scripts and documentation stays with you. REM - In no event shall SolarWinds or anyone else involved in the creation, production, or delivery of the scripts be liable for any damages whatsoever (including, without limitation, damages for loss of business profits, business interruption, loss of business information, or other pecuniary loss) arising out of the use of or inability to use the scripts or documentation. rm -rf *B.4. Start Web Help Desk again by running the command:
REM - Scripts are provided AS IS without warranty of any kind. SolarWinds further disclaims all warranties including, without limitation, any implied warranties of merchantability or of fitness for a particular purpose. REM - The risk arising out of the use or performance of the scripts and documentation stays with you. REM - In no event shall SolarWinds or anyone else involved in the creation, production, or delivery of the scripts be liable for any damages whatsoever (including, without limitation, damages for loss of business profits, business interruption, loss of business information, or other pecuniary loss) arising out of the use of or inability to use the scripts or documentation. /usr/local/webhelpdesk/whd start or service webhelpdesk startB.5. Verify that the server now has enough disk space by running the command: It should show that the main drive has now available disk space.
REM - Scripts are provided AS IS without warranty of any kind. SolarWinds further disclaims all warranties including, without limitation, any implied warranties of merchantability or of fitness for a particular purpose. REM - The risk arising out of the use or performance of the scripts and documentation stays with you. REM - In no event shall SolarWinds or anyone else involved in the creation, production, or delivery of the scripts be liable for any damages whatsoever (including, without limitation, damages for loss of business profits, business interruption, loss of business information, or other pecuniary loss) arising out of the use of or inability to use the scripts or documentation. df -hB.5. There is an option to change the database backup directory. To do this, login to the Web Help Desk portal as an administrator. Go to Setu > General > Databases. Look for the 'Backup Folder' field and enter the new path. Save, and then restart the WHD service.
C. If the result shows that the 'installerbackup' folder is huge, delete the PostgreSQL database backups. These backups are automatically created whenever the WHD version is upgraded.
C.1. Stop Web Help Desk by running the command:
REM - Scripts are provided AS IS without warranty of any kind. SolarWinds further disclaims all warranties including, without limitation, any implied warranties of merchantability or of fitness for a particular purpose. REM - The risk arising out of the use or performance of the scripts and documentation stays with you. REM - In no event shall SolarWinds or anyone else involved in the creation, production, or delivery of the scripts be liable for any damages whatsoever (including, without limitation, damages for loss of business profits, business interruption, loss of business information, or other pecuniary loss) arising out of the use of or inability to use the scripts or documentation. /usr/local/webhelpdesk/whd stop or service webhelpdesk stopC.2. Go to /usr/local/webhelpdesk/installerbackup
C.3. Run the command below to delete all the files contained in the folder.
REM - Scripts are provided AS IS without warranty of any kind. SolarWinds further disclaims all warranties including, without limitation, any implied warranties of merchantability or of fitness for a particular purpose. REM - The risk arising out of the use or performance of the scripts and documentation stays with you. REM - In no event shall SolarWinds or anyone else involved in the creation, production, or delivery of the scripts be liable for any damages whatsoever (including, without limitation, damages for loss of business profits, business interruption, loss of business information, or other pecuniary loss) arising out of the use of or inability to use the scripts or documentation. rm -rf *C.4. Start Web Help Desk again by running the command:
REM - Scripts are provided AS IS without warranty of any kind. SolarWinds further disclaims all warranties including, without limitation, any implied warranties of merchantability or of fitness for a particular purpose. REM - The risk arising out of the use or performance of the scripts and documentation stays with you. REM - In no event shall SolarWinds or anyone else involved in the creation, production, or delivery of the scripts be liable for any damages whatsoever (including, without limitation, damages for loss of business profits, business interruption, loss of business information, or other pecuniary loss) arising out of the use of or inability to use the scripts or documentation. /usr/local/webhelpdesk/whd start or service webhelpdesk startC.5. Verify that the server now has enough disk space by running the command: It should show that the main drive has now available disk space.
REM - Scripts are provided AS IS without warranty of any kind. SolarWinds further disclaims all warranties including, without limitation, any implied warranties of merchantability or of fitness for a particular purpose. REM - The risk arising out of the use or performance of the scripts and documentation stays with you. REM - In no event shall SolarWinds or anyone else involved in the creation, production, or delivery of the scripts be liable for any damages whatsoever (including, without limitation, damages for loss of business profits, business interruption, loss of business information, or other pecuniary loss) arising out of the use of or inability to use the scripts or documentation. df -h
Disclaimer:
Scripts are not supported under any SolarWinds support program or service. Scripts are provided AS IS without warranty of any kind. SolarWinds further disclaims all warranties including, without limitation, any implied warranties of merchantability or of fitness for a particular purpose. The risk arising out of the use or performance of the scripts and documentation stays with you. In no event shall SolarWinds or anyone else involved in the creation, production, or delivery of the scripts be liable for any damages whatsoever (including, without limitation, damages for loss of business profits, business interruption, loss of business information, or other pecuniary loss) arising out of the use of or inability to use the scripts or documentation.