Appreciations accepted

Vladlen Litvinov, the author: If you have some job offer for me, I'm ready to discuss it. View Vladlen Litvinov's profile on LinkedIn


Wednesday, November 2, 2016

SPSS Analytic Server cannot start after updating of IBM BigInsights to 4.2

When I start SPSS Analytic Server 3.0 after updating of IBM BigInsights to 4.2, the server cannot start with this stacktrace:

Traceback (most recent call last):
  File "/var/lib/ambari-agent/cache/stacks/BigInsights/4.2/services/ANALYTICSERVER/package/scripts/", line 57, in <module>
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/", line 219, in execute
  File "/var/lib/ambari-agent/cache/stacks/BigInsights/4.2/services/ANALYTICSERVER/package/scripts/", line 35, in start
  File "/var/lib/ambari-agent/cache/stacks/BigInsights/4.2/services/ANALYTICSERVER/package/scripts/", line 29, in configure
  File "/var/lib/ambari-agent/cache/stacks/BigInsights/4.2/services/ANALYTICSERVER/package/scripts/", line 41, in analytics
    status = port_validation.get_port_status(action = 'http')
  File "/var/lib/ambari-agent/cache/stacks/BigInsights/4.2/services/ANALYTICSERVER/package/scripts/", line 32, in get_port_status
    except socket.error, e:
NameError: global name 'socket' is not defined

Open the file 


and add the string "import socket" as pointed here:

from resource_management import
import sys
import socket

Save the file and restart ambari-server and ambari-agents (if necessary)

No comments:

Post a Comment