<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: splunk upgrade 7-&amp;gt;8.0 failure in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/splunk-upgrade-7-gt-8-0-failure/m-p/526435#M3940</link>
    <description>&lt;P&gt;systemctl stop splunkd //run as root&lt;BR /&gt;works fine&lt;BR /&gt;update splunk using rpm and tgz method //run a root&lt;BR /&gt;works fine&lt;BR /&gt;chown -R splunk:splunk /opt/splunk/&lt;BR /&gt;works fine&lt;BR /&gt;changed the content of splunkd.service file based on latest content mentioned on site plus the two lines mentioned above&lt;BR /&gt;(as splunk) /...path/to/splunk/bin/splunk start --accept-license --answer-yes&lt;BR /&gt;Splunk Software License Agreement 10.21.2019&lt;BR /&gt;Failed with below message:&lt;/P&gt;&lt;P&gt;This appears to be an upgrade of Splunk.&lt;BR /&gt;--------------------------------------------------------------------------------)&lt;/P&gt;&lt;P&gt;Splunk has detected an older version of Splunk installed on this machine. To&lt;BR /&gt;finish upgrading to the new version, Splunk's installer will automatically&lt;BR /&gt;update and alter your current configuration files. Deprecated configuration&lt;BR /&gt;files will be renamed with a .deprecated extension.&lt;/P&gt;&lt;P&gt;You can choose to preview the changes that will be made to your configuration&lt;BR /&gt;files before proceeding with the migration and upgrade:&lt;/P&gt;&lt;P&gt;If you want to migrate and upgrade without previewing the changes that will be&lt;BR /&gt;made to your existing configuration files, choose 'y'.&lt;BR /&gt;If you want to see what changes will be made before you proceed with the&lt;BR /&gt;upgrade, choose 'n'.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Perform migration and upgrade without previewing configuration changes? [y/n] y&lt;/P&gt;&lt;P&gt;-- Migration information is being logged to '/opt/splunk/var/log/splunk/migration.log.2020-10-23.19-53-25' --&lt;/P&gt;&lt;P&gt;Migrating to:&lt;BR /&gt;VERSION=8.0.2.1&lt;BR /&gt;BUILD=f002026bad55&lt;BR /&gt;PRODUCT=splunk&lt;BR /&gt;PLATFORM=Linux-x86_64&lt;/P&gt;&lt;P&gt;Copying '/opt/splunk/etc/myinstall/splunkd.xml' to '/opt/splunk/etc/myinstall/splunkd.xml-migrate.bak'.&lt;/P&gt;&lt;P&gt;Checking saved search compatibility...&lt;/P&gt;&lt;P&gt;Handling deprecated files...&lt;/P&gt;&lt;P&gt;Checking script configuration...&lt;/P&gt;&lt;P&gt;Copying '/opt/splunk/etc/myinstall/splunkd.xml.cfg-default' to '/opt/splunk/etc/myinstall/splunkd.xml'.&lt;BR /&gt;Deleting '/opt/splunk/etc/system/local/field_actions.conf'.&lt;/P&gt;&lt;P&gt;The following apps might contain lookup table files that are not exported to other apps:&lt;/P&gt;&lt;P&gt;splunk_monitoring_console&lt;/P&gt;&lt;P&gt;Such lookup table files could only be used within their source app. To export them globally and allow other apps to access them, add the following stanza to each /opt/splunk/etc/apps/&amp;lt;app_name&amp;gt;/metadata/local.meta file:&lt;/P&gt;&lt;P&gt;[lookups]&lt;BR /&gt;export = system&lt;/P&gt;&lt;P&gt;For more information, see &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/AdvancedDev/SetPermissions#Make_objects_globally_available" target="_blank"&gt;http://docs.splunk.com/Documentation/Splunk/latest/AdvancedDev/SetPermissions#Make_objects_globally_available&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;An error occurred: Failed to run splunkd rest:&lt;BR /&gt;stdout:&lt;BR /&gt;--&lt;BR /&gt;stderr:splunkd: /opt/splunk/src/util/HttpClientRequest.cpp:1760: void HttpClientTransaction::_handleProxyConnect(): Assertion `_poolp-&amp;gt;hasSslContext()' failed.&lt;BR /&gt;Dying on signal #6 (si_code=-6), sent by PID 1657 (UID 1002). Attempting to clean up pidfile&lt;/P&gt;&lt;P&gt;--&lt;/P&gt;&lt;P&gt;First-time run failed!&lt;/P&gt;&lt;P&gt;Method 2&lt;/P&gt;&lt;P&gt;1)(as root) Stop it: systemctl stop splunkd&lt;/P&gt;&lt;P&gt;2)&lt;BR /&gt;/opt/splunk/bin/splunk disable boot-start&lt;BR /&gt;failed with below message&lt;BR /&gt;/opt/splunk/bin/splunk disable boot-start&lt;BR /&gt;error reading information on service splunk: No such file or directory&lt;BR /&gt;Disabled.&lt;/P&gt;&lt;P&gt;the splunkd.service file still exsists not deleted though.&lt;/P&gt;&lt;P&gt;3) performed the upgrade as mentioned with method above&lt;/P&gt;&lt;P&gt;4) /opt/splunk/bin/splunk enable boot-start -systemd-managed 1 -user splunk&lt;/P&gt;&lt;P&gt;failed with error message below&lt;/P&gt;&lt;P&gt;Perform migration and upgrade without previewing configuration changes? [y/n] y&lt;/P&gt;&lt;P&gt;-- Migration information is being logged to '/opt/splunk/var/log/splunk/migration.log.2020-10-23.19-47-04' --&lt;/P&gt;&lt;P&gt;Migrating to:&lt;BR /&gt;VERSION=8.0.2.1&lt;BR /&gt;BUILD=f002026bad55&lt;BR /&gt;PRODUCT=splunk&lt;BR /&gt;PLATFORM=Linux-x86_64&lt;/P&gt;&lt;P&gt;Copying '/opt/splunk/etc/myinstall/splunkd.xml' to '/opt/splunk/etc/myinstall/splunkd.xml-migrate.bak'.&lt;/P&gt;&lt;P&gt;Checking saved search compatibility...&lt;/P&gt;&lt;P&gt;Handling deprecated files...&lt;/P&gt;&lt;P&gt;Checking script configuration...&lt;/P&gt;&lt;P&gt;Copying '/opt/splunk/etc/myinstall/splunkd.xml.cfg-default' to '/opt/splunk/etc/myinstall/splunkd.xml'.&lt;BR /&gt;Deleting '/opt/splunk/etc/system/local/field_actions.conf'.&lt;/P&gt;&lt;P&gt;The following apps might contain lookup table files that are not exported to other apps:&lt;/P&gt;&lt;P&gt;splunk_monitoring_console&lt;/P&gt;&lt;P&gt;Such lookup table files could only be used within their source app. To export them globally and allow other apps to access them, add the following stanza to each /opt/splunk/etc/apps/&amp;lt;app_name&amp;gt;/metadata/local.meta file:&lt;/P&gt;&lt;P&gt;[lookups]&lt;BR /&gt;export = system&lt;/P&gt;&lt;P&gt;For more information, see &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/AdvancedDev/SetPermissions#Make_objects_globally_available" target="_blank"&gt;http://docs.splunk.com/Documentation/Splunk/latest/AdvancedDev/SetPermissions#Make_objects_globally_available&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;An error occurred: Failed to run splunkd rest:&lt;BR /&gt;stdout:&lt;BR /&gt;--&lt;BR /&gt;stderr:splunkd: /opt/splunk/src/util/HttpClientRequest.cpp:1760: void HttpClientTransaction::_handleProxyConnect(): Assertion `_poolp-&amp;gt;hasSslContext()' failed.&lt;BR /&gt;Dying on signal #6 (si_code=-6), sent by PID 1572 (UID 1002). Attempting to clean up pidfile&lt;/P&gt;&lt;P&gt;--&lt;BR /&gt;Also tried to delete the splunkd.file manually and recreate based on content mentioned but failed again. Also after failure removes the splunk.service file, which i created manually.&lt;/P&gt;</description>
    <pubDate>Mon, 26 Oct 2020 09:58:34 GMT</pubDate>
    <dc:creator>gauravmsharma</dc:creator>
    <dc:date>2020-10-26T09:58:34Z</dc:date>
    <item>
      <title>splunk upgrade 7-&gt;8.0 failure</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/splunk-upgrade-7-gt-8-0-failure/m-p/519546#M3424</link>
      <description>&lt;P&gt;Splunk upgrade process seems to be very confusing from 7-&amp;gt;8.&lt;/P&gt;&lt;P&gt;I stop splunk using a systemctl splunk stop to stop the services because if i stop using the splunk user it starts again since splunk is configured to as systemd service.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Edit the splunkd.service file as root as the new splunkd service file should not contain user=splunk and other commands. I use the file given by splunk here&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.0.3/Admin/RunSplunkassystemdservice" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/8.0.3/Admin/RunSplunkassystemdservice&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I am using a rpm based install and i use:&lt;/P&gt;&lt;PRE&gt;rpm -i --replacepkgs --prefix=/splunkdirectory/ splunk_package_name.rpm&lt;/PRE&gt;&lt;P&gt;This is use to replace the exsisting install package of 7 and the new package is 8. This command allowed to be executed as splunk user and i need to be a root user else i get error if i run as non root user.&lt;/P&gt;&lt;P&gt;error: can't create transaction lock on /var/lib/rpm/.rpm.lock (Permission denied)&lt;/P&gt;&lt;P&gt;Next i start the splunk as per the upgrade recommendation from splunk&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;sudo splunk start&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.0.3/Admin/RunSplunkassystemdservice#Upgrade_considerations_for_systemd" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/8.0.3/Admin/RunSplunkassystemdservice#Upgrade_considerations_for_systemd&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This gives me lots of "Invalid key in stanza" while starting , also the splunk is running as a root process now&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-bash-4.2$ ps -ef | grep splunk&lt;BR /&gt;root 31719 31229 0 18:08 pts/0 00:00:00 sudo su - splunk&lt;BR /&gt;root 31721 31719 0 18:08 pts/0 00:00:00 su - splunk&lt;BR /&gt;splunk 31722 31721 0 18:08 pts/0 00:00:00 -bash&lt;BR /&gt;root 31806 1 8 18:09 ? 00:00:04 splunkd -p 8089 start&lt;BR /&gt;root 31808 31806 0 18:09 ? 00:00:00 [splunkd pid=31806] splunkd -p 8089 start [process-runner]&lt;BR /&gt;root 31834 31808 0 18:09 ? 00:00:00 mongod --dbpath=/opt/splunk/var/lib/splunk/kvstore/mongo --port=8191 --timeStampFormat=iso8601-utc --smallfiles --oplogSize=200 --keyFile=/opt/splunk/var/lib/splunk/kvstore/mongo/splunk.key --setParameter=enableLocalhostAuthBypass=0 --replSet=A818B836-060F-4BA2-A42E-82AE5CF11FFA --sslMode=requireSSL --sslAllowInvalidHostnames --sslPEMKeyFile=/opt/splunk/etc/auth/server.pem --sslPEMKeyPassword=xxxxxxxx --sslDisabledProtocols=noTLS1_0,noTLS1_1 --sslCipherConfig=ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256:ECDH-ECDSA-AES256-GCM-SHA384:ECDH-ECDSA-AES128-GCM-SHA256:ECDH-ECDSA-AES128-SHA256:AES256-GCM-SHA384:AES128-GCM-SHA256:AES128-SHA256 --nounixsocket --noscripting&lt;BR /&gt;root 31938 31808 2 18:09 ? 00:00:01 /opt/splunk/bin/python -O /opt/splunk/lib/python2.7/site-packages/splunk/appserver/mrsparkle/root.py --proxied=127.0.0.1,8065,8443&lt;BR /&gt;root 31996 31808 0 18:10 ? 00:00:00 /opt/splunk/bin/splunkd instrument-resource-usage -p 8089 --with-kvstore&lt;BR /&gt;splunk 32063 31722 0 18:10 pts/0 00:00:00 ps -ef&lt;BR /&gt;splunk 32064 31722 0 18:10 pts/0 00:00:00 grep --color=auto splunk&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tried to stop the splunk process and run again as user splunk, splunk process starts ok but the splunk daemon is dead&lt;/P&gt;&lt;P&gt;systemctl status splunk&lt;BR /&gt;● splunkd.service - Systemd service file for Splunk, generated by 'splunk enable boot-start'&lt;BR /&gt;Loaded: loaded (/etc/systemd/system/splunkd.service; enabled; vendor preset: disabled)&lt;BR /&gt;Active: inactive (dead) (Result: exit-code)&lt;/P&gt;&lt;P&gt;After starting the splunk daemon it is still in failed state, complaining about permissions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;splunkd.service - Systemd service file for Splunk, generated by 'splunk enable boot-start'&lt;BR /&gt;Loaded: loaded (/etc/systemd/system/splunkd.service; enabled; vendor preset: disabled)&lt;BR /&gt;Active: failed (Result: start-limit) since Mon 2020-09-14 18:17:07 UTC; 871ms ago&lt;BR /&gt;Process: 32730 ExecStart=/opt/splunk/bin/splunk _internal_launch_under_systemd (code=exited, status=4)&lt;BR /&gt;Main PID: 32730 (code=exited, status=4)&lt;/P&gt;&lt;P&gt;&amp;nbsp;systemd[1]: splunkd.service: main process exited, code=exited, status=4/NOPERMISSION&lt;BR /&gt;&amp;nbsp;systemd[1]: Unit splunkd.service entered failed state.&lt;BR /&gt;&amp;nbsp;systemd[1]: splunkd.service failed.&lt;BR /&gt;&amp;nbsp;splunkd.service holdoff time over, scheduling restart.&lt;BR /&gt;&amp;nbsp;systemd[1]: Stopped Systemd service file for Splunk, generated by 'splunk enable boot-start'.&lt;BR /&gt;&amp;nbsp;systemd[1]: start request repeated too quickly for splunkd.service&lt;BR /&gt;&amp;nbsp;Failed to start Systemd service file for Splunk, generated by 'splunk enable boot-start'.&lt;BR /&gt;&amp;nbsp;systemd[1]: Unit splunkd.service entered failed state.&lt;BR /&gt;&amp;nbsp;systemd[1]: splunkd.service failed.&lt;/P&gt;&lt;P&gt;Has anyone faced these same issues? Am i working in the correct order or do i need to change the order or am i missing something in between?&lt;/P&gt;</description>
      <pubDate>Mon, 14 Sep 2020 19:06:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/splunk-upgrade-7-gt-8-0-failure/m-p/519546#M3424</guid>
      <dc:creator>gauravmsharma</dc:creator>
      <dc:date>2020-09-14T19:06:40Z</dc:date>
    </item>
    <item>
      <title>Re: splunk upgrade 7-&gt;8.0 failure</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/splunk-upgrade-7-gt-8-0-failure/m-p/519553#M3425</link>
      <description>&lt;P&gt;Humm, not sure what is your systemd file at the moment....&lt;/P&gt;&lt;P&gt;One fix to fix this may be to:&lt;/P&gt;&lt;P&gt;as root :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;/opt/splunk/bin/splunk disable boot-start&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note : you obviously need to adapt the home path to your splunk installation dir &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(this should remove the system file)&lt;/P&gt;&lt;P&gt;then recreate it from v8&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;/opt/splunk/bin/splunk enable boot-start -systemd-managed 1 -user splunk&lt;/PRE&gt;&lt;P&gt;which should recreate the systemd file with the one from v8&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Alternatively you could also just add to the systemd unit file&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;# change needed for 8.0+ ExecStartPost to ExecStartPre to change the permissions before Splunk is started (replace id with the ones from splunk user and group)
