Packages reinstalling after 9 hours



  • On the gui I have this message:

    Packages are currently being reinstalled in the background.
    Do not make changes in the GUI until this is complete.

    A ps shows this:
    USER    PID %CPU %MEM  VSZ  RSS  TT  STAT STARTED      TIME COMMAND
    root      11 100.0  0.0    0    8  ??  RL  11:15PM 605:04.20 [idle]
    root      0  0.0  0.0    0    64  ??  DLs  11:15PM  0:00.06 [kernel]
    root      1  0.0  0.1  1888  460  ??  ILs  11:15PM  0:00.01 /sbin/init –
    root      2  0.0  0.0    0    8  ??  DL  11:15PM  0:00.01 [g_event]
    root      3  0.0  0.0    0    8  ??  DL  11:15PM  0:01.80 [g_up]
    root      4  0.0  0.0    0    8  ??  DL  11:15PM  0:01.14 [g_down]
    root      5  0.0  0.0    0    8  ??  DL  11:15PM  0:00.00 [crypto]
    root      6  0.0  0.0    0    8  ??  DL  11:15PM  0:00.00 [crypto returns]
    root      7  0.0  0.0    0    8  ??  DL  11:15PM  0:00.12 [fdc0]
    root      8  0.0  0.0    0    8  ??  DL  11:15PM  0:00.00 [sctp_iterator]
    root      9  0.0  0.0    0    8  ??  DL  11:15PM  0:01.09 [pfpurge]
    root      10  0.0  0.0    0    8  ??  DL  11:15PM  0:00.00 [audit]
    root      12  0.0  0.0    0  128  ??  WL  11:15PM  1:48.90 [intr]
    root      13  0.0  0.0    0    8  ??  DL  11:15PM  0:00.00 [ng_queue]
    root      14  0.0  0.0    0    8  ??  DL  11:15PM  0:06.04 [yarrow]
    root      15  0.0  0.0    0  128  ??  DL  11:15PM  0:00.57 [usb]
    root      16  0.0  0.0    0    8  ??  DL  11:15PM  0:00.00 [xpt_thrd]
    root      17  0.0  0.0    0    8  ??  DL  11:15PM  0:00.03 [pagedaemon]
    root      18  0.0  0.0    0    8  ??  DL  11:15PM  0:00.00 [vmdaemon]
    root      19  0.0  0.0    0    8  ??  DL  11:15PM  0:00.00 [pagezero]
    root      20  0.0  0.0    0    8  ??  DL  11:15PM  0:00.04 [idlepoll]
    root      21  0.0  0.0    0    8  ??  DL  11:15PM  0:00.13 [bufdaemon]
    root      22  0.0  0.0    0    8  ??  DL  11:15PM  0:01.91 [syncer]
    root      23  0.0  0.0    0    8  ??  DL  11:15PM  0:00.14 [vnlru]
    root      24  0.0  0.0    0    8  ??  DL  11:15PM  0:00.14 [softdepflush]
    root      37  0.0  0.0    0    16  ??  DL  11:15PM  0:00.39 [zfskern]
    root      67  0.0  0.0    0    8  ??  DL  11:15PM  0:00.30 [md0]
    root    262  0.0  0.2  3352  1192  ??  INs  11:15PM  0:23.04 /usr/local/sbin/check_reload_status
    root    264  0.0  0.2  3352  1068  ??  IN  11:15PM  0:00.00 check_reload_status: Monitoring daemon of check_reload_status
    root    273  0.0  0.5  3936  2272  ??  Is  11:15PM  0:00.01 /sbin/devd
    root    5409  0.0  0.3  3356  1312  ??  Is  11:17PM  0:00.24 /usr/sbin/cron -s
    root    5805  0.0  0.2  1512  772  ??  IN    9:32AM  0:00.00 sleep 60
    root    6423  0.0  0.3  3412  1388  ??  Ss  11:16PM  0:03.08 /usr/sbin/syslogd -s -c -c -l /var/dhcpd/var/run/log -f /var/etc/syslog.conf
    root    7659  0.0  0.2  3264  980  ??  Is  11:17PM  0:00.00 /usr/local/bin/minicron 240 /var/run/ping_hosts.pid /usr/local/bin/ping_hosts.sh
    root    7935  0.0  0.2  3264  1028  ??  S    11:17PM  0:00.03 minicron: helper /usr/local/bin/ping_hosts.sh  (minicron)
    root    8072  0.0  0.2  3264  980  ??  Is  11:17PM  0:00.00 /usr/local/bin/minicron 3600 /var/run/expire_accounts.pid /etc/rc.expireaccounts
    root    8696  0.0  0.2  3264  1028  ??  I    11:17PM  0:00.00 minicron: helper /etc/rc.expireaccounts  (minicron)
    root    9004  0.0  0.2  3264  980  ??  Is  11:17PM  0:00.00 /usr/local/bin/minicron 86400 /var/run/update_alias_url_data.pid /etc/rc.update_alias_url_data
    root    9314  0.0  0.6  5284  3052  ??  Is  11:16PM  0:00.00 /usr/sbin/sshd
    root    9336  0.0  0.2  3480  1104  ??  Is  11:16PM  0:00.04 /usr/local/sbin/sshlockout_pf 15
    root    9602  0.0  0.2  3264  1028  ??  I    11:17PM  0:00.00 minicron: helper /etc/rc.update_alias_url_data  (minicron)
    root  10643  0.0  0.3  3324  1304  ??  Is  11:16PM  0:00.00 dhclient: bge0 [priv] (dhclient)
    _dhcp  16522  0.0  0.3  3324  1404  ??  Ss  11:16PM  0:00.04 dhclient: bge0 (dhclient)
    root  20586  0.0  0.3  3384  1320  ??  Is  11:16PM  0:00.00 /usr/sbin/inetd -wW -R 0 -a 127.0.0.1 /var/etc/inetd.conf
    root  23491  0.0  0.3  3264  1252  ??  Ss  11:16PM  0:07.18 /usr/local/sbin/apinger -c /var/etc/apinger.conf
    root  23643  0.0  0.4  4556  2012  ??  I    11:16PM  0:00.30 /usr/local/bin/rrdtool -
    root  29372  0.0  1.1  9028  5244  ??  S    11:16PM  0:01.37 /usr/local/sbin/lighttpd -f /var/etc/lighty-webConfigurator.conf
    root  29452  0.0  3.5 24436 17140  ??  Is  11:16PM  0:00.09 /usr/local/bin/php
    root  31737  0.0  3.5 24436 17140  ??  Is  11:16PM  0:00.09 /usr/local/bin/php
    root  32189  0.0  3.5 24436 17172  ??  I    11:16PM  0:00.00 /usr/local/bin/php
    root  32292  0.0  5.0 31860 24676  ??  I    11:16PM  0:02.65 /usr/local/bin/php
    nobody 38324  0.0  0.5  5512  2488  ??  I    11:16PM  0:00.09 [dnsmasq]
    dhcpd  40359  0.0  1.7 11456  8448  ??  Ss  11:16PM  0:02.75 /usr/local/sbin/dhcpd -user dhcpd -group _dhcp -chroot /var/dhcpd -cf /etc/dhcpd.conf -pf /var/
    root  67963  0.0  0.3  3512  1724  ??  Ss  11:16PM  0:00.41 /usr/sbin/bsnmpd -c /var/etc/snmpd.conf -p /var/run/snmpd.pid
    root  69081  0.0  1.3  6280  6300  ??  SNs  11:16PM  0:01.96 /usr/local/bin/ntpd -g -c /var/etc/ntpd.conf -p /var/run/ntpd.pid
    root  97788  0.0  0.7  8036  3576  ??  Ss    9:14AM  0:00.07 sshd: root@pts/0 (sshd)
    root  19515  0.0  0.6  5868  3104  v0- S+  11:16PM  0:01.36 /usr/sbin/tcpdump -s 256 -v -S -l -n -e -ttt -i pflog0
    root  19576  0.0  0.2  3264  876  v0- S+  11:16PM  0:01.52 logger -t pf -p local0.info
    root  80999  0.0  0.3  3644  1512  v0- IN+  11:16PM  0:04.38 /bin/sh /var/db/rrd/updaterrd.sh
    root    864  0.0  0.5  3672  2308  0  S    9:14AM  0:00.01 /bin/tcsh
    root    9137  0.0  0.2  3404  1236  0  R+    9:33AM  0:00.00 ps -aux
    root  98029  0.0  0.3  3644  1524  0  Is    9:14AM  0:00.01 -sh (sh)
    root  98118  0.0  0.3  3644  1572  0  I    9:14AM  0:00.00 /bin/sh /etc/rc.initial

    I got the system full error message during the update (but I have 29Gb free :-(

    I will try a reboot



  • The system log will have progress messages as each package install starts and completes. That will help you see how far it got.
    Clearly something died during the package install phase.
    Diagnostics->Backup/Restore - Package Functions will let you clear the package lock. (Reboot will clear it also) Then you can use System->Packages to install packages that are missing.
    It is unusual to get this trouble on a system with a hard disk.
    What hardware and pfSense variant are you using?



  • I had the exact issue when i upgraded from beta to 2.1 on both my routers.  after several hours, I logged on to the local console )keyboard and monitor) and rebooted. 
    Everything has worked fine since.



  • As phil said after a reboot the "packages being reinstalled" disappeared.

    After it I had problems with squid, squidguard because they don't start automatically.

    I reinstalled all the packages and the squidguard not was fixed.

    For fix the squidguard I reinstalled the blacklist database and applied the config. Now seems all to be ok.

    Thanks,



  • I had a similar problem upgrading from 2.03 to 2.1, , after 6 hours the package installation were supposedly still running.  phil.davis suggestion helped me get rid of it. After that I reinstalled squid, and installed one missing upgrade, Openvpn client export.
    My system log showed this:

    
    Sep 21 08:08:43 	php: rc.start_packages: The command '/usr/local/etc/rc.d/squid.sh stop' returned exit code '2', the output was '/usr/local/etc/rc.d/squid.sh: 10: Syntax error: "}" unexpected (expecting "then")'
    Sep 21 08:08:43 	php: rc.start_packages: The command '/usr/pbi/squid-amd64/sbin/squid -k reconfigure' returned exit code '1', the output was 'squid: ERROR: No running copy'
    Sep 21 08:08:43 	php: rc.start_packages: Reloading Squid for configuration sync
    
    

Log in to reply