mongooplog is failing with unauthorized error - mongodb

I am trying to replay the oplog from 1 replica set to another in mongo. I am getting an error, any idea why?
mongooplog --from "10.0.0.180:27017" -h "my_rs/10.0.0.88:27017,10.0.0.88:27018,10.0.0.88:27019" -d my_db -u dbuser -p db_pass
Fri Jun 27 14:24:21 starting new replica set monitor for replica set my_rs with seed of 10.0.0.88:27017,10.0.0.88:27018,10.0.0.88:27019
Fri Jun 27 14:24:21 successfully connected to seed 10.0.0.88:27017 for replica set my_rs
Fri Jun 27 14:24:21 changing hosts to { 0: "10.0.0.88:27017", 1: "10.0.0.88:27018" } from my_rs/
Fri Jun 27 14:24:21 trying to add new host 10.0.0.88:27017 to replica set my_rs
Fri Jun 27 14:24:21 successfully connected to new host 10.0.0.88:27017 in replica set my_rs
Fri Jun 27 14:24:21 trying to add new host 10.0.0.88:27018 to replica set my_rs
Fri Jun 27 14:24:21 successfully connected to new host 10.0.0.88:27018 in replica set my_rs
Fri Jun 27 14:24:21 successfully connected to seed 10.0.0.88:27019 for replica set my_rs
Fri Jun 27 14:24:21 Primary for replica set my_rs changed to 10.0.0.88:27017
Fri Jun 27 14:24:21 replica set monitor for replica set my_rs started, address is my_rs/10.0.0.88:27017,10.0.0.88:27018
connected to: my_rs/10.0.0.88:27017,10.0.0.88:27018,10.0.0.88:27019
Fri Jun 27 14:24:21 [ReplicaSetMonitorWatcher] starting
Fri Jun 27 14:24:21 [oplogreplay] going to connect
Fri Jun 27 14:24:21 [oplogreplay] connected
Fri Jun 27 14:24:21 [oplogreplay] starting from Jun 26 14:24:21:0
Fri Jun 27 14:24:21 [oplogreplay] { assertion: "unauthorized db:admin ns:admin lock type:1 client:10.0.0.88", assertionCode: 10057, errmsg: "db assertion failure", ok: 0.0 }
Fri Jun 27 14:24:21 [oplogreplay] { assertion: "unauthorized db:admin ns:admin lock type:1 client:10.0.0.88", assertionCode: 10057, errmsg: "db assertion failure", ok: 0.0 }
Fri Jun 27 14:24:21 [omongooplog --from "10.0.0.180:27017" -h "my_rs/10.0.0.88:27017,10.0.0.88:27018,10.0.0.88:27019" -d my_db -u dbuser -p db_pass
Fri Jun 27 14:24:21 starting new replica set monitor for replica set my_rs with seed of 10.0.0.88:27017,10.0.0.88:27018,10.0.0.88:27019
Fri Jun 27 14:24:21 successfully connected to seed 10.0.0.88:27017 for replica set my_rs
Fri Jun 27 14:24:21 changing hosts to { 0: "10.0.0.88:27017", 1: "10.0.0.88:27018" } from my_rs/
Fri Jun 27 14:24:21 trying to add new host 10.0.0.88:27017 to replica set my_rs
Fri Jun 27 14:24:21 successfully connected to new host 10.0.0.88:27017 in replica set my_rs
Fri Jun 27 14:24:21 trying to add new host 10.0.0.88:27018 to replica set my_rs
Fri Jun 27 14:24:21 successfully connected to new host 10.0.0.88:27018 in replica set my_rs
Fri Jun 27 14:24:21 successfully connected to seed 10.0.0.88:27019 for replica set my_rs
Fri Jun 27 14:24:21 Primary for replica set my_rs changed to 10.0.0.88:27017
Fri Jun 27 14:24:21 replica set monitor for replica set my_rs started, address is my_rs/10.0.0.88:27017,10.0.0.88:27018
connected to: my_rs/10.0.0.88:27017,10.0.0.88:27018,10.0.0.88:27019
Fri Jun 27 14:24:21 [ReplicaSetMonitorWatcher] starting
Fri Jun 27 14:24:21 [oplogreplay] going to connect
Fri Jun 27 14:24:21 [oplogreplay] connected
Fri Jun 27 14:24:21 [oplogreplay] starting from Jun 26 14:24:21:0
Fri Jun 27 14:24:21 [oplogreplay] { assertion: "unauthorized db:admin ns:admin lock type:1 client:10.0.0.88", assertionCode: 10057, errmsg: "db assertion failure", ok: 0.0 }
Fri Jun 27 14:24:21 [oplogreplay] { assertion: "unauthorized db:admin ns:admin lock type:1 client:10.0.0.88", assertionCode: 10057, errmsg: "db assertion failure", ok: 0.0 }
Fri Jun 27 14:24:21 [oplogreplay] { assertion: "unauthorized db:admin ns:admin lock type:1 client:10.0.0.88", assertionCode: 10057, errmsg: "db assertion failure", ok: 0.0 }
Fri Jun 27 14:24:21 [oplogreplay] { assertion: "unauthorized db:admin ns:admin lock type:1 client:10.0.0.88", assertionCode: 10057, errmsg: "db assertion failure", ok: 0.0 }
Fri Jun 27 14:24:21 [oplogreplay] { assertion: "unauthorized db:admin ns:admin lock type:1 client:10.0.0.88", assertionCode: 10057, errmsg: "db assertion failure", ok: 0.0 }
Fri Jun 27 14:24:21 [oplogreplay] { assertion: "unauthorized db:admin ns:admin lock type:1 client:10.0.0.88", assertionCode: 10057, errmsg: "db assertion failure", ok: 0.0 }
Fri Jun 27 14:24:21 [oplogreplay] { assertion: "unauthorized db:admin ns:admin lock type:1 client:10.0.0.88", assertionCode: 10057, errmsg: "db assertion failure", ok: 0.0 }
Fri Jun 27 14:24:21 [oplogreplay] { assertion: "unauthorized db:admin ns:admin lock type:1 client:10.0.0.88", assertionCode: 10057, errmsg: "db assertion failure", ok: 0.0 } plogreplay] { assertion: "unauthorized db:admin ns:admin lock type:1 client:10.0.0.88", assertionCode: 10057, errmsg: "db assertion failure", ok: 0.0 }
Fri Jun 27 14:24:21 [oplogreplay] { assertion: "unauthorized db:admin ns:admin lock type:1 client:10.0.0.88", assertionCode: 10057, errmsg: "db assertion failure", ok: 0.0 }
Fri Jun 27 14:24:21 [oplogreplay] { assertion: "unauthorized db:admin ns:admin lock type:1 client:10.0.0.88", assertionCode: 10057, errmsg: "db assertion failure", ok: 0.0 }
Fri Jun 27 14:24:21 [oplogreplay] { assertion: "unauthorized db:admin ns:admin lock type:1 client:10.0.0.88", assertionCode: 10057, errmsg: "db assertion failure", ok: 0.0 }
Fri Jun 27 14:24:21 [oplogreplay] { assertion: "unauthorized db:admin ns:admin lock type:1 client:10.0.0.88", assertionCode: 10057, errmsg: "db assertion failure", ok: 0.0 }
Fri Jun 27 14:24:21 [oplogreplay] { assertion: "unauthorized db:admin ns:admin lock type:1 client:10.0.0.88", assertionCode: 10057, errmsg: "db assertion failure", ok: 0.0 }
The from parameter is also an RS (with noauth=true set), but if i try use "my_rs/10.0.0.180:27017" it fails, doesn't look like the from parameter can use an RS address.
the username and password used for the replay on 88 is in the admin db as well as my_db.
Update
I have upgraded to 2.4.10. The upgrade seems to give more meaningful logging. On 180, I can connect to the local db (without auth) and do a db.oplog.rs.count() and get results (both on local and remote connections). However, when I run mongooplog with 180 as the from, I still get an error (this is from 88):
Tue Jul 1 10:16:29.034 [oplogreplay] error getting oplog
Tue Jul 1 10:16:29.034 [oplogreplay] { $err: "not authorized for query on local.oplog.rs", code: 16550 }
and i see a similar error in 180's error logs.

You need to add the authentication database to the command line, as by default mongooplog is going to assume that your username and password credentials apply to the database your are applying the oplog to.
--authenticationDatabase dbname
New in version 2.4.
Specifies the database that holds the user’s credentials. If you do
not specify an authentication database, the mongooplog assumes that
the database specified as the argument to the --db option holds the
user’s credentials.
so in your case I would add --authenticationDatabase admin to your command line.

Mongooplog seemed to buggy around authentication, and also doesn't seem to support filtering of dbs to replicate.
I have written a tool (gem) that allows replication between 2 replica sets. It's available at https://github.com/brettcave/mongo-oplogreplay

Related

i can't receive any email if enabled email forwarding

