- This topic has 1 reply, 3 voices, and was last updated 4 years, 7 months ago by .
Viewing 1 reply thread
Viewing 1 reply thread
- You must be logged in to reply to this topic.
Home › Forums › YumaPro User Forum › Internal Server Error 500 for RESTCONF netconf-pro 19.10.7
Hi We are using netconf-pro 19.10.7 binary version on Ubuntu 18.04. Netconf is working but when we configure for restconf we get following error.
—————————————————-
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at support@yumaworks.com to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
Apache/2.4.29 (Ubuntu) Server at localhost Port 80
—————————
we followed this link to conf RESTConf
https://yumaworks.freshdesk.com/support/solutions/articles/1000262234-setting-up-restconf-on-ubuntu-debian
Apache server is up and running.
restconf has correct permission in “ls -al /var/www/yang-api/” dir.
-rwxr-xr-x 1 www-data www-data 59408 May 11 12:49 restconf
We need help to turn on restconf for our project. Thank you in advance.
If you are using apache2 on Ubuntu 18 you will need to start netconfd-pro as root with the fileloc-fhs parameter set to true, e.g:
> sudo netconfd-pro fileloc-fhs=true
What is the –fileloc-fhs parameter and how should it be used?
Alternatively you can set up NGINX on your Ubuntu 18 system and you won’t have to run as root.