Bind hotfix monitor service fail - service

when i launch a Service
report:
**
2022-03-03 11:21:09.847 19883-19883/? E/libc: Access denied finding property "persist.device_config.runtime_native.use_app_image_startup_cache"
2022-03-03 11:21:09.847 19883-19883/? E/u.media.servic: LoadAppImageStartupCache enabled : 1
2022-03-03 11:21:09.926 19883-19903/com.jidu.media.service E/BehaviorCollectManager: Fail to acquire dataAnalyzerService...
2022-03-03 11:21:10.217 19883-19922/com.jidu.media.service E/AwareLog: AtomicFileUtils: readFileLines file not exist: android.util.AtomicFile#b9f80b8
2022-03-03 11:21:10.252 19883-19923/com.jidu.media.service E/FrameSkip: FrameSkipInit app is not supported by frameskip solution
2022-03-03 11:21:10.407 19883-19923/com.jidu.media.service E/ion: ioctl c0044901 failed with code -1: Invalid argument
2022-03-03 11:21:10.423 19883-19883/com.jidu.media.service E/RtgSchedIpcFile: RtgSchedIpcFile failed to open /proc/19883/rtg
2022-03-03 11:21:10.423 19883-19883/com.jidu.media.service E/RtgSchedIpcFile: RtgSchedIpcFile failed to open /proc/19883/rtg
2022-03-03 11:21:10.423 19883-19883/com.jidu.media.service E/RtgSchedIpcFile: setCommandByIoctl not opened
2022-03-03 11:21:14.952 19883-19915/com.jidu.media.service E/u.media.servic: [HOTFIX][Report]Bind hotfix monitor service fail!**

Related

debugging with OpenOCD reports Protocol error with Rcmd

I'm working on establishing a debug connection to a Renesas RZ/G2L MPU.
My OpenOCD connection appears to launch fine (and i can connect to it with gdb from the shell afterwards with (gdb) target remote localhost:3333 fine):
Open On-Chip Debugger 0.12.0-rc2+dev-00989-g9501b263e-dirty (2022-12-12-17:03)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
G2L
G2L - 0 CA57(s), 2 CA55(s), 0 CA53(s), 0 CR7(s), 1 CM33(s)
Boot Core - CA55
r9a07g044l.cpu
SMP targets: r9a07g044l.a55.0 r9a07g044l.a55.1
init_reset
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Info : J-Link V11 compiled Dec 5 2022 13:50:41
Info : Hardware version: 11.00
Info : VTarget = 1.812 V
Info : clock speed 4000 kHz
Info : JTAG tap: r9a07g044l.cpu tap/device found: 0x6ba00477 (mfg: 0x23b (ARM Ltd), part: 0xba00, ver: 0x6)
Info : r9a07g044l.a55.0: hardware has 6 breakpoints, 4 watchpoints
Info : starting gdb server for r9a07g044l.a55.0 on 3333
Info : Listening on port 3333 for gdb connections
Info : starting gdb server for r9a07g044l.m33 on 3334
Info : Listening on port 3334 for gdb connections
Info : gdb port disabled
I'm trying to hook it up with eclipse to debug Flash Writer which should allow me to bring up the system. I createda debug configuration, set the init commands under start up (per instructions from Renesas) and set the launch target to localhost:3333. Upon launch of a debug session from Eclipse however, I get the following error:
Error in final launch sequence:
Failed to execute MI command:
source /home/mistywest/git/rzg2_flash_writer/gdb_smarc_g2l_flash_writer
Error message from debugger back end:
/home/mistywest/git/rzg2_flash_writer/gdb_smarc_g2l_flash_writer:12: Error in sourced command file:
Protocol error with Rcmd
Failed to execute MI command:
source /home/mistywest/git/rzg2_flash_writer/gdb_smarc_g2l_flash_writer
Error message from debugger back end:
/home/mistywest/git/rzg2_flash_writer/gdb_smarc_g2l_flash_writer:12: Error in sourced command file:
Protocol error with Rcmd
Failed to execute MI command:
source /home/mistywest/git/rzg2_flash_writer/gdb_smarc_g2l_flash_writer
Error message from debugger back end:
/home/mistywest/git/rzg2_flash_writer/gdb_smarc_g2l_flash_writer:12: Error in sourced command file:
Protocol error with Rcmd
/home/mistywest/git/rzg2_flash_writer/gdb_smarc_g2l_flash_writer:12: Error in sourced command file:\nProtocol error with Rcmd
and on the OpenOCD console:
Info : accepting 'gdb' connection on tcp/3333
Info : r9a07g044l.a55.0 cluster 0 core 0 multi core
r9a07g044l.a55.0 halted in AArch64 state due to debug-request, current mode: EL3H
cpsr: 0x400003cd pc: 0x3a94
MMU: disabled, D-Cache: disabled, I-Cache: enabled
Info : New GDB Connection: 1, Target r9a07g044l.a55.0, state: halted
Warn : Prefer GDB command "target extended-remote :3333" instead of "target remote :3333"
Error: JTAG scan chain interrogation failed: all zeroes
Error: Check JTAG interface, timings, target power, etc.
Error: Trying to use configured scan chain anyway...
Error: r9a07g044l.cpu: IR capture error; saw 0x00 not 0x01
Warn : Bypassing JTAG setup events due to errors
Error: Invalid ACK (0) in DAP response
Info : Deferring arp_examine of r9a07g044l.a55.1
Info : Use arp_examine command to examine it manually!
Info : Deferring arp_examine of r9a07g044l.m33
Info : Use arp_examine command to examine it manually!
Error: Invalid ACK (0) in DAP response
Error: Debug regions are unpowered, an unexpected reset might have happened
Error: JTAG-DP STICKY ERROR
Error: Could not initialize the APB-AP
Info : dropped 'gdb' connection
Oh I'm running this from a Fedora 36 host - if it matters

