Hi Harm,
I have no experience with mac but it might be a problem with write
permissions on the log volume, try this tipp please
https://github.com/openxpki/openxpki-docker/#500-server-error--no-webui
and also check your docker logs
And I am a bit curious that you have three starter processes, there
should only be one...
Oliver
On 14.12.23 15:22, Harm Verhagen wrote:
LS,
I recently moved (for development) from to a new macbook (M2 hardware
instead of x86).
I'm running the prebuild docker image 3.24
Before all worked like charm, on the new laptop....
I'm getting an error: /Watchdog Not running!/
All seem to work just fine, I got to import the ca cert & signing
certs. Signing certificates works fine, CRL generation/publication
seems to work just fine. (in foreground or background)
Is there actually something wrong, or is this a false positive?
image.png
The following processes are running in the container
root@8aaed8e648dc:/var/log/openxpki# ps -Af
UID PID PPID C STIME TTY TIME CMD
openxpki 1 0 0 14:05 ? 00:00:02 /rosetta/rosetta
/usr/bin/perl /usr/bin/perl -w /usr/bin/openxpkictl start --no-detach
openxpki 9 1 0 14:05 ? 00:00:00 /rosetta/rosetta
/usr/bin/perl /usr/bin/perl -w /usr/bin/openxpkictl start --no-detach
root 17 0 0 14:06 pts/0 00:00:00 /rosetta/rosetta
/bin/bash bash
openxpki 37 1 0 14:12 ? 00:00:00 /rosetta/rosetta
/usr/bin/perl /usr/bin/perl -w /usr/bin/openxpkictl start --no-detach
root 45 17 0 14:14 pts/0 00:00:00 /bin/ps ps -Af
Running with
server:
container_name: openxpki-server
image: whiterabbitsecurity/openxpki3:3.24
command: /usr/bin/openxpkictl start --no-detach
volumes:
- ./openxpki-config:/etc/openxpki
- log:/var/log/openxpki
- download:/var/www/download
- server_socket:/var/openxpki
- db_socket:/var/run/mysqld
Is the detection, whether the watchdog is running maybe broken when
running this on a macbook host? (Note the invocation of
/rosetta/rosetta to run the amd64 binaries on M2 hardware)
Regards,
Harm
Version info
whiterabbitsecurity/openxpki3:3.24 docker image
docker 4.25.2
on macbook (Apple M2 max hardware), Sonoma 14.2
Logging
Watchdog related logging
root@8aaed8e648dc:/var/log/openxpki# grep -i watchdog *
catchall.log:2023/12/14 14:12:59 openxpki.workflow.DEBUG watchdog:
paused wf 3839 found, mark with flag "9_1702563179_78" [pid=9|sid=eQaq]
catchall.log:2023/12/14 14:12:59 openxpki.workflow.INFO
<http://openxpki.workflow.INFO> watchdog, paused wf 3839 now ready to
re-instantiate, start fork process [pid=9|sid=eQaq]
openxpki.log:2023/12/14 14:12:59 DEBUG watchdog: paused wf 3839 found,
mark with flag "9_1702563179_78" [pid=9|sid=eQaq]
openxpki.log:2023/12/14 14:12:59 INFO watchdog, paused wf 3839 now
ready to re-instantiate, start fork process [pid=9|sid=eQaq]
_______________________________________________
OpenXPKI-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openxpki-users
--
Protect your environment - close windows and adopt a penguin!
_______________________________________________
OpenXPKI-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openxpki-users