Search the Knowledgebase |
Browse by Category |
|
|
|
|
|
| TestTrack Server Does Not Start at Boot Time on Linux or Solaris |
Last Updated 31st of July, 2008
|
|
Thank you for rating this answer.
|
Problem
The TestTrack Server does not start at boot time on some Linux and Solaris distributions even if the start at boot option is selected during installation.
Cause
The TestTrack Server application is not registered in the Services Manager or cannot access the required libraries.
Solution
Use the following steps to modify your Linux or Solaris distribution.
Solaris 10
Register the TestTrack Server application in the Services Manager.
- Create a symbolic link in /lib/svc/method to the init script in /etc/init.d.
- Import ttstudio.xml into the Services Manager. Enter the following on the command line:
/usr/sbin/svccfg import /var/svc/manifest/application/ttstudio.xml
- Enable the TestTrack Server at boot by entering the following on the command line:
/usr/sbin/sbcadm enable ttstudio.xml.
SuSE
Register the TestTrack Server application in the Services Manager.
- Open the ttstudio init script for editing.
- Add the init info comment tag after the process and config tags.
- Set the following parameters in the init info comment tag:
Provides: Server executable name. Copy from the process tag.
Required-Start: Listing of dependencies. The TestTrack Server does not require any dependencies, but you can add one.
Default-Start: TestTrack Server start runlevel. 2 3 5 is recommended.
Default-Stop: TestTrack Server stop runlevel. 0 6 is recommended.
Short-Description: Short file description. For example, Seapine TestTrack Server.
Description: Long file description. For example, Seapine TestTrack Server init file.
Following is an example of a complete init info comment tag:
### BEGIN INIT INFO # Provides: ttserver # Required-Start: # Default-Start: 2 3 5 # Default-Stop: 0 6 # Short-Description: Seapine TestTrack Server # Description: Seapine TestTrack Server init file ### END INIT INFO
- Register the service by entering the following:
/usr/lib/lsb/install_initd /etc/init.d/ttstudio.
See How To Create RPMs and Init Scripts That Are Compatible On Both SUSE Linux and Red Hat Linux on Novell's Web site for more information.
SE Linux
SE Linux can interfere with the server startup. Do one of the following:
Modify the /etc/selinux/config file to disable SE Linux. Set SELINUX=disabled.
-or-
Add all shared Seapine libraries in /usr/lib/seapine to the texrel_shlib_t context by entering chcon –Rt texrel_shlib_t /usr/lib/seapine/*.so*
|
| Attachments |
|
No attachments were found.
|