Hi @jariza,
Below I am ging to provide the output of using ctlscript.sh for stopping and starting the services. I first stopped all and the started again.
Stop
Syntax OK
/opt/bitnami/apache2/scripts/ctl.sh : httpd stopped
Using CATALINA_BASE: /opt/bitnami/apache-tomcat
Using CATALINA_HOME: /opt/bitnami/apache-tomcat
Using CATALINA_TMPDIR: /opt/bitnami/apache-tomcat/temp
Using JRE_HOME: /opt/bitnami/java
Using CLASSPATH: /opt/bitnami/apache-tomcat/bin/bootstrap.jar:/opt/bitnami /apache-tomcat/bin/tomcat-juli.jar
Using CATALINA_PID: /opt/bitnami/apache-tomcat/temp/catalina.pid
Tomcat did not stop in time.
To aid diagnostics a thread dump has been written to standard out.
Killing Tomcat with the PID: 1266
The Tomcat process has been killed.
/opt/bitnami/apache-tomcat/scripts/ctl.sh : tomcat stopped
/opt/bitnami/mysql/scripts/ctl.sh : mysql stopped
Start
160411 09:26:33 mysqld_safe Logging to '/opt/bitnami/mysql/data/mysqld.log'.
160411 09:26:33 mysqld_safe Starting mysqld.bin daemon with databases from /opt/bitnami/mysql/data
/opt/bitnami/mysql/scripts/ctl.sh : mysql started at port 3306
Using CATALINA_BASE: /opt/bitnami/apache-tomcat
Using CATALINA_HOME: /opt/bitnami/apache-tomcat
Using CATALINA_TMPDIR: /opt/bitnami/apache-tomcat/temp
Using JRE_HOME: /opt/bitnami/java
Using CLASSPATH: /opt/bitnami/apache-tomcat/bin/bootstrap.jar:/opt/bitnami/apache-tomcat/bin/tomcat-juli.jar
Using CATALINA_PID: /opt/bitnami/apache-tomcat/temp/catalina.pid
Tomcat started.
/opt/bitnami/apache-tomcat/scripts/ctl.sh : tomcat started
Syntax OK
/opt/bitnami/apache2/scripts/ctl.sh : httpd started at port 80
As you can see it doesn't look like OpenOffice is started, or at least doesn't echo anything.
When I run ps aux | greg soffice.bin
I recieve:
username 4221 0.0 0.1 11748 2224 pts/0 S+ 09:18 0:00 grep --color=auto soffice.bin
When I run sudo netstat -punta | grep soffice.bin
I do not receive any output.
I renamed libreoffice_ctl.sh to ctl.sh and the tried stopping openoffice just to check. It echoed:
/opt/bitnami/libreoffice/scripts/ctl.sh : libreoffice not running
I then tried to start openoffice and it outputs:
/opt/bitnami/libreoffice/scripts/ctl.sh : libreoffice could not be started
I then tried to start as a service with daemon and it did not output anything. Using status as a parameter it output:
libreoffice not running
I confirmed with netstat that it was not listening on any ports. The last thing I tried was to restart the server. Libreoffice still does not start.
Lastly, I tried starting from the command line and received an error:
sudo /opt/bitnami/libreoffice/program/soffice --nologo --headless --nofirststartwizard --accept='socket,host=127.0.0.1,port=8100,tcpNoDelay=1;urp'
/opt/bitnami/libreoffice/program/oosplash: error while loading shared libraries: libXinerama.so.1: cannot open shared object file: No such file or directory
EDIT: In searching for a solution it appears the following package is required:
apt-get install libxinerama1
When I install that I get a new message the
sudo ./soffice --nologo --headless --nofirststartwizard --accept='socket,host=127.0.0.1,port=8100,tcpNoDelay=1;urp;StarOffice.Service'
javaldx: Could not find a Java Runtime Environment!
Warning: failed to read path from javaldx
/opt/bitnami/libreoffice/program/.soffice.bin: error while loading shared libraries: libcups.so.2: cannot open shared object file: No such file or directory
In looking for libcups I found:
32-bit Debian or Ubuntu : apt-get install libcups2
64-bit Debian or Ubuntu : apt-get install libcups2:i386
In reading the package descriptions I am wondering why these are being required when I am running on a server. Is it possibly a bad install of LibreOffice?
I went back and uninstalled libxinerama1 and installed libxinerama1:i386, thinking perhaps I had installed the incorrect one and that then gave the original error of it being missing.
My system is Ubuntu 14.04.4 LTS (GNU/Linux 4.2.0-35-generic x86_64) running on an Intel Core2 Duo.
Any suggestions on how to get LibreOffice running?
Regards,
Ron