[Spce-user] invoke-rc.d: policy-rc.d denied execution of stop.

Abel Alejandro aalejandro at alliedtechnologygrouppr.com
Sun Aug 31 03:38:37 EDT 2014


While the upgrade got stuck I ran this:

root at sip:/var/log# tail /tmp/upgrade.log
Unpacking replacement mysql-client-5.5 ...
Preparing to replace mysql-server-core-5.5 5.5.37-0+wheezy1 (using
.../mysql-server-core-5.5_5.5.38-0+wheezy1_amd64.deb) ...
Unpacking replacement mysql-server-core-5.5 ...
Preparing to replace ngcp-installer-ce 0.14.1.3+0~mr3.3.1.3 (using
.../ngcp-installer-ce_0.15.1.2+0~mr3.4.1.2_all.deb) ...
Unpacking replacement ngcp-installer-ce ...
Processing triggers for man-db ...
Setting up mysql-client-5.5 (5.5.38-0+wheezy1) ...
Setting up mysql-server-core-5.5 (5.5.38-0+wheezy1) ...
Setting up mysql-server-5.5 (5.5.38-0+wheezy1) ...
invoke-rc.d: policy-rc.d denied execution of stop.
root at sip:/var/log#

I had two instances of mysqld trying to come up, the last one kept changing
process id, so I just killed the old one

