Installation

solaris 11 universal forwarder install problem

sandyelrick
Explorer

When trying to install the package on Solaris 11 SPARC machine, I am getting a general failure:

pkg install: The following pattern(s) did not match any allowable packages. Try using a different matching pattern, or refreshing publisher information:
splunkforwarder-6.2.4-271043-solaris-8-sparc.pkg

When I review the package install history, I have these details:

-bash-4.1# pkg history -l -t 2015-07-29T10:47:04
Operation: install
Outcome: Failed
Reason: Bad Request
Client: pkg
Version: f840f00cdeff
User: root (0)
Boot Env.: solaris-4
Boot Env. UUID: masked
New Boot Env.: None
New Boot Env. UUID: (None)
Snapshot: (None)
Start Time: 2015-07-29T10:47:04
End Time: 2015-07-29T10:47:11
Total Time: 0:00:07
Command: /usr/bin/pkg install splunkforwarder-6.2.4-271043-solaris-11-sparc.p5p
Release Notes: No
Start State:
None
End State:
None
Errors:
Traceback (most recent call last):
File "/usr/lib/python2.6/vendor-packages/pkg/client/api.py", line 1405, in __plan_op
self._img.make_install_plan(kwargs)
File "/usr/lib/python2.6/vendor-packages/pkg/client/image.py", line 4356, in make_install_plan
reject_list=reject_list)
File "/usr/lib/python2.6/vendor-packages/pkg/client/image.py", line 4315, in __make_plan_common
ip.plan_install(
kwargs)
File "/usr/lib/python2.6/vendor-packages/pkg/client/imageplan.py", line 564, in plan_install
reject_list=reject_list)
File "/usr/lib/python2.6/vendor-packages/pkg/client/imageplan.py", line 522, in __plan_install
reject_list=reject_list)
File "/usr/lib/python2.6/vendor-packages/pkg/client/imageplan.py", line 433, in __plan_install_solver
reject_set=reject_set)
File "/usr/lib/python2.6/vendor-packages/pkg/client/imageplan.py", line 4987, in __match_user_fmris
rejected_pats=exclpats)
PlanCreationException: The following pattern(s) did not match any allowable packages. Try
using a different matching pattern, or refreshing publisher information:

    splunkforwarder-6.2.4-271043-solaris-11-sparc.p5p

I am at a loss to understand the failure at this point.

Tags (1)
0 Karma

vipulpandya2k1
New Member

Hello,

there is a mistake up there on the pkg install .....

It is as simple as pkg install splunkforwarder since the publisher and has already been setup

0 Karma

sandyelrick
Explorer

Well, finally figured it out with help.

You need to set the publisher definition up first (further steps are as follows):

pkg set-publisher -p /tmp/install/splunkforwarder-6.2.4-271043-solaris-11-sparc.p5p splunk

Test the package:
pkg install -nv splunkforwarder

Install:
pkg install ./splunkforwarder-6.2.4-271043-solaris-11-sparc.p5p splunk

Verify installed (two commands):
pkg list -v splunkforwarder
FMRI IFO
pkg://splunk/application/splunkforwarder@6.2.4,271043:20150626T044039Z i--

pkg info -r splunkforwarder
Name: application/splunkforwarder
Summary: Splunk Universal Forwarder
Description: Splunk> The platform for machine data.
Category: Applications/Internet
State: Installed
Publisher: splunk
Version: 6.2.4
Build Release: 271043
Branch: None
Packaging Date: Fri Jun 26 04:40:39 2015
Size: 42.53 MB
FMRI: pkg://splunk/application/splunkforwarder@6.2.4,271043:20150626T044039Z

Remove the temporary publisher:

pkg unset-publisher splunk

Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Modernize your Splunk Apps – Introducing Python 3.13 in Splunk

We are excited to announce that the upcoming releases of Splunk Enterprise 10.2.x and Splunk Cloud Platform ...

Step into “Hunt the Insider: An Splunk ES Premier Mystery” to catch a cybercriminal ...

After a whole week of being on call, you fell asleep on your keyboard, and you hit a sequence of buttons that ...