All Apps and Add-ons

Cannot update PCI Complience app using CLI -login failed

balkanbgboy
New Member

I am trying to update PCIcomplience but i am getting Login failure.I am using the user/pass that i login to splunk.com /My company has licence/.Below is the output:

root@/opt/splunk/bin # ./splunk install app Splunk_DA-ESS_PCICompliance -update 1
Splunk username: nhs
Password:
Login failed

Then i used my root user/pass but i got the following message :
Error during app install: failed to extract app from /opt/splunk/bin/Splunk_DA-ESS_PCICompliance to /opt/splunk/var/run/splunk/bundle_tmp/446fbab906660b58: No such file or directory

Then i did:
./splunk install app /opt/splunk/etc/apps/Splunk_DA-ESS_PCICompliance -update 1 and i got the message that PCI was installed but then on the Web interfeace i cannot see PCI any longer and i got the message :
Splunk_DB-ESS PCI Compliance version None is lower than required 3.4.0

I need your help.

0 Karma

DavidHourani
Super Champion

Hi @balkanbgboy,

Your first attempt at installing should have worked using your splunk credentials. Make sure the splunk user you are using has the permissions to install apps.

To avoid all these CLI issues go to the GUI and follow the steps shown here :
https://docs.splunk.com/Documentation/PCI/3.8.0/Install/InstallPCIComplianceApp#Install_the_app

Let me know how that works out for you.

Cheers,
David

0 Karma

rvany
Communicator

Using just the App-name does not work. You have to use the archive name - otherwise splunk install app ... has no idea what to install.

0 Karma

rvany
Communicator

Some time ago - but anyway:

  • It seems you are using system (i.e. Linux or similar) credentials to login to Splunk. That won't work. You have to use your Splunk-(Web)-credentials to connect to Splunk.
  • Also you have to make sure that you have the permission to install an app (also inside of Splunk).
  • And last - "Splunk_DA-ESS_PCICompliance" is the name of the installed app. On the commandline you have to use the name of the tar archive, e.g. splunk install app splunk-app-for-pci-compliance-splunk-enterprise_370.spl
0 Karma
Get Updates on the Splunk Community!

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...