root at sip:/var/log# ps -aux
warning: bad ps syntax, perhaps a bogus '-'?
See http://gitorious.org/procps/procps/blobs/master/Documentation/FAQ
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.0  10648   696 ?        Ss   Jul19   1:23 init [2]
root         2  0.0  0.0      0     0 ?        S    Jul19   0:00 [kthreadd]
root         3  0.0  0.0      0     0 ?        S    Jul19   0:19
[ksoftirqd/0]
root         5  0.0  0.0      0     0 ?        S    Jul19   0:26
[kworker/u:0]
root         6  0.0  0.0      0     0 ?        S    Jul19   0:00
[migration/0]
root         7  0.0  0.0      0     0 ?        S    Jul19   0:08
[watchdog/0]
root         8  0.0  0.0      0     0 ?        S    Jul19   0:00
[migration/1]
root         9  0.0  0.0      0     0 ?        S    Jul19   1:11
[kworker/1:0]
root        10  0.0  0.0      0     0 ?        S    Jul19   0:15
[ksoftirqd/1]
root        11  0.0  0.0      0     0 ?        S    Jul19   1:34
[kworker/0:1]
root        12  0.0  0.0      0     0 ?        S    Jul19   0:06
[watchdog/1]
root        13  0.0  0.0      0     0 ?        S    Jul19   0:00
[migration/2]
root        14  0.0  0.0      0     0 ?        S    Jul19   1:22
[kworker/2:0]
root        15  0.0  0.0      0     0 ?        S    Jul19   0:15
[ksoftirqd/2]
root        16  0.0  0.0      0     0 ?        S    Jul19   0:07
[watchdog/2]
root        17  0.0  0.0      0     0 ?        S    Jul19   0:00
[migration/3]
root        19  0.0  0.0      0     0 ?        S    Jul19   0:16
[ksoftirqd/3]
root        20  0.0  0.0      0     0 ?        S    Jul19   0:06
[watchdog/3]
root        21  0.0  0.0      0     0 ?        S    Jul19   0:17
[migration/4]
root        23  0.0  0.0      0     0 ?        S    Jul19   0:20
[ksoftirqd/4]
root        24  0.0  0.0      0     0 ?        S    Jul19   0:06
[watchdog/4]
root        25  0.0  0.0      0     0 ?        S    Jul19   0:17
[migration/5]
root        27  0.0  0.0      0     0 ?        S    Jul19   0:18
[ksoftirqd/5]
root        28  0.0  0.0      0     0 ?        S    Jul19   0:06
[watchdog/5]
root        29  0.0  0.0      0     0 ?        S    Jul19   0:17
[migration/6]
root        31  0.0  0.0      0     0 ?        S    Jul19   0:16
[ksoftirqd/6]
root        32  0.0  0.0      0     0 ?        S    Jul19   0:06
[watchdog/6]
root        33  0.0  0.0      0     0 ?        S    Jul19   0:17
[migration/7]
root        35  0.0  0.0      0     0 ?        S    Jul19   0:15
[ksoftirqd/7]
root        36  0.0  0.0      0     0 ?        S    Jul19   0:06
[watchdog/7]
root        37  0.0  0.0      0     0 ?        S<   Jul19   0:00 [cpuset]
root        38  0.0  0.0      0     0 ?        S<   Jul19   0:00 [khelper]
root        39  0.0  0.0      0     0 ?        S    Jul19   0:00 [kdevtmpfs]
root        40  0.0  0.0      0     0 ?        S<   Jul19   0:00 [netns]
root        41  0.0  0.0      0     0 ?        S    Jul19   0:06
[sync_supers]
root        42  0.0  0.0      0     0 ?        S    Jul19   0:00
[bdi-default]
root        43  0.0  0.0      0     0 ?        S<   Jul19   0:00
[kintegrityd]
root        44  0.0  0.0      0     0 ?        S<   Jul19   0:00 [kblockd]
root        45  0.0  0.0      0     0 ?        S    Jul19   1:25
[kworker/1:1]
root        46  0.0  0.0      0     0 ?        S    Jul19   1:18
[kworker/2:1]
root        47  0.0  0.0      0     0 ?        S    Jul19   2:21
[kworker/3:1]
root        48  0.0  0.0      0     0 ?        S    Jul19   1:21
[kworker/4:1]
root        49  0.0  0.0      0     0 ?        S    Jul19   0:58
[kworker/5:1]
root        51  0.0  0.0      0     0 ?        S    Jul19   0:34
[kworker/7:1]
root        52  0.0  0.0      0     0 ?        S    Jul19   0:02
[khungtaskd]
root        53  0.0  0.0      0     0 ?        S    Jul19   0:00 [kswapd0]
root        54  0.0  0.0      0     0 ?        SN   Jul19   0:00 [ksmd]
root        55  0.0  0.0      0     0 ?        SN   Jul19   0:00
[khugepaged]
root        56  0.0  0.0      0     0 ?        S    Jul19   0:00
[fsnotify_mark]
root        57  0.0  0.0      0     0 ?        S<   Jul19   0:00 [crypto]
root       183  0.0  0.0      0     0 ?        S    Jul19   0:00 [khubd]
root       184  0.0  0.0      0     0 ?        S    Jul19   0:00
[cciss_scan]
root       185  0.0  0.0      0     0 ?        S<   Jul19   0:00 [ata_sff]
root       186  0.0  0.0      0     0 ?        S    Jul19   0:00 [scsi_eh_0]
root       187  0.0  0.0      0     0 ?        S    Jul19   0:00 [scsi_eh_1]
root       189  0.0  0.0      0     0 ?        S    Jul19   0:00 [scsi_eh_2]
root       191  0.0  0.0      0     0 ?        S    Jul19   0:30
[kworker/u:1]
root       200  0.0  0.0      0     0 ?        S    Jul19   1:15
[kworker/7:2]
root       205  0.0  0.0      0     0 ?        S    Jul19   0:29
[kworker/4:2]
root       207  0.0  0.0      0     0 ?        S    Jul19   2:14
[kworker/3:2]
root       229  0.0  0.0      0     0 ?        S    Jul19  11:13
[jbd2/cciss!c0d0]
root       230  0.0  0.0      0     0 ?        S<   Jul19   0:00
[ext4-dio-unwrit]
root       370  0.0  0.0  21380  1376 ?        Ss   Jul19   0:00 udevd
--daemon
root       481  0.0  0.0  21376   908 ?        S    Jul19   0:00 udevd
--daemon
root       483  0.0  0.0  21376   908 ?        S    Jul19   0:00 udevd
--daemon
root       523  0.0  0.0      0     0 ?        S    Jul19   1:49
[kworker/0:2]
root       534  0.0  0.0      0     0 ?        S<   Jul19   0:00 [kpsmoused]
root       537  0.0  0.0      0     0 ?        S<   Jul19   0:00
[edac-poller]
root       544  0.0  0.0      0     0 ?        S<   Jul19   0:00 [ttm_swap]
root      1901  0.0  0.0      0     0 ?        S    Jul19   1:19
[kworker/5:2]
root      1978  0.1  0.0 257932  2168 ?        Sl   Jul19  78:58
/usr/sbin/rsyslogd -c5
root      2165  0.0  0.0   4116   652 ?        Ss   Jul19   0:00
/usr/sbin/acpid
root      2183  0.0  0.0  20412   704 ?        Ss   Jul19   2:30
/usr/sbin/irqbalance
root      2206  0.0  0.0  20408  1084 ?        Ss   Jul19   0:20
/usr/sbin/cron
root      2235  0.0  0.0  14860   152 ?        Ss   Jul19   0:00
/usr/sbin/in.tftpd --listen --user tftp --address 0.0.0.0:69 --secure
/srv/tftp
ntp       2263  0.0  0.0  39072  2392 ?        Ss   Jul19   2:01
/usr/sbin/ntpd -p /var/run/ntpd.pid -g -u 105:107
root      2281  0.0  0.0      0     0 ?        S    Jul19  23:39
[flush-104:0]
root      2344  0.0  0.0  49932  1256 ?        Ss   Jul19   0:54
/usr/sbin/sshd
root      3210  0.0  0.0      0     0 ?        S    Aug30   0:12
[kworker/6:2]
root      3325  0.0  0.0  12364   324 ?        Ss   Jul19   0:00
/usr/sbin/collectdmon -P /var/run/collectdmon.pid -- -C
/etc/collectd/collectd.conf
root      3326  0.7  0.1 533100 28296 ?        SLl  Jul19 451:48 collectd
-C /etc/collectd/collectd.conf -f
101       4415  0.0  0.0  46804  1064 ?        Ss   Jul19   0:00
/usr/sbin/exim4 -bd -q30m
root      4610  0.0  0.0  16256   960 tty1     Ss+  Jul19   0:00
/sbin/getty 38400 tty1
root      4611  0.0  0.0  16256   960 tty2     Ss+  Jul19   0:00
/sbin/getty 38400 tty2
root      4612  0.0  0.0  16256   952 tty3     Ss+  Jul19   0:00
/sbin/getty 38400 tty3
root      4613  0.0  0.0  16256   956 tty4     Ss+  Jul19   0:00
/sbin/getty 38400 tty4
root      4614  0.0  0.0  16256   964 tty5     Ss+  Jul19   0:00
/sbin/getty 38400 tty5
root      4615  0.0  0.0  16256   960 tty6     Ss+  Jul19   0:00
/sbin/getty 38400 tty6
root      4616  0.0  0.0  14576   876 ttyS1    Ss+  Jul19   0:00
/sbin/agetty 9600 ttyS1 vt100
root      8860  0.0  0.0  71292  3688 ?        Ss   02:22   0:00 sshd:
root at pts/2
root      8920  0.0  0.0  20652  3548 pts/2    Ss   02:22   0:00 -bash
root     11355  0.0  0.0  10784  1508 pts/2    S+   02:28   0:00 /bin/bash
/usr/sbin/ngcp-upgrade
root     11388  0.0  0.0  16052   844 pts/2    S+   02:28   0:00 script
-fqc '/usr/sbin/ngcp-upgrade' '--inside-log' /tmp/upgrade.log
root     11389  0.0  0.0  16056   528 pts/2    S+   02:28   0:00 script
-fqc '/usr/sbin/ngcp-upgrade' '--inside-log' /tmp/upgrade.log
root     11390  0.0  0.0  10780  1528 pts/3    Ss+  02:28   0:00 /bin/bash
/usr/sbin/ngcp-upgrade --inside-log
root     11394  0.0  0.0  39460  8832 pts/3    S+   02:28   0:00 python -m
SimpleHTTPServer 4242
root     11408  0.0  0.0  10776  1512 pts/3    S+   02:28   0:00 /bin/bash
/usr/share/ngcp-upgrade-mr3.4.1/upgrade-mr3.3.1-to-mr3.4.1
root     11807  0.0  0.0   4180   712 pts/3    S+   02:28   0:00 /bin/sh
/usr/bin/mysqld_safe
root     12302  0.0  0.0      0     0 ?        S    Aug26   0:30
[kworker/6:0]
mysql    12742  2.1  6.6 9527732 1099144 pts/3 Sl+  02:28   0:13
/usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql
--plugin-dir=/usr/lib/mysql/plugin --user=mysql
--log-error=/var/log/mysql/mysqld.err --pid-f
root     13384  0.0  0.1  58476 25800 pts/3    S+   02:29   0:00 apt-get -y
--force-yes -o DPkg::Options::=--force-confnew dist-upgrade
root     15334  0.0  0.0  12252  3900 pts/0    Ss+  02:31   0:00
/usr/bin/dpkg --force-confnew --status-fd 16 --configure
mysql-client-5.5:amd64 mysql-server-core-5.5:amd64 mysql-server-5.5:amd64
root     15381  0.0  0.0  58488 12852 pts/0    S+   02:31   0:00
/usr/bin/perl -w /usr/share/debconf/frontend
/var/lib/dpkg/info/mysql-server-5.5.postinst configure 5.5.37-0+wheezy1
root     15387  0.0  0.0   9364  1540 pts/0    S+   02:31   0:00 /bin/bash
/var/lib/dpkg/info/mysql-server-5.5.postinst configure 5.5.37-0+wheezy1
root     16673  0.0  0.0  71292  3692 ?        Ss   02:35   0:00 sshd:
root at pts/4
root     16725  0.0  0.0  20636  3544 pts/4    Ss   02:36   0:00 -bash
mysql    17483  4.3  4.0 9386576 661012 pts/0  Sl+  02:38   0:00
/usr/sbin/mysqld --bootstrap --user=mysql --skip-grant-tables
root     17554  0.0  0.0   4096   324 ?        S    02:38   0:00 sleep 10
root     17572  0.0  0.0   4096   324 ?        S    02:38   0:00 sleep 10
root     17588  0.0  0.0  16836  1288 pts/4    R+   02:38   0:00 ps -aux
root     18616  0.0  0.0  39424  5080 ?        Sl   Jul20  31:46 captagent
-d




