[ 
https://issues.apache.org/jira/browse/BROOKLYN-590?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16490676#comment-16490676
 ] 

Aled Sage commented on BROOKLYN-590:
------------------------------------

Logging into the machine, I saw:

{noformat}
systemctl status squid.service

squid.service - Squid caching proxy
   Loaded: loaded (/usr/lib/systemd/system/squid.service; enabled; vendor 
preset: disabled)
   Active: failed (Result: exit-code) since Fri 2018-05-25 09:46:42 UTC; 48min 
ago
  Process: 9868 ExecStart=/usr/sbin/squid $SQUID_OPTS -f $SQUID_CONF 
(code=exited, status=127)
  Process: 9863 ExecStartPre=/usr/libexec/squid/cache_swap.sh (code=exited, 
status=0/SUCCESS)

May 25 09:46:42 qa-squid-prox-phl7h6obdq-248 systemd[1]: Starting Squid caching 
proxy...
May 25 09:46:42 qa-squid-prox-phl7h6obdq-248 squid[9868]: /usr/sbin/squid: 
relocation error: /usr/sbin/squid: symbol SSL_set_alpn_protos, version 
libssl.so.10 not defined in file libssl.so.10 with link time reference
May 25 09:46:42 qa-squid-prox-phl7h6obdq-248 systemd[1]: squid.service: control 
process exited, code=exited status=127
May 25 09:46:42 qa-squid-prox-phl7h6obdq-248 systemd[1]: Failed to start Squid 
caching proxy.
May 25 09:46:42 qa-squid-prox-phl7h6obdq-248 systemd[1]: Unit squid.service 
entered failed state.
May 25 09:46:42 qa-squid-prox-phl7h6obdq-248 systemd[1]: squid.service failed.
{noformat}

>From /var/log/messages:
{noformat}
May 25 09:46:41 localhost systemd: Stopped Squid caching proxy.
May 25 09:46:42 localhost systemd: Starting Squid caching proxy...
May 25 09:46:42 localhost squid: /usr/sbin/squid: relocation error: 
/usr/sbin/squid: symbol SSL_set_alpn_protos, version libssl.so.10 not defined 
in file libssl.so.10 with link time reference
May 25 09:46:42 localhost systemd: squid.service: control process exited, 
code=exited status=127
May 25 09:46:42 localhost systemd: Failed to start Squid caching proxy.
May 25 09:46:42 localhost systemd: Unit squid.service entered failed state.
May 25 09:46:42 localhost systemd: squid.service failed.
{noformat}

{{sudo journalctl -xe}} shows:
{noformat}
May 25 10:42:19 qa-squid-prox-phl7h6obdq-248 dbus[453]: [system] Activating via 
systemd: service name='org.freedesktop.PolicyKit1' unit='polkit.service'
May 25 10:42:19 qa-squid-prox-phl7h6obdq-248 dbus-daemon[453]: dbus[453]: 
[system] Activating via systemd: service name='org.freedesktop.PolicyKit1' 
unit='polkit.service'
May 25 10:42:19 qa-squid-prox-phl7h6obdq-248 systemd[1]: Starting Authorization 
Manager...
-- Subject: Unit polkit.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit polkit.service has begun starting up.
May 25 10:42:19 qa-squid-prox-phl7h6obdq-248 polkitd[21048]: Started polkitd 
version 0.112
May 25 10:42:19 qa-squid-prox-phl7h6obdq-248 polkitd[21048]: Loading rules from 
directory /etc/polkit-1/rules.d
May 25 10:42:19 qa-squid-prox-phl7h6obdq-248 polkitd[21048]: Loading rules from 
directory /usr/share/polkit-1/rules.d
May 25 10:42:19 qa-squid-prox-phl7h6obdq-248 polkitd[21048]: Finished loading, 
compiling and executing 2 rules
May 25 10:42:19 qa-squid-prox-phl7h6obdq-248 dbus[453]: [system] Successfully 
activated service 'org.freedesktop.PolicyKit1'
May 25 10:42:19 qa-squid-prox-phl7h6obdq-248 dbus-daemon[453]: dbus[453]: 
[system] Successfully activated service 'org.freedesktop.PolicyKit1'
May 25 10:42:19 qa-squid-prox-phl7h6obdq-248 polkitd[21048]: Acquired the name 
org.freedesktop.PolicyKit1 on the system bus
May 25 10:42:19 qa-squid-prox-phl7h6obdq-248 systemd[1]: Started Authorization 
Manager.
-- Subject: Unit polkit.service has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit polkit.service has finished starting up.
-- 
-- The start-up result is done.
May 25 10:42:19 qa-squid-prox-phl7h6obdq-248 polkitd[21048]: Registered 
Authentication Agent for unix-process:21034:342632 (system bus name :1.20 
[/usr/bin/pkttyagent --notify-fd 5 --fallback], object path 
/org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_GB.UTF-8)
May 25 10:42:19 qa-squid-prox-phl7h6obdq-248 systemd[1]: Starting Squid caching 
proxy...
-- Subject: Unit squid.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit squid.service has begun starting up.
May 25 10:42:19 qa-squid-prox-phl7h6obdq-248 squid[21061]: /usr/sbin/squid: 
relocation error: /usr/sbin/squid: symbol SSL_set_alpn_protos, version 
libssl.so.10 not defined in file libssl.so.10 with link time reference
May 25 10:42:19 qa-squid-prox-phl7h6obdq-248 systemd[1]: squid.service: control 
process exited, code=exited status=127
May 25 10:42:19 qa-squid-prox-phl7h6obdq-248 systemd[1]: Failed to start Squid 
caching proxy.
-- Subject: Unit squid.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit squid.service has failed.
-- 
-- The result is failed.
May 25 10:42:19 qa-squid-prox-phl7h6obdq-248 systemd[1]: Unit squid.service 
entered failed state.
May 25 10:42:19 qa-squid-prox-phl7h6obdq-248 systemd[1]: squid.service failed.
May 25 10:42:19 qa-squid-prox-phl7h6obdq-248 polkitd[21048]: Unregistered 
Authentication Agent for unix-process:21034:342632 (system bus name :1.20, 
object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale 
en_GB.UTF-8) (disconnected from bus)
May 25 10:42:28 qa-squid-prox-phl7h6obdq-248 sudo[21064]:      amp : TTY=pts/0 
; PWD=/home/users/amp ; USER=root ; COMMAND=/usr/bin/journalctl -xe
{noformat}

The openssl version is:
{noformat}
openssl

OpenSSL> version
OpenSSL 1.0.1e-fips 11 Feb 2013
{noformat}

> squid fails on CentOS 7 on Vexxhost: openssl broken?
> ----------------------------------------------------
>
>                 Key: BROOKLYN-590
>                 URL: https://issues.apache.org/jira/browse/BROOKLYN-590
>             Project: Brooklyn
>          Issue Type: Bug
>            Reporter: Aled Sage
>            Priority: Major
>
> I tried to deploy the blueprint test at 
> https://github.com/brooklyncentral/brooklyn-squid to Vexxhost, on CentOS 
> 7.2.1511.
> However, the squid service failed to start. The stderr of the ssh command in 
> Brooklyn showed:
> {noformat}
> sudo service squid start
> Redirecting to /bin/systemctl start  squid.service
> Job for squid.service failed because the control process exited with error 
> code. See "systemctl status squid.service" and "journalctl -xe" for details.
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to