flock() error after upgrading
-
I have upgraded on a custom x64 box and get following errors every second:
Firewall: firewall.home PHP ERROR: Type: 1, File: /etc/inc/util.inc, Line: 174, Message: Uncaught TypeError: flock(): supplied resource is not a valid stream resource in /etc/inc/util.inc:174 Stack trace: #0 /etc/inc/util.inc(174): flock(Resource id #10, 3) #1 /usr/local/www/xmlrpc.php(990): unlock(Resource id #10) #2 {main} thrown
Rolled back to an old zfs snapshot.
-
@renegade said in flock() error after upgrading:
I have upgraded on a custom x64 box and get following errors every second:
Firewall: firewall.home PHP ERROR: Type: 1, File: /etc/inc/util.inc, Line: 174, Message: Uncaught TypeError: flock(): supplied resource is not a valid stream resource in /etc/inc/util.inc:174 Stack trace: #0 /etc/inc/util.inc(174): flock(Resource id #10, 3) #1 /usr/local/www/xmlrpc.php(990): unlock(Resource id #10) #2 {main} thrown
Rolled back to an old zfs snapshot.
That is the sort of error we see when the disk is full or has a similar type of problem, it can't create the lock file it needs at that point. Either the physical disk is full or if you have RAM disks enabled, one of them may be undersized.
If you are tracking snapshots, you might check the Boot Environments list and clean up some old entries and then try the upgrade again.
-
hi there
just upgraded to the latest RC custom x64 and am getting this also, plenty of hard drive space 1% of 205gig, only one boot enviroment and no ram disks being used
-
Exactly the same error?
What version did you upgrade from?
-
HI Stephen, upgraded from 22.05 have rolled back to it now from the snapshot, copy of my error which is almost identical
[02-Feb-2023 23:31:39 GB] PHP Fatal error: Uncaught TypeError: flock(): supplied resource is not a valid stream resource in /etc/inc/util.inc:174
Stack trace:
#0 /etc/inc/util.inc(174): flock(Resource id #10, 3)
#1 /usr/local/www/xmlrpc.php(990): unlock(Resource id #10)
#2 {main}
thrown in /etc/inc/util.inc on line 174 -
I have the exact same after the upgrade, attached are some logs.
logs.zip -
Is that part of an HA cluster?
What do you have that is utilizing
xmlrpc.php
? Maybe a third party package or plugin?I also see a panic in the data you uploaded:
db:1:pfs> bt Tracing pid 12 tid 100119 td 0xfffffe00912ab020 kdb_enter() at kdb_enter+0x32/frame 0xfffffe0091421ae0 vpanic() at vpanic+0x182/frame 0xfffffe0091421b30 panic() at panic+0x43/frame 0xfffffe0091421b90 trap_fatal() at trap_fatal+0x409/frame 0xfffffe0091421bf0 trap_pfault() at trap_pfault+0x4f/frame 0xfffffe0091421c50 calltrap() at calltrap+0x8/frame 0xfffffe0091421c50 --- trap 0xc, rip = 0xffffffff81049016, rsp = 0xfffffe0091421d20, rbp = 0xfffffe0091421d40 --- pfsync_state_export() at pfsync_state_export+0x26/frame 0xfffffe0091421d40 pfsync_sendout() at pfsync_sendout+0x270/frame 0xfffffe0091421df0 pfsyncintr() at pfsyncintr+0xdc/frame 0xfffffe0091421e60 ithread_loop() at ithread_loop+0x25a/frame 0xfffffe0091421ef0 fork_exit() at fork_exit+0x7e/frame 0xfffffe0091421f30 fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe0091421f30
-
Plenty of space here and following plugins installed:
acme 0.7.3
arpwatch 0.2.0_6
bandwidthd 0.7.4_5
darkstat 3.1.3_5
haproxy 0.61_7
ipsec-profile-wizard 1.1_1
nmap 1.4.4_6
Notes 0.2.9_3
nut 2.7.4_10
pfBlockerNG-devel 3.1.0_11
Service_Watchdog 1.8.7_1
Status_Traffic_Totals 2.3.2_2
Telegraf 0.9_6
WireGuard 0.1.6_2 -
Any cron jobs setup on there that would run once per minute? Or any packages with XMLRPC sync features configured/enabled? I don't recognize anything there that might hit xmlrpc.php that often but I didn't go digging through package code.
If you go to a shell prompt and look at
ps uxawwd
are there maybe a bunch of processes backed up trying to do something?If it's not a disk/space issue then there must be something causing that script to fail to lock, which could mean there are other processes hanging out there that already hold the lock it wants, or something has removed the lock file or is preventing it from being created.
-
@jimp I don't have time to debug more, I also rolled back but to answer your question.. No it's not part of a cluster its a standalone device with HAproxy, ACME, ntopng and wireguard installed. I also noticed that wireguard didn't work on the update.
-
okay tried again, this time i removed all packages which was acme, ha-proxy, pfbocker, and wiregaurd, ran the upgrade and receiving this again
PHP ERROR: Type: 1, File: /etc/inc/util.inc, Line: 174, Message: Uncaught TypeError: flock(): supplied resource is not a valid stream resource in /etc/inc/util.inc:174
Stack trace:
#0 /etc/inc/util.inc(174): flock(Resource id #12, 3)
#1 /usr/local/www/xmlrpc.php(990): unlock(Resource id #12)
#2 {main}
thrown @ 2023-02-03 23:52:19 -
stayed up way to late but have done some more messing around, if i factory reset everything works as expected i think, restoring my config brings the error back, so going to try and create a hybrid config with just the standard info and try and strip out anything package related and see what happens
-
@maff I'm really curious about this! Thanks for investigating!
-
Yeah that's good info. Hard to see what included option would be hitting that once a minute.
-
sorry for the long spread of info, almost 2am so i have to sleep :(, but these are the cron jobs in my config i am unsure who they belong to ie a package or pfsense i think it's stipped down to just the networking stuff, dhcp, vlans, firewall rules and stuff except these cron jobs
Will continue the testing most likely when wife has gone out or bed time for her(am uk based), killing the net is not liked hehe
<cron> <item> <minute>*/1</minute> <hour>*</hour> <mday>*</mday> <month>*</month> <wday>*</wday> <who>root</who> <command>/usr/sbin/newsyslog</command> </item> <item> <minute>1</minute> <hour>3</hour> <mday>*</mday> <month>*</month> <wday>*</wday> <who>root</who> <command>/etc/rc.periodic daily</command> </item> <item> <minute>15</minute> <hour>4</hour> <mday>*</mday> <month>*</month> <wday>6</wday> <who>root</who> <command>/etc/rc.periodic weekly</command> </item> <item> <minute>30</minute> <hour>5</hour> <mday>1</mday> <month>*</month> <wday>*</wday> <who>root</who> <command>/etc/rc.periodic monthly</command> </item> <item> <minute>1,31</minute> <hour>0-5</hour> <mday>*</mday> <month>*</month> <wday>*</wday> <who>root</who> <command>/usr/bin/nice -n20 adjkerntz -a</command> </item> <item> <minute>1</minute> <hour>3</hour> <mday>1</mday> <month>*</month> <wday>*</wday> <who>root</who> <command>/usr/bin/nice -n20 /etc/rc.update_bogons.sh</command> </item> <item> <minute>*/60</minute> <hour>*</hour> <mday>*</mday> <month>*</month> <wday>*</wday> <who>root</who> <command>/usr/bin/nice -n20 /usr/local/sbin/expiretable -v -t 3600 virusprot</command> </item> <item> <minute>30</minute> <hour>12</hour> <mday>*</mday> <month>*</month> <wday>*</wday> <who>root</who> <command>/usr/bin/nice -n20 /etc/rc.update_urltables</command> </item> <item> <minute>1</minute> <hour>0</hour> <mday>*</mday> <month>*</month> <wday>*</wday> <who>root</who> <command>/usr/bin/nice -n20 /etc/rc.update_pkg_metadata</command> </item> </cron>
-
I am getting this exact same error after updating from 22.05 to 23.01-RC.
PHP ERROR: Type: 1, File: /etc/inc/util.inc, Line: 174, Message: Uncaught TypeError: flock(): supplied resource is not a valid stream resource in /etc/inc/util.inc:174 Stack trace: #0 /etc/inc/util.inc(174): flock(Resource id #13, 3) #1 /usr/local/www/xmlrpc.php(990): unlock(Resource id #13) #2 {main} thrown @ 2023-02-04 08:43:25 PHP ERROR: Type: 1, File: /etc/inc/util.inc, Line: 174, Message: Uncaught TypeError: flock(): supplied resource is not a valid stream resource in /etc/inc/util.inc:174 Stack trace: #0 /etc/inc/util.inc(174): flock(Resource id #10, 3) #1 /usr/local/www/xmlrpc.php(990): unlock(Resource id #10) #2 {main} thrown @ 2023-02-04 08:43:31 PHP ERROR: Type: 1, File: /etc/inc/util.inc, Line: 174, Message: Uncaught TypeError: flock(): supplied resource is not a valid stream resource in /etc/inc/util.inc:174 Stack trace: #0 /etc/inc/util.inc(174): flock(Resource id #10, 3) #1 /usr/local/www/xmlrpc.php(990): unlock(Resource id #10) #2 {main} thrown @ 2023-02-04 08:43:33 PHP ERROR: Type: 1, File: /etc/inc/util.inc, Line: 174, Message: Uncaught TypeError: flock(): supplied resource is not a valid stream resource in /etc/inc/util.inc:174 Stack trace: #0 /etc/inc/util.inc(174): flock(Resource id #10, 3) #1 /usr/local/www/xmlrpc.php(990): unlock(Resource id #10) #2 {main} thrown @ 2023-02-04 08:43:35 PHP ERROR: Type: 1, File: /etc/inc/util.inc, Line: 174, Message: Uncaught TypeError: flock(): supplied resource is not a valid stream resource in /etc/inc/util.inc:174 Stack trace: #0 /etc/inc/util.inc(174): flock(Resource id #10, 3) #1 /usr/local/www/xmlrpc.php(990): unlock(Resource id #10) #2 {main} thrown @ 2023-02-04 08:43:41 PHP ERROR: Type: 1, File: /etc/inc/util.inc, Line: 174, Message: Uncaught TypeError: flock(): supplied resource is not a valid stream resource in /etc/inc/util.inc:174 Stack trace: #0 /etc/inc/util.inc(174): flock(Resource id #10, 3) #1 /usr/local/www/xmlrpc.php(990): unlock(Resource id #10) #2 {main} thrown @ 2023-02-04 08:43:44 PHP ERROR: Type: 1, File: /etc/inc/util.inc, Line: 174, Message: Uncaught TypeError: flock(): supplied resource is not a valid stream resource in /etc/inc/util.inc:174 Stack trace: #0 /etc/inc/util.inc(174): flock(Resource id #10, 3) #1 /usr/local/www/xmlrpc.php(990): unlock(Resource id #10) #2 {main} thrown @ 2023-02-04 08:43:47 PHP ERROR: Type: 1, File: /etc/inc/util.inc, Line: 174, Message: Uncaught TypeError: flock(): supplied resource is not a valid stream resource in /etc/inc/util.inc:174 Stack trace: #0 /etc/inc/util.inc(174): flock(Resource id #10, 3) #1 /usr/local/www/xmlrpc.php(990): unlock(Resource id #10) #2 {main} thrown @ 2023-02-04 08:43:50 PHP ERROR: Type: 1, File: /etc/inc/util.inc, Line: 174, Message: Uncaught TypeError: flock(): supplied resource is not a valid stream resource in /etc/inc/util.inc:174 Stack trace: #0 /etc/inc/util.inc(174): flock(Resource id #10, 3) #1 /usr/local/www/xmlrpc.php(990): unlock(Resource id #10) #2 {main} thrown @ 2023-02-04 08:43:51 PHP ERROR: Type: 1, File: /etc/inc/util.inc, Line: 174, Message: Uncaught TypeError: flock(): supplied resource is not a valid stream resource in /etc/inc/util.inc:174 Stack trace: #0 /etc/inc/util.inc(174): flock(Resource id #10, 3) #1 /usr/local/www/xmlrpc.php(990): unlock(Resource id #10) #2 {main} thrown @ 2023-02-04 08:43:52 PHP ERROR: Type: 1, File: /etc/inc/util.inc, Line: 174, Message: Uncaught TypeError: flock(): supplied resource is not a valid stream resource in /etc/inc/util.inc:174 Stack trace: #0 /etc/inc/util.inc(174): flock(Resource id #10, 3) #1 /usr/local/www/xmlrpc.php(990): unlock(Resource id #10) #2 {main} thrown @ 2023-02-04 08:43:53 PHP ERROR: Type: 1, File: /etc/inc/util.inc, Line: 174, Message: Uncaught TypeError: flock(): supplied resource is not a valid stream resource in /etc/inc/util.inc:174 Stack trace: #0 /etc/inc/util.inc(174): flock(Resource id #10, 3) #1 /usr/local/www/xmlrpc.php(990): unlock(Resource id #10) #2 {main} thrown @ 2023-02-04 08:43:54 PHP ERROR: Type: 1, File: /etc/inc/util.inc, Line: 174, Message: Uncaught TypeError: flock(): supplied resource is not a valid stream resource in /etc/inc/util.inc:174 Stack trace: #0 /etc/inc/util.inc(174): flock(Resource id #10, 3) #1 /usr/local/www/xmlrpc.php(990): unlock(Resource id #10) #2 {main} thrown @ 2023-02-04 08:43:55 PHP ERROR: Type: 1, File: /etc/inc/util.inc, Line: 174, Message: Uncaught TypeError: flock(): supplied resource is not a valid stream resource in /etc/inc/util.inc:174 Stack trace: #0 /etc/inc/util.inc(174): flock(Resource id #10, 3) #1 /usr/local/www/xmlrpc.php(990): unlock(Resource id #10) #2 {main} thrown @ 2023-02-04 08:43:56 PHP ERROR: Type: 1, File: /etc/inc/util.inc, Line: 174, Message: Uncaught TypeError: flock(): supplied resource is not a valid stream resource in /etc/inc/util.inc:174 Stack trace: #0 /etc/inc/util.inc(174): flock(Resource id #10, 3) #1 /usr/local/www/xmlrpc.php(990): unlock(Resource id #10) #2 {main} thrown @ 2023-02-04 08:44:14 PHP ERROR: Type: 1, File: /etc/inc/util.inc, Line: 174, Message: Uncaught TypeError: flock(): supplied resource is not a valid stream resource in /etc/inc/util.inc:174 Stack trace: #0 /etc/inc/util.inc(174): flock(Resource id #10, 3) #1 /usr/local/www/xmlrpc.php(990): unlock(Resource id #10) #2 {main} thrown @ 2023-02-04 08:44:15 PHP ERROR: Type: 1, File: /etc/inc/util.inc, Line: 174, Message: Uncaught TypeError: flock(): supplied resource is not a valid stream resource in /etc/inc/util.inc:174 Stack trace: #0 /etc/inc/util.inc(174): flock(Resource id #10, 3) #1 /usr/local/www/xmlrpc.php(990): unlock(Resource id #10) #2 {main} thrown @ 2023-02-04 08:44:16 PHP ERROR: Type: 1, File: /etc/inc/util.inc, Line: 174, Message: Uncaught TypeError: flock(): supplied resource is not a valid stream resource in /etc/inc/util.inc:174 Stack trace: #0 /etc/inc/util.inc(174): flock(Resource id #10, 3) #1 /usr/local/www/xmlrpc.php(990): unlock(Resource id #10) #2 {main} thrown @ 2023-02-04 08:44:17 PHP ERROR: Type: 1, File: /etc/inc/util.inc, Line: 174, Message: Uncaught TypeError: flock(): supplied resource is not a valid stream resource in /etc/inc/util.inc:174 Stack trace: #0 /etc/inc/util.inc(174): flock(Resource id #10, 3) #1 /usr/local/www/xmlrpc.php(990): unlock(Resource id #10) #2 {main} thrown @ 2023-02-04 08:44:18 PHP ERROR: Type: 1, File: /etc/inc/util.inc, Line: 174, Message: Uncaught TypeError: flock(): supplied resource is not a valid stream resource in /etc/inc/util.inc:174 Stack trace: #0 /etc/inc/util.inc(174): flock(Resource id #10, 3) #1 /usr/local/www/xmlrpc.php(990): unlock(Resource id #10) #2 {main} thrown @ 2023-02-04 08:44:19 PHP ERROR: Type: 1, File: /etc/inc/util.inc, Line: 174, Message: Uncaught TypeError: flock(): supplied resource is not a valid stream resource in /etc/inc/util.inc:174 Stack trace: #0 /etc/inc/util.inc(174): flock(Resource id #10, 3) #1 /usr/local/www/xmlrpc.php(990): unlock(Resource id #10) #2 {main} thrown @ 2023-02-04 08:44:20 PHP ERROR: Type: 1, File: /etc/inc/util.inc, Line: 174, Message: Uncaught TypeError: flock(): supplied resource is not a valid stream resource in /etc/inc/util.inc:174 Stack trace: #0 /etc/inc/util.inc(174): flock(Resource id #10, 3) #1 /usr/local/www/xmlrpc.php(990): unlock(Resource id #10) #2 {main} thrown @ 2023-02-04 08:44:21 PHP ERROR: Type: 1, File: /etc/inc/util.inc, Line: 174, Message: Uncaught TypeError: flock(): supplied resource is not a valid stream resource in /etc/inc/util.inc:174 Stack trace: #0 /etc/inc/util.inc(174): flock(Resource id #10, 3) #1 /usr/local/www/xmlrpc.php(990): unlock(Resource id #10) #2 {main} thrown @ 2023-02-04 08:44:22 PHP ERROR: Type: 1, File: /etc/inc/util.inc, Line: 174, Message: Uncaught TypeError: flock(): supplied resource is not a valid stream resource in /etc/inc/util.inc:174 Stack trace: #0 /etc/inc/util.inc(174): flock(Resource id #10, 3) #1 /usr/local/www/xmlrpc.php(990): unlock(Resource id #10) #2 {main} thrown @ 2023-02-04 08:44:23 PHP ERROR: Type: 1, File: /etc/inc/util.inc, Line: 174, Message: Uncaught TypeError: flock(): supplied resource is not a valid stream resource in /etc/inc/util.inc:174 Stack trace: #0 /etc/inc/util.inc(174): flock(Resource id #10, 3) #1 /usr/local/www/xmlrpc.php(990): unlock(Resource id #10) #2 {main} thrown @ 2023-02-04 08:44:24 PHP ERROR: Type: 1, File: /etc/inc/util.inc, Line: 174, Message: Uncaught TypeError: flock(): supplied resource is not a valid stream resource in /etc/inc/util.inc:174 Stack trace: #0 /etc/inc/util.inc(174): flock(Resource id #10, 3) #1 /usr/local/www/xmlrpc.php(990): unlock(Resource id #10) #2 {main} thrown @ 2023-02-04 08:44:25 PHP ERROR: Type: 1, File: /etc/inc/util.inc, Line: 174, Message: Uncaught TypeError: flock(): supplied resource is not a valid stream resource in /etc/inc/util.inc:174 Stack trace: #0 /etc/inc/util.inc(174): flock(Resource id #10, 3) #1 /usr/local/www/xmlrpc.php(990): unlock(Resource id #10) #2 {main} thrown @ 2023-02-04 08:44:26 PHP ERROR: Type: 1, File: /etc/inc/util.inc, Line: 174, Message: Uncaught TypeError: flock(): supplied resource is not a valid stream resource in /etc/inc/util.inc:174 Stack trace: #0 /etc/inc/util.inc(174): flock(Resource id #10, 3) #1 /usr/local/www/xmlrpc.php(990): unlock(Resource id #10) #2 {main} thrown @ 2023-02-04 08:44:27 PHP ERROR: Type: 1, File: /etc/inc/util.inc, Line: 174, Message: Uncaught TypeError: flock(): supplied resource is not a valid stream resource in /etc/inc/util.inc:174 Stack trace: #0 /etc/inc/util.inc(174): flock(Resource id #10, 3) #1 /usr/local/www/xmlrpc.php(990): unlock(Resource id #10) #2 {main} thrown @ 2023-02-04 08:44:46 PHP ERROR: Type: 1, File: /etc/inc/util.inc, Line: 174, Message: Uncaught TypeError: flock(): supplied resource is not a valid stream resource in /etc/inc/util.inc:174 Stack trace: #0 /etc/inc/util.inc(174): flock(Resource id #10, 3) #1 /usr/local/www/xmlrpc.php(990): unlock(Resource id #10) #2 {main} thrown @ 2023-02-04 08:44:47 PHP ERROR: Type: 1, File: /etc/inc/util.inc, Line: 174, Message: Uncaught TypeError: flock(): supplied resource is not a valid stream resource in /etc/inc/util.inc:174 Stack trace: #0 /etc/inc/util.inc(174): flock(Resource id #10, 3) #1 /usr/local/www/xmlrpc.php(990): unlock(Resource id #10) #2 {main} thrown @ 2023-02-04 08:44:48 PHP ERROR: Type: 1, File: /etc/inc/util.inc, Line: 174, Message: Uncaught TypeError: flock(): supplied resource is not a valid stream resource in /etc/inc/util.inc:174 Stack trace: #0 /etc/inc/util.inc(174): flock(Resource id #10, 3) #1 /usr/local/www/xmlrpc.php(990): unlock(Resource id #10) #2 {main} thrown @ 2023-02-04 08:44:49 PHP ERROR: Type: 1, File: /etc/inc/util.inc, Line: 174, Message: Uncaught TypeError: flock(): supplied resource is not a valid stream resource in /etc/inc/util.inc:174 Stack trace: #0 /etc/inc/util.inc(174): flock(Resource id #10, 3) #1 /usr/local/www/xmlrpc.php(990): unlock(Resource id #10) #2 {main} thrown @ 2023-02-04 08:44:50 PHP ERROR: Type: 1, File: /etc/inc/util.inc, Line: 174, Message: Uncaught TypeError: flock(): supplied resource is not a valid stream resource in /etc/inc/util.inc:174 Stack trace: #0 /etc/inc/util.inc(174): flock(Resource id #10, 3) #1 /usr/local/www/xmlrpc.php(990): unlock(Resource id #10) #2 {main} thrown @ 2023-02-04 08:44:51 PHP ERROR: Type: 1, File: /etc/inc/util.inc, Line: 174, Message: Uncaught TypeError: flock(): supplied resource is not a valid stream resource in /etc/inc/util.inc:174 Stack trace: #0 /etc/inc/util.inc(174): flock(Resource id #10, 3) #1 /usr/local/www/xmlrpc.php(990): unlock(Resource id #10) #2 {main} thrown @ 2023-02-04 08:44:52 PHP ERROR: Type: 1, File: /etc/inc/util.inc, Line: 174, Message: Uncaught TypeError: flock(): supplied resource is not a valid stream resource in /etc/inc/util.inc:174 Stack trace: #0 /etc/inc/util.inc(174): flock(Resource id #10, 3) #1 /usr/local/www/xmlrpc.php(990): unlock(Resource id #10) #2 {main} thrown @ 2023-02-04 08:44:53 PHP ERROR: Type: 1, File: /etc/inc/util.inc, Line: 174, Message: Uncaught TypeError: flock(): supplied resource is not a valid stream resource in /etc/inc/util.inc:174 Stack trace: #0 /etc/inc/util.inc(174): flock(Resource id #10, 3) #1 /usr/local/www/xmlrpc.php(990): unlock(Resource id #10) #2 {main} thrown @ 2023-02-04 08:44:54 PHP ERROR: Type: 1, File: /etc/inc/util.inc, Line: 174, Message: Uncaught TypeError: flock(): supplied resource is not a valid stream resource in /etc/inc/util.inc:174 Stack trace: #0 /etc/inc/util.inc(174): flock(Resource id #10, 3) #1 /usr/local/www/xmlrpc.php(990): unlock(Resource id #10) #2 {main} thrown @ 2023-02-04 08:44:55 PHP ERROR: Type: 1, File: /etc/inc/util.inc, Line: 174, Message: Uncaught TypeError: flock(): supplied resource is not a valid stream resource in /etc/inc/util.inc:174 Stack trace: #0 /etc/inc/util.inc(174): flock(Resource id #10, 3) #1 /usr/local/www/xmlrpc.php(990): unlock(Resource id #10) #2 {main} thrown @ 2023-02-04 08:44:56 PHP ERROR: Type: 1, File: /etc/inc/util.inc, Line: 174, Message: Uncaught TypeError: flock(): supplied resource is not a valid stream resource in /etc/inc/util.inc:174 Stack trace: #0 /etc/inc/util.inc(174): flock(Resource id #10, 3) #1 /usr/local/www/xmlrpc.php(990): unlock(Resource id #10) #2 {main} thrown @ 2023-02-04 08:44:57 PHP ERROR: Type: 1, File: /etc/inc/util.inc, Line: 174, Message: Uncaught TypeError: flock(): supplied resource is not a valid stream resource in /etc/inc/util.inc:174 Stack trace: #0 /etc/inc/util.inc(174): flock(Resource id #10, 3) #1 /usr/local/www/xmlrpc.php(990): unlock(Resource id #10) #2 {main} thrown @ 2023-02-04 08:44:58 PHP ERROR: Type: 1, File: /etc/inc/util.inc, Line: 174, Message: Uncaught TypeError: flock(): supplied resource is not a valid stream resource in /etc/inc/util.inc:174 Stack trace: #0 /etc/inc/util.inc(174): flock(Resource id #10, 3) #1 /usr/local/www/xmlrpc.php(990): unlock(Resource id #10) #2 {main} thrown @ 2023-02-04 08:44:59 PHP ERROR: Type: 1, File: /etc/inc/util.inc, Line: 174, Message: Uncaught TypeError: flock(): supplied resource is not a valid stream resource in /etc/inc/util.inc:174 Stack trace: #0 /etc/inc/util.inc(174): flock(Resource id #10, 3) #1 /usr/local/www/xmlrpc.php(990): unlock(Resource id #10) #2 {main} thrown @ 2023-02-04 08:45:18 PHP ERROR: Type: 1, File: /etc/inc/util.inc, Line: 174, Message: Uncaught TypeError: flock(): supplied resource is not a valid stream resource in /etc/inc/util.inc:174 Stack trace: #0 /etc/inc/util.inc(174): flock(Resource id #10, 3) #1 /usr/local/www/xmlrpc.php(990): unlock(Resource id #10) #2 {main} thrown @ 2023-02-04 08:45:19 PHP ERROR: Type: 1, File: /etc/inc/util.inc, Line: 174, Message: Uncaught TypeError: flock(): supplied resource is not a valid stream resource in /etc/inc/util.inc:174 Stack trace: #0 /etc/inc/util.inc(174): flock(Resource id #10, 3) #1 /usr/local/www/xmlrpc.php(990): unlock(Resource id #10) #2 {main} thrown @ 2023-02-04 08:45:20 PHP ERROR: Type: 1, File: /etc/inc/util.inc, Line: 174, Message: Uncaught TypeError: flock(): supplied resource is not a valid stream resource in /etc/inc/util.inc:174 Stack trace: #0 /etc/inc/util.inc(174): flock(Resource id #10, 3) #1 /usr/local/www/xmlrpc.php(990): unlock(Resource id #10) #2 {main} thrown @ 2023-02-04 08:45:21 PHP ERROR: Type: 1, File: /etc/inc/util.inc, Line: 174, Message: Uncaught TypeError: flock(): supplied resource is not a valid stream resource in /etc/inc/util.inc:174 Stack trace: #0 /etc/inc/util.inc(174): flock(Resource id #10, 3) #1 /usr/local/www/xmlrpc.php(990): unlock(Resource id #10) #2 {main} thrown @ 2023-02-04 08:45:22 PHP ERROR: Type: 1, File: /etc/inc/util.inc, Line: 174, Message: Uncaught TypeError: flock(): supplied resource is not a valid stream resource in /etc/inc/util.inc:174 Stack trace: #0 /etc/inc/util.inc(174): flock(Resource id #10, 3) #1 /usr/local/www/xmlrpc.php(990): unlock(Resource id #10) #2 {main} thrown @ 2023-02-04 08:45:23 PHP ERROR: Type: 1, File: /etc/inc/util.inc, Line: 174, Message: Uncaught TypeError: flock(): supplied resource is not a valid stream resource in /etc/inc/util.inc:174 Stack trace: #0 /etc/inc/util.inc(174): flock(Resource id #10, 3) #1 /usr/local/www/xmlrpc.php(990): unlock(Resource id #10) #2 {main} thrown @ 2023-02-04 08:45:24 PHP ERROR: Type: 1, File: /etc/inc/util.inc, Line: 174, Message: Uncaught TypeError: flock(): supplied resource is not a valid stream resource in /etc/inc/util.inc:174 Stack trace: #0 /etc/inc/util.inc(174): flock(Resource id #10, 3) #1 /usr/local/www/xmlrpc.php(990): unlock(Resource id #10) #2 {main} thrown @ 2023-02-04 08:45:25 PHP ERROR: Type: 1, File: /etc/inc/util.inc, Line: 174, Message: Uncaught TypeError: flock(): supplied resource is not a valid stream resource in /etc/inc/util.inc:174 Stack trace: #0 /etc/inc/util.inc(174): flock(Resource id #10, 3) #1 /usr/local/www/xmlrpc.php(990): unlock(Resource id #10) #2 {main} thrown @ 2023-02-04 08:45:26 PHP ERROR: Type: 1, File: /etc/inc/util.inc, Line: 174, Message: Uncaught TypeError: flock(): supplied resource is not a valid stream resource in /etc/inc/util.inc:174 Stack trace: #0 /etc/inc/util.inc(174): flock(Resource id #10, 3) #1 /usr/local/www/xmlrpc.php(990): unlock(Resource id #10) #2 {main} thrown @ 2023-02-04 08:45:27 PHP ERROR: Type: 1, File: /etc/inc/util.inc, Line: 174, Message: Uncaught TypeError: flock(): supplied resource is not a valid stream resource in /etc/inc/util.inc:174 Stack trace: #0 /etc/inc/util.inc(174): flock(Resource id #10, 3) #1 /usr/local/www/xmlrpc.php(990): unlock(Resource id #10) #2 {main} thrown @ 2023-02-04 08:45:28 PHP ERROR: Type: 1, File: /etc/inc/util.inc, Line: 174, Message: Uncaught TypeError: flock(): supplied resource is not a valid stream resource in /etc/inc/util.inc:174 Stack trace: #0 /etc/inc/util.inc(174): flock(Resource id #10, 3) #1 /usr/local/www/xmlrpc.php(990): unlock(Resource id #10) #2 {main} thrown @ 2023-02-04 08:45:29 PHP ERROR: Type: 1, File: /etc/inc/util.inc, Line: 174, Message: Uncaught TypeError: flock(): supplied resource is not a valid stream resource in /etc/inc/util.inc:174 Stack trace: #0 /etc/inc/util.inc(174): flock(Resource id #10, 3) #1 /usr/local/www/xmlrpc.php(990): unlock(Resource id #10) #2 {main} thrown @ 2023-02-04 08:45:30 PHP ERROR: Type: 1, File: /etc/inc/util.inc, Line: 174, Message: Uncaught TypeError: flock(): supplied resource is not a valid stream resource in /etc/inc/util.inc:174 Stack trace: #0 /etc/inc/util.inc(174): flock(Resource id #10, 3) #1 /usr/local/www/xmlrpc.php(990): unlock(Resource id #10) #2 {main} thrown @ 2023-02-04 08:45:31 PHP ERROR: Type: 1, File: /etc/inc/util.inc, Line: 174, Message: Uncaught TypeError: flock(): supplied resource is not a valid stream resource in /etc/inc/util.inc:174 Stack trace: #0 /etc/inc/util.inc(174): flock(Resource id #10, 3) #1 /usr/local/www/xmlrpc.php(990): unlock(Resource id #10) #2 {main} thrown @ 2023-02-04 08:45:50 PHP ERROR: Type: 1, File: /etc/inc/util.inc, Line: 174, Message: Uncaught TypeError: flock(): supplied resource is not a valid stream resource in /etc/inc/util.inc:174 Stack trace: #0 /etc/inc/util.inc(174): flock(Resource id #10, 3) #1 /usr/local/www/xmlrpc.php(990): unlock(Resource id #10) #2 {main} thrown @ 2023-02-04 08:45:51 PHP ERROR: Type: 1, File: /etc/inc/util.inc, Line: 174, Message: Uncaught TypeError: flock(): supplied resource is not a valid stream resource in /etc/inc/util.inc:174 Stack trace: #0 /etc/inc/util.inc(174): flock(Resource id #10, 3) #1 /usr/local/www/xmlrpc.php(990): unlock(Resource id #10) #2 {main} thrown @ 2023-02-04 08:45:52 PHP ERROR: Type: 1, File: /etc/inc/util.inc, Line: 174, Message: Uncaught TypeError: flock(): supplied resource is not a valid stream resource in /etc/inc/util.inc:174 Stack trace: #0 /etc/inc/util.inc(174): flock(Resource id #10, 3) #1 /usr/local/www/xmlrpc.php(990): unlock(Resource id #10) #2 {main} thrown @ 2023-02-04 08:45:53 PHP ERROR: Type: 1, File: /etc/inc/util.inc, Line: 174, Message: Uncaught TypeError: flock(): supplied resource is not a valid stream resource in /etc/inc/util.inc:174 Stack trace: #0 /etc/inc/util.inc(174): flock(Resource id #10, 3) #1 /usr/local/www/xmlrpc.php(990): unlock(Resource id #10) #2 {main} thrown @ 2023-02-04 08:45:54 PHP ERROR: Type: 1, File: /etc/inc/util.inc, Line: 174, Message: Uncaught TypeError: flock(): supplied resource is not a valid stream resource in /etc/inc/util.inc:174 Stack trace: #0 /etc/inc/util.inc(174): flock(Resource id #10, 3) #1 /usr/local/www/xmlrpc.php(990): unlock(Resource id #10) #2 {main} thrown @ 2023-02-04 08:45:55 PHP ERROR: Type: 1, File: /etc/inc/util.inc, Line: 174, Message: Uncaught TypeError: flock(): supplied resource is not a valid stream resource in /etc/inc/util.inc:174 Stack trace: #0 /etc/inc/util.inc(174): flock(Resource id #10, 3) #1 /usr/local/www/xmlrpc.php(990): unlock(Resource id #10) #2 {main} thrown @ 2023-02-04 08:45:56 PHP ERROR: Type: 1, File: /etc/inc/util.inc, Line: 174, Message: Uncaught TypeError: flock(): supplied resource is not a valid stream resource in /etc/inc/util.inc:174 Stack trace: #0 /etc/inc/util.inc(174): flock(Resource id #10, 3) #1 /usr/local/www/xmlrpc.php(990): unlock(Resource id #10) #2 {main} thrown @ 2023-02-04 08:45:57 PHP ERROR: Type: 1, File: /etc/inc/util.inc, Line: 174, Message: Uncaught TypeError: flock(): supplied resource is not a valid stream resource in /etc/inc/util.inc:174 Stack trace: #0 /etc/inc/util.inc(174): flock(Resource id #10, 3) #1 /usr/local/www/xmlrpc.php(990): unlock(Resource id #10) #2 {main} thrown @ 2023-02-04 08:45:58 PHP ERROR: Type: 1, File: /etc/inc/util.inc, Line: 174, Message: Uncaught TypeError: flock(): supplied resource is not a valid stream resource in /etc/inc/util.inc:174 Stack trace: #0 /etc/inc/util.inc(174): flock(Resource id #10, 3) #1 /usr/local/www/xmlrpc.php(990): unlock(Resource id #10) #2 {main} thrown @ 2023-02-04 08:45:59 PHP ERROR: Type: 1, File: /etc/inc/util.inc, Line: 174, Message: Uncaught TypeError: flock(): supplied resource is not a valid stream resource in /etc/inc/util.inc:174 Stack trace: #0 /etc/inc/util.inc(174): flock(Resource id #10, 3) #1 /usr/local/www/xmlrpc.php(990): unlock(Resource id #10) #2 {main} thrown @ 2023-02-04 08:46:00 PHP ERROR: Type: 1, File: /etc/inc/util.inc, Line: 174, Message: Uncaught TypeError: flock(): supplied resource is not a valid stream resource in /etc/inc/util.inc:174 Stack trace: #0 /etc/inc/util.inc(174): flock(Resource id #10, 3) #1 /usr/local/www/xmlrpc.php(990): unlock(Resource id #10) #2 {main} thrown @ 2023-02-04 08:46:01 PHP ERROR: Type: 1, File: /etc/inc/util.inc, Line: 174, Message: Uncaught TypeError: flock(): supplied resource is not a valid stream resource in /etc/inc/util.inc:174 Stack trace: #0 /etc/inc/util.inc(174): flock(Resource id #10, 3) #1 /usr/local/www/xmlrpc.php(990): unlock(Resource id #10) #2 {main} thrown @ 2023-02-04 08:46:02 PHP ERROR: Type: 1, File: /etc/inc/util.inc, Line: 174, Message: Uncaught TypeError: flock(): supplied resource is not a valid stream resource in /etc/inc/util.inc:174 Stack trace: #0 /etc/inc/util.inc(174): flock(Resource id #10, 3) #1 /usr/local/www/xmlrpc.php(990): unlock(Resource id #10) #2 {main} thrown @ 2023-02-04 08:46:03 PHP ERROR: Type: 1, File: /etc/inc/util.inc, Line: 174, Message: Uncaught TypeError: flock(): supplied resource is not a valid stream resource in /etc/inc/util.inc:174 Stack trace: #0 /etc/inc/util.inc(174): flock(Resource id #10, 3) #1 /usr/local/www/xmlrpc.php(990): unlock(Resource id #10) #2 {main} thrown @ 2023-02-04 08:46:22 PHP ERROR: Type: 1, File: /etc/inc/util.inc, Line: 174, Message: Uncaught TypeError: flock(): supplied resource is not a valid stream resource in /etc/inc/util.inc:174 Stack trace: #0 /etc/inc/util.inc(174): flock(Resource id #10, 3) #1 /usr/local/www/xmlrpc.php(990): unlock(Resource id #10) #2 {main} thrown @ 2023-02-04 08:46:23 PHP ERROR: Type: 1, File: /etc/inc/util.inc, Line: 174, Message: Uncaught TypeError: flock(): supplied resource is not a valid stream resource in /etc/inc/util.inc:174 Stack trace: #0 /etc/inc/util.inc(174): flock(Resource id #10, 3) #1 /usr/local/www/xmlrpc.php(990): unlock(Resource id #10) #2 {main} thrown @ 2023-02-04 08:46:24 PHP ERROR: Type: 1, File: /etc/inc/util.inc, Line: 174, Message: Uncaught TypeError: flock(): supplied resource is not a valid stream resource in /etc/inc/util.inc:174 Stack trace: #0 /etc/inc/util.inc(174): flock(Resource id #10, 3) #1 /usr/local/www/xmlrpc.php(990): unlock(Resource id #10) #2 {main} thrown @ 2023-02-04 08:46:25 PHP ERROR: Type: 1, File: /etc/inc/util.inc, Line: 174, Message: Uncaught TypeError: flock(): supplied resource is not a valid stream resource in /etc/inc/util.inc:174 Stack trace: #0 /etc/inc/util.inc(174): flock(Resource id #10, 3) #1 /usr/local/www/xmlrpc.php(990): unlock(Resource id #10) #2 {main} thrown @ 2023-02-04 08:46:26 PHP ERROR: Type: 1, File: /etc/inc/util.inc, Line: 174, Message: Uncaught TypeError: flock(): supplied resource is not a valid stream resource in /etc/inc/util.inc:174 Stack trace: #0 /etc/inc/util.inc(174): flock(Resource id #10, 3) #1 /usr/local/www/xmlrpc.php(990): unlock(Resource id #10) #2 {main} thrown @ 2023-02-04 08:46:27 PHP ERROR: Type: 1, File: /etc/inc/util.inc, Line: 174, Message: Uncaught TypeError: flock(): supplied resource is not a valid stream resource in /etc/inc/util.inc:174 Stack trace: #0 /etc/inc/util.inc(174): flock(Resource id #10, 3) #1 /usr/local/www/xmlrpc.php(990): unlock(Resource id #10) #2 {main} thrown @ 2023-02-04 08:46:28 PHP ERROR: Type: 1, File: /etc/inc/util.inc, Line: 174, Message: Uncaught TypeError: flock(): supplied resource is not a valid stream resource in /etc/inc/util.inc:174 Stack trace: #0 /etc/inc/util.inc(174): flock(Resource id #10, 3) #1 /usr/local/www/xmlrpc.php(990): unlock(Resource id #10) #2 {main} thrown @ 2023-02-04 08:46:29 PHP ERROR: Type: 1, File: /etc/inc/util.inc, Line: 174, Message: Uncaught TypeError: flock(): supplied resource is not a valid stream resource in /etc/inc/util.inc:174 Stack trace: #0 /etc/inc/util.inc(174): flock(Resource id #10, 3) #1 /usr/local/www/xmlrpc.php(990): unlock(Resource id #10) #2 {main} thrown @ 2023-02-04 08:46:30 PHP ERROR: Type: 1, File: /etc/inc/util.inc, Line: 174, Message: Uncaught TypeError: flock(): supplied resource is not a valid stream resource in /etc/inc/util.inc:174 Stack trace: #0 /etc/inc/util.inc(174): flock(Resource id #10, 3) #1 /usr/local/www/xmlrpc.php(990): unlock(Resource id #10) #2 {main} thrown @ 2023-02-04 08:46:31
-
Still awake lol
From blathierry’s list of packages it’s looking like something acme, wireguard or haproxy puts in the config as those are what match with myself
If I can get my hybrid config working I’ll then try and strip out a package one by one but that could be to much time will see
-
@maff Do you think I should downgrade PfSense for the time being? Or this this something that's okay to sit with errors piling up until its resolved. It looks like its just the same error on line 174 at /etc/inc/util.inc over and over again.
-
I have downgraded again back to 22.05, the snapshot feature if you have enabled is awesome, just always keep a config back up just in case, I have keep the rc image and it’s just a mouse click and reboot to get back to that environment
-
@maff I actually wasn't even aware of the snapshot feature. Is it an additional package I need to download/enable? Or is it built in? It'll likely come in handy in the future.