Forum » Mobilne tehnologije » Failed to open database '/data/user/0/com.android.providers.media/databases/external.db'
Failed to open database '/data/user/0/com.android.providers.media/databases/external.db'
tmz ::
Hi!
Danes se mi je nekaj sesul Galaxy S2, android 4.1.2. Nič rootan, nič ne normalnega. Vmes sem ga potem na silo ugasnil z držanjem gumba. Če odprem kakšne program, ki ma veze z media library (fotke, filmi, fotoaparat, market, ...), se sesuje in javlja napake. V logih imam tole
Bistvo je po moje tole
Očitno se je corruptala external.db baza. Kaj naj naredim, da jo bo sistem znova kreiral?
Ima kdo kakšno ideji kaj naj naredim?? Za enkrat ga ne bi rad rootal.
Hvala
tmz
Danes se mi je nekaj sesul Galaxy S2, android 4.1.2. Nič rootan, nič ne normalnega. Vmes sem ga potem na silo ugasnil z držanjem gumba. Če odprem kakšne program, ki ma veze z media library (fotke, filmi, fotoaparat, market, ...), se sesuje in javlja napake. V logih imam tole
E/MediaProvider( 6050): failed to open database external.db
E/MediaProvider( 6050): android.database.sqlite.SQLiteCantOpenDatabaseException: unable to open database file (code 14): , while compiling: PRAGMA journal_mode
E/MediaProvider( 6050): at android.database.sqlite.SQLiteConnection.nativePrepareStatement(Native Method)
E/MediaProvider( 6050): at android.database.sqlite.SQLiteConnection.acquirePreparedStatement(SQLiteConnection.java:1013)
E/MediaProvider( 6050): at android.database.sqlite.SQLiteConnection.executeForString(SQLiteConnection.java:758)
E/MediaProvider( 6050): at android.database.sqlite.SQLiteConnection.setJournalMode(SQLiteConnection.java:444)
E/MediaProvider( 6050): at android.database.sqlite.SQLiteConnection.open(SQLiteConnection.java:297)
E/MediaProvider( 6050): at android.database.sqlite.SQLiteConnection.open(SQLiteConnection.java:218)
E/MediaProvider( 6050): at android.database.sqlite.SQLiteConnectionPool.openConnectionLocked(SQLiteConnectionPool.java:464)
E/MediaProvider( 6050): at android.database.sqlite.SQLiteConnectionPool.open(SQLiteConnectionPool.java:186)
E/MediaProvider( 6050): at android.database.sqlite.SQLiteConnectionPool.open(SQLiteConnectionPool.java:178)
E/MediaProvider( 6050): at android.database.sqlite.SQLiteDatabase.openInner(SQLiteDatabase.java:804)
E/MediaProvider( 6050): at android.database.sqlite.SQLiteDatabase.open(SQLiteDatabase.java:789)
E/MediaProvider( 6050): at android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:694)
E/MediaProvider( 6050): at android.app.ContextImpl.openOrCreateDatabase(ContextImpl.java:967)
E/MediaProvider( 6050): at android.content.ContextWrapper.openOrCreateDatabase(ContextWrapper.java:228)
E/MediaProvider( 6050): at android.database.sqlite.SQLiteOpenHelper.getDatabaseLocked(SQLiteOpenHelper.java:224)
E/MediaProvider( 6050): at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:164)
E/MediaProvider( 6050): at com.android.providers.media.MediaProvider$DatabaseHelper.getWritableDatabase(MediaProvider.java:560)
E/MediaProvider( 6050): at com.android.providers.media.MediaProvider.attachVolume(MediaProvider.java:6929)
E/MediaProvider( 6050): at com.android.providers.media.MediaProvider.onCreate(MediaProvider.java:846)
E/MediaProvider( 6050): at android.content.ContentProvider.attachInfo(ContentProvider.java:1058)
E/MediaProvider( 6050): at android.app.ActivityThread.installProvider(ActivityThread.java:4660)
E/MediaProvider( 6050): at android.app.ActivityThread.installContentProviders(ActivityThread.java:4290)
E/MediaProvider( 6050): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4232)
E/MediaProvider( 6050): at android.app.ActivityThread.access$1400(ActivityThread.java:140)
E/MediaProvider( 6050): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1297)
E/MediaProvider( 6050): at android.os.Handler.dispatchMessage(Handler.java:99)
E/MediaProvider( 6050): at android.os.Looper.loop(Looper.java:137)
E/MediaProvider( 6050): at android.app.ActivityThread.main(ActivityThread.java:4921)
E/MediaProvider( 6050): at java.lang.reflect.Method.invokeNative(Native Method)
E/MediaProvider( 6050): at java.lang.reflect.Method.invoke(Method.java:511)
E/MediaProvider( 6050): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1027)
E/MediaProvider( 6050): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:794)
E/MediaProvider( 6050): at dalvik.system.NativeStart.main(Native Method)
E/SQLiteLog( 6050): (14) cannot open file at line 30241 of [00bb9c9ce4]
E/SQLiteLog( 6050): (14) os_unix.c:30241: (13) open(/data/user/0/com.android.providers.media/databases/external.db-wal) -
E/SQLiteLog( 6050): (14) unable to open database file
E/SQLiteDatabase( 6050): Failed to open database '/data/user/0/com.android.providers.media/databases/external.db'.
E/SQLiteDatabase( 6050): android.database.sqlite.SQLiteCantOpenDatabaseException: unable to open database file (code 14): , while compiling: PRAGMA journal_mode
E/SQLiteDatabase( 6050): at android.database.sqlite.SQLiteConnection.nativePrepareStatement(Native Method)
E/SQLiteDatabase( 6050): at android.database.sqlite.SQLiteConnection.acquirePreparedStatement(SQLiteConnection.java:1013)
E/SQLiteDatabase( 6050): at android.database.sqlite.SQLiteConnection.executeForString(SQLiteConnection.java:758)
E/SQLiteDatabase( 6050): at android.database.sqlite.SQLiteConnection.setJournalMode(SQLiteConnection.java:444)
E/SQLiteDatabase( 6050): at android.database.sqlite.SQLiteConnection.open(SQLiteConnection.java:297)
E/SQLiteDatabase( 6050): at android.database.sqlite.SQLiteConnection.open(SQLiteConnection.java:218)
E/SQLiteDatabase( 6050): at android.database.sqlite.SQLiteConnectionPool.openConnectionLocked(SQLiteConnectionPool.java:464)
E/SQLiteDatabase( 6050): at android.database.sqlite.SQLiteConnectionPool.open(SQLiteConnectionPool.java:186)
E/SQLiteDatabase( 6050): at android.database.sqlite.SQLiteConnectionPool.open(SQLiteConnectionPool.java:178)
E/SQLiteDatabase( 6050): at android.database.sqlite.SQLiteDatabase.openInner(SQLiteDatabase.java:804)
E/SQLiteDatabase( 6050): at android.database.sqlite.SQLiteDatabase.open(SQLiteDatabase.java:789)
E/SQLiteDatabase( 6050): at android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:694)
E/SQLiteDatabase( 6050): at android.app.ContextImpl.openOrCreateDatabase(ContextImpl.java:967)
E/SQLiteDatabase( 6050): at android.content.ContextWrapper.openOrCreateDatabase(ContextWrapper.java:228)
E/SQLiteDatabase( 6050): at android.database.sqlite.SQLiteOpenHelper.getDatabaseLocked(SQLiteOpenHelper.java:224)
E/SQLiteDatabase( 6050): at android.database.sqlite.SQLiteOpenHelper.getReadableDatabase(SQLiteOpenHelper.java:188)
E/SQLiteDatabase( 6050): at com.android.providers.media.MediaProvider.query(MediaProvider.java:2932)
E/SQLiteDatabase( 6050): at com.android.providers.media.MediaProvider.attachVolume(MediaProvider.java:6938)
E/SQLiteDatabase( 6050): at com.android.providers.media.MediaProvider.onCreate(MediaProvider.java:846)
E/SQLiteDatabase( 6050): at android.content.ContentProvider.attachInfo(ContentProvider.java:1058)
E/SQLiteDatabase( 6050): at android.app.ActivityThread.installProvider(ActivityThread.java:4660)
E/SQLiteDatabase( 6050): at android.app.ActivityThread.installContentProviders(ActivityThread.java:4290)
E/SQLiteDatabase( 6050): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4232)
E/SQLiteDatabase( 6050): at android.app.ActivityThread.access$1400(ActivityThread.java:140)
E/SQLiteDatabase( 6050): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1297)
E/SQLiteDatabase( 6050): at android.os.Handler.dispatchMessage(Handler.java:99)
E/SQLiteDatabase( 6050): at android.os.Looper.loop(Looper.java:137)
E/SQLiteDatabase( 6050): at android.app.ActivityThread.main(ActivityThread.java:4921)
E/SQLiteDatabase( 6050): at java.lang.reflect.Method.invokeNative(Native Method)
E/SQLiteDatabase( 6050): at java.lang.reflect.Method.invoke(Method.java:511)
E/SQLiteDatabase( 6050): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1027)
E/SQLiteDatabase( 6050): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:794)
E/SQLiteDatabase( 6050): at dalvik.system.NativeStart.main(Native Method)
E/SQLiteOpenHelper( 6050): Couldn't open external.db for writing (will try read-only):
E/SQLiteOpenHelper( 6050): android.database.sqlite.SQLiteCantOpenDatabaseException: unable to open database file (code 14): , while compiling: PRAGMA journal_mode
E/SQLiteOpenHelper( 6050): at android.database.sqlite.SQLiteConnection.nativePrepareStatement(Native Method)
E/SQLiteOpenHelper( 6050): at android.database.sqlite.SQLiteConnection.acquirePreparedStatement(SQLiteConnection.java:1013)
E/SQLiteOpenHelper( 6050): at android.database.sqlite.SQLiteConnection.executeForString(SQLiteConnection.java:758)
E/SQLiteOpenHelper( 6050): at android.database.sqlite.SQLiteConnection.setJournalMode(SQLiteConnection.java:444)
E/SQLiteOpenHelper( 6050): at android.database.sqlite.SQLiteConnection.open(SQLiteConnection.java:297)
E/SQLiteOpenHelper( 6050): at android.database.sqlite.SQLiteConnection.open(SQLiteConnection.java:218)
E/SQLiteOpenHelper( 6050): at android.database.sqlite.SQLiteConnectionPool.openConnectionLocked(SQLiteConnectionPool.java:464)
E/SQLiteOpenHelper( 6050): at android.database.sqlite.SQLiteConnectionPool.open(SQLiteConnectionPool.java:186)
E/SQLiteOpenHelper( 6050): at android.database.sqlite.SQLiteConnectionPool.open(SQLiteConnectionPool.java:178)
E/SQLiteOpenHelper( 6050): at android.database.sqlite.SQLiteDatabase.openInner(SQLiteDatabase.java:804)
E/SQLiteOpenHelper( 6050): at android.database.sqlite.SQLiteDatabase.open(SQLiteDatabase.java:789)
E/SQLiteOpenHelper( 6050): at android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:694)
E/SQLiteOpenHelper( 6050): at android.app.ContextImpl.openOrCreateDatabase(ContextImpl.java:967)
E/SQLiteOpenHelper( 6050): at android.content.ContextWrapper.openOrCreateDatabase(ContextWrapper.java:228)
E/SQLiteOpenHelper( 6050): at android.database.sqlite.SQLiteOpenHelper.getDatabaseLocked(SQLiteOpenHelper.java:224)
E/SQLiteOpenHelper( 6050): at android.database.sqlite.SQLiteOpenHelper.getReadableDatabase(SQLiteOpenHelper.java:188)
E/SQLiteOpenHelper( 6050): at com.android.providers.media.MediaProvider.query(MediaProvider.java:2932)
E/SQLiteOpenHelper( 6050): at com.android.providers.media.MediaProvider.attachVolume(MediaProvider.java:6938)
E/SQLiteOpenHelper( 6050): at com.android.providers.media.MediaProvider.onCreate(MediaProvider.java:846)
E/SQLiteOpenHelper( 6050): at android.content.ContentProvider.attachInfo(ContentProvider.java:1058)
E/SQLiteOpenHelper( 6050): at android.app.ActivityThread.installProvider(ActivityThread.java:4660)
E/SQLiteOpenHelper( 6050): at android.app.ActivityThread.installContentProviders(ActivityThread.java:4290)
E/SQLiteOpenHelper( 6050): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4232)
E/SQLiteOpenHelper( 6050): at android.app.ActivityThread.access$1400(ActivityThread.java:140)
E/SQLiteOpenHelper( 6050): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1297)
E/SQLiteOpenHelper( 6050): at android.os.Handler.dispatchMessage(Handler.java:99)
E/SQLiteOpenHelper( 6050): at android.os.Looper.loop(Looper.java:137)
E/SQLiteOpenHelper( 6050): at android.app.ActivityThread.main(ActivityThread.java:4921)
E/SQLiteOpenHelper( 6050): at java.lang.reflect.Method.invokeNative(Native Method)
E/SQLiteOpenHelper( 6050): at java.lang.reflect.Method.invoke(Method.java:511)
E/SQLiteOpenHelper( 6050): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1027)
E/SQLiteOpenHelper( 6050): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:794)
E/SQLiteOpenHelper( 6050): at dalvik.system.NativeStart.main(Native Method)
E/SQLiteLog( 6050): (14) cannot open file at line 30241 of [00bb9c9ce4]
E/SQLiteLog( 6050): (14) os_unix.c:30241: (13) open(/data/user/0/com.android.providers.media/databases/external.db-wal) -
E/SQLiteLog( 6050): (14) statement aborts at 0: [PRAGMA user_version;] unable to open database file
E/AndroidRuntime( 6050): FATAL EXCEPTION: main
E/AndroidRuntime( 6050): java.lang.RuntimeException: Unable to get provider com.android.providers.media.MediaProvider: android.database.sqlite.SQLiteCantOpenDatabaseException: unable to open database file (code 14)
E/AndroidRuntime( 6050): at android.app.ActivityThread.installProvider(ActivityThread.java:4663)
E/AndroidRuntime( 6050): at android.app.ActivityThread.installContentProviders(ActivityThread.java:4290)
E/AndroidRuntime( 6050): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4232)
E/AndroidRuntime( 6050): at android.app.ActivityThread.access$1400(ActivityThread.java:140)
E/AndroidRuntime( 6050): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1297)
E/AndroidRuntime( 6050): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 6050): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 6050): at android.app.ActivityThread.main(ActivityThread.java:4921)
E/AndroidRuntime( 6050): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 6050): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 6050): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1027)
E/AndroidRuntime( 6050): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:794)
E/AndroidRuntime( 6050): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 6050): Caused by: android.database.sqlite.SQLiteCantOpenDatabaseException: unable to open database file (code 14)
E/AndroidRuntime( 6050): at android.database.sqlite.SQLiteConnection.nativeExecuteForLong(Native Method)
E/AndroidRuntime( 6050): at android.database.sqlite.SQLiteConnection.executeForLong(SQLiteConnection.java:722)
E/AndroidRuntime( 6050): at android.database.sqlite.SQLiteSession.executeForLong(SQLiteSession.java:652)
E/AndroidRuntime( 6050): at android.database.sqlite.SQLiteStatement.simpleQueryForLong(SQLiteStatement.java:107)
E/AndroidRuntime( 6050): at android.database.DatabaseUtils.longForQuery(DatabaseUtils.java:816)
E/AndroidRuntime( 6050): at android.database.DatabaseUtils.longForQuery(DatabaseUtils.java:804)
E/AndroidRuntime( 6050): at android.database.sqlite.SQLiteDatabase.getVersion(SQLiteDatabase.java:862)
E/AndroidRuntime( 6050): at android.database.sqlite.SQLiteOpenHelper.getDatabaseLocked(SQLiteOpenHelper.java:242)
E/AndroidRuntime( 6050): at android.database.sqlite.SQLiteOpenHelper.getReadableDatabase(SQLiteOpenHelper.java:188)
E/AndroidRuntime( 6050): at com.android.providers.media.MediaProvider.query(MediaProvider.java:2932)
E/AndroidRuntime( 6050): at com.android.providers.media.MediaProvider.attachVolume(MediaProvider.java:6938)
E/AndroidRuntime( 6050): at com.android.providers.media.MediaProvider.onCreate(MediaProvider.java:846)
E/AndroidRuntime( 6050): at android.content.ContentProvider.attachInfo(ContentProvider.java:1058)
E/AndroidRuntime( 6050): at android.app.ActivityThread.installProvider(ActivityThread.java:4660)
E/AndroidRuntime( 6050): ... 12 more
E/ActivityThread( 5452): Failed to find provider info for media
E/Camera ( 5452): updateRemainStorageIndicator(964)
Bistvo je po moje tole
E/SQLiteLog( 6050): (14) cannot open file at line 30241 of [00bb9c9ce4]
E/SQLiteLog( 6050): (14) os_unix.c:30241: (13) open(/data/user/0/com.android.providers.media/databases/external.db-wal) -
E/SQLiteLog( 6050): (14) unable to open database file
E/SQLiteDatabase( 6050): Failed to open database '/data/user/0/com.android.providers.media/databases/external.db'.
Očitno se je corruptala external.db baza. Kaj naj naredim, da jo bo sistem znova kreiral?
Ima kdo kakšno ideji kaj naj naredim?? Za enkrat ga ne bi rad rootal.
Hvala
tmz
- spremenil: tmz ()
Vredno ogleda ...
Tema | Ogledi | Zadnje sporočilo | |
---|---|---|---|
Tema | Ogledi | Zadnje sporočilo | |
» | [android] java.lang.RuntimeExceptionOddelek: Programiranje | 1088 (780) | piki12 |
» | Programiranje problem androidOddelek: Programiranje | 1185 (950) | g333kk |
» | android črtaOddelek: Programiranje | 2420 (1691) | g333kk |
» | [android] vstavljanje slikeOddelek: Programiranje | 1257 (1154) | messi |
» | [android] crashOddelek: Programiranje | 1352 (1161) | messi |