ExecStartPre=/bin/bash -c "chown -R 1001:1001 /sys/fs/cgroup/cpu/system.slice/%n"
ExecStartPre=/bin/bash -c "chown -R 1001:1001 /sys/fs/cgroup/memory/system.slice/%n"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;followed by&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;systemctl daemon-reload
systemctl restart Splunkd.service &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;+ if ever Splunk wrote files as root then stop splunk and give back files to splunk before starting again the service as splunk&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Sep 2020 19:43:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/splunk-upgrade-7-gt-8-0-failure/m-p/519553#M3425</guid>
      <dc:creator>maraman_splunk</dc:creator>
      <dc:date>2020-09-14T19:43:23Z</dc:date>
    </item>
    <item>
      <title>Re: splunk upgrade 7-&gt;8.0 failure</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/splunk-upgrade-7-gt-8-0-failure/m-p/519573#M3428</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;basically what you should do when you are upgrading splunk.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;(as root) Stop it: systemctl stop splunkd (or what ever the service name is in your system)&lt;/LI&gt;&lt;LI&gt;(as root) update it e.g. rpm .... / (yum or dnf is preffered in newer RH based systems)&lt;/LI&gt;&lt;LI&gt;(as root) chown -R splunk:splunk /..../path/to/splunk_dir&lt;/LI&gt;&lt;LI&gt;(as splunk) /...path/to/splunk/bin/splunk start --accept-license --answer-yes&lt;/LI&gt;&lt;LI&gt;(as splunk) ..../splunk/stop&lt;/LI&gt;&lt;LI&gt;(as root) systemctl start splunkd (or what ever you have named it)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Now as&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/152062"&gt;@maraman_splunk&lt;/a&gt;&amp;nbsp;propose stop, disable boot start, chown, start, stop, enable boot start and start it. Then it should be ok. Of course if you have apps or dashboards etc. you have already checked that those are compatible for version 8....&lt;/P&gt;&lt;P&gt;And currently there are some parameters/attributes on splunk.service file which needs/should change before it has taken into use. You could found those by google quite easy.&lt;/P&gt;&lt;P&gt;r. Ismo&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Sep 2020 21:33:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/splunk-upgrade-7-gt-8-0-failure/m-p/519573#M3428</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2020-09-14T21:33:08Z</dc:date>
    </item>
    <item>
      <title>Re: splunk upgrade 7-&gt;8.0 failure</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/splunk-upgrade-7-gt-8-0-failure/m-p/519620#M3431</link>
      <description>&lt;P&gt;My exsisting splunkd.service file looks like this:&lt;/P&gt;&lt;P&gt;[Unit]&lt;BR /&gt;Description=Splunk Enterprise 7.0.0&lt;BR /&gt;After=network.target&lt;BR /&gt;Wants=network.target&lt;/P&gt;&lt;P&gt;[Service]&lt;BR /&gt;Type=forking&lt;BR /&gt;Restart=always&lt;BR /&gt;RestartSec=30s&lt;BR /&gt;User=splunk&lt;BR /&gt;Group=splunk&lt;BR /&gt;LimitNOFILE=65536&lt;BR /&gt;LimitNPROC=16384&lt;BR /&gt;TimeoutSec=300&lt;BR /&gt;ExecStart=/opt/splunk/bin/splunk start --accept-license --answer-yes --no-prompt&lt;BR /&gt;ExecStop=/opt/splunk/bin/splunk stop&lt;BR /&gt;ExecReload=/opt/splunk/bin/splunk restart&lt;BR /&gt;PIDFile=/opt/splunk/var/run/splunk/splunkd.pid&lt;/P&gt;&lt;P&gt;[Install]&lt;BR /&gt;WantedBy=multi-user.target&lt;BR /&gt;# If you want to use $(systemctl [start|stop|restart] splunk) instead of splunkd ...&lt;BR /&gt;Alias=splunk.service&lt;/P&gt;</description>
      <pubDate>Tue, 15 Sep 2020 07:34:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/splunk-upgrade-7-gt-8-0-failure/m-p/519620#M3431</guid>
      <dc:creator>gauravmsharma</dc:creator>
      <dc:date>2020-09-15T07:34:35Z</dc:date>
    </item>
    <item>
      <title>Re: splunk upgrade 7-&gt;8.0 failure</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/splunk-upgrade-7-gt-8-0-failure/m-p/519625#M3433</link>
      <description>&lt;P&gt;Plus this is the new file content which i created while the splunk is in stop state (on splunk system 8.0)&lt;/P&gt;&lt;P&gt;#This unit file replaces the traditional start-up script for systemd&lt;BR /&gt;#configurations, and is used when enabling boot-start for Splunk on&lt;BR /&gt;#systemd-based Linux distributions.&lt;/P&gt;&lt;P&gt;[Unit]&lt;BR /&gt;Description=Systemd service file for Splunk, generated by 'splunk enable boot-start'&lt;BR /&gt;After=network.target&lt;/P&gt;&lt;P&gt;[Service]&lt;BR /&gt;Type=simple&lt;BR /&gt;Restart=always&lt;BR /&gt;ExecStart=/opt/splunk/bin/splunk _internal_launch_under_systemd&lt;BR /&gt;KillMode=mixed&lt;BR /&gt;KillSignal=SIGINT&lt;BR /&gt;TimeoutStopSec=360&lt;BR /&gt;LimitNOFILE=65536&lt;BR /&gt;SuccessExitStatus=51 52&lt;BR /&gt;RestartPreventExitStatus=51&lt;BR /&gt;RestartForceExitStatus=52&lt;BR /&gt;Delegate=true&lt;BR /&gt;CPUShares=1024&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;[Install]&lt;BR /&gt;WantedBy=multi-user.target&lt;/P&gt;</description>
      <pubDate>Tue, 15 Sep 2020 07:38:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/splunk-upgrade-7-gt-8-0-failure/m-p/519625#M3433</guid>
      <dc:creator>gauravmsharma</dc:creator>
      <dc:date>2020-09-15T07:38:09Z</dc:date>
    </item>
    <item>
      <title>Re: splunk upgrade 7-&gt;8.0 failure</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/splunk-upgrade-7-gt-8-0-failure/m-p/526435#M3940</link>
      <description>&lt;P&gt;systemctl stop splunkd //run as root&lt;BR /&gt;works fine&lt;BR /&gt;update splunk using rpm and tgz method //run a root&lt;BR /&gt;works fine&lt;BR /&gt;chown -R splunk:splunk /opt/splunk/&lt;BR /&gt;works fine&lt;BR /&gt;changed the content of splunkd.service file based on latest content mentioned on site plus the two lines mentioned above&lt;BR /&gt;(as splunk) /...path/to/splunk/bin/splunk start --accept-license --answer-yes&lt;BR /&gt;Splunk Software License Agreement 10.21.2019&lt;BR /&gt;Failed with below message:&lt;/P&gt;&lt;P&gt;This appears to be an upgrade of Splunk.&lt;BR /&gt;--------------------------------------------------------------------------------)&lt;/P&gt;&lt;P&gt;Splunk has detected an older version of Splunk installed on this machine. To&lt;BR /&gt;finish upgrading to the new version, Splunk's installer will automatically&lt;BR /&gt;update and alter your current configuration files. Deprecated configuration&lt;BR /&gt;files will be renamed with a .deprecated extension.&lt;/P&gt;&lt;P&gt;You can choose to preview the changes that will be made to your configuration&lt;BR /&gt;files before proceeding with the migration and upgrade:&lt;/P&gt;&lt;P&gt;If you want to migrate and upgrade without previewing the changes that will be&lt;BR /&gt;made to your existing configuration files, choose 'y'.&lt;BR /&gt;If you want to see what changes will be made before you proceed with the&lt;BR /&gt;upgrade, choose 'n'.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Perform migration and upgrade without previewing configuration changes? [y/n] y&lt;/P&gt;&lt;P&gt;-- Migration information is being logged to '/opt/splunk/var/log/splunk/migration.log.2020-10-23.19-53-25' --&lt;/P&gt;&lt;P&gt;Migrating to:&lt;BR /&gt;VERSION=8.0.2.1&lt;BR /&gt;BUILD=f002026bad55&lt;BR /&gt;PRODUCT=splunk&lt;BR /&gt;PLATFORM=Linux-x86_64&lt;/P&gt;&lt;P&gt;Copying '/opt/splunk/etc/myinstall/splunkd.xml' to '/opt/splunk/etc/myinstall/splunkd.xml-migrate.bak'.&lt;/P&gt;&lt;P&gt;Checking saved search compatibility...&lt;/P&gt;&lt;P&gt;Handling deprecated files...&lt;/P&gt;&lt;P&gt;Checking script configuration...&lt;/P&gt;&lt;P&gt;Copying '/opt/splunk/etc/myinstall/splunkd.xml.cfg-default' to '/opt/splunk/etc/myinstall/splunkd.xml'.&lt;BR /&gt;Deleting '/opt/splunk/etc/system/local/field_actions.conf'.&lt;/P&gt;&lt;P&gt;The following apps might contain lookup table files that are not exported to other apps:&lt;/P&gt;&lt;P&gt;splunk_monitoring_console&lt;/P&gt;&lt;P&gt;Such lookup table files could only be used within their source app. To export them globally and allow other apps to access them, add the following stanza to each /opt/splunk/etc/apps/&amp;lt;app_name&amp;gt;/metadata/local.meta file:&lt;/P&gt;&lt;P&gt;[lookups]&lt;BR /&gt;export = system&lt;/P&gt;&lt;P&gt;For more information, see &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/AdvancedDev/SetPermissions#Make_objects_globally_available" target="_blank"&gt;http://docs.splunk.com/Documentation/Splunk/latest/AdvancedDev/SetPermissions#Make_objects_globally_available&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;An error occurred: Failed to run splunkd rest:&lt;BR /&gt;stdout:&lt;BR /&gt;--&lt;BR /&gt;stderr:splunkd: /opt/splunk/src/util/HttpClientRequest.cpp:1760: void HttpClientTransaction::_handleProxyConnect(): Assertion `_poolp-&amp;gt;hasSslContext()' failed.&lt;BR /&gt;Dying on signal #6 (si_code=-6), sent by PID 1657 (UID 1002). Attempting to clean up pidfile&lt;/P&gt;&lt;P&gt;--&lt;/P&gt;&lt;P&gt;First-time run failed!&lt;/P&gt;&lt;P&gt;Method 2&lt;/P&gt;&lt;P&gt;1)(as root) Stop it: systemctl stop splunkd&lt;/P&gt;&lt;P&gt;2)&lt;BR /&gt;/opt/splunk/bin/splunk disable boot-start&lt;BR /&gt;failed with below message&lt;BR /&gt;/opt/splunk/bin/splunk disable boot-start&lt;BR /&gt;error reading information on service splunk: No such file or directory&lt;BR /&gt;Disabled.&lt;/P&gt;&lt;P&gt;the splunkd.service file still exsists not deleted though.&lt;/P&gt;&lt;P&gt;3) performed the upgrade as mentioned with method above&lt;/P&gt;&lt;P&gt;4) /opt/splunk/bin/splunk enable boot-start -systemd-managed 1 -user splunk&lt;/P&gt;&lt;P&gt;failed with error message below&lt;/P&gt;&lt;P&gt;Perform migration and upgrade without previewing configuration changes? [y/n] y&lt;/P&gt;&lt;P&gt;-- Migration information is being logged to '/opt/splunk/var/log/splunk/migration.log.2020-10-23.19-47-04' --&lt;/P&gt;&lt;P&gt;Migrating to:&lt;BR /&gt;VERSION=8.0.2.1&lt;BR /&gt;BUILD=f002026bad55&lt;BR /&gt;PRODUCT=splunk&lt;BR /&gt;PLATFORM=Linux-x86_64&lt;/P&gt;&lt;P&gt;Copying '/opt/splunk/etc/myinstall/splunkd.xml' to '/opt/splunk/etc/myinstall/splunkd.xml-migrate.bak'.&lt;/P&gt;&lt;P&gt;Checking saved search compatibility...&lt;/P&gt;&lt;P&gt;Handling deprecated files...&lt;/P&gt;&lt;P&gt;Checking script configuration...&lt;/P&gt;&lt;P&gt;Copying '/opt/splunk/etc/myinstall/splunkd.xml.cfg-default' to '/opt/splunk/etc/myinstall/splunkd.xml'.&lt;BR /&gt;Deleting '/opt/splunk/etc/system/local/field_actions.conf'.&lt;/P&gt;&lt;P&gt;The following apps might contain lookup table files that are not exported to other apps:&lt;/P&gt;&lt;P&gt;splunk_monitoring_console&lt;/P&gt;&lt;P&gt;Such lookup table files could only be used within their source app. To export them globally and allow other apps to access them, add the following stanza to each /opt/splunk/etc/apps/&amp;lt;app_name&amp;gt;/metadata/local.meta file:&lt;/P&gt;&lt;P&gt;[lookups]&lt;BR /&gt;export = system&lt;/P&gt;&lt;P&gt;For more information, see &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/AdvancedDev/SetPermissions#Make_objects_globally_available" target="_blank"&gt;http://docs.splunk.com/Documentation/Splunk/latest/AdvancedDev/SetPermissions#Make_objects_globally_available&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;An error occurred: Failed to run splunkd rest:&lt;BR /&gt;stdout:&lt;BR /&gt;--&lt;BR /&gt;stderr:splunkd: /opt/splunk/src/util/HttpClientRequest.cpp:1760: void HttpClientTransaction::_handleProxyConnect(): Assertion `_poolp-&amp;gt;hasSslContext()' failed.&lt;BR /&gt;Dying on signal #6 (si_code=-6), sent by PID 1572 (UID 1002). Attempting to clean up pidfile&lt;/P&gt;&lt;P&gt;--&lt;BR /&gt;Also tried to delete the splunkd.file manually and recreate based on content mentioned but failed again. Also after failure removes the splunk.service file, which i created manually.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Oct 2020 09:58:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/splunk-upgrade-7-gt-8-0-failure/m-p/526435#M3940</guid>
      <dc:creator>gauravmsharma</dc:creator>
      <dc:date>2020-10-26T09:58:34Z</dc:date>
    </item>
    <item>
      <title>Re: splunk upgrade 7-&gt;8.0 failure</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/splunk-upgrade-7-gt-8-0-failure/m-p/526436#M3941</link>
      <description>&lt;P&gt;It failed with the method mentioned by&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/214410"&gt;@isoutamo&lt;/a&gt;&amp;nbsp; as well as&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/152062"&gt;@maraman_splunk&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Oct 2020 09:59:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/splunk-upgrade-7-gt-8-0-failure/m-p/526436#M3941</guid>
      <dc:creator>gauravmsharma</dc:creator>
      <dc:date>2020-10-26T09:59:18Z</dc:date>
    </item>
  </channel>
</rss>

