2018-02-22 20:09:35,585 INFO [5a8f77dddd2912bc8c4e0] init:171 - Using default logging config file: C:\Program Files\Splunk\etc\log.cfg
2018-02-22 20:09:35,591 INFO [5a8f77dddd2912bc8c4e0] init:209 - Setting logger=splunk level=INFO
2018-02-22 20:09:35,591 INFO [5a8f77dddd2912bc8c4e0] init:209 - Setting logger=splunk.appserver level=INFO
2018-02-22 20:09:35,592 INFO [5a8f77dddd2912bc8c4e0] init:209 - Setting logger=splunk.appserver.controllers level=INFO
2018-02-22 20:09:35,592 INFO [5a8f77dddd2912bc8c4e0] init:209 - Setting logger=splunk.appserver.controllers.proxy level=INFO
2018-02-22 20:09:35,592 INFO [5a8f77dddd2912bc8c4e0] init:209 - Setting logger=splunk.appserver.lib level=WARN
2018-02-22 20:09:35,592 INFO [5a8f77dddd2912bc8c4e0] init:209 - Setting logger=splunk.pdfgen level=INFO
2018-02-22 20:09:42,232 ERROR [5a8f77dddd2912bc8c4e0] root:825 - Unable to start splunkweb
2018-02-22 20:09:42,233 ERROR [5a8f77dddd2912bc8c4e0] root:826 - invalid syntax (enum.py, line 209)
Traceback (most recent call last):
File "C:\Program Files\Splunk\Python-2.7\Lib\site-packages\splunk\appserver\mrsparkle\root.py", line 102, in
from controllers.top import *
File "C:\Program Files\Splunk\Python-2.7\Lib\site-packages\splunk\appserver\mrsparkle\controllers\top.py", line 30, in
from proxy import ProxyController
File "C:\Program Files\Splunk\Python-2.7\Lib\site-packages\splunk\appserver\mrsparkle\controllers\proxy.py", line 11, in
import requests
File "C:\Program Files\Splunk\Python-2.7\Lib\site-packages\requests_init.py", line 53, in
from .packages.urllib3.contrib import pyopenssl
File "C:\Program Files\Splunk\Python-2.7\Lib\site-packages\requests\packages__init.py", line 3, in
from . import urllib3
File "C:\Program Files\Splunk\Python-2.7\Lib\site-packages\requests\packages\urllib3__init.py", line 16, in
from .connectionpool import (
File "C:\Program Files\Splunk\Python-2.7\Lib\site-packages\requests\packages\urllib3\connectionpool.py", line 36, in
from .connection import (
File "C:\Program Files\Splunk\Python-2.7\Lib\site-packages\requests\packages\urllib3\connection.py", line 12, in
from http.client import HTTPConnection as _HTTPConnection, HTTPException
File "C:\Users\Sudarson\AppData\Local\Programs\Python\Python35\Lib\http__init.py", line 1, in
from enum import IntEnum
File "C:\Users\Sudarson\AppData\Local\Programs\Python\Python35\Lib\enum.py", line 209
def __call_(cls, value, names=None, *, module=None, qualname=None, type=None, start=1):
^
SyntaxError: invalid syntax
For some reason, your machine is crossing the streams between Python 2.7 packaged with Splunk and Python 3.5 installed on your machine. Make sure there is no locally installed Python presented to Splunk as a default (environment variables etc.).
For some reason, your machine is crossing the streams between Python 2.7 packaged with Splunk and Python 3.5 installed on your machine. Make sure there is no locally installed Python presented to Splunk as a default (environment variables etc.).
After uninstalling Python it worked. Thanks