if I enabled email forwarding, I can't receive any email but when I disabled email forwarding. Then webmail working fine. Anyone, please look into email logs? I don't see any sending and receiving problems. when email forwarding disabled on cyberpanel.
This problem only appear after enabling email forwarding.
Mar 29 07:14:01 blastoff postfix/bounce[2809]: 3DC8B3410DD: sender non-delivery notification: C9CED3410DE
Mar 29 07:14:01 blastoff postfix/qmgr[1082]: 3DC8B3410DD: removed
Mar 29 07:14:01 blastoff postfix/smtp[2934]: connect to gmail-smtp-in.l.google.com[2607:f8b0:4023:c03::1b]:25: Network is unreachable
Mar 29 07:14:02 blastoff postfix/smtp[2934]: C9CED3410DE: to=<riadloud#gmail.com>, relay=gmail-smtp-in.l.google.com[74.125.137.26]:25, delay=0.86, delays=0.01/0.07/0.36/0.42, dsn=2.0.0, status=sent (250 2.0.0 OK 1617002042 i21si16857578otj.220 - gsmtp)
Mar 29 07:14:02 blastoff postfix/qmgr[1082]: C9CED3410DE: removed
Mar 29 07:14:32 blastoff dovecot: imap-login: Login: user=<riad#blastoff.us>, method=PLAIN, rip=::1, lip=::1, mpid=2967, TLS, session=<QfcVoqe+6pUAAAAAAAAAAAAAAAAAAAAB>
Mar 29 07:14:32 blastoff dovecot: imap(riad#blastoff.us)<2967><QfcVoqe+6pUAAAAAAAAAAAAAAAAAAAAB>: Logged out in=89 out=1045 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Mar 29 07:16:32 blastoff dovecot: imap-login: Login: user=<riad#blastoff.us>, method=PLAIN, rip=::1, lip=::1, mpid=3043, TLS, session=<b41Aqae+7JUAAAAAAAAAAAAAAAAAAAAB>
Mar 29 07:16:32 blastoff dovecot: imap(riad#blastoff.us)<3043><b41Aqae+7JUAAAAAAAAAAAAAAAAAAAAB>: Logged out in=89 out=1045 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Mar 29 07:17:18 blastoff postfix/anvil[2916]: statistics: max connection rate 1/60s for (smtp:209.85.217.53) at Mar 29 07:13:56
Mar 29 07:17:18 blastoff postfix/anvil[2916]: statistics: max connection count 1 for (smtp:209.85.217.53) at Mar 29 07:13:56
Mar 29 07:17:18 blastoff postfix/anvil[2916]: statistics: max cache size 1 at Mar 29 07:13:56
Mar 29 07:17:24 blastoff dovecot: imap-login: Login: user=<riad#blastoff.us>, method=PLAIN, rip=::1, lip=::1, mpid=3087, TLS, session=<3BlfrKe+7pUAAAAAAAAAAAAAAAAAAAAB>
Mar 29 07:17:24 blastoff dovecot: imap(riad#blastoff.us)<3087><3BlfrKe+7pUAAAAAAAAAAAAAAAAAAAAB>: Logged out in=240 out=1300 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Mar 29 07:18:17 blastoff spamd[3146]: logger: removing stderr method
Mar 29 07:18:17 blastoff spamd[3148]: config: no rules were found! Do you need to run 'sa-update'?
Mar 29 07:18:18 blastoff spamd[3146]: child process [3148] exited or timed out without signaling production of a PID file: exit 255 at /usr/sbin/spamd line 3034.
Mar 29 07:18:19 blastoff spamd[3150]: logger: removing stderr method
Mar 29 07:18:19 blastoff spamd[3152]: config: no rules were found! Do you need to run 'sa-update'?
Mar 29 07:18:20 blastoff spamd[3150]: child process [3152] exited or timed out without signaling production of a PID file: exit 255 at /usr/sbin/spamd line 3034.
Mar 29 07:18:21 blastoff spamd[3156]: logger: removing stderr method
Mar 29 07:18:21 blastoff spamd[3158]: config: no rules were found! Do you need to run 'sa-update'?
Mar 29 07:18:22 blastoff spamd[3156]: child process [3158] exited or timed out without signaling production of a PID file: exit 255 at /usr/sbin/spamd line 3034.
Mar 29 07:18:23 blastoff spamd[3159]: logger: removing stderr method
Mar 29 07:18:23 blastoff spamd[3161]: config: no rules were found! Do you need to run 'sa-update'?
Mar 29 07:18:24 blastoff spamd[3159]: child process [3161] exited or timed out without signaling production of a PID file: exit 255 at /usr/sbin/spamd line 3034.
Mar 29 07:18:24 blastoff spamd[3162]: logger: removing stderr method
Mar 29 07:18:24 blastoff spamd[3164]: config: no rules were found! Do you need to run 'sa-update'?
Mar 29 07:18:25 blastoff spamd[3162]: child process [3164] exited or timed out without signaling production of a PID file: exit 255 at /usr/sbin/spamd line 3034.
Mar 29 07:18:32 blastoff dovecot: imap-login: Login: user=<riad#blastoff.us>, method=PLAIN, rip=::1, lip=::1, mpid=3176, TLS, session=<qhxjsKe+8JUAAAAAAAAAAAAAAAAAAAAB>
Mar 29 07:18:32 blastoff dovecot: imap(riad#blastoff.us)<3176><qhxjsKe+8JUAAAAAAAAAAAAAAAAAAAAB>: Logged out in=89 out=1053 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Mar 29 07:19:15 blastoff postfix/smtpd[3197]: connect from mail-vs1-f45.google.com[209.85.217.45]
Mar 29 07:19:15 blastoff postfix/smtpd[3197]: 9043434088F: client=mail-vs1-f45.google.com[209.85.217.45]
Mar 29 07:19:15 blastoff postfix/smtpd[3197]: warning: connect to /var/log/policyServerSocket: No such file or directory
Mar 29 07:19:16 blastoff postfix/smtpd[3197]: warning: connect to /var/log/policyServerSocket: No such file or directory
Mar 29 07:19:16 blastoff postfix/smtpd[3197]: warning: problem talking to server /var/log/policyServerSocket: No such file or directory
Mar 29 07:19:16 blastoff postfix/cleanup[3201]: 9043434088F: hold: header Received: from mail-vs1-f45.google.com (mail-vs1-f45.google.com [209.85.217.45])??by mail.blastoff.us (Postfix) with ESMTPS id 9043434088F??for <riad#blastoff.us>; Mon, 29 Mar 2021 07:19:15 +0000 (UTC from mail-vs1-f45.google.com[209.85.217.45]; from=<riadloud#gmail.com> to=<riad#blastoff.us> proto=ESMTP helo=<mail-vs1-f45.google.com>
Mar 29 07:19:16 blastoff postfix/cleanup[3201]: 9043434088F: message-id=<CACGWsS=QumtoJMTYX49XNFv7Kbk_-+xhJ4TrZdFezAytvToTow#mail.gmail.com>
Mar 29 07:19:16 blastoff opendkim[920]: 9043434088F: s=20161025 d=gmail.com SSL
Mar 29 07:19:16 blastoff postfix/smtpd[3197]: disconnect from mail-vs1-f45.google.com[209.85.217.45] ehlo=2 starttls=1 mail=1 rcpt=1 data=1 quit=1 commands=7
Mar 29 07:19:17 blastoff postfix/qmgr[1082]: 07B043410DD: from=<riadloud#gmail.com>, size=2541, nrcpt=2 (queue active)
Mar 29 07:19:19 blastoff postfix/pipe[3212]: 07B043410DD: to=<riad#blastoff.us>, relay=spamassassin, delay=3.7, delays=1.6/0.01/0/2, dsn=5.3.0, status=bounced (command line usage error. Command output: lda: Fatal: Unknown argument: unix Usage: dovecot-lda [-c <config file>] [-d <username>] [-p <path>] [-m <mailbox>] [-e] [-k] [-f <envelope sender>] [-a <original envelope recipient>] [-r <final envelope recipient>] )
Mar 29 07:19:19 blastoff postfix/pipe[3213]: 07B043410DD: to=<riadshout#gmail.com>, orig_to=<riad#blastoff.us>, relay=spamassassin, delay=3.7, delays=1.6/0.02/0/2, dsn=5.3.0, status=bounced (command line usage error. Command output: lda: Fatal: Unknown argument: unix Usage: dovecot-lda [-c <config file>] [-d <username>] [-p <path>] [-m <mailbox>] [-e] [-k] [-f <envelope sender>] [-a <original envelope recipient>] [-r <final envelope recipient>] )
Mar 29 07:19:19 blastoff postfix/cleanup[3201]: 3AEDA3410DE: message-id=<20210329071919.3AEDA3410DE#mail.blastoff.us>
Mar 29 07:19:19 blastoff postfix/bounce[3217]: 07B043410DD: sender non-delivery notification: 3AEDA3410DE
Mar 29 07:19:19 blastoff postfix/qmgr[1082]: 3AEDA3410DE: from=<>, size=6095, nrcpt=1 (queue active)
Mar 29 07:19:19 blastoff postfix/qmgr[1082]: 07B043410DD: removed
Mar 29 07:19:19 blastoff postfix/smtp[3220]: connect to gmail-smtp-in.l.google.com[2607:f8b0:4023:c03::1a]:25: Network is unreachable
Mar 29 07:19:19 blastoff postfix/smtp[3220]: 3AEDA3410DE: to=<riadloud#gmail.com>, relay=gmail-smtp-in.l.google.com[74.125.137.26]:25, delay=0.67, delays=0/0.02/0.29/0.35, dsn=2.0.0, status=sent (250 2.0.0 OK 1617002359 g9si17981450plj.221 - gsmtp)
Mar 29 07:19:19 blastoff postfix/qmgr[1082]: 3AEDA3410DE: removed
There are many configuration issues here.
The one that is causing the reject is:
command line usage error. Command output: lda: Fatal: Unknown argument: unix Usage: dovecot-lda [-c <config file>] [-d <username>] [-p <path>]
But there are also spamassassin issues (no rules found) and other milter issues (/var/log/policyServerSocket missing).
It doesn’t look like a forwarding issue but a general misconfiguration issue.
It is quite difficult to provide a precise advice here, you should review the whole configuration with someone familiar with this stuff.

Pacemaker dont start resource jboss and pgsql

I test pacemaker on two servers.
On two nodes stands CentOS 7 x64
jdk-7u80-linux-x64
JBoss 7.1.1 Final
Pgsql (PostgreSQL) 9.2.24
pcs --version
0.9.165
Set up 3 resources. IPaddr2 works without problems. But with jboss and pgsql problems.
What if they run teams
/bin/sh /usr/lib/ocf/resource.d/heartbeat/pgsql start
/bin/sh /usr/lib/ocf/resource.d/heartbeat/jboss start
they work, but the pacemaker does not see them.
[root # centos-test1 heartbeat] # pcs status --all
Cluster name: test
Stack: corosync
Current DC: centos-test1 (version 1.1.19-8.el7_6.2-c3c624ea3d) - partition with quorum
Last updated: Wed Dec 26 06:58:21 2018
Last change: Wed Dec 26 06:07:27 2018 by root via cibadmin on centos-test1
2 nodes configured
3 resources configured
Online: [centos-test1 centos-test2]
Full list of resources:
virtual_ip (ocf :: heartbeat: ipaddr2): Started centos-test1
jboss (ocf :: heartbeat: jboss): Stopped
pgsql (ocf :: heartbeat: pgsql): Stopped
Failed Actions:
* jboss_start_0 on centos-test1 'unknown error' (1): call = 18, status = Timed Out, exitreason = '',
    last-rc-change = 'Wed Dec 26 06:08:16 2018', queued = 0ms, exec = 20002ms
* pgsql_start_0 on centos-test1 'not configured' (6): call = 15, status = complete, exitreason = '',
    last-rc-change = 'Wed Dec 26 06:07:56 2018', queued = 0ms, exec = 115ms
* jboss_start_0 on centos-test2 'unknown error' (1): call = 14, status = Timed Out, exitreason = '',
    last-rc-change = 'Wed Dec 26 13:07:04 2018', queued = 0ms, exec = 20002ms
Daemon Status:
  corosync: active / enabled
  pacemaker: active / enabled
  pcsd: active / enabled
  
In ocf :: heartbeat: there were errors with environment variables, we had to explicitly indicate in the files:
# Initialization:
: / usr / lib / ocf / lib / heartbeat
. / usr / lib / ocf / lib / heartbeat / ocf-shellfuncs
#: $ {OCF_FUNCTIONS_DIR = $ {OCF_ROOT} / lib / heartbeat}
# $ {OCF_FUNCTIONS_DIR} / ocf-shellfuncs
corasync.log
Dec 26 14:19:21 [27771] centos-test1 pengine: info: common_print: virtual_ip (ocf::heartbeat:IPaddr2): Started centos-test1
Dec 26 14:19:21 [27771] centos-test1 pengine: info: common_print: jboss (ocf::heartbeat:jboss): FAILED centos-test1
Dec 26 14:19:21 [27771] centos-test1 pengine: info: common_print: pgsql (ocf::heartbeat:pgsql): Stopped
Dec 26 14:19:21 [27771] centos-test1 pengine: info: pe_get_failcount: jboss has failed INFINITY times on centos-test1
Dec 26 14:19:21 [27771] centos-test1 pengine: warning: check_migration_threshold: Forcing jboss away from centos-test1 after 1000000 failures (max=1000000)
Dec 26 14:19:21 [27771] centos-test1 pengine: info: pe_get_failcount: pgsql has failed INFINITY times on centos-test1
Dec 26 14:19:21 [27771] centos-test1 pengine: warning: check_migration_threshold: Forcing pgsql away from centos-test1 after 1000000 failures (max=1000000)
Dec 26 14:19:21 [27771] centos-test1 pengine: info: pe_get_failcount: jboss has failed INFINITY times on centos-test2
Dec 26 14:19:21 [27771] centos-test1 pengine: warning: check_migration_threshold: Forcing jboss away from centos-test2 after 1000000 failures (max=1000000)
Dec 26 14:19:21 [27771] centos-test1 pengine: info: native_color: Resource jboss cannot run anywhere
Dec 26 14:19:21 [27771] centos-test1 pengine: info: native_color: Resource pgsql cannot run anywhere
Dec 26 14:19:21 [27771] centos-test1 pengine: info: LogActions: Leave virtual_ip (Started centos-test1)
Dec 26 14:19:21 [27771] centos-test1 pengine: notice: LogAction: * Stop jboss ( centos-test1 ) due to node availability
Dec 26 14:19:21 [27771] centos-test1 pengine: info: LogActions: Leave pgsql (Stopped)
Dec 26 14:19:21 [27771] centos-test1 pengine: notice: process_pe_message: Calculated transition 5, saving inputs in /var/lib/pacemaker/pengine/pe-input-266.bz2
Dec 26 14:19:21 [27772] centos-test1 crmd: info: do_state_transition: State transition S_POLICY_ENGINE -> S_TRANSITION_ENGINE | input=I_PE_SUCCESS cause=C_IPC_MESSAGE origin=handle_response
Dec 26 14:19:21 [27772] centos-test1 crmd: info: do_te_invoke: Processing graph 5 (ref=pe_calc-dc-1545823161-30) derived from /var/lib/pacemaker/pengine/pe-input-266.bz2
Dec 26 14:19:21 [27772] centos-test1 crmd: notice: te_rsc_command: Initiating stop operation jboss_stop_0 locally on centos-test1 | action 2
Dec 26 14:19:21 [27772] centos-test1 crmd: info: do_lrm_rsc_op: Performing key=2:5:0:19594a89-d772-4748-8c9a-5a7888a82914 op=jboss_stop_0
Dec 26 14:19:21 [27767] centos-test1 cib: info: cib_process_request: Forwarding cib_modify operation for section status to all (origin=local/crmd/54)
Dec 26 14:19:21 [27769] centos-test1 lrmd: info: log_execute: executing - rsc:jboss action:stop call_id:18
Dec 26 14:19:21 [27767] centos-test1 cib: info: cib_perform_op: Diff: --- 0.15.35 2
Dec 26 14:19:21 [27767] centos-test1 cib: info: cib_perform_op: Diff: +++ 0.15.36 (null)
Dec 26 14:19:21 [27767] centos-test1 cib: info: cib_perform_op: + /cib: #num_updates=36
Dec 26 14:19:21 [27767] centos-test1 cib: info: cib_perform_op: + /cib/status/node_state[#id='1']/lrm[#id='1']/lrm_resources/lrm_resource[#id='jboss']/lrm_rsc_op[#id='jboss_last_0']: #operation_key=jboss_stop_0, #operation=stop, #transition-key=2:5:0:19594a89-d772-4748-8c9a-5a7888a82914, #transition-magic=-1:193;2:5:0:19594a89-d772-4748-8c9a-5a7888a82914, #call-id=-1, #rc-code=193, #op-status=-1, #last-run=1545823161, #last-rc-change=1545823161, #exec-time=0
Dec 26 14:19:21 [27767] centos-test1 cib: info: cib_process_request: Completed cib_modify operation for section status: OK (rc=0, origin=centos-test1/crmd/54, version=0.15.36)
Dec 26 14:19:21 jboss(jboss)[28346]: INFO: JBoss[jboss] is already stopped.
Dec 26 14:19:21 [27769] centos-test1 lrmd: info: log_finished: finished - rsc:jboss action:stop call_id:18 pid:28346 exit-code:0 exec-time:21ms queue-time:0ms
Dec 26 14:19:21 [27772] centos-test1 crmd: notice: process_lrm_event: Result of stop operation for jboss on centos-test1: 0 (ok) | call=18 key=jboss_stop_0 confirmed=true cib-update=55
Dec 26 14:19:21 [27767] centos-test1 cib: info: cib_process_request: Forwarding cib_modify operation for section status to all (origin=local/crmd/55)
Dec 26 14:19:21 [27767] centos-test1 cib: info: cib_perform_op: Diff: --- 0.15.36 2
Dec 26 14:19:21 [27767] centos-test1 cib: info: cib_perform_op: Diff: +++ 0.15.37 (null)
Dec 26 14:19:21 [27767] centos-test1 cib: info: cib_perform_op: + /cib: #num_updates=37
Dec 26 14:19:21 [27767] centos-test1 cib: info: cib_perform_op: + /cib/status/node_state[#id='1']/lrm[#id='1']/lrm_resources/lrm_resource[#id='jboss']/lrm_rsc_op[#id='jboss_last_0']: #transition-magic=0:0;2:5:0:19594a89-d772-4748-8c9a-5a7888a82914, #call-id=18, #rc-code=0, #op-status=0, #exec-time=21
Dec 26 14:19:21 [27767] centos-test1 cib: info: cib_process_request: Completed cib_modify operation for section status: OK (rc=0, origin=centos-test1/crmd/55, version=0.15.37)
Dec 26 14:19:21 [27772] centos-test1 crmd: info: match_graph_event: Action jboss_stop_0 (2) confirmed on centos-test1 (rc=0)
Dec 26 14:19:21 [27772] centos-test1 crmd: notice: run_graph: Transition 5 (Complete=2, Pending=0, Fired=0, Skipped=0, Incomplete=0, Source=/var/lib/pacemaker/pengine/pe-input-266.bz2): Complete
Dec 26 14:19:21 [27772] centos-test1 crmd: info: do_log: Input I_TE_SUCCESS received in state S_TRANSITION_ENGINE from notify_crmd
Dec 26 14:19:21 [27772] centos-test1 crmd: notice: do_state_transition: State transition S_TRANSITION_ENGINE -> S_IDLE | input=I_TE_SUCCESS cause=C_FSA_INTERNAL origin=notify_crmd
Dec 26 14:19:26 [27767] centos-test1 cib: info: cib_process_ping: Reporting our current digest to centos-test1: 1441d742a8ffbf1c1f45b9d38dd1a776 for 0.15.37 (0x55a05cd6c580 0)
Boht resource have reached max cap on number of retries to start. the cluster has given up on them.
crm_resource can be of help to reset failcount and trigger start of resource on a
node.
You have to cleanup the resources on each of hte node to trigger a restart.
On commandline execute "crm_resource --help" and go to the end for an example of crm_resource --cleanup

Broken MongoDB database after repair

Prerequisites
I have MacBook Pro (128 GB! — it's maybe a reason of the problem, but I don't sure) with MacOS Yosemite (10.10.3). Also I have MongoDB 3.0 as system mongo. But I need Mongo 2.4 for one project. Next I'll talk about mongo 2.4, that I run so: ./mongod --dbpath=/data/db2.4/. I got dump from production server, restored it locally some days ago and ran it. Everything was good, but…
A problem description
But yesterday I stopped mongo process by Ctrl + C in the iTerm. Now, I try to start it the same command like in Prerequisites section, but I see this log:
➜ ~/Downloads/mongodb-osx-x86_64-2.4.14/bin ./mongod --dbpath=/data/db2.4/ -vvvvv
Mon Jun 22 19:18:25.498 BackgroundJob starting: DataFileSync
Mon Jun 22 19:18:25.502 Matcher::matches() { abcd: 3.1, abcdef: "123456789" }
Mon Jun 22 19:18:25.502 Matcher::matches() { abcd: 3.1, abcdef: "123456789" }
Mon Jun 22 19:18:25.502 Matcher::matches() { abcd: 3.1, abcdef: "123456789" }
Mon Jun 22 19:18:25.502 Matcher::matches() { abcdef: "z23456789" }
Mon Jun 22 19:18:25.502 Matcher::matches() { abcd: 3.1, abcdef: "123456789" }
Mon Jun 22 19:18:25.502 Matcher::matches() { abcdef: "z23456789" }
Mon Jun 22 19:18:25.504 shardObjTest passed
Mon Jun 22 19:18:25.504 isInRangeTest passed
Mon Jun 22 19:18:25.504 shardKeyTest passed
Mon Jun 22 19:18:25.504 versionArrayTest passed
Mon Jun 22 19:18:25.505 [initandlisten] MongoDB starting : pid=1187 port=27017 dbpath=/data/db2.4/ 64-bit host=MacBook-Pro-lancedikson.local
Mon Jun 22 19:18:25.505 [initandlisten]
Mon Jun 22 19:18:25.505 [initandlisten] ** WARNING: soft rlimits too low. Number of files is 256, should be at least 1000
Mon Jun 22 19:18:25.505 [initandlisten] db version v2.4.14
Mon Jun 22 19:18:25.505 [initandlisten] git version: 05bebf9ab15511a71bfbded684bb226014c0a553
Mon Jun 22 19:18:25.505 [initandlisten] build info: Darwin bs-osx-106-x86-64-2.10gen.cc 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun 7 16:32:41 PDT 2011; root:xnu-1504.15.3~1/RELEASE_X86_64 x86_64 BOOST_LIB_VERSION=1_49
Mon Jun 22 19:18:25.505 [initandlisten] allocator: system
Mon Jun 22 19:18:25.505 [initandlisten] options: { dbpath: "/data/db2.4/", vvvvv: true }
Mon Jun 22 19:18:25.507 [initandlisten] journal dir=/data/db2.4/journal
Mon Jun 22 19:18:25.507 [initandlisten] recover : no journal files present, no recovery needed
Mon Jun 22 19:18:25.519 [initandlisten] opening db: local
Mon Jun 22 19:18:25.519 [initandlisten] mmf open /data/db2.4/local.ns
Mon Jun 22 19:18:25.519 [initandlisten] mmf finishOpening 0x105c06000 /data/db2.4/local.ns len:16777216
Mon Jun 22 19:18:25.611 [initandlisten] mmf open /data/db2.4/local.0
Mon Jun 22 19:18:25.611 [initandlisten] mmf finishOpening 0x107c06000 /data/db2.4/local.0 len:67108864
Mon Jun 22 19:18:25.611 [initandlisten] mmf close
Mon Jun 22 19:18:25.612 [initandlisten] enter repairDatabases (to check pdfile version #)
Mon Jun 22 19:18:25.612 [initandlisten] admin
Mon Jun 22 19:18:25.612 [initandlisten] opening db: admin
Mon Jun 22 19:18:25.612 [initandlisten] mmf open /data/db2.4/admin.ns
Mon Jun 22 19:18:25.612 [initandlisten] mmf finishOpening 0x10fc06000 /data/db2.4/admin.ns len:16777216
Mon Jun 22 19:18:25.612 [initandlisten] mmf open /data/db2.4/admin.0
Mon Jun 22 19:18:25.612 [initandlisten] mmf finishOpening 0x111c06000 /data/db2.4/admin.0 len:67108864
Mon Jun 22 19:18:25.613 [initandlisten] mmf open /data/db2.4/admin.1
Mon Jun 22 19:18:25.613 [initandlisten] mmf finishOpening 0x119c06000 /data/db2.4/admin.1 len:134217728
Mon Jun 22 19:18:25.613 [initandlisten] mmf close /data/db2.4/admin.1
Mon Jun 22 19:18:25.613 [initandlisten] _groupCommit
Mon Jun 22 19:18:25.613 [initandlisten] journal REMAPPRIVATEVIEW
Mon Jun 22 19:18:25.613 [initandlisten] journal REMAPPRIVATEVIEW done startedAt: 0 n:5 0ms
Mon Jun 22 19:18:25.613 [initandlisten] groupCommit end
Mon Jun 22 19:18:25.615 [initandlisten] mmf close /data/db2.4/admin.0
Mon Jun 22 19:18:25.615 [initandlisten] _groupCommit
Mon Jun 22 19:18:25.615 [initandlisten] journal REMAPPRIVATEVIEW
Mon Jun 22 19:18:25.615 [initandlisten] journal REMAPPRIVATEVIEW done startedAt: 0 n:1 0ms
Mon Jun 22 19:18:25.615 [initandlisten] groupCommit end
Mon Jun 22 19:18:25.615 [initandlisten] mmf close /data/db2.4/admin.ns
Mon Jun 22 19:18:25.615 [initandlisten] _groupCommit
Mon Jun 22 19:18:25.615 [initandlisten] journal REMAPPRIVATEVIEW
Mon Jun 22 19:18:25.615 [initandlisten] journal REMAPPRIVATEVIEW done startedAt: 1 n:1 0ms
Mon Jun 22 19:18:25.615 [initandlisten] groupCommit end
Mon Jun 22 19:18:25.615 [initandlisten] local
Mon Jun 22 19:18:25.615 [initandlisten] ****
Mon Jun 22 19:18:25.615 [initandlisten] ****
Mon Jun 22 19:18:25.615 [initandlisten] need to upgrade database local with pdfile version 4.21, new version: 4.5
Mon Jun 22 19:18:25.615 [initandlisten] Not upgrading, exiting
Mon Jun 22 19:18:25.615 [initandlisten] run --upgrade to upgrade dbs, then start again
Mon Jun 22 19:18:25.615 [initandlisten] ****
Mon Jun 22 19:18:25.615 dbexit:
Mon Jun 22 19:18:25.615 [initandlisten] shutdown: going to close listening sockets...
Mon Jun 22 19:18:25.615 [initandlisten] shutdown: going to flush diaglog...
Mon Jun 22 19:18:25.615 [initandlisten] shutdown: going to close sockets...
Mon Jun 22 19:18:25.615 [initandlisten] shutdown: waiting for fs preallocator...
Mon Jun 22 19:18:25.615 [initandlisten] shutdown: lock for final commit...
Mon Jun 22 19:18:25.615 [initandlisten] shutdown: final commit...
Mon Jun 22 19:18:25.615 [initandlisten] _groupCommit
Mon Jun 22 19:18:25.615 [initandlisten] journal REMAPPRIVATEVIEW
Mon Jun 22 19:18:25.615 [initandlisten] journal REMAPPRIVATEVIEW done startedAt: 2 n:1 0ms
Mon Jun 22 19:18:25.615 [initandlisten] groupCommit end
Mon Jun 22 19:18:25.617 [initandlisten] shutdown: closing all files...
Mon Jun 22 19:18:25.617 [initandlisten] mmf close /data/db2.4/local.ns
Mon Jun 22 19:18:25.617 [initandlisten] _groupCommit
Mon Jun 22 19:18:25.617 [initandlisten] journal REMAPPRIVATEVIEW
Mon Jun 22 19:18:25.617 [initandlisten] journal REMAPPRIVATEVIEW done startedAt: 1 n:1 0ms
Mon Jun 22 19:18:25.617 [initandlisten] groupCommit end
Mon Jun 22 19:18:25.618 [initandlisten] mmf close /data/db2.4/local.0
Mon Jun 22 19:18:25.618 [initandlisten] _groupCommit
Mon Jun 22 19:18:25.618 [initandlisten] journal REMAPPRIVATEVIEW
Mon Jun 22 19:18:25.618 [initandlisten] journal REMAPPRIVATEVIEW done startedAt: 0 n:1 0ms
Mon Jun 22 19:18:25.618 [initandlisten] groupCommit end
Mon Jun 22 19:18:25.618 [initandlisten] closeAllFiles() finished
Mon Jun 22 19:18:25.618 [initandlisten] journalCleanup...
Mon Jun 22 19:18:25.618 [initandlisten] removeJournalFiles
Mon Jun 22 19:18:25.618 [initandlisten] removeJournalFiles end
Mon Jun 22 19:18:25.618 [initandlisten] shutdown: removing fs lock...
Mon Jun 22 19:18:25.618 [initandlisten] shutdown: groupCommitMutex
Mon Jun 22 19:18:25.618 dbexit: really exiting now
So, if I try add --upgrade key, I see this error:
~/Downloads/mongodb-osx-x86_64-2.4.14/bin ./mongod --dbpath=/data/db2.4/ -vvvvv --upgrade
Mon Jun 22 19:19:18.473 BackgroundJob starting: DataFileSync
Mon Jun 22 19:19:18.476 Matcher::matches() { abcd: 3.1, abcdef: "123456789" }
Mon Jun 22 19:19:18.476 Matcher::matches() { abcd: 3.1, abcdef: "123456789" }
Mon Jun 22 19:19:18.476 Matcher::matches() { abcd: 3.1, abcdef: "123456789" }
Mon Jun 22 19:19:18.476 Matcher::matches() { abcdef: "z23456789" }
Mon Jun 22 19:19:18.476 Matcher::matches() { abcd: 3.1, abcdef: "123456789" }
Mon Jun 22 19:19:18.476 Matcher::matches() { abcdef: "z23456789" }
Mon Jun 22 19:19:18.476 shardObjTest passed
Mon Jun 22 19:19:18.476 isInRangeTest passed
Mon Jun 22 19:19:18.476 shardKeyTest passed
Mon Jun 22 19:19:18.476 versionArrayTest passed
Mon Jun 22 19:19:18.476 [initandlisten] MongoDB starting : pid=1192 port=27017 dbpath=/data/db2.4/ 64-bit host=MacBook-Pro-lancedikson.local
Mon Jun 22 19:19:18.476 [initandlisten]
Mon Jun 22 19:19:18.476 [initandlisten] ** WARNING: soft rlimits too low. Number of files is 256, should be at least 1000
Mon Jun 22 19:19:18.476 [initandlisten] db version v2.4.14
Mon Jun 22 19:19:18.476 [initandlisten] git version: 05bebf9ab15511a71bfbded684bb226014c0a553
Mon Jun 22 19:19:18.476 [initandlisten] build info: Darwin bs-osx-106-x86-64-2.10gen.cc 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun 7 16:32:41 PDT 2011; root:xnu-1504.15.3~1/RELEASE_X86_64 x86_64 BOOST_LIB_VERSION=1_49
Mon Jun 22 19:19:18.476 [initandlisten] allocator: system
Mon Jun 22 19:19:18.476 [initandlisten] options: { dbpath: "/data/db2.4/", upgrade: true, vvvvv: true }
Mon Jun 22 19:19:18.485 [initandlisten] journal dir=/data/db2.4/journal
Mon Jun 22 19:19:18.485 [initandlisten] recover : no journal files present, no recovery needed
Mon Jun 22 19:19:18.499 [initandlisten] opening db: local
Mon Jun 22 19:19:18.499 [initandlisten] mmf open /data/db2.4/local.ns
Mon Jun 22 19:19:18.499 [initandlisten] mmf finishOpening 0x106000000 /data/db2.4/local.ns len:16777216
Mon Jun 22 19:19:18.506 [initandlisten] mmf open /data/db2.4/local.0
Mon Jun 22 19:19:18.506 [initandlisten] mmf finishOpening 0x108000000 /data/db2.4/local.0 len:67108864
Mon Jun 22 19:19:18.506 [initandlisten] mmf close
Mon Jun 22 19:19:18.506 [initandlisten] enter repairDatabases (to check pdfile version #)
Mon Jun 22 19:19:18.506 [initandlisten] admin
Mon Jun 22 19:19:18.506 [initandlisten] opening db: admin
Mon Jun 22 19:19:18.506 [initandlisten] mmf open /data/db2.4/admin.ns
Mon Jun 22 19:19:18.507 [initandlisten] mmf finishOpening 0x110000000 /data/db2.4/admin.ns len:16777216
Mon Jun 22 19:19:18.507 [initandlisten] mmf open /data/db2.4/admin.0
Mon Jun 22 19:19:18.507 [initandlisten] mmf finishOpening 0x112000000 /data/db2.4/admin.0 len:67108864
Mon Jun 22 19:19:18.518 [initandlisten] mmf open /data/db2.4/admin.1
Mon Jun 22 19:19:18.518 [initandlisten] mmf finishOpening 0x11a000000 /data/db2.4/admin.1 len:134217728
Mon Jun 22 19:19:18.518 [initandlisten] mmf close /data/db2.4/admin.1
Mon Jun 22 19:19:18.518 [initandlisten] _groupCommit
Mon Jun 22 19:19:18.518 [initandlisten] journal REMAPPRIVATEVIEW
Mon Jun 22 19:19:18.518 [initandlisten] journal REMAPPRIVATEVIEW done startedAt: 0 n:5 0ms
Mon Jun 22 19:19:18.518 [initandlisten] groupCommit end
Mon Jun 22 19:19:18.518 [initandlisten] mmf close /data/db2.4/admin.0
Mon Jun 22 19:19:18.518 [initandlisten] _groupCommit
Mon Jun 22 19:19:18.518 [initandlisten] journal REMAPPRIVATEVIEW
Mon Jun 22 19:19:18.518 [initandlisten] journal REMAPPRIVATEVIEW done startedAt: 0 n:1 0ms
Mon Jun 22 19:19:18.518 [initandlisten] groupCommit end
Mon Jun 22 19:19:18.518 [initandlisten] mmf close /data/db2.4/admin.ns
Mon Jun 22 19:19:18.518 [initandlisten] _groupCommit
Mon Jun 22 19:19:18.528 [initandlisten] journal REMAPPRIVATEVIEW
Mon Jun 22 19:19:18.528 [initandlisten] journal REMAPPRIVATEVIEW done startedAt: 1 n:1 0ms
Mon Jun 22 19:19:18.528 [initandlisten] groupCommit end
Mon Jun 22 19:19:18.528 [initandlisten] local
Mon Jun 22 19:19:18.528 [initandlisten] ****
Mon Jun 22 19:19:18.528 [initandlisten] ****
Mon Jun 22 19:19:18.528 [initandlisten] need to upgrade database local with pdfile version 4.21, new version: 4.5
Mon Jun 22 19:19:18.528 [initandlisten] starting upgrade
Mon Jun 22 19:19:18.528 [initandlisten] local repairDatabase local
Mon Jun 22 19:19:18.528 [initandlisten] _groupCommit
Mon Jun 22 19:19:18.528 [initandlisten] journal REMAPPRIVATEVIEW
Mon Jun 22 19:19:18.528 [initandlisten] journal REMAPPRIVATEVIEW done startedAt: 2 n:1 0ms
Mon Jun 22 19:19:18.528 [initandlisten] groupCommit end
Mon Jun 22 19:19:18.530 [initandlisten] removeJournalFiles
Mon Jun 22 19:19:18.530 [initandlisten] removeJournalFiles end
Mon Jun 22 19:19:18.530 [initandlisten] checking size file /data/db2.4/local.ns
Mon Jun 22 19:19:18.530 [initandlisten] opening db: /data/db2.4/_tmp_repairDatabase_5 local
Mon Jun 22 19:19:18.531 [initandlisten] runQuery called local.system.namespaces {}
Mon Jun 22 19:19:18.531 [initandlisten] info PageFaultRetryableSection will not yield, already locked upon reaching
Mon Jun 22 19:19:18.531 [initandlisten] query local.system.namespaces ntoreturn:0 ntoskip:0 nscanned:2 keyUpdates:0 nreturned:2 reslen:150 0ms
Mon Jun 22 19:19:18.531 [initandlisten] cloner got { name: "local.startup_log", options: { create: "startup_log", size: 10485760, capped: true } }
Mon Jun 22 19:19:18.531 [initandlisten] not ignoring collection local.startup_log
Mon Jun 22 19:19:18.531 [initandlisten] cloner got { name: "local.system.indexes" }
Mon Jun 22 19:19:18.531 [initandlisten] not cloning because system collection
Mon Jun 22 19:19:18.531 [initandlisten] really will clone: { name: "local.startup_log", options: { create: "startup_log", size: 10485760, capped: true } }
Mon Jun 22 19:19:18.531 [initandlisten] create collection local.startup_log { create: "startup_log", size: 10485760, capped: true }
Mon Jun 22 19:19:18.532 [initandlisten] allocating new ns file /data/db2.4/_tmp_repairDatabase_5/local.ns, filling with zeroes...
Mon Jun 22 19:19:18.585 [initandlisten] mmf create /data/db2.4/_tmp_repairDatabase_5/local.ns
Mon Jun 22 19:19:18.585 [initandlisten] mmf finishOpening 0x110000000 /data/db2.4/_tmp_repairDatabase_5/local.ns len:16777216
Mon Jun 22 19:19:18.586 [initandlisten] mmf create /data/db2.4/_tmp_repairDatabase_5/local.0
Mon Jun 22 19:19:18.586 [FileAllocator] allocating new datafile /data/db2.4/_tmp_repairDatabase_5/local.0, filling with zeroes...
Mon Jun 22 19:19:18.586 [FileAllocator] creating directory /data/db2.4/_tmp_repairDatabase_5/_tmp
Mon Jun 22 19:19:18.805 [FileAllocator] done allocating datafile /data/db2.4/_tmp_repairDatabase_5/local.0, size: 64MB, took 0.218 secs
Mon Jun 22 19:19:18.805 [initandlisten] mmf finishOpening 0x112000000 /data/db2.4/_tmp_repairDatabase_5/local.0 len:67108864
Mon Jun 22 19:19:18.860 [initandlisten] allocExtent local.startup_log size 10485760 0
Mon Jun 22 19:19:18.860 [initandlisten] New namespace: local.startup_log
Mon Jun 22 19:19:18.862 [initandlisten] allocExtent local.system.namespaces size 5888 0
Mon Jun 22 19:19:18.862 [initandlisten] New namespace: local.system.namespaces
Mon Jun 22 19:19:18.862 [initandlisten] cloning local.startup_log -> local.startup_log
Mon Jun 22 19:19:18.862 [initandlisten] cloning collection local.startup_log to local.startup_log on localhost with filter {}
Mon Jun 22 19:19:18.862 [initandlisten] runQuery called local.startup_log {}
Mon Jun 22 19:19:18.862 [initandlisten] query local.startup_log ntoreturn:0 ntoskip:0 nscanned:1 keyUpdates:0 nreturned:1 reslen:856 0ms
Mon Jun 22 19:19:18.863 [initandlisten] cloning collection local.system.indexes to local.system.indexes on localhost with filter { name: { $ne: "_id_" }, ns: { $nin: {} } }
Mon Jun 22 19:19:18.863 [initandlisten] runQuery called local.system.indexes { name: { $ne: "_id_" }, ns: { $nin: {} } }
Mon Jun 22 19:19:18.865 [initandlisten] local.system.indexes Assertion failure dl.a() != -1 src/mongo/db/pdfile.h 646
0x10045236b 0x10042bfbc 0x100269200 0x1002692a0 0x1002c13a8 0x1002cec5a 0x1002d064b 0x1002d0858 0x10024335e 0x1002466a2 0x1001f18fb 0x1001e9a24 0x1001e9c2d 0x10006362a 0x100038e80 0x1001e95a1 0x10003a5bc 0x1000e8b76 0x1000eaaf4 0x1000eb5be
0 mongod 0x000000010045236b _ZN5mongo15printStackTraceERSo + 43
1 mongod 0x000000010042bfbc _ZN5mongo12verifyFailedEPKcS1_j + 284
2 mongod 0x0000000100269200 _ZN5mongo11DataFileMgr7findAllERKNS_10StringDataERKNS_7DiskLocE + 968
3 mongod 0x00000001002692a0 _ZN5mongo13findTableScanEPKcRKNS_7BSONObjERKNS_7DiskLocE + 128
4 mongod 0x00000001002c13a8 _ZNK5mongo9QueryPlan9newCursorERKNS_7DiskLocEb + 292
5 mongod 0x00000001002cec5a _ZN5mongo15CursorGenerator16singlePlanCursorEv + 214
6 mongod 0x00000001002d064b _ZN5mongo15CursorGenerator8generateEv + 97
7 mongod 0x00000001002d0858 _ZN5mongo25NamespaceDetailsTransient9getCursorERKNS_10StringDataERKNS_7BSONObjES6_RKNS_24QueryPlanSelectionPolicyERKN5boost10shared_ptrIKNS_11ParsedQueryEEEbPNS_16QueryPlanSummaryE + 56
8 mongod 0x000000010024335e _ZN5mongo23queryWithQueryOptimizerEiRKSsRKNS_7BSONObjERNS_5CurOpES4_S4_RKN5boost10shared_ptrINS_11ParsedQueryEEES4_RKNS_12ChunkVersionERNS7_10scoped_ptrINS_25PageFaultRetryableSectionEEERNSG_INS_19NoPageFaultsAllowedEEERNS_7MessageE + 446
9 mongod 0x00000001002466a2 _ZN5mongo8runQueryERNS_7MessageERNS_12QueryMessageERNS_5CurOpES1_ + 5346
10 mongod 0x00000001001f18fb _ZN5mongo16assembleResponseERNS_7MessageERNS_10DbResponseERKNS_11HostAndPortE + 1691
11 mongod 0x00000001001e9a24 _ZN5mongo14DBDirectClient4callERNS_7MessageES2_bPSs + 112
12 mongod 0x00000001001e9c2d _ZThn72_N5mongo14DBDirectClient4callERNS_7MessageES2_bPSs + 13
13 mongod 0x000000010006362a _ZN5mongo14DBClientCursor4initEv + 304
14 mongod 0x0000000100038e80 _ZN5mongo12DBClientBase5queryERKSsNS_5QueryEiiPKNS_7BSONObjEii + 180
15 mongod 0x00000001001e95a1 _ZN5mongo14DBDirectClient5queryERKSsNS_5QueryEiiPKNS_7BSONObjEii + 79
16 mongod 0x000000010003a5bc _ZN5mongo12DBClientBase5queryEN5boost8functionIFvRNS_27DBClientCursorBatchIteratorEEEERKSsNS_5QueryEPKNS_7BSONObjEi + 98
17 mongod 0x00000001000e8b76 _ZN5mongo6Cloner4copyEPKcS2_bbbbbbNS_5QueryE + 1228
18 mongod 0x00000001000eaaf4 _ZN5mongo6Cloner2goEPKcRKNS_12CloneOptionsERSt3setISsSt4lessISsESaISsEERSsPi + 5914
19 mongod 0x00000001000eb5be _ZN5mongo6Cloner2goEPKcRSsRKSsbbbbbbPi + 254
Mon Jun 22 19:19:18.933 [initandlisten] assertion 0 assertion src/mongo/db/pdfile.h:646 ns:local.system.indexes query:{ name: { $ne: "_id_" }, ns: { $nin: {} } }
Mon Jun 22 19:19:18.933 [initandlisten] query local.system.indexes query: { name: { $ne: "_id_" }, ns: { $nin: {} } } ntoreturn:0 keyUpdates:0 exception: assertion src/mongo/db/pdfile.h:646 reslen:71 69ms
Mon Jun 22 19:19:18.939 [initandlisten] nextSafe(): { $err: "assertion src/mongo/db/pdfile.h:646" }
Mon Jun 22 19:19:18.939 [initandlisten] User Assertion: 13106:nextSafe(): { $err: "assertion src/mongo/db/pdfile.h:646" }
Mon Jun 22 19:19:18.940 [initandlisten] exception in initAndListen: 13106 nextSafe(): { $err: "assertion src/mongo/db/pdfile.h:646" }, terminating
Mon Jun 22 19:19:18.940 dbexit:
Mon Jun 22 19:19:18.940 [initandlisten] shutdown: going to close listening sockets...
Mon Jun 22 19:19:18.940 [initandlisten] shutdown: going to flush diaglog...
Mon Jun 22 19:19:18.940 [initandlisten] shutdown: going to close sockets...
Mon Jun 22 19:19:18.940 [initandlisten] shutdown: waiting for fs preallocator...
Mon Jun 22 19:19:18.940 [initandlisten] shutdown: lock for final commit...
Mon Jun 22 19:19:18.940 [initandlisten] shutdown: final commit...
Mon Jun 22 19:19:18.940 [initandlisten] _groupCommit
Mon Jun 22 19:19:18.941 [journal] journal WRITETODATAFILES 1
Mon Jun 22 19:19:18.941 [journal] journal WRITETODATAFILES 2
Mon Jun 22 19:19:18.941 [journal] journal WRITETODATAFILES 0.173ms
Mon Jun 22 19:19:18.942 [initandlisten] groupCommit end
Mon Jun 22 19:19:18.949 [initandlisten] shutdown: closing all files...
Mon Jun 22 19:19:18.949 [initandlisten] mmf close /data/db2.4/local.ns
Mon Jun 22 19:19:18.950 [initandlisten] mmf close /data/db2.4/_tmp_repairDatabase_5/local.0
Mon Jun 22 19:19:18.950 [initandlisten] mmf close /data/db2.4/local.0
Mon Jun 22 19:19:18.950 [initandlisten] mmf close /data/db2.4/_tmp_repairDatabase_5/local.ns
Mon Jun 22 19:19:18.950 [initandlisten] closeAllFiles() finished
Mon Jun 22 19:19:18.950 [initandlisten] journalCleanup...
Mon Jun 22 19:19:18.950 [initandlisten] removeJournalFiles
Mon Jun 22 19:19:18.950 [initandlisten] removeJournalFiles end
Mon Jun 22 19:19:18.950 [initandlisten] shutdown: removing fs lock...
Mon Jun 22 19:19:18.950 [initandlisten] shutdown: groupCommitMutex
Mon Jun 22 19:19:18.950 dbexit: really exiting now
Do you have any ideas what's going on and how to fix it without drop all data?

App crash in didFinishPickingMediaWithInfo

My app is crashing when the user records a video and then clicks choose. Here is my code:
UIImagePickerController *picker = [[UIImagePickerController alloc] init];
picker.sourceType = UIImagePickerControllerSourceTypeCamera;
picker.mediaTypes = [[NSArray alloc] initWithObjects:(NSString *)kUTTypeMovie, nil];
//picker.mediaTypes = [UIImagePickerController availableMediaTypesForSourceType:picker.sourceType];
picker.allowsEditing = NO;
picker.delegate = self;
picker.videoQuality = UIImagePickerControllerQualityTypeMedium;
[self presentModalViewController:picker animated:YES];
-(void) imagePickerController:(UIImagePickerController *)picker didFinishPickingMediaWithInfo:(NSDictionary *)info
{
// [self dismissModalViewControllerAnimated:YES];
AppDelegate *del = [[UIApplication sharedApplication]delegate];
NSString *mediaType = [info objectForKey: UIImagePickerControllerMediaType];
moviePath = [[info objectForKey:UIImagePickerControllerMediaURL]path];..//using this for upload
del.globalMoviePath = moviePath;
if (CFStringCompare ((__bridge CFStringRef) mediaType, kUTTypeMovie, 0)== kCFCompareEqualTo)
{
moviePath = [[info objectForKey:UIImagePickerControllerMediaURL] path];
del.globalMoviePath = moviePath;
picker.videoMaximumDuration = 60.0f;
picker.cameraCaptureMode = UIImagePickerControllerCameraCaptureModeVideo;
NSLog(#"nrgkrg===>%#",moviePath);
videoUrl=(NSURL*)[info objectForKey:UIImagePickerControllerMediaURL];
NSLog(#"Urlllll===>%#",videoUrl);
videoData = [NSData dataWithContentsOfURL:videoUrl];
del.globalMoviePath = moviePath;
NSLog(#"video is====>%#",del.globalMoviePath);
MPMoviePlayerController *player = [[MPMoviePlayerController alloc] initWithContentURL:videoUrl];
UIImage *thumbnail = [player thumbnailImageAtTime:1.0 timeOption:MPMovieTimeOptionNearestKeyFrame];
[player stop];
videoImage = [[UIImageView alloc]initWithImage:thumbnail];
//NSLog(#"imegsvideo====>%#",thumbnail);
//if (UIVideoAtPathIsCompatibleWithSavedPhotosAlbum(moviePath))
//{
// UISaveVideoAtPathToSavedPhotosAlbum (moviePath, self, #selector(video:didFinishSavingWithError:contextInfo:), nil);
// }
//MPMoviePlayerController *player = [[MPMoviePlayerController alloc] initWithContentURL:videoUrl];
//UIImage *thumbnail = [player thumbnailImageAtTime:1.0 timeOption:MPMovieTimeOptionNearestKeyFrame];
}
[self dismissModalViewControllerAnimated:YES];
//[[picker parentViewController] dismissModalViewControllerAnimated: YES];
}
When the user records a video and clicks choose app gets crashed but works fine when selected from camera roll.
Please help!!
Here's the log:
Nov 29 20:28:14 ReportCrash[259] <Notice>: Formulating crash report for process [254]
Nov 29 20:28:14 com.apple.launchd[1] <Warning>: (UIKitApplication:[0xcc37]) Job appears to have crashed: Segmentation fault: 11
Nov 29 20:28:14 backboardd[52] <Warning>: Application 'UIKitApplication:[0xcc37]' exited abnormally with signal 11: Segmentation fault: 11
Nov 29 20:28:14 ReportCrash[259] <Error>: libMobileGestalt copySystemVersionDictionaryValue: Could not lookup ReleaseType from system version dictionary
Nov 29 20:28:14 ReportCrash[259] <Notice>: Saved crashreport to /var/mobile/Library/Logs/CrashReporter/ using uid: 0 gid: 0, synthetic_euid: 501 egid: 0
Nov 29 20:28:38 mstreamd[257] <Notice>: (Note ) mstreamd: Checking on job state for Photo Stream
Nov 29 20:28:38 mstreamd[257] <Notice>: (Note ) mstreamd: No jobs scheduled for Photo Stream.
Nov 29 20:28:38 mstreamd[257] <Notice>: (Note ) mstreamd: Checking on job state for Shared Stream
Nov 29 20:28:38 mstreamd[257] <Notice>: (Note ) mstreamd: No jobs scheduled for Shared Stream.
Nov 29 20:28:38 mstreamd[257] <Notice>: (Note ) PS: Media stream daemon stopping.
Nov 29 20:28:38 mstreamd[257] <Notice>: (Note ) AS: <MSIOSAlbumSharingDaemon: 0x1ee72590>: Shared Streams daemon shutting down.
Nov 29 20:28:38 mstreamd[257] <Notice>: (Note ) AS: <MSIOSAlbumSharingDaemon: 0x1ee72590>: Shutting down state machine for personID 1446684163.
Nov 29 20:28:38 mstreamd[257] <Notice>: (Note ) AS: <MSASStateMachine: 0x1ed3e060>: Shutting down uploader.
Nov 29 20:28:38 mstreamd[257] <Notice>: (Note ) AS: <MSASStateMachine: 0x1ed3e060>: Shutting down downloader.
Nov 29 20:28:38 mstreamd[257] <Notice>: (Note ) AS: <MSASStateMachine: 0x1ed3e060>: Shutting down state machine.
Nov 29 20:28:38 mstreamd[257] <Notice>: (Note ) AS: <MSIOSAlbumSharingDaemon: 0x1ee72590>: Shutting down model.
Nov 29 20:28:38 mstreamd[257] <Notice>: (Note ) AS: <MSASServerSideModel: 0x1ed39d50>: Command Queue has shut down.
Nov 29 20:28:38 mstreamd[257] <Notice>: (Note ) AS: <MSIOSAlbumSharingDaemon: 0x1ee72590>: Model has shut down.
Nov 29 20:28:38 mstreamd[257] <Notice>: (Note ) AS: <MSIOSAlbumSharingDaemon: 0x1ee72590>: Shared Streams daemon has shut down.
Nov 29 20:28:38 mstreamd[257] <Notice>: (Note ) mstreamd: <MSPowerBudget: 0x1ed394b0>: Stopping post-foreground timer.
Nov 29 20:28:38 mstreamd[257] <Notice>: (Warn ) mstreamd: mstreamd shutting down.
Nov 29 20:49:16 UserEventAgent[13] <Warning>: PLAggregateState Error: Leaving state pluggedin_screen_off even though we are not in it, doing nothing
Nov 29 20:49:16 kernel[0] <Debug>: AppleD1881PMUPowerSource: AppleUSBCableDetect 0
Nov 29 20:49:16 kernel[0] <Debug>: AppleD1881PMUPowerSource: AppleUSBCableType Detached
Nov 29 20:49:16 kernel[0] <Debug>: virtual IOReturn AppleUSBDeviceMux::message(UInt32, IOService *, void *) - kMessageInterfaceWasDeActivated
Nov 29 20:49:16 kernel[0] <Debug>: AppleUSBDeviceMux::reportStats: USB mux statistics:
Nov 29 20:49:16 kernel[0] <Debug>: USB mux: 190 reads / 0 errors, 899 writes / 0 errors
Nov 29 20:49:16 kernel[0] <Debug>: USB mux: 0 short packets, 0 dups
Nov 29 20:49:16 UserEventAgent[13] <Warning>: PLAggregateState Error: Leaving state pluggedin_charging even though we are not in it, doing nothing
Nov 29 20:49:16 UserEventAgent[13] <Warning>: PLAggregateState Error: Leaving state unplugged_screen_off even though we are not in it, doing nothing
Nov 29 20:49:16 ptpd[104] <Notice>: PTP interface has been deactivated.
Nov 29 20:49:18 UserEventAgent[13] <Warning>: PLAggregateState Error: Leaving state unplugged_asleep even though we are not in it, doing nothing
Nov 29 20:49:18 kernel[0] <Debug>: AppleD1881PMUPowerSource: AppleUSBCableDetect 1
Nov 29 20:49:18 kernel[0] <Debug>: AppleD1881PMUPowerSource: AppleUSBCableType USBHost
Nov 29 20:49:18 UserEventAgent[13] <Warning>: PLAggregateState Error: Leaving state unplugged_screen_off even though we are not in it, doing nothing
Nov 29 20:49:18 UserEventAgent[13] <Warning>: PLAggregateState Error: Leaving state pluggedin_screen_off even though we are not in it, doing nothing
Nov 29 20:49:19 ptpd[104] <Notice>: PTP interface has been activated at high speed.
Nov 29 20:49:56 lockdownd[29] <Notice>: 2fe93000 special_case_get: MGCopyAnswer(kMGQMobileEquipmentIdentifier) returned NULL
Nov 29 20:49:56 lockdownd[29] <Notice>: 2fe93000 copy_phonenumber: CTSettingCopyMyPhoneNumber() returned NULL
Nov 29 20:49:56 mobile_installation_proxy[265] <Error>: 0x3cbd7b88 MobileInstallationSlowLookupBreak: MobileInstallationBrowse was called without specifying an options dictionary containing kLookupReturnAttributesKey. This usage is inefficient and may cause performance problems. Break on MobileInstallationSlowLookupBreak to debug.
Nov 29 20:49:56 mobile_installation_proxy[265] <Error>: 0x3cbd7b88 MobileInstallationSlowLookupBreak: Existing options dictionary: <CFBasicHash 0x1c545b90 [0x3bfb1100]>{type = mutable dict, count = 1,
entries =>
6 : <CFString 0x1c545bc0 [0x3bfb1100]>{contents = "ApplicationType"} = <CFString 0x1c545b30 [0x3bfb1100]>{contents = "User"}
}
Nov 29 20:49:57 mc_mobile_tunnel[267] <Notice>: (Note ) MC: mc_mobile_tunnel starting.
Nov 29 20:49:57 mc_mobile_tunnel[267] <Notice>: (Note ) MC: mc_mobile_tunnel shutting down.
Nov 29 20:49:57 mc_mobile_tunnel[268] <Notice>: (Note ) MC: mc_mobile_tunnel starting.
Nov 29 20:49:57 mc_mobile_tunnel[268] <Notice>: (Note ) MC: mc_mobile_tunnel shutting down.
Nov 29 20:49:57 lockdownd[29] <Notice>: 2fe93000 set_response_error: handle_start_session SessionActive
Nov 29 20:49:57 lockdownd[29] <Notice>: 2fe93000 set_response_error: handle_start_session SessionActive
Nov 29 20:50:03 mc_mobile_tunnel[270] <Notice>: (Note ) MC: mc_mobile_tunnel starting.
Nov 29 20:50:03 mc_mobile_tunnel[270] <Notice>: (Note ) MC: mc_mobile_tunnel shutting down.
Nov 29 20:51:31 UserEventAgent[13] <Warning>: PLAggregateState Error: Leaving state pluggedin_screen_off even though we are not in it, doing nothing
Nov 29 20:51:31 kernel[0] <Debug>: AppleD1881PMUPowerSource: AppleUSBCableDetect 0
Nov 29 20:51:31 kernel[0] <Debug>: AppleD1881PMUPowerSource: AppleUSBCableType Detached
Nov 29 20:51:31 kernel[0] <Debug>: virtual IOReturn AppleUSBDeviceMux::message(UInt32, IOService *, void *) - kMessageInterfaceWasDeActivated
Nov 29 20:51:31 kernel[0] <Debug>: AppleUSBDeviceMux::reportStats: USB mux statistics:
Nov 29 20:51:31 kernel[0] <Debug>: USB mux: 195 reads / 0 errors, 493 writes / 0 errors
Nov 29 20:51:31 kernel[0] <Debug>: USB mux: 0 short packets, 0 dups
Nov 29 20:51:31 UserEventAgent[13] <Warning>: PLAggregateState Error: Leaving state pluggedin_charging even though we are not in it, doing nothing
Nov 29 20:51:31 UserEventAgent[13] <Warning>: PLAggregateState Error: Leaving state unplugged_screen_off even though we are not in it, doing nothing
Nov 29 20:51:31 ptpd[104] <Notice>: PTP interface has been deactivated.
Nov 29 20:51:41 UserEventAgent[13] <Warning>: PLAggregateState Error: Leaving state unplugged_asleep even though we are not in it, doing nothing
Nov 29 20:51:41 kernel[0] <Debug>: AppleD1881PMUPowerSource: AppleUSBCableDetect 1
Nov 29 20:51:41 kernel[0] <Debug>: AppleD1881PMUPowerSource: AppleUSBCableType USBHost
Nov 29 20:51:41 UserEventAgent[13] <Warning>: PLAggregateState Error: Leaving state unplugged_screen_off even though we are not in it, doing nothing
Nov 29 20:51:41 UserEventAgent[13] <Warning>: PLAggregateState Error: Leaving state pluggedin_screen_off even though we are not in it, doing nothing
Nov 29 20:51:41 ptpd[272] <Error>: ptpd: startResponder
Nov 29 20:51:41 kernel[0] <Debug>: launchd[272] Builtin profile: ptpd (sandbox)
Nov 29 20:51:42 ptpd[272] <Notice>: PTP interface has been activated at high speed.
Nov 29 20:51:43 lockdownd[29] <Notice>: 2ffcf000 verify_pair_record: The strings don't match. Is this really a UUID?
Nov 29 20:51:43 lockdownd[29] <Notice>: 2ffcf000 store_escrow_record: Creating escrow bag (hash=9263ecf9c114f3a5cecdf7a52df193b4ce25044f) for 30264900-17792825678462560
Nov 29 20:51:52 lockdownd[29] <Notice>: 01442000 verify_pair_record: The strings don't match. Is this really a UUID?
Nov 29 20:51:52 lockdownd[29] <Notice>: 01442000 store_escrow_record: Creating escrow bag (hash=9de39584e1758f58137d28e4bd8c2fd79b5ba0a2) for 30264900-1682617038156454252
Nov 29 20:51:53 lockdownd[29] <Notice>: 01442000 special_case_get: MGCopyAnswer(kMGQMobileEquipmentIdentifier) returned NULL
Nov 29 20:51:53 lockdownd[29] <Notice>: 01442000 copy_phonenumber: CTSettingCopyMyPhoneNumber() returned NULL
Nov 29 20:51:53 mobile_installation_proxy[275] <Error>: 0x3cbd7b88 MobileInstallationSlowLookupBreak: MobileInstallationBrowse was called without specifying an options dictionary containing kLookupReturnAttributesKey. This usage is inefficient and may cause performance problems. Break on MobileInstallationSlowLookupBreak to debug.
Nov 29 20:51:53 mobile_installation_proxy[275] <Error>: 0x3cbd7b88 MobileInstallationSlowLookupBreak: Existing options dictionary: <CFBasicHash 0x1c5119d0 [0x3bfb1100]>{type = mutable dict, count = 1,
entries =>
6 : <CFString 0x1c511a00 [0x3bfb1100]>{contents = "ApplicationType"} = <CFString 0x1c511970 [0x3bfb1100]>{contents = "User"}
}
Nov 29 20:51:53 mc_mobile_tunnel[277] <Notice>: (Note ) MC: mc_mobile_tunnel starting.
Nov 29 20:51:53 mc_mobile_tunnel[277] <Notice>: (Note ) MC: mc_mobile_tunnel shutting down.
Nov 29 20:51:53 mc_mobile_tunnel[278] <Notice>: (Note ) MC: mc_mobile_tunnel starting.
Nov 29 20:51:53 mc_mobile_tunnel[278] <Notice>: (Note ) MC: mc_mobile_tunnel shutting down.
Nov 29 20:51:55 mc_mobile_tunnel[280] <Notice>: (Note ) MC: mc_mobile_tunnel starting.
Nov 29 20:51:55 mc_mobile_tunnel[280] <Notice>: (Note ) MC: mc_mobile_tunnel shutting down.
Nov 29 20:52:01 iPhone4S mc_mobile_tunnel[282] <Notice>: (Note ) MC: mc_mobile_tunnel starting.
Nov 29 20:52:01 iPhone4S mc_mobile_tunnel[282] <Notice>: (Note ) MC: mc_mobile_tunnel shutting down.
this is because may be you are dismissing view just after dismissing picker:
[picker dismissModalViewControllerAnimated:YES];
[self dismissModalViewControllerAnimated:YES];
as you have used animated YES, the picker is not yet dismissed so either use new API
[picker dismissViewControllerAnimated:YES completion:^{
[self dismissModalViewControllerAnimated:YES];
}];
The App is crashes because in iOS6 [self dismissModalViewControllerAnimated:YES];
is deprecated you replace it with [picker dismissViewControllerAnimated:YES completion:nil]; may solve you issue.

Application Crashed - Wired Crash

What does this error mean?
Nov 8 17:57:10 unknown configd[25] <Notice>: jetsam: kernel memory event (91), free: 670, active: 2840, inactive: 2253, purgeable: 0, wired: 15143
Nov 8 17:57:11 unknown SpringBoard[92] <Warning>: Received memory warning. Level=2
Nov 8 17:57:11 unknown MobileMail[6432] <Warning>: Received memory warning. Level=2
Nov 8 17:57:11 unknown configd[25] <Notice>: jetsam: kernel termination snapshot being created
Nov 8 17:57:11 unknown com.apple.launchd[1] <Notice>: (UIKitApplication:com.apple.mobileipod[0xe0a1]) Exited: Killed: 9
Nov 8 17:57:11 unknown com.apple.launchd[1] <Notice>: (UIKitApplication:com.apple.mobilemail[0xbebe]) Exited: Killed: 9
Nov 8 17:57:11 unknown com.apple.launchd[1] <Notice>: (UIKitApplication:paradigm.PaymentSystemiPad[0x6c80]) Bug: launchd_core_logic.c:3795 (24506):0
Nov 8 17:57:11 unknown DTMobileIS[6377] <Warning>: _memoryNotification : <NSThread: 0x1c5361d0>{name = (null), num = 1}
Nov 8 17:57:11 unknown com.apple.debugserver-50[6480] <Warning>: 1 [1950/1503]: error: ::read ( 4, 0x2ff669f0, 1024 ) => -1 err = Bad file descriptor (0x00000009)
Nov 8 17:57:11 unknown com.apple.launchd[1] <Notice>: (UIKitApplication:paradigm.PaymentSystemiPad[0x6c80]) Bug: launchd_core_logic.c:3794 (24506):3
Nov 8 17:57:11 unknown com.apple.launchd[1] <Notice>: (UIKitApplication:paradigm.PaymentSystemiPad[0x6c80]) Bug: launchd_core_logic.c:3202 (24506):10
Nov 8 17:57:11 unknown com.apple.launchd[1] <Notice>: (UIKitApplication:paradigm.PaymentSystemiPad[0x6c80]) Working around 5020256. Assuming the job crashed.
Nov 8 17:57:11 unknown com.apple.launchd[1] <Warning>: (UIKitApplication:paradigm.PaymentSystemiPad[0x6c80]) Job appears to have crashed: Segmentation fault: 11
Nov 8 17:57:11 unknown SpringBoard[92] <Warning>: Application 'Mail' exited abnormally with signal 9: Killed: 9
Nov 8 17:57:12 unknown DTMobileIS[6377] <Warning>: _memoryNotification : {
OSMemoryNotificationLevel = 0;
timestamp = "2011-11-08 12:27:11 +0000";
}
Nov 8 17:57:12 unknown DTMobileIS[6377] <Warning>: _memoryNotification : <NSThread: 0x1c5361d0>{name = (null), num = 1}
Nov 8 17:57:12 unknown DTMobileIS[6377] <Warning>: _memoryNotification : {
OSMemoryNotificationLevel = 0;
timestamp = "2011-11-08 12:27:12 +0000";
}
Nov 8 17:57:12 unknown SpringBoard[92] <Warning>: Application 'PaymentSystemiPad' exited abnormally with signal 11: Segmentation fault: 11
Nov 8 17:57:12 unknown SpringBoard[92] <Warning>: Application 'iPod' exited abnormally with signal 9: Killed: 9
Nov 8 17:57:12 unknown kernel[0] <Debug>: launchd[6486] Builtin profile: MobileMail (sandbox)
Nov 8 17:57:13 unknown ReportCrash[6485] <Error>: libMobileGestalt loadBasebandMobileEquipmentInfo: CommCenter error: 1:45
Nov 8 17:57:13 unknown ReportCrash[6485] <Error>: libMobileGestalt copyInternationalMobileEquipmentIdentity: Could not get mobile equipment info dictionary
Nov 8 17:57:13 unknown ReportCrash[6485] <Error>: Saved crashreport to /Library/Logs/CrashReporter/LowMemory-2011-11-08-175713.plist using uid: 0 gid: 0, synthetic_euid: 0 egid: 0
Nov 8 17:59:12 unknown SpringBoard[92] <Notice>: MultitouchHID(1f55bf50) uilock state: 0 -> 1
This mean that you have allocated a lot of memory and Received memory warning. I assume you have memory leaks or load many images/resources into memory. Try to research your code and find places where you load resources.