On Sun, Aug 31, 2014 at 3:29 AM, Michael Prokop <mprokop at sipwise.com> wrote:

> * Abel Alejandro [Sun Aug 31, 2014 at 03:05:11AM -0400]:
>
> > Upgrading from mr3.3.1 to mr3.4.1 I got a few of those errors and it
> seems
> > the upgrade tried to stop a few demons but got stuck when it couldnt stop
> > mysql.
>
> > Just stopped the mysql daemon manually and the upgraded continued fine.
>
> > Everything seems to be working after upgrade just wanted to report in
> case.
>
> Did your upgrade actually really interrupt/abort? If so do you have
> any error logs available for us?
>
> The 'invoke-rc.d: policy-rc.d denied execution of stop' are only
> warnings and no error messages, that setup is by intention and
> should be working just fine.
>
> regards,
> -mika-
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
>
> iEYEARECAAYFAlQCztsACgkQ2N9T+zficuhBHACfexNoI4e9u2puc+kbmSe4Y3x/
> aO8AnjmXnkmde5TZFqibgULZ1kpiUDlN
> =UbCF
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Spce-user mailing list
> Spce-user at lists.sipwise.com
> https://lists.sipwise.com/listinfo/spce-user
>
>


-- 
*Abel Alejandro*

787 586 8313 | 787 705 0555
<joquendo at alliedtechnologygrouppr.com>

400 Calle Calaf 477
San Juan, PR 00918
aalejandro at alliedtechnologygrouppr.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20140831/48eccb5f/attachment-0001.html>


More information about the Spce-user mailing list