Unable to start keycloak 19 in production mode

we have keycloak 14 connected to an Amazon RDS Aurora PostgreSQL and now trying to update to Keycloak 19 with the same DB but is failing with the below error
2022-09-20 09:54:56,959 ERROR [org.keycloak.quarkus.runtime.cli.ExecutionExceptionHandler] (main) ERROR: Failed to start server in (production) mode
2022-09-20 09:54:56,960 ERROR [org.keycloak.quarkus.runtime.cli.ExecutionExceptionHandler] (main) ERROR: ISPN000324: Cache 'realms' is in 'STOPPING' state and this is an invocation not belonging to an on-going transaction, so it does not accept new invocations. Either restart it or recreate the cache container.
Any help would be appreciated.

Why won't my deployment group agent connect to the server?

I'm trying to provision a deployment group agent (vsts-agent-win-x64-2.170.1.zip) on a lab machine for an on-premises DevOps server. The registration script successfully completes, the VstsAgentAService runs, and I can see the agent in the deployment group (the machine is present and all the Capabilities are visible) but it appears Offline.
Even though the script was clearly able to communicate with the server to provide the Capabilities, things break down when it's the agent's turn.
Event Viewer (VstsAgentAService):
2022-05-16 18:19:32Z: Agent connect error: An error occurred while sending the request.. Retrying until reconnected.
_diag log:
[2022-05-16 18:15:59Z INFO VisualStudioServices] Starting operation Location.GetConnectionData
[2022-05-16 18:15:59Z WARN VisualStudioServices] Attempt 1 of GET request to https://[url] failed (WinHttp Error: ERROR_WINHTTP_SECURE_FAILURE). The operation will be retried[...]
[2022-05-16 18:15:59Z WARN VisualStudioServices] Attempt 1 of GET request to https://[url] failed (WinHttp Error: ERROR_WINHTTP_SECURE_FAILURE). The operation will be retried[...]
[2022-05-16 18:15:59Z WARN VisualStudioServices] Attempt 1 of GET request to https://[url] failed (WinHttp Error: ERROR_WINHTTP_SECURE_FAILURE). The operation will be retried[...]
[2022-05-16 18:16:10Z WARN VisualStudioServices] Attempt 2 of GET request to https://[url] failed (WinHttp Error: ERROR_WINHTTP_SECURE_FAILURE). The operation will be retried[...]
[2022-05-16 18:16:10Z WARN VisualStudioServices] Attempt 2 of GET request to https://[url] failed (WinHttp Error: ERROR_WINHTTP_SECURE_FAILURE). The operation will be retried[...]
[2022-05-16 18:16:10Z WARN VisualStudioServices] Attempt 2 of GET request to https://[url] failed (WinHttp Error: ERROR_WINHTTP_SECURE_FAILURE). The operation will be retried[...]
[2022-05-16 18:16:23Z WARN VisualStudioServices] Attempt 3 of GET request to https://[url] failed (WinHttp Error: ERROR_WINHTTP_SECURE_FAILURE). The operation will be retried[...]
[2022-05-16 18:16:23Z WARN VisualStudioServices] Attempt 3 of GET request to https://[url] failed (WinHttp Error: ERROR_WINHTTP_SECURE_FAILURE). The operation will be retried[...]
[2022-05-16 18:16:24Z WARN VisualStudioServices] Attempt 3 of GET request to https://[url] failed (WinHttp Error: ERROR_WINHTTP_SECURE_FAILURE). The operation will be retried[...]
[2022-05-16 18:16:40Z ERR VisualStudioServices] Attempt 4 of GET request to https://[url] failed (WinHttp Error: ERROR_WINHTTP_SECURE_FAILURE). The maximum number of attempts has been reached.
[2022-05-16 18:16:40Z INFO VisualStudioServices] Finished operation Location.GetConnectionData
[2022-05-16 18:16:40Z INFO AgentServer] Catch exception during connect. 4 attempt left.
[2022-05-16 18:16:40Z ERR AgentServer] System.Net.Http.HttpRequestException: An error occurred while sending the request.
---> System.Net.Http.WinHttpException (80072F8F, 12175): Error 12175 calling WINHTTP_CALLBACK_STATUS_REQUEST_ERROR, 'A security error occurred'.
This is when I run the registration script with authentication type: negotiate. If I instead run the script using PAT, it fails right off the bat.
config.cmd:
Enter authentication type (press enter for PAT) >
Enter personal access token > ****************************************************
Error reported in diagnostic logs. Please examine the log for more details.
- C:\dev\azagent\_diag\Agent_20220516-174740-utc.log
TF400813: Resource not available for anonymous access. Client authentication required.
_diag log:
[2022-05-16 17:55:48Z WARN VisualStudioServices] Basic issued token provider instance 52136803 requires an interactive prompt which is not allowed by the current settings
[2022-05-16 17:55:48Z ERR VisualStudioServices] GET request to https://[url] is not authorized. Details: VS30063: You are not authorized to access https://[url].
[2022-05-16 17:55:48Z INFO VisualStudioServices] Finished operation Location.GetConnectionData
[2022-05-16 17:55:48Z INFO LocationServer] Catch exception during connect. 4 attempt left.
[2022-05-16 17:55:48Z ERR LocationServer] Microsoft.VisualStudio.Services.Common.VssUnauthorizedException: VS30063: You are not authorized to access https://[url].
If I go to the URL with Chrome (and enter my credentials), it dumps a bunch of "authenticatedUser" information. Clearly the server is happy with my credentials.
Does anyone know what's going on? What am I missing to make the sever recognize the agent beyond the initial registration?

