[Bugs-team] [OpenIndiana-discuss] svcprop: Pattern 'svc:/application/pkg/update' doesn't match any entities
x11max Unitymedia
x11max at unitybox.de
Mon Mar 4 16:02:20 UTC 2013
Problem solved.
I crated a new zone and copied the file /usr/sbin/svccfg from the zone to the openindiana host.
This solved my problem.
Although both files are identical, the svccfg maybe corrupted in any way.
svccfg (old) on host:
root at openindiana:# ls -ltr /usr/sbin/svccfg
-r-xr-xr-x 1 root bin 440372 2013-02-12 12:01 /usr/sbin/svccfg
svccfg on zone:
root at ndienst:~# ls -ltr /usr/sbin/svccfg
-r-xr-xr-x 1 root bin 440372 Mar 4 12:06 /usr/sbin/svccfg
On 01.03.2013, at 11:58, x11max Unitymedia <x11max at unitybox.de> wrote:
> <core_http-apache22.xml>
>
>
> Begin forwarded message:
>
> From: x11max Unitymedia <x11max at unitybox.de>
> Subject: [OpenIndiana-discuss] svcprop: Pattern 'svc:/application/pkg/update' doesn't match any entities
> Date: 1. März 2013 09:05:03 MEZ
> To: Discussion list for OpenIndiana <openindiana-discuss at openindiana.org>
> Reply-To: Discussion list for OpenIndiana <openindiana-discuss at openindiana.org>
>
>
> cron output generates messages from "/usr/lib/update-manager/update-refresh.sh"
>
> ---> svcprop: Pattern 'svc:/application/pkg/update' doesn't match any entities
>
> Running --> sudo svccfg import /lib/svc/manifest/application/pkg/pkg-update.xml
> generates an core file from svccfg.
>
> Same happens if I try to activate apache22: --> sudo svccfg import /lib/svc/manifest/network/http-apache22.xml
> Import does not work, a core file is written
>
> What is wrong here ?
>
> -----------------------------
>
> To: root at openindiana.local
> Subject: Output from "cron" command
> Content-Length: 312
>
> Your "cron" job on openindiana
> /usr/lib/update-manager/update-refresh.sh
>
> produced the following output:
>
> svcprop: Pattern 'svc:/application/pkg/update' doesn't match any entities
> svccfg: Pattern 'pkg/update' doesn't match any instances or services
> Usage: illegal option -- image-dir, for help use -h or --help
>
> sudo svccfg import /lib/svc/manifest/application/pkg/pkg-update.xml
>
> svccfg creates a core file:
> sudo file core
> core: ELF 32-bit LSB core file 80386 Version 1, from 'svccfg'
>
> sudo svcprop -p update/image_dir svc:/application/pkg/update
> svcprop: Pattern 'svc:/application/pkg/update' doesn't match any entities
>
> sudo pstack ./core
> core './core' of 2396: svccfg import /lib/svc/manifest/application/pkg/pkg-update.xml
> fea3c735 datael_handle (63637673, 80e9ec0, 0, 80478cc, 80478a8, fedd0118) + 9
> fea3f20a scf_pg_handle (63637673, 20e, 24bd107, fea4f99e) + e
> fea4f9da _read_single_value_from_pg (63637673, 81077c8, 80478cc, fea4fb76) + 4a
> fea4fbc5 _scf_read_single_astring_from_pg (63637673, 81077c8, 8057cb3, fea53b76) + 5d
> fea53ba0 _read_localized_astring_from_pg (63637673, 8107748, 0, fea55aaa) + 38
> fea55ade scf_tmpl_value_description (809cfd0, 0, 8047978) + 42
> 0808194c gen_prop_pattern_pg_name (8154660, 809ee40, 80479ac, fee61ff6) + 44
> 08083d74 tmpl_find_prop_pattern (8142350, 8154660, 811a320, 80479fc) + 24
> 08084d0d tmpl_validate_pg (8142350, 811a400, 80f9ee0, 80f9ee0) + 11d
> 08084ed4 tmpl_validate_entity_pgs (8142350, 80f9ee0, 81634c0, 8080f95) + 7c
> 08084f63 tmpl_validate_instance (8142350, 80f9ee0, fea72cb0, 80f5b98) + 67
> 08085005 tmpl_validate_service (80f8e20, 80f9ee0, 8047b28, 80850ed) + 75
> 0808508a tmpl_validate_bundle (80f9fb8, 8047b48, 0, 805c82f) + 4a
> 0805c855 import_manifest_file (8102fa0, 0, 0, 4) + 39
> 0805ce38 engine_import (80f7f48, 80ba1f8, 8047cd8, 808aea5) + 3e8
> 0808bc4e yyparse (1, 8047d60, 8047d28, 805bcad, 8101648, 8091290) + ee2
> 0805bf33 engine_exec (8101648, 8091290, 800, feffbafc) + 37
> 0805bcad main (3, 8047d5c, 8047d6c, feffbafc) + 1a9
> 0805b7ad _start (3, 8047e18, 8047e1f, 8047e26, 0, 8047e57) + 7d
>
> svcs svccfg import /lib/svc/manifest/network/http-apache22.xml
> sudo file core
> core: ELF 32-bit LSB core file 80386 Version 1, from 'svccfg'
>
> sudo pstack core
> core 'core' of 2556: svccfg import /lib/svc/manifest/network/http-apache22.xml
> fea3c735 datael_handle (63637673, 80e9ec0, 0, 80478dc, 80478b8, fedd0118) + 9
> fea3f20a scf_pg_handle (63637673, 20e, 24bd107, fea4f99e) + e
> fea4f9da _read_single_value_from_pg (63637673, 8108848, 80478dc, fea4fb76) + 4a
> fea4fbc5 _scf_read_single_astring_from_pg (63637673, 8108848, 8057cb3, fea53b76) + 5d
> fea53ba0 _read_localized_astring_from_pg (63637673, 81087c8, 0, fea55aaa) + 38
> fea55ade scf_tmpl_value_description (809cfd0, 0, 8047988) + 42
> 0808194c gen_prop_pattern_pg_name (8159e48, 809ee40, 80479bc, fee61ff6) + 44
> 08083d74 tmpl_find_prop_pattern (81464f0, 8159e48, 81257c0, 8047a0c) + 24
> 08084d0d tmpl_validate_pg (81464f0, 81258a0, 80f9ef8, 80f9ef8) + 11d
> 08084ed4 tmpl_validate_entity_pgs (81464f0, 80f9ef8, 81693b8, 8080f95) + 7c
> 08084f63 tmpl_validate_instance (81464f0, 80f9ef8, fea72cb0, 80f5bd8) + 67
> 08085005 tmpl_validate_service (80f8e20, 80f9ef8, 8047b38, 80850ed) + 75
> 0808508a tmpl_validate_bundle (80f9fb8, 8047b58, 0, 805c82f) + 4a
> 0805c855 import_manifest_file (8103fa0, 0, 0, 4) + 39
> 0805ce38 engine_import (80f7f08, 80ba1f8, 8047ce8, 808aea5) + 3e8
> 0808bc4e yyparse (1, 8047d68, 8047d38, 805bcad, 8101648, 8091290) + ee2
> 0805bf33 engine_exec (8101648, 8091290, 800, feffbafc) + 37
> 0805bcad main (3, 8047d64, 8047d74, 805b74f) + 1a9
> 0805b7ad _start (3, 8047e20, 8047e27, 8047e2e, 0, 8047e5a) + 7d
> stefanev at openindiana:/lib/svc/manifest/network$
>
>>
>> _______________________________________________
>> OpenIndiana-discuss mailing list
>> OpenIndiana-discuss at openindiana.org
>> http://openindiana.org/mailman/listinfo/openindiana-discuss
>
> _______________________________________________
> Bugs-team mailing list
> Bugs-team at openindiana.org
> http://openindiana.org/mailman/listinfo/bugs-team
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openindiana.org/pipermail/bugs-team/attachments/20130304/b41ab4b0/attachment.html>
More information about the Bugs-team
mailing list