I am trying to write an script which will start the Geoserver service on system boot. A good manual is given here. I am on Ubuntu14.04 and using Geoserver-2.6.1.
I have edited the following lines accordingly, in this script.
USER=administratorGEOSERVER_DATA_DIR=/home/$USER/geoserver-2.6.1/data_dirGEOSERVER_HOME=/home/$USER/geoserver-2.6.1JAVA_HOME=/usr/lib/jvm/java-6-sunJAVA_OPTS="-Xms128m -Xmx512m"When I am starting the service using the following command, it's giving an OK status.
administrator@abc:~# sudo service geoserver start* Starting GeoServer daemon geoserver [ OK ]But can't open the manager webpage
http://localhost:8081/geoserver/web/Plus, when I am trying to stop the service, the following Error is coming
administrator@abc:~# sudo service geoserver stop* Stopping GeoServer daemon geoserverNo process in pidfile '/var/run/geoserver.pid' found running; none killed. [ OK ]Where am I wrong?
أكثر...
I have edited the following lines accordingly, in this script.
USER=administratorGEOSERVER_DATA_DIR=/home/$USER/geoserver-2.6.1/data_dirGEOSERVER_HOME=/home/$USER/geoserver-2.6.1JAVA_HOME=/usr/lib/jvm/java-6-sunJAVA_OPTS="-Xms128m -Xmx512m"When I am starting the service using the following command, it's giving an OK status.
administrator@abc:~# sudo service geoserver start* Starting GeoServer daemon geoserver [ OK ]But can't open the manager webpage
http://localhost:8081/geoserver/web/Plus, when I am trying to stop the service, the following Error is coming
administrator@abc:~# sudo service geoserver stop* Stopping GeoServer daemon geoserverNo process in pidfile '/var/run/geoserver.pid' found running; none killed. [ OK ]Where am I wrong?
أكثر...