Re: Can't start agl-service-identity-agent

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi Philipp, hi Reutlingen,

the main error is

  libjson-c.so.3: cannot open shared object file:
                  No such file or directory

That issue is related on how you compiled and installed it. Did you use the AGL-SDK?

https://docs.automotivelinux.org/en/master/#3_Developer_Guides/1_Setting_Up_AGL_SDK/

Best regards
José

On 07/06/2021 22:19, philipp.hackh@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx wrote:
Hello everybody,
I am a Master's student at Reutlingen University. In our master's project, I'm currently working on adding user profiles to our driving simulator and giving users the option of storing various settings.

We have already created an HTML5 radio app for this purpose. With the user profiles, the users should be able to save different radio stations as favourites, for example.
The existing service-idenity-agent should be used to (fake-)authenticate the users.
I have already built this service and installed it on my VM.Unfortunately I get an error message when I'm starting the service and I don't know how to fix it.

Many thanks for any help
best regards
PMA

journalctl log:

Jun 07 19:13:57 qemux86-64 systemd[1]: Listening on Provides websocket api identity for user 0.
Jun 07 19:13:57 qemux86-64 systemd[1]: Starting AGL identity service...
Jun 07 19:13:57 qemux86-64 afbd-agl-identity-service[1007]: ------BEGIN OF CONFIG-----
Jun 07 19:13:57 qemux86-64 afbd-agl-identity-service[1007]: -- {
Jun 07 19:13:57 qemux86-64 afbd-agl-identity-service[1007]: --    "name": "afbd-agl-identity-service",
Jun 07 19:13:57 qemux86-64 afbd-agl-identity-service[1007]: --    "rootdir": "/var/local/lib/afm/applications/agl-identity-service",
Jun 07 19:13:57 qemux86-64 afbd-agl-identity-service[1007]: --    "workdir": "/home/0/app-data/agl-identity-service",
Jun 07 19:13:57 qemux86-64 afbd-agl-identity-service[1007]: --    "monitoring": true,
Jun 07 19:13:57 qemux86-64 afbd-agl-identity-service[1007]: --    "port": 30012,
Jun 07 19:13:57 qemux86-64 afbd-agl-identity-service[1007]: --    "interface": [
Jun 07 19:13:57 qemux86-64 afbd-agl-identity-service[1007]: --      "tcp:localuser--12:8080"
Jun 07 19:13:57 qemux86-64 afbd-agl-identity-service[1007]: --    ],
Jun 07 19:13:57 qemux86-64 afbd-agl-identity-service[1007]: --    "roothttp": ".",
Jun 07 19:13:57 qemux86-64 afbd-agl-identity-service[1007]: --    "ws-client": [
Jun 07 19:13:57 qemux86-64 afbd-agl-identity-service[1007]: --      "unix:/run/user/0/apis/ws/nfc",
Jun 07 19:13:57 qemux86-64 afbd-agl-identity-service[1007]: --      "unix:/run/user/0/apis/ws/persistence"
Jun 07 19:13:57 qemux86-64 afbd-agl-identity-service[1007]: --    ],
Jun 07 19:13:57 qemux86-64 afbd-agl-identity-service[1007]: --    "binding": [
Jun 07 19:13:57 qemux86-64 afbd-agl-identity-service[1007]: --      "/var/local/lib/afm/applications/agl-identity-service/lib/afb-identity-binding.so"
Jun 07 19:13:57 qemux86-64 afbd-agl-identity-service[1007]: --    ],
Jun 07 19:13:57 qemux86-64 afbd-agl-identity-service[1007]: --    "ws-server": [
Jun 07 19:13:57 qemux86-64 afbd-agl-identity-service[1007]: --      "sd:identity"
Jun 07 19:13:57 qemux86-64 afbd-agl-identity-service[1007]: --    ],
Jun 07 19:13:57 qemux86-64 afbd-agl-identity-service[1007]: --    "apitimeout": 20,
Jun 07 19:13:57 qemux86-64 afbd-agl-identity-service[1007]: --    "cache-eol": 100000,
Jun 07 19:13:57 qemux86-64 afbd-agl-identity-service[1007]: --    "cntxtimeout": 32000000,
Jun 07 19:13:57 qemux86-64 afbd-agl-identity-service[1007]: --    "session-max": 200,
Jun 07 19:13:57 qemux86-64 afbd-agl-identity-service[1007]: --    "uploaddir": ".",
Jun 07 19:13:57 qemux86-64 afbd-agl-identity-service[1007]: --    "rootbase": "/opa",
Jun 07 19:13:57 qemux86-64 afbd-agl-identity-service[1007]: --    "rootapi": "/api",
Jun 07 19:13:57 qemux86-64 afbd-agl-identity-service[1007]: --    "ldpaths": [
Jun 07 19:13:57 qemux86-64 afbd-agl-identity-service[1007]: --      "/usr/lib/afb"
Jun 07 19:13:57 qemux86-64 afbd-agl-identity-service[1007]: --    ],
Jun 07 19:13:57 qemux86-64 afbd-agl-identity-service[1007]: --    "alias": [
Jun 07 19:13:57 qemux86-64 afbd-agl-identity-service[1007]: --      "/monitoring:/usr/lib/afb/monitoring"
Jun 07 19:13:57 qemux86-64 afbd-agl-identity-service[1007]: --    ]
Jun 07 19:13:57 qemux86-64 afbd-agl-identity-service[1007]: --  }
Jun 07 19:13:57 qemux86-64 afbd-agl-identity-service[1007]: ------END OF CONFIG-----
Jun 07 19:13:57 qemux86-64 afbd-agl-identity-service[1007]:  INFO: running with pid 1007 [/usr/src/debug/af-binder/master+gitAUTOINC+1b6249810b-r0/git/src/main-afb-daemon.c:978,main]
Jun 07 19:13:57 qemux86-64 afbd-agl-identity-service[1007]:  INFO: API monitor added [/usr/src/debug/af-binder/master+gitAUTOINC+1b6249810b-r0/git/src/afb-apiset.c:510,afb_apiset_add]
Jun 07 19:13:57 qemux86-64 afbd-agl-identity-service[1007]:  INFO: Can't acces socket path /run/platform/supervisor: No such file or directory [/usr/src/debug/af-binder/master+gitAUTOINC+1b6249810b-r0/git/src/afb-supervision.c:165,try_connect_supervisor]
Jun 07 19:13:57 qemux86-64 afbd-agl-identity-service[1007]:  ERROR: binding [/var/local/lib/afm/applications/agl-identity-service/lib/afb-identity-binding.so] not loadable: libjson-c.so.3: cannot open shared object file: No such file or directory [/usr/src/debug/af-binder/master+gitAUTOINC+1b6249810b-r0/git/src/afb-api-so.c:97,load_binding]
Jun 07 19:13:57 qemux86-64 afbd-agl-identity-service[1007]:  ERROR: can't start the binding /var/local/lib/afm/applications/agl-identity-service/lib/afb-identity-binding.so [/usr/src/debug/af-binder/master+gitAUTOINC+1b6249810b-r0/git/src/main-afb-daemon.c:178,apiset_start_list]
Jun 07 19:13:57 qemux86-64 systemd[1]: afm-service-agl-identity-service--0.1--main@0.service: Main process exited, code=exited, status=1/FAILURE
Jun 07 19:13:57 qemux86-64 systemd[1]: afm-service-agl-identity-service--0.1--main@0.service: Failed with result 'exit-code'.
Jun 07 19:13:57 qemux86-64 systemd[1]: Failed to start AGL identity service.
Jun 07 19:13:57 qemux86-64 afm-system-daemon[273]:  ERROR: start error system unit afm-service-agl-identity-service--0.1--main@.service for uid 0: failed [/usr/src/debug/af-main/master+gitAUTOINC+3ea6f4a404-r0/git/src/afm-urun.c:280]








-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#9239): https://lists.automotivelinux.org/g/agl-dev-community/message/9239
Mute This Topic: https://lists.automotivelinux.org/mt/83380410/2167316
Group Owner: agl-dev-community+owner@xxxxxxxxxxxxxxxxxxxxxxxxx
Unsubscribe: https://lists.automotivelinux.org/g/agl-dev-community/leave/4543822/2167316/883735764/xyzzy [list-automotive-discussions82@xxxxxxxxxxx]
-=-=-=-=-=-=-=-=-=-=-=-






[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux