By: Daemien Boyes user 18 Jul 2017 at 2:40 p.m. CDT

2 Responses
Daemien Boyes gravatar
HI Team, is there away to start GluuServer with out apache running so i can either remove the passphase from the SSL cert or add the passphase file to apache config @sso:~$ sudo service gluu-server-3.0.2 status ● gluu-server-3.0.2.service - LSB: This shell script takes care of starting and stopping Loaded: loaded (/etc/init.d/gluu-server-3.0.2; bad; vendor preset: enabled) Active: failed (Result: exit-code) since Wed 2017-07-19 05:02:47 AEST; 35min ago Docs: man:systemd-sysv-generator(8) Process: 2259 ExecStart=/etc/init.d/gluu-server-3.0.2 start (code=exited, status=2) Tasks: 35 Memory: 1.8G CPU: 2.849s CGroup: /system.slice/gluu-server-3.0.2.service ├─1316 su - root -c /etc/init.d/rc 3 ├─1317 /bin/sh /etc/init.d/rc 3 ├─1347 /opt/jre/bin/java -server -Xms256m -XX:MaxMetaspaceSize=970m -XX:+DisableExplicitGC -Dgluu.base=/etc/gluu -Dpython.home=/opt/jython -Dcatalina.base=/opt/gluu/jetty/oxauth -Djetty.logging ├─1383 /usr/sbin/rsyslogd -f /etc/rsyslog.conf -i /var/run/gluu_rsyslogd.pid ├─1389 /bin/sh /etc/rc3.d/S02apache2 start ├─1398 /bin/sh /usr/sbin/apache2ctl start ├─1401 /usr/sbin/apache2 -k start └─1402 /bin/systemd-ask-password --timeout=0 Enter passphrase for SSL/TLS keys for sso.blah.net:443 (RSA): Jul 19 05:02:47 sso.blah.net systemd[1]: Starting LSB: This shell script takes care of starting and stopping... Jul 19 05:02:47 sso.blah.net gluu-server-3.0.2[2259]: ERROR: Can't start gluu server. Jul 19 05:02:47 sso.blah.net gluu-server-3.0.2[2259]: HINT: Please manually remove /var/run/gluu-server-3.0.2.pid and unmount chroot container by running Jul 19 05:02:47 sso.blah.net gluu-server-3.0.2[2259]: rm -f /var/run/gluu-server-3.0.2.pid Jul 19 05:02:47 sso.blah.net gluu-server-3.0.2[2259]: df -aP | grep gluu-server-3.0.2 | awk '{print $6}' | xargs -I {} umount -l {} Jul 19 05:02:47 sso.blah.net systemd[1]: gluu-server-3.0.2.service: Control process exited, code=exited status=2 Jul 19 05:02:47 sso.blah.net systemd[1]: Failed to start LSB: This shell script takes care of starting and stopping. Jul 19 05:02:47 sso.blah.net systemd[1]: gluu-server-3.0.2.service: Unit entered failed state. Jul 19 05:02:47 sso.blah.net systemd[1]: gluu-server-3.0.2.service: Failed with result 'exit-code'.

By Mohib Zico Account Admin 19 Jul 2017 at 4:29 p.m. CDT

Mohib Zico gravatar
Hi Daemien, Exactly not sure if this will work but I would try this: - Generate a self signed cert and key ( remove passphrase while creating this key ) - Put them inside /opt/gluu-server-3.x.x/etc/certs as 'httpd.crt' and 'http.key' - Try to start Gluu server - If it starts and if you can login: - Grab your real key and cert ( remove passphrase from key this time ) - Follow doc on how to install apache cert.

By Daemien Boyes user 19 Jul 2017 at 4:32 p.m. CDT

Daemien Boyes gravatar
Thanks for getting back to Mohib, I spent all night rebuilding the box ;-) i removed the encryption from the key file. so apache startd with out any problems.. Daemien