osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[jira] [Commented] (BROOKLYN-590) squid fails on CentOS 7 on Vexxhost: openssl broken?


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

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

I managed to fix this manually on the machine by running {{sudo yum update openssl}}, which did:
{noformat}
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: centos.mirror.vexxhost.com
 * epel: fedora-epel.mirror.iweb.com
 * extras: centos.mirror.vexxhost.com
 * updates: centos.mirror.vexxhost.com
Resolving Dependencies
--> Running transaction check
---> Package openssl.x86_64 1:1.0.1e-51.el7_2.5 will be updated
---> Package openssl.x86_64 1:1.0.2k-12.el7 will be an update
--> Processing Dependency: openssl-libs(x86-64) = 1:1.0.2k-12.el7 for package: 1:openssl-1.0.2k-12.el7.x86_64
--> Processing Dependency: libcrypto.so.10(OPENSSL_1.0.2)(64bit) for package: 1:openssl-1.0.2k-12.el7.x86_64
--> Running transaction check
---> Package openssl-libs.x86_64 1:1.0.1e-51.el7_2.5 will be updated
---> Package openssl-libs.x86_64 1:1.0.2k-12.el7 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================================================================================================================================================================================================================================
 Package                                                                  Arch                                                               Version                                                                     Repository                                                        Size
================================================================================================================================================================================================================================================================================================
Updating:
 openssl                                                                  x86_64                                                             1:1.0.2k-12.el7                                                             base                                                             492 k
Updating for dependencies:
 openssl-libs                                                             x86_64                                                             1:1.0.2k-12.el7                                                             base                                                             1.2 M

Transaction Summary
================================================================================================================================================================================================================================================================================================
Upgrade  1 Package (+1 Dependent package)

Total download size: 1.7 M
Is this ok [y/d/N]: y
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
(1/2): openssl-libs-1.0.2k-12.el7.x86_64.rpm                                                                                                                                                                                                                             | 1.2 MB  00:00:00     
(2/2): openssl-1.0.2k-12.el7.x86_64.rpm                                                                                                                                                                                                                                  | 492 kB  00:00:00     
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                                                                                                           2.9 MB/s | 1.7 MB  00:00:00     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Updating   : 1:openssl-libs-1.0.2k-12.el7.x86_64                                                                                                                                                                                                                                          1/4 
  Updating   : 1:openssl-1.0.2k-12.el7.x86_64                                                                                                                                                                                                                                               2/4 
  Cleanup    : 1:openssl-1.0.1e-51.el7_2.5.x86_64                                                                                                                                                                                                                                           3/4 
  Cleanup    : 1:openssl-libs-1.0.1e-51.el7_2.5.x86_64                                                                                                                                                                                                                                      4/4 
  Verifying  : 1:openssl-1.0.2k-12.el7.x86_64                                                                                                                                                                                                                                               1/4 
  Verifying  : 1:openssl-libs-1.0.2k-12.el7.x86_64                                                                                                                                                                                                                                          2/4 
  Verifying  : 1:openssl-libs-1.0.1e-51.el7_2.5.x86_64                                                                                                                                                                                                                                      3/4 
  Verifying  : 1:openssl-1.0.1e-51.el7_2.5.x86_64                                                                                                                                                                                                                                           4/4 

Updated:
  openssl.x86_64 1:1.0.2k-12.el7                                                                                                                                                                                                                                                                

Dependency Updated:
  openssl-libs.x86_64 1:1.0.2k-12.el7                                                                                                                                                                                                                                                           

Complete!
{noformat}

I then started squid by running {{sudo service squid start}}, and confirmed it had worked with {{sudo service squid status}}:
{noformat}
Redirecting to /bin/systemctl status  squid.service
squid.service - Squid caching proxy
   Loaded: loaded (/usr/lib/systemd/system/squid.service; enabled; vendor preset: disabled)
   Active: active (running) since Fri 2018-05-25 10:45:01 UTC; 5s ago
  Process: 21159 ExecStart=/usr/sbin/squid $SQUID_OPTS -f $SQUID_CONF (code=exited, status=0/SUCCESS)
  Process: 21154 ExecStartPre=/usr/libexec/squid/cache_swap.sh (code=exited, status=0/SUCCESS)
 Main PID: 21162 (squid)
   CGroup: /system.slice/squid.service
           ├─21162 /usr/sbin/squid -f /etc/squid/squid.conf
           ├─21164 (squid-1) -f /etc/squid/squid.conf
           └─21165 (logfile-daemon) /var/log/squid/access.log

May 25 10:45:01 qa-squid-prox-phl7h6obdq-248 systemd[1]: Starting Squid caching proxy...
May 25 10:45:01 qa-squid-prox-phl7h6obdq-248 systemd[1]: Started Squid caching proxy.
May 25 10:45:01 qa-squid-prox-phl7h6obdq-248 squid[21162]: Squid Parent: will start 1 kids
May 25 10:45:01 qa-squid-prox-phl7h6obdq-248 squid[21162]: Squid Parent: (squid-1) process 21164 started
{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
>    Affects Versions: 0.12.0
>            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)