I installed the new version of ContextBroker:
curl localhost:1026/version
{
"orion" :
{
"version" : "1.2.1",
"uptime" : "0 d, 0 h, 7 m, 58 s",
"git_hash" : "af44fd1fbdbbfd28d79ef4f929e871e515b5452e",
"compile_time" : "Thu Jun 16 15:46:51 CEST 2016",
"compiled_by" : "fermin",
"compiled_in" : "centollo"
}
}
Then I installed the watchdog and verifying the file /var/log/contextBroker/monitBROKER.log , I encounter the following error:
error : 'contextBroker' failed to start (exit status 1) -- /etc/init.d/contextBroker: Starting...
contextBroker está parado
Starting contextBroker... pidfile not found[FALLÓ]
debug : Socket test failed for [::1]:1026 -- HTTP error: Regular expression doesn't match: No match
debug : Socket test failed for [127.0.0.1]:1026 -- HTTP error: Regular expression doesn't match: No match
error : 'localhost' failed protocol test [HTTP] at [localhost]:1026/version [TCP/IP] -- HTTP error: Regular expression doesn't match: No match
info : 'localhost' exec: /etc/init.d/contextBroker
debug : 'monitBROKER.log' file exists
debug : 'monitBROKER.log' is a regular file or socket
debug : 'monitBROKER.log' size check succeeded [current size=19.5 kB]
debug : pidfile '/var/log/contextBroker/contextBroker.pid' does not exist
error : 'contextBroker' process is not running
info : 'contextBroker' trying to restart
debug : pidfile '/var/log/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/log/contextBroker/contextBroker.pid' does not exist
info : 'contextBroker' start: /etc/init.d/contextBroker
debug : pidfile '/var/log/contextBroker/contextBroker.pid' does not exist
debug : Starting...
contextBroker está parado
Starting contextBroker... pidfile not found[FALLÓ]
debug : pidfile '/var/log/contextBroker/contextBroker.pid' does not exist
Preventing the operation of watchdog.
Could you please tell how to fix it?
EDIT 1
This is the command execution contextBroker (in bold the folder where the PID file is created):
/usr/bin/contextBroker -port 1026 -logDir /var/log/contextBroker -pidpath /var/run/contextBroker/contextBroker.pid -dbhost localhost -db orion -multiservice
How I can modify it to create the PID file where it should?
Or should modify the configuration of watchdog to point to that folder?
EDIT 2
I modified the configuration of the watchdog modifying the monitBROKER.conf file to point to the folder /var/run/contextBroker/
Following the steps indicated by fgalan, I made the "full reset".
If at first you run the script watchdog and observing their log:
info : Starting Monit 5.14 daemon
info : 'ServidorCaptura.guest.domain' Monit 5.14 started
debug : Socket test failed for [::1]:1026 -- Connection refused
debug : Socket test failed for [127.0.0.1]:1026 -- Connection refused
error : 'localhost' failed protocol test [HTTP] at [localhost]:1026/version [TCP/IP] -- Connection refused
debug : 'monitBROKER.log' file exists
debug : 'monitBROKER.log' is a regular file or socket
debug : 'monitBROKER.log' size check succeeded [current size=464 B]
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
error : 'contextBroker' process is not running
info : 'contextBroker' trying to restart
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
info : 'contextBroker' start: /etc/init.d/contextBroker
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : Starting...
contextBroker está parado
Starting contextBroker... [ OK ]
debug : 'contextBroker' started
debug : Socket test failed for [::1]:1026 -- HTTP error: Regular expression doesn't match: No match
debug : Socket test failed for [127.0.0.1]:1026 -- HTTP error: Regular expression doesn't match: No match
error : 'localhost' failed protocol test [HTTP] at [localhost]:1026/version [TCP/IP] -- HTTP error: Regular expression doesn't match: No match
debug : 'monitBROKER.log' file exists
debug : 'monitBROKER.log' is a regular file or socket
debug : 'monitBROKER.log' size check succeeded [current size=1.9 kB]
info : 'contextBroker' process is running with pid 1493
debug : 'contextBroker' zombie check succeeded
debug : 'contextBroker' total mem amount check succeeded [current total mem amount=3.3 MB]
debug : 'contextBroker' cpu usage check succeeded [current cpu usage=0.0%]
debug : 'contextBroker' cpu usage check succeeded [current cpu usage=0.0%]
debug : Socket test failed for [::1]:1026 -- HTTP error: Regular expression doesn't match: No match
debug : Socket test failed for [127.0.0.1]:1026 -- HTTP error: Regular expression doesn't match: No match
error : 'localhost' failed protocol test [HTTP] at [localhost]:1026/version [TCP/IP] -- HTTP error: Regular expression doesn't match: No match
info : 'localhost' exec: /etc/init.d/contextBroker
debug : 'monitBROKER.log' file exists
debug : 'monitBROKER.log' is a regular file or socket
debug : 'monitBROKER.log' size check succeeded [current size=3.1 kB]
debug : 'contextBroker' process is running with pid 1493
debug : 'contextBroker' zombie check succeeded
debug : 'contextBroker' total mem amount check succeeded [current total mem amount=3.8 MB]
debug : 'contextBroker' cpu usage check succeeded [current cpu usage=0.0%]
debug : 'contextBroker' cpu usage check succeeded [current cpu usage=0.0%]
debug : Socket test failed for [::1]:1026 -- HTTP error: Regular expression doesn't match: No match
debug : Socket test failed for [127.0.0.1]:1026 -- HTTP error: Regular expression doesn't match: No match
error : 'localhost' failed protocol test [HTTP] at [localhost]:1026/version [TCP/IP] -- HTTP error: Regular expression doesn't match: No match
info : 'localhost' exec: /etc/init.d/contextBroker
debug : 'monitBROKER.log' file exists
debug : 'monitBROKER.log' is a regular file or socket
debug : 'monitBROKER.log' size check succeeded [current size=4.3 kB]
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
error : 'contextBroker' process is not running
info : 'contextBroker' trying to restart
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
info : 'contextBroker' start: /etc/init.d/contextBroker
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : Starting...
contextBroker está parado
Starting contextBroker... pidfile not found[FALLÓ]
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
error : 'contextBroker' failed to start (exit status 1) -- /etc/init.d/contextBroker: Starting...
contextBroker está parado
Starting contextBroker... pidfile not found[FALLÓ]
debug : Socket test failed for [::1]:1026 -- HTTP error: Regular expression doesn't match: No match
debug : Socket test failed for [127.0.0.1]:1026 -- HTTP error: Regular expression doesn't match: No match
error : 'localhost' failed protocol test [HTTP] at [localhost]:1026/version [TCP/IP] -- HTTP error: Regular expression doesn't match: No match
info : 'localhost' exec: /etc/init.d/contextBroker
debug : 'monitBROKER.log' file exists
debug : 'monitBROKER.log' is a regular file or socket
debug : 'monitBROKER.log' size check succeeded [current size=9.0 kB]
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
error : 'contextBroker' process is not running
info : 'contextBroker' trying to restart
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
info : 'contextBroker' start: /etc/init.d/contextBroker
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : Starting...
contextBroker está parado
Starting contextBroker... pidfile not found[FALLÓ]
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
...
Or if you first started the Context Broker: /etc/init.d/contextBroker start , the PID file is created in the folder /var/run/contextBroker/ , then run the script watchdog and observing the log of the latter:
debug : pidfile '/var/log/contextBroker/monit.pid' does not exist
info : Starting Monit 5.14 daemon
info : 'ServidorCaptura.guest.domain' Monit 5.14 started
debug : Socket test failed for [::1]:1026 -- HTTP error: Regular expression doesn't match: No match
debug : Socket test failed for [127.0.0.1]:1026 -- HTTP error: Regular expression doesn't match: No match
error : 'localhost' failed protocol test [HTTP] at [localhost]:1026/version [TCP/IP] -- HTTP error: Regular expression doesn't match: No match
debug : 'monitBROKER.log' file exists
debug : 'monitBROKER.log' is a regular file or socket
debug : 'monitBROKER.log' size check succeeded [current size=664 B]
debug : 'contextBroker' process is running with pid 2299
debug : 'contextBroker' zombie check succeeded
debug : 'contextBroker' total mem amount check succeeded [current total mem amount=5.3 MB]
debug : 'contextBroker' cpu usage check skipped (initializing)
debug : 'contextBroker' cpu usage check skipped (initializing)
debug : Socket test failed for [::1]:1026 -- HTTP error: Regular expression doesn't match: No match
debug : Socket test failed for [127.0.0.1]:1026 -- HTTP error: Regular expression doesn't match: No match
error : 'localhost' failed protocol test [HTTP] at [localhost]:1026/version [TCP/IP] -- HTTP error: Regular expression doesn't match: No match
debug : 'monitBROKER.log' file exists
debug : 'monitBROKER.log' is a regular file or socket
debug : 'monitBROKER.log' size check succeeded [current size=1.7 kB]
debug : 'contextBroker' process is running with pid 2299
debug : 'contextBroker' zombie check succeeded
debug : 'contextBroker' total mem amount check succeeded [current total mem amount=5.8 MB]
debug : 'contextBroker' cpu usage check succeeded [current cpu usage=0.0%]
debug : 'contextBroker' cpu usage check succeeded [current cpu usage=0.0%]
debug : Socket test failed for [::1]:1026 -- HTTP error: Regular expression doesn't match: No match
debug : Socket test failed for [127.0.0.1]:1026 -- HTTP error: Regular expression doesn't match: No match
error : 'localhost' failed protocol test [HTTP] at [localhost]:1026/version [TCP/IP] -- HTTP error: Regular expression doesn't match: No match
info : 'localhost' exec: /etc/init.d/contextBroker
debug : 'monitBROKER.log' file exists
debug : 'monitBROKER.log' is a regular file or socket
debug : 'monitBROKER.log' size check succeeded [current size=2.9 kB]
debug : 'contextBroker' process is running with pid 2299
debug : 'contextBroker' zombie check succeeded
debug : 'contextBroker' total mem amount check succeeded [current total mem amount=5.9 MB]
debug : 'contextBroker' cpu usage check succeeded [current cpu usage=0.0%]
debug : 'contextBroker' cpu usage check succeeded [current cpu usage=0.0%]
debug : Socket test failed for [::1]:1026 -- Connection refused
debug : Socket test failed for [127.0.0.1]:1026 -- Connection refused
error : 'localhost' failed protocol test [HTTP] at [localhost]:1026/version [TCP/IP] -- Connection refused
info : 'localhost' exec: /etc/init.d/contextBroker
debug : 'monitBROKER.log' file exists
debug : 'monitBROKER.log' is a regular file or socket
debug : 'monitBROKER.log' size check succeeded [current size=4.0 kB]
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
error : 'contextBroker' process is not running
info : 'contextBroker' trying to restart
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
info : 'contextBroker' start: /etc/init.d/contextBroker
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : Starting...
contextBroker está parado
Starting contextBroker... [ OK ]
debug : 'contextBroker' started
debug : Socket test failed for [::1]:1026 -- HTTP error: Regular expression doesn't match: No match
debug : Socket test failed for [127.0.0.1]:1026 -- HTTP error: Regular expression doesn't match: No match
error : 'localhost' failed protocol test [HTTP] at [localhost]:1026/version [TCP/IP] -- HTTP error: Regular expression doesn't match: No match
info : 'localhost' exec: /etc/init.d/contextBroker
debug : 'monitBROKER.log' file exists
debug : 'monitBROKER.log' is a regular file or socket
debug : 'monitBROKER.log' size check succeeded [current size=5.5 kB]
info : 'contextBroker' process is running with pid 2386
debug : 'contextBroker' zombie check succeeded
debug : 'contextBroker' total mem amount check succeeded [current total mem amount=3.3 MB]
debug : 'contextBroker' cpu usage check succeeded [current cpu usage=0.0%]
debug : 'contextBroker' cpu usage check succeeded [current cpu usage=0.0%]
debug : Socket test failed for [::1]:1026 -- HTTP error: Regular expression doesn't match: No match
debug : Socket test failed for [127.0.0.1]:1026 -- HTTP error: Regular expression doesn't match: No match
error : 'localhost' failed protocol test [HTTP] at [localhost]:1026/version [TCP/IP] -- HTTP error: Regular expression doesn't match: No match
info : 'localhost' exec: /etc/init.d/contextBroker
debug : 'monitBROKER.log' file exists
debug : 'monitBROKER.log' is a regular file or socket
debug : 'monitBROKER.log' size check succeeded [current size=6.7 kB]
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
error : 'contextBroker' process is not running
info : 'contextBroker' trying to restart
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
info : 'contextBroker' start: /etc/init.d/contextBroker
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : Starting...
contextBroker está parado
Starting contextBroker... pidfile not found[FALLÓ]
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
error : 'contextBroker' failed to start (exit status 1) -- /etc/init.d/contextBroker: Starting...
contextBroker está parado
Starting contextBroker... pidfile not found[FALLÓ]
debug : Socket test failed for [::1]:1026 -- HTTP error: Regular expression doesn't match: No match
debug : Socket test failed for [127.0.0.1]:1026 -- HTTP error: Regular expression doesn't match: No match
error : 'localhost' failed protocol test [HTTP] at [localhost]:1026/version [TCP/IP] -- HTTP error: Regular expression doesn't match: No match
info : 'localhost' exec: /etc/init.d/contextBroker
debug : 'monitBROKER.log' file exists
debug : 'monitBROKER.log' is a regular file or socket
debug : 'monitBROKER.log' size check succeeded [current size=11.5 kB]
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
error : 'contextBroker' process is not running
info : 'contextBroker' trying to restart
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
info : 'contextBroker' start: /etc/init.d/contextBroker
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : Starting...
contextBroker está parado
Starting contextBroker... pidfile not found[FALLÓ]
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
debug : pidfile '/var/run/contextBroker/contextBroker.pid' does not exist
...
I'd suggest to do a "full reset", then try again.
By "full reset" I mean to ensure that CB is stopped and all its running artifact are removed. In particular (as root or using the sudo command):
Do /etc/init.d/contextBroker stop
Ensure that contextBroker is no longer running with ps ax | grep contextBroker. If the process is still there, stop it using the kill command (or kill -9 if the former doesn't work).
Remove any existing /var/log/contextBroker/contextBroker.pid file.
EDIT: In order to change the PID file, edit the BROKER_PID_FILE variable in the /etc/sysconfig/contextBroker, then restart the service.
Related
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
I have a problem with Jhipster registry:
git clone https://github.com/jhipster/jhipster-registry
cd jhipster-registry
mvnw
And I get this back (while my browser is empty...)
2019-03-18 16:22:41.069 INFO 24384 --- [ restartedMain] c.n.d.provider.DiscoveryJerseyProvider : Using XML decoding codec XStreamXml
2019-03-18 16:22:41.455 INFO 24384 --- [ restartedMain] i.g.j.registry.JHipsterRegistryApp : Started JHipsterRegistryApp in 25.837 seconds (JVM running for 26.822)
2019-03-18 16:22:41.465 INFO 24384 --- [ restartedMain] i.g.j.registry.JHipsterRegistryApp :
----------------------------------------------------------
Application 'jhipster-registry' is running! Access URLs:
Local: http://localhost:8761
External: http://192.168.56.1:8761
Profile(s): [composite, dev, swagger]
----------------------------------------------------------
2019-03-18 16:22:41.465 INFO 24384 --- [ restartedMain] i.g.j.registry.JHipsterRegistryApp :
----------------------------------------------------------
Config Server: Connected to the JHipster Registry config server!
----------------------------------------------------------
2019-03-18 16:22:45.980 DEBUG 24384 --- [pool-3-thread-1] i.g.j.r.aop.logging.LoggingAspect : Enter: io.github.jhipster.registry.service.ZuulUpdaterService.updateZuulRoutes() with argument[s] = []
2019-03-18 16:22:46.756 DEBUG 24384 --- [pool-3-thread-1] i.g.j.r.aop.logging.LoggingAspect : Exit: io.github.jhipster.registry.service.ZuulUpdaterService.updateZuulRoutes() with result = null
2019-03-18 16:22:51.762 DEBUG 24384 --- [pool-3-thread-1] i.g.j.r.aop.logging.LoggingAspect : Enter: io.github.jhipster.registry.service.ZuulUpdaterService.updateZuulRoutes() with argument[s] = []
2019-03-18 16:22:51.762 DEBUG 24384 --- [pool-3-thread-1] i.g.j.r.aop.logging.LoggingAspect : Exit: io.github.jhipster.registry.service.ZuulUpdaterService.updateZuulRoutes() with result = null
2019-03-18 16:22:56.765 DEBUG 24384 --- [pool-3-thread-1] i.g.j.r.aop.logging.LoggingAspect : Enter: io.github.jhipster.registry.service.ZuulUpdaterService.updateZuulRoutes() with argument[s] = []
2019-03-18 16:22:56.765 DEBUG 24384 --- [pool-3-thread-1] i.g.j.r.aop.logging.LoggingAspect : Exit: io.github.jhipster.registry.service.ZuulUpdaterService.updateZuulRoutes() with result = null
When I make a yarn to install dependencies
D:\BasuraTemporal\Jhipster\microservicetest1\jhipster-registry>yarn
yarn install v1.10.1
warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.
[1/5] Validating package.json...
[2/5] Resolving packages...
[3/5] Fetching packages...
info fsevents#1.2.4: The platform "win32" is incompatible with this module.
info "fsevents#1.2.4" is an optional dependency and failed compatibility check. Excluding it from installation.
[4/5] Linking dependencies...
warning " > bootstrap#4.0.0" has unmet peer dependency "popper.js#^1.12.9".
warning " > #angular/compiler-cli#5.2.8" has incorrect peer dependency "typescript#>=2.4.2 <2.7".
[5/5] Building fresh packages...
success Saved lockfile.
$ node node_modules/phantomjs-prebuilt/install.js
Found PhantomJS at D:\BasuraTemporal\Jhipster\microservicetest1\jhipster-registry\node_modules\phantomjs-prebuilt\lib\phantom\bin\phantomjs.exe ...verifying
PhantomJS is previously installed at D:\BasuraTemporal\Jhipster\microservicetest1\jhipster-registry\node_modules\phantomjs-prebuilt\lib\phantom\bin\phantomjs.exe
Done in 286.35s.
The result is the same:
2019-03-18 17:01:50.152 DEBUG 17880 --- [pool-3-thread-1] i.g.j.r.aop.logging.LoggingAspect : Enter: io.github.jhipster.registry.service.ZuulUpdaterService.updateZuulRoutes() with argument[s] = []
2019-03-18 17:01:50.152 DEBUG 17880 --- [pool-3-thread-1] i.g.j.r.aop.logging.LoggingAspect : Exit: io.github.jhipster.registry.service.ZuulUpdaterService.updateZuulRoutes() with result = null
Thanks for your help!
You should open a command prompt and do a:
yarn start
And then in another command prompt you can do you mvnw.
Check Build from start: https://www.jhipster.tech/jhipster-registry/
I am deploying contextbroker and when I use "-multiservice header"
as contextBroker_extra_ops option, the contextBroker is not started and not further information is obtained. Could you help me?
I am using contextBroker version 0.15.0
contextBroker -port 9999 -logDir /var/log/contextBroker -pidpath /var/log/contextBroker/contextBroker.pid -dbhost 127.0.0.1:27017 -db testdb1 -multiservice header
log directory: '/var/log/contextBroker'
DEBUG#12:59:56 paConfig.cpp[892]: setting trace levels to '0-255'
DEBUG#12:59:56 paConfig.cpp[893]: Leaving function paConfigActions
parameter 'header' not recognized
Using /etc/init.d/contextBroker I got a failure
/etc/init.d/contextBroker start
Starting...
contextBroker is stopped
Starting contextBroker... cat: /var/log/contextBroker/contextBroker.pid: No such file or directory
pidfile not found [FAILED]
The -multiservice CLI parameter changed between version 0.14.1 and 0.15.0. From 0.15.0 changelog:
# rpm -q --changelog contextBroker
* mié oct 01 2014 Fermin Galan <fermin#tid.es> 0.15.0-1 (FIWARE-3.5.3-1)
...
- Fix: made the broker not support URL-based multiservice (tenants) anymore (Issue #522)
- Fix: removed all the code related to URL-tenants (Issue #522)
...
Just replacing -multiservice header by -multiheader should solve the problem.
ubuntu 13.10
btrace 1.2.4
i have edit -Dcom.sun.btrace.unsafe=true param and assigned #BTrace( unsafe = true )
but when i run btrace script, it throw a exception:
btrace 1625 ProductRPCNewBtrace.java
DEBUG: btrace debug mode is set
DEBUG: btrace unsafe mode is set
DEBUG: assuming default port 2020
DEBUG: assuming default classpath '.'
DEBUG: compiling ProductRPCNewBtrace.java
DEBUG: compiled ProductRPCNewBtrace.java
DEBUG: attaching to 1625
DEBUG: checking port availability: 2020
DEBUG: attached to 1625
DEBUG: loading /export/servers/btrace/build/btrace-agent.jar
DEBUG: agent args:
port=2020,debug=true,unsafe=true,systemClassPath=/export/servers/jdk1.6.0_25/lib/tools.jar,probeDescPath=.
DEBUG: loaded /export/servers/btrace/build/btrace-agent.jar
DEBUG: registering shutdown hook
DEBUG: registering signal handler for SIGINT
DEBUG: submitting the BTrace program
DEBUG: opening socket to 2020
DEBUG: sending instrument command
DEBUG: entering into command loop
DEBUG: received com.sun.btrace.comm.ErrorCommand#3c24c4a3
com.sun.btrace.VerifierException: Unsafe mode, requested by the script, not allowed
at com.sun.btrace.runtime.Verifier.reportError(Verifier.java:385)
at com.sun.btrace.runtime.Verifier.reportError(Verifier.java:376)
at com.sun.btrace.runtime.Verifier$1.visit(Verifier.java:141)
at com.sun.btrace.org.objectweb.asm.ClassReader.a(Unknown Source)
at com.sun.btrace.org.objectweb.asm.ClassReader.a(Unknown Source)
at com.sun.btrace.org.objectweb.asm.ClassReader.accept(Unknown Source)
at com.sun.btrace.org.objectweb.asm.ClassReader.accept(Unknown Source)
at com.sun.btrace.runtime.InstrumentUtils.accept(InstrumentUtils.java:66)
at com.sun.btrace.runtime.InstrumentUtils.accept(InstrumentUtils.java:62)
at com.sun.btrace.agent.Client.verify(Client.java:397)
at com.sun.btrace.agent.Client.loadClass(Client.java:224)
at com.sun.btrace.agent.RemoteClient.(RemoteClient.java:59)
at com.sun.btrace.agent.Main.startServer(Main.java:379)
at com.sun.btrace.agent.Main.access$000(Main.java:65)
at com.sun.btrace.agent.Main$3.run(Main.java:166)
at java.lang.Thread.run(Thread.java:662)
DEBUG: received com.sun.btrace.comm.ExitCommand#11e9c82e
i open the debug mode, and we can see that i have open the unsafe mode.but why still not support unsafe mode??
i fixed it after restarting the application.
and i have proved it by changing -Dcom.sun.btrace.unsafe=false,and still can run in the unsafe mode. and then restart the application, run the same btrace script again,the same exception thrown.
I have successfully compiled pgagent from source on a CentOS 6.2 server.
When I try to launch pgagent with the following command :
/usr/bin/pgagent -l 2 hostaddr=serveur.com dbname=postgres user=postgres
I get the following error messages :
DEBUG: user : postgres
DEBUG: port : 0
DEBUG: host : server.com
DEBUG: dbname : postgres
DEBUG: password :
DEBUG: conn timeout : 0
DEBUG: Connection Information:
DEBUG: user : postgres
DEBUG: port : 0
DEBUG: host : server.com
DEBUG: dbname : postgres
DEBUG: password :
DEBUG: conn timeout : 0
DEBUG: Creating DB connection: user=postgres host=server.com dbname=postgres
DEBUG: Database sanity check
DEBUG: Clearing zombies
WARNING: Query error: ERROR: could not extend file "base/12870/12615": No space left on device
HINT: Check free disk space.
WARNING: Query error: ERROR: relation "pga_tmp_zombies" does not exist
LINE 1: INSERT INTO pga_tmp_zombies (jagpid) SELECT jagpid FROM pg...
^
WARNING: Query error: ERROR: table "pga_tmp_zombies" does not exist
WARNING: Query error: ERROR: could not extend file "base/12870/17167": No space left on device
HINT: Check free disk space.
WARNING: Couldn't create the primary connection (attempt 1): ERROR: could not extend file "base/12870/17167": No space left on device
HINT: Check free disk space.
DEBUG: Clearing all connections
DEBUG: Connection stats: total - 1, free - 0, deleted - 1
Any idea of the source of the problem ?
WARNING: Query error: ERROR: could not extend file "base/12870/12615": No space left on device
HINT: Check free disk space.
You're out of disk space, or (rather unlikely) a disk access quota limit has been hit for the database user. It's also possible you've run out of inodes on the file system for some platforms and file systems. Check df.