Azure DevOps agent configuration successfully connects to the server, but then fails with "Error VS30063: You are not authorized to access..."

I have installed Azure DevOps agent on my laptop and am trying to configure it. It does connect to the Azure server, and I see it on the server appearing in the list of agents, but then config.cmd fails with error VS30063:
PS C:\agent> ./config.cmd
>> Connect:
Enter server URL > https://myazuredevops.com
Enter authentication type (press enter for PAT) >
Enter personal access token > ****************************************************
Connecting to server ...
>> Register Agent:
Enter agent pool (press enter for default) >
Enter agent name (press enter for WINDOWS-NKCBPLC) >
Scanning for tool capabilities.
Connecting to the server.
Enter replace? (Y/N) (press enter for N) > y
Successfully replaced the agent
Testing agent connection.
VS30063: You are not authorized to access https://myazuredevops.com.
The log file contains the following lines:
......
[2020-08-26 10:56:13Z INFO ConfigurationManager] Agent server url resolve by server: 'https://myazuredevops.com/'.
[2020-08-26 10:56:13Z INFO ConfigurationStore] Saving OAuth credential # C:\agent\.credentials
[2020-08-26 10:56:13Z INFO ConfigurationStore] Credentials Saved.
[2020-08-26 10:56:14Z INFO Terminal] WRITE LINE: Testing agent connection.
[2020-08-26 10:56:14Z INFO ConfigurationStore] HasCredentials()
[2020-08-26 10:56:14Z INFO ConfigurationStore] stored True
[2020-08-26 10:56:14Z INFO CredentialManager] GetCredentialProvider
[2020-08-26 10:56:14Z INFO CredentialManager] Creating type OAuth
[2020-08-26 10:56:14Z INFO CredentialManager] Creating credential type: OAuth
[2020-08-26 10:56:14Z INFO RSAEncryptedFileKeyManager] Loading RSA key parameters from file C:\agent\.credentials_rsaparams
[2020-08-26 10:56:14Z INFO VisualStudioServices] Starting operation Location.GetConnectionData
[2020-08-26 10:56:14Z WARN VisualStudioServices] Authentication failed with status code 401.
.....
Sep 21, 2020
Tried to install and configure an agent on an Ubuntu server located on the Azure cloud. Got the same error.
1.Make sure your Azure Devops account has the permission to manage the agents in current Org.
2.Then create a new PAT with Read & manage permission.
3.Run the config.cmd again, and enter a new Name at this step:
4.If the issue persists, you can create a new agent pool and register the agent there to check if it helps:

RH Develoiper Studio to JBoss EAP server connection

