Products | Versions |
---|---|
TIBCO Data Virtualization | All supported versions |
This article helps us to troubleshoot and fix the scenario when accessing TIBCO Data Virtualization fails with the below error in a Web browser:
Example of the error:
http://<TDV_Server_name>:9400/manager/?login=admin&domain=composite
HTTP ERROR: 503
Problem accessing /manager/. Reason:
Service Unavailable
Powered by Jetty://
curl -X PUT -u username:password "http://server:port/rest/v1/session" -k --verbose
Example:/data/TIBCO/TDV_Server_8.4/bin]$curl -X PUT -u admin:password "http://localhost:9400/rest/v1/session" -k --verboseOutput with the error message:
* About to connect() to 10.XXX.XXX.222 port 9400 (#0) * Trying 10.XXX.XXX.222... * Connected to 10.XXX.XXX.222 (10.XXX.XXX.222) port 9400 (#0) * Server auth using Basic with user 'admin' > PUT /rest/v1/session HTTP/1.1 > Authorization: Basic YWRtaW46UHdjUm9ja3MxMjM= > User-Agent: curl/7.29.0 > Host: 10.XXX.XXX.222:9400 > Accept: */* > < HTTP/1.1 503 Service Unavailable < Date: Thu, 22 Jul 2021 17:23:58 GMT < Cache-Control: must-revalidate,no-cache,no-store < Content-Type: text/html; charset=ISO-8859-1 < Content-Length: 303 < <html> <head> <title>Error 503 </title> </head> <body> <h2>HTTP ERROR: 503</h2> <p>Problem accessing /rest/v1/session. Reason: <pre> Service Unavailable</pre></p> <hr /><i><small>Powered by Jetty://</small><
(1) Navigate to [TDV_Install_dir]/apps/server/webapps and execute 'ls -ltr' to check the user and user permissions on all the folders/files included in this directory"
(2) Check if all the folders/files in this directory have the same user that was used to install the TDV in the first place. The error "Service Unavailable" we see, is generally when a few of the folders/files in this directory have a different user than the installed user (and permissions).
(3) Change the user on the folders/files with mismatched permissions to match the user similar to that of the other folders/files in this directory.
For example, the below command will change ownership (both user and group) of all files and directories inside of directory and of the directory itself:
sudo chown -R username:group directory
(4) Additionally, make sure the permissions on these folders/files also look similar to the other folder (i.e., irwxr-xr-x)
For example: sudo chmod -R 755 < .path/your_file>
(5) After making these changes, restart the monitor service and open the web manager once the service comes up.