Hi all,
I've stumbled over the following debug-logs (SRX320 (23.4R2-S3.9) - jdhcp) and I'm curios if this is fixable without JTAC?
Dec 21 14:37:31.418561 [MSTR][ERROR] jdhcpd_persistent_db_set_filename: Unable to open file (/var/preserve/jdhcp_client_data)
Dec 21 14:37:35.563924 [MSTR][ERROR] jdhcpd_persistent_db_init: File open(/var/preserve/jdhcp_client_data) operation failed
Dec 21 14:37:35.564065 [MSTR][ERROR] main: jdhcpd_persistent_db_init failed
Dec 21 14:37:35.565066 [MSTR][ERROR] jdhcpd_persistent_restore: Unable to restore jdhcpd bindings as file(/var/preserve/jdhcp_client_data) is not present
Dec 21 14:37:35.565111 [MSTR][ERROR] jdhcpd_persistent_restore_enable: jdhcpd_persistent_restore failed
From what i can see, when the Image was build someone forgots the symlink from /var/preserve/ to /cf/var/preserve/
root@gw /var % ll
total 12
lrwxr-xr-x 1 root wheel 10 Nov 19 07:27 at -> /cf/var/at
lrwxr-xr-x 1 root wheel 14 Nov 19 07:27 chroot -> /cf/var/chroot
lrwxr-xr-x 1 root wheel 13 Nov 19 07:27 crash -> /cf/var/crash
lrwxr-xr-x 1 root wheel 12 Nov 19 07:27 cron -> /cf/var/cron
lrwxr-xr-x 1 root wheel 10 Nov 19 07:27 db -> /cf/var/db
dr-xr-xr-x 2 root wheel 2048 Nov 19 07:27 empty/
lrwxr-xr-x 1 root wheel 12 Nov 19 07:27 etc -> /mfs/var/etc
lrwxr-xr-x 1 root wheel 12 Nov 19 07:27 home -> /cf/var/home
lrwxr-xr-x 1 root wheel 12 Nov 19 07:27 jail -> /cf/var/jail
dr-xr-xr-x 2 root wheel 2048 Nov 19 07:27 jailetc/
lrwxr-xr-x 1 root wheel 13 Nov 19 07:27 jails -> /cf/var/jails
lrwxr-xr-x 1 root wheel 11 Nov 19 07:27 log -> /cf/var/log
lrwxr-xr-x 1 root wheel 14 Nov 19 07:27 named -> /cf/etc/namedb
lrwxr-xr-x 1 root wheel 12 Nov 19 07:27 packages -> /cf/packages
lrwxr-xr-x 1 root wheel 11 Nov 19 07:27 pdb -> /cf/var/pdb
lrwxr-xr-x 1 root wheel 12 Nov 19 07:27 run -> /mfs/var/run
dr-xr-xr-x 2 root wheel 2048 Nov 19 07:27 ssd/
lrwxr-xr-x 1 root wheel 10 Nov 19 07:27 sw -> /cf/var/sw
lrwxr-xr-x 1 root wheel 11 Nov 19 07:27 tmp -> /cf/var/tmp
lrwxr-xr-x 1 root wheel 20 Nov 19 07:27 traffic-log -> /mfs/var/traffic-log
lrwxr-xr-x 1 root wheel 16 Nov 19 07:27 transfer -> /cf/var/transfer
lrwxr-xr-x 1 root wheel 16 Nov 19 07:27 v -> /cf/var/validate
lrwxr-xr-x 1 root wheel 16 Nov 19 07:27 validate -> /cf/var/validate
Unfortunately /var/ is just a dir in /, which is read-only. It seems impossible to mount this RW. Any hints?
Thanks & Greetings
------------------------------
Matthias
------------------------------