I have tried Developer Studio 11.3.0, and 12.0.0. I've tried EAP 6.4.0, and 7.1.0. Everything gives me the same error. I've run it with servers in RHEL on AWS and a DevStudio in Windows 10 or Windows 7. I've run it with server and DevStudio on the same Fedora system. Always the same error when I try to "start" the remote server:
The initialization produced an exception, which can occur due to incorrect security credentials. Please review the exception messages by clicking the Details button.
* java.io.IOException: java.net.ConnectException: WFLYPRT0053: Could not connect to http-remoting://LOCALHOST:9990. The connection failed
* java.net.ConnectException: WFLYPRT0053: Could not connect to http-remoting://LOCALHOST:9990. The connection failed
* WFLYPRT0053: Could not connect to http-remoting://LOCALHOST:9990. The connection failed
* Authentication failed: all available authentication mechanisms failed:
JBOSS-LOCAL-USER: javax.security.sasl.SaslException: ELY05128: [JBOSS-LOCAL-USER] Failed to read challenge file [Caused by java.io.FileNotFoundException: /datavirt/jboss/EAP-7.1.0/standalone/tmp/auth/local3848441195962286340.challenge (Permission denied)]
DIGEST-MD5: javax.security.sasl.SaslException: DIGEST-MD5: Server rejected authentication
Here's a bit of the server.log file, where things go wrong. (It's slightly different in 6.4.0, but not substantially.)
2018-09-01 23:20:52,946 TRACE [org.jboss.remoting.endpoint] (management I/O-2) Allocated tick to 8 of endpoint "miramanee:MANAGEMENT" <68fb9f51> (opened org.jboss.remoting3.EndpointImpl$TrackingExecutor#18776914)
2018-09-01 23:20:52,946 TRACE [org.xnio.nio] (management I/O-2) Running task org.jboss.remoting3.remote.ServerConnectionOpenListener$2#228e4439
2018-09-01 23:20:52,946 TRACE [org.xnio.nio.selector] (management I/O-2) Beginning select on sun.nio.ch.EPollSelectorImpl#617c6bff (with timeout)
2018-09-01 23:20:52,946 TRACE [org.xnio.nio] (management I/O-2) Select, queue is empty
2018-09-01 23:20:52,946 TRACE [org.wildfly.security] (management task-7) Handling RealmCallback: selected = [ManagementRealm]
2018-09-01 23:20:52,946 TRACE [org.wildfly.security] (management task-7) Handling NameCallback: authenticationName = admin
2018-09-01 23:20:52,946 TRACE [org.wildfly.security] (management task-7) Principal assigning: [admin], pre-realm rewritten: [admin#ManagementRealm], realm name: [DIGEST], post-realm rewritten: [admin#ManagementRealm], realm rewritten: [admin#ManagementRealm]
2018-09-01 23:20:52,947 TRACE [org.wildfly.security] (management task-7) Handling CredentialCallback: obtained credential for correct realm "ManagementRealm"
2018-09-01 23:20:52,947 TRACE [org.wildfly.security] (management task-7) Handling CredentialCallback: obtained credential: org.wildfly.security.credential.PasswordCredential#b75f36fa
2018-09-01 23:20:52,947 TRACE [org.jboss.remoting.remote.server] (management task-7) Server sending authentication rejected: javax.security.sasl.SaslException: ELY05055: [DIGEST-MD5] Authentication rejected (invalid proof)
at org.wildfly.security.sasl.digest.DigestSaslServer.validateDigestResponse(DigestSaslServer.java:281)
at org.wildfly.security.sasl.digest.DigestSaslServer.evaluateMessage(DigestSaslServer.java:358)
at org.wildfly.security.sasl.util.AbstractSaslParticipant.evaluateMessage(AbstractSaslParticipant.java:180)
at org.wildfly.security.sasl.digest.DigestSaslServer.evaluateResponse(DigestSaslServer.java:331)
at org.wildfly.security.sasl.util.AuthenticationCompleteCallbackSaslServerFactory$1.evaluateResponse(AuthenticationCompleteCallbackSaslServerFactory.java:58)
at org.wildfly.security.sasl.util.AuthenticationTimeoutSaslServerFactory$DelegatingTimeoutSaslServer.evaluateResponse(AuthenticationTimeoutSaslServerFactory.java:106)
I am plumb stumped.
If you want to get it going quickly for learning/etc, then I can just say what I'm doing. I have RHEL 7 & EAP 7.1. I'm using dev studio 12 on same machine. When I added a server into dev studio, I had option to select local or remote. I selected local and had no problems starting via dev studio. The user I'm running dev studio with also has permissions to EAP home directory (I see file perm errors in your error). I also chose management options vs. Filesystem and shell operations. I also test, and this worked picking remote as well. But again, same server for everything/same localhost.