flock() error after upgrading
-
@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.
-
Itās built in but you have to have installed pfsense on a zfs partitioned drive (canāt remember if itās converted to one or not when going to 22.05)) then itās under system and boot environments
-
@maff said in flock() error after upgrading:
zfs
Since I had to reinstall PfSense anyway, I used the ZFS and now have the option under System>Boot Environments. Now how do I take a snapshot?
-
-
-
None of those cronjobs look unusual. I those on test boxes here and none of them show those error logs.
-
well bugger, just got a chance to mess around so started out with the factory reset this time configured my wan lan and error has returned
is there anything left behind in a factory reset?, hoping not to have to do a fresh install
-
When you reset the config to factory defaults it's exactly that; the config file is replaced by the default config. So, yes, potentially there could be many things left behind.
If you run at the command line:
top -HaSP
can you see what's being run once a minute to trigger this? -
just for testing i have concluded nothing i have configured or installed is causing this
just gone through a fresh hard drive in my hardware, pfsense 2.6ce installed, upgraded to 22.01, upgrade to 22.05 upgrade to 23.01rc and error is there
another fresh hard drive, 2.6ce installed, upgrade to 22.01 then straight to 23.01rc and the error is there
Only things configured was wan connection and basic default lan
-
Am also kinda a novice when it comes to Linux etc, alway trying to learn, I am not sure what I am looking for in the output of that command
Was a lot of things flashing up constantly but didnāt see any refresh to anything in the error output
-
Ah, interesting. So this appears to be something hardware or network related.
What are you running this on? How is the network setup that it's connected to?
-
Running on a Lenovo m720q with a intel 9500t cpu, 16 gig of ram, network card is intel x710-t2l
Port one is dhcp setup to cable modem in modem mode 2.5gbs link
Port 2 is the basic lan setup you go through when installing pfsense 10gb link
Not noticed any issue with this hardware on 22.05
Maybe some form of sensor not working right in the new kernel?
-
@maff said in flock() error after upgrading:
Linux
FreeBSD in this case
top shows running processes.Question: does it happen if you're NOT displaying the dashboard? Logged out of the web GUI?
Is the config file on disk growing in size or changing time stamps? (/conf/config.xml)