If the Jive application is not stopped gracefully it may fail to come up. Often times this behavior manifests as an error and you can resolve the issue by deleting or renaming the lock file which is preventing the application from starting.
The error looks like this.
[jive@ulvjivep88:~]$ jive start
Traceback (most recent call last):
File "/app/jive/python/bin/jive", line 9, in <module>
load_entry_point('jive-cli==2.1.8', 'console_scripts', 'jive')()
File "/app/jive/python/lib/python2.7/site-packages/jive_cli/jive.py", line 96, in main
File "/app/jive/python/lib/python2.7/site-packages/platform_cli/cli.py", line 127, in start
File "/app/jive/python/lib/python2.7/site-packages/platform_cli/service.py", line 265, in start
proc = self._get_running_process_if_exists(delete_stale_pidfiles=True)
File "/app/jive/python/lib/python2.7/site-packages/platform_cli/service.py", line 239, in _get_running_process_if_exists
with protected_file_path.ProtectedFilePath(pidfile_name, noop=noop):
File "/app/jive/python/lib/python2.7/site-packages/platform_cli/protected_file_path.py", line 37, in __enter__
platform_cli.protected_file_path.Error: Cannot create lock directory at /app/jive/var/run/webapp.pid.lock.
- Verified for version: Jive 7, 8
Start by reviewing the bolded section of the error, this tells you where the lock file is.
Navigate to /app/jive/var/run and you'll see a file called webapp.pid.lock.
- Rename, delete, or move this file to another location.
- Kill any existing Jive process on web-app.
- Restart both the webapp and httpd.
PID or Process ID is used to indicate to other users and processes that the application is already running. The PID Lock is used to prevent multiple instances of Jive from being launched simultaneously on the same server. Normally the PID Lock is removed automatically when Jive is stopped. If Jive is stopped improperly, the lock file can remain and prevent Jive from being started. When you issue the 'jive start' command it's intentionally checking to see if a PID Lock already exists and if so, don't start. By removing the PID Lock Jive can launch freely and you'll be back in business.