Soki 9 Posted March 22, 2017 Share Posted March 22, 2017 Hey there, ... my EMBY Server does not come back online. It switches the PID constantly around every 1 second. ( This console output was made in less then 10 seconds ) root@emby:~# sudo service emby-server status emby-server start/running, process 31478 root@emby:~# sudo service emby-server status emby-server start/running, process 31537 root@emby:~# sudo service emby-server status emby-server start/running, process 31537 root@emby:~# sudo service emby-server status emby-server start/running, process 31602 root@emby:~# sudo service emby-server status emby-server start/running, process 31602 root@emby:~# sudo service emby-server status emby-server start/running, process 31602 root@emby:~# sudo service emby-server status emby-server start/running, process 31674 root@emby:~# sudo service emby-server status emby-server start/running, process 31730 root@emby:~# sudo service emby-server status emby-server start/running, process 31730 root@emby:~# sudo service emby-server status emby-server start/running, process 31795 root@emby:~# sudo service emby-server status emby-server start/running, process 3637 root@emby:~# sudo service emby-server stop emby-server stop/waiting root@emby:~# sudo service emby-server start emby-server start/running, process 3861 root@emby:~# sudo service emby-server status emby-server start/running, process 4067 root@emby:~# That is so strange... can anybody tell me what is happening here? greetz Soki Link to comment Share on other sites More sharing options...
mastrmind11 717 Posted March 22, 2017 Share Posted March 22, 2017 (edited) Is the service crashing in between your requests for status? Whats the output of sudo systemctl status emby-server.service? What's in your emby logs? Edited March 22, 2017 by mastrmind11 Link to comment Share on other sites More sharing options...
Soki 9 Posted March 22, 2017 Author Share Posted March 22, 2017 (edited) Is the service crashing in between your requests for status? Whats the output of sudo systemctl status emby-server.service? What's in your emby logs? Hey mastmindll, yep it seems like the service does not fully load, trys to start, crashes, and does that all over until the end of mankind. Output of systemctl: root@emby:/var/log/upstart# sudo systemctl status emby-server.service emby-server.service Loaded: error (Reason: No such file or directory) Active: inactive (dead) Which logs should i look into? The only log i know so far is under "/var/log/upstart/emby-server.log" There at the end is this: + echo Starting emby-server Starting emby-server + set + logger -t /proc/self/fd/9 DEBUG: IFS=' ' OPTIND='1' PATH='/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin' PPID='1' PS1='# ' PS2='> ' PS4='+ ' PWD='/' TERM='linux' UPSTART_INSTANCE='' UPSTART_JOB='emby-server' + exec /usr/bin/emby-server start Session terminated, terminating shell... ...terminated. ty for your time Soki Edited March 22, 2017 by Soki Link to comment Share on other sites More sharing options...
mastrmind11 717 Posted March 22, 2017 Share Posted March 22, 2017 What's the output of this: sudo journalctl -u emby-server.service Link to comment Share on other sites More sharing options...
Soki 9 Posted March 22, 2017 Author Share Posted March 22, 2017 root@emby:~# sudo journalctl -u emby-server.service -- Logs begin at Wed 2017-03-22 16:09:32 UTC, end at Wed 2017-03-22 16:10:12 UTC. -- Link to comment Share on other sites More sharing options...
Soki 9 Posted March 22, 2017 Author Share Posted March 22, 2017 (edited) Update Just found a concerning entry in the embe-server.log. SQLite Problem? And even more concerning "OError: disk I/O error^M"? Any thoughts on this one? Log: (Highlited the regarding parts /b) *** Error Report *** Version: 3.2.8.0 Command line: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe -programdata /var/lib/emby-server -restartpath /usr/lib/emby-server/restart.sh Operating system: Unix 4.2.6.1 64-Bit OS: True 64-Bit Process: True Mono: 4.6.2 (Stable 4.6.2.7/08fd525 Wed Mar 15 20:25:30 UTC 2017) Processor count: 12 Program data path: /var/lib/emby-server Application directory: /usr/lib/emby-server/bin System.AggregateException: One or more errors occurred. ---> SQLitePCL.pretty.SQLiteException: Exception of type 'SQLitePCL.pretty.SQLiteException' was thrown. at SQLitePCL.pretty.SQLiteException.CheckOk (SQLitePCL.sqlite3 db, System.Int32 rc) [0x0001a] in <926d5dc8f35f4aae9a6008f11f233fd0>:0 at SQLitePCL.pretty.SQLiteDatabaseConnection.PrepareStatement (System.String sql, System.String& tail) [0x00038] in <926d5dc8f35f4aae9a6008f11f233fd0>:0 at SQLitePCL.pretty.DatabaseConnection.PrepareStatement (SQLitePCL.pretty.IDatabaseConnection This, System.String sql) [0x0000c] in <926d5dc8f35f4aae9a6008f11f233fd0>:0 at SQLitePCL.pretty.DatabaseConnection+<Query>c__AnonStorey1.<>m__0 () [0x00000] in <926d5dc8f35f4aae9a6008f11f233fd0>:0 at SQLitePCL.pretty.DelegatingEnumerable`1[T].GetEnumerator () [0x00000] in <926d5dc8f35f4aae9a6008f11f233fd0>:0 at System.Linq.Enumerable+WhereSelectEnumerableIterator`2[TSource,TResult].MoveNext () [0x0001a] in <63992662b765477a898ef49cdcc99ee2>:0 at System.Linq.Enumerable.First[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x0003e] in <63992662b765477a898ef49cdcc99ee2>:0 at Emby.Server.Implementations.Data.BaseSqliteRepository.CreateConnection (System.Boolean isReadOnly) [0x000f5] in <a06be7285faa438faf5050612aaf06d4>:0 at Emby.Server.Implementations.Data.SqliteUserRepository.Initialize () [0x00000] in <a06be7285faa438faf5050612aaf06d4>:0 at Emby.Server.Core.ApplicationHost.GetUserRepository () [0x00027] in <41ac08c4e342414fa093a77375ca7343>:0 at Emby.Server.Core.ApplicationHost+<RegisterResources>d__188.MoveNext () [0x003cf] in <41ac08c4e342414fa093a77375ca7343>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0 at Emby.Common.Implementations.BaseApplicationHost`1+<Init>d__102[TApplicationPathsType].MoveNext () [0x001d4] in <071e2bfae2004426bc9611150464f0fe>:0 --- End of inner exception stack trace --- at System.Threading.Tasks.Task.WaitAll (System.Threading.Tasks.Task[] tasks, System.Int32 millisecondsTimeout, System.Threading.CancellationToken cancellationToken) [0x00242] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Threading.Tasks.Task.WaitAll (System.Threading.Tasks.Task[] tasks, System.Int32 millisecondsTimeout) [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Threading.Tasks.Task.WaitAll (System.Threading.Tasks.Task[] tasks) [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0 at MediaBrowser.Server.Mono.MainClass.RunApplication (Emby.Server.Implementations.ServerApplicationPaths appPaths, MediaBrowser.Model.Logging.ILogManager logManager, Emby.Server.Implementations.StartupOptions options) [0x0013a] in <e59c8a467b064837a2762d51926ad91c>:0 at MediaBrowser.Server.Mono.MainClass.Main (System.String[] args) [0x000a4] in <e59c8a467b064837a2762d51926ad91c>:0 ---> (Inner Exception #0) IOError: disk I/O error^M SQLitePCL.pretty.SQLiteException: Exception of type 'SQLitePCL.pretty.SQLiteException' was thrown. at SQLitePCL.pretty.SQLiteException.CheckOk (SQLitePCL.sqlite3 db, System.Int32 rc) [0x0001a] in <926d5dc8f35f4aae9a6008f11f233fd0>:0 at SQLitePCL.pretty.SQLiteDatabaseConnection.PrepareStatement (System.String sql, System.String& tail) [0x00038] in <926d5dc8f35f4aae9a6008f11f233fd0>:0 at SQLitePCL.pretty.DatabaseConnection.PrepareStatement (SQLitePCL.pretty.IDatabaseConnection This, System.String sql) [0x0000c] in <926d5dc8f35f4aae9a6008f11f233fd0>:0 at SQLitePCL.pretty.DatabaseConnection+<Query>c__AnonStorey1.<>m__0 () [0x00000] in <926d5dc8f35f4aae9a6008f11f233fd0>:0 at SQLitePCL.pretty.DelegatingEnumerable`1[T].GetEnumerator () [0x00000] in <926d5dc8f35f4aae9a6008f11f233fd0>:0 at System.Linq.Enumerable+WhereSelectEnumerableIterator`2[TSource,TResult].MoveNext () [0x0001a] in <63992662b765477a898ef49cdcc99ee2>:0 at System.Linq.Enumerable.First[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x0003e] in <63992662b765477a898ef49cdcc99ee2>:0 at Emby.Server.Implementations.Data.BaseSqliteRepository.CreateConnection (System.Boolean isReadOnly) [0x000f5] in <a06be7285faa438faf5050612aaf06d4>:0 at Emby.Server.Implementations.Data.SqliteUserRepository.Initialize () [0x00000] in <a06be7285faa438faf5050612aaf06d4>:0 at Emby.Server.Core.ApplicationHost.GetUserRepository () [0x00027] in <41ac08c4e342414fa093a77375ca7343>:0 at Emby.Server.Core.ApplicationHost+<RegisterResources>d__188.MoveNext () [0x003cf] in <41ac08c4e342414fa093a77375ca7343>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0 at Emby.Common.Implementations.BaseApplicationHost`1+<Init>d__102[TApplicationPathsType].MoveNext () [0x001d4] in <071e2bfae2004426bc9611150464f0fe>:0 <--- System.AggregateException at System.Threading.Tasks.Task.WaitAll (System.Threading.Tasks.Task[] tasks, System.Int32 millisecondsTimeout, System.Threading.CancellationToken cancellationToken) [0x00242] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Threading.Tasks.Task.WaitAll (System.Threading.Tasks.Task[] tasks, System.Int32 millisecondsTimeout) [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Threading.Tasks.Task.WaitAll (System.Threading.Tasks.Task[] tasks) [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0 at MediaBrowser.Server.Mono.MainClass.RunApplication (Emby.Server.Implementations.ServerApplicationPaths appPaths, MediaBrowser.Model.Logging.ILogManager logManager, Emby.Server.Implementations.StartupOptions options) [0x0013a] in <e59c8a467b064837a2762d51926ad91c>:0 at MediaBrowser.Server.Mono.MainClass.Main (System.String[] args) [0x000a4] in <e59c8a467b064837a2762d51926ad91c>:0 InnerException: SQLitePCL.pretty.SQLiteException IOError: disk I/O error^M SQLitePCL.pretty.SQLiteException: Exception of type 'SQLitePCL.pretty.SQLiteException' was thrown. at SQLitePCL.pretty.SQLiteException.CheckOk (SQLitePCL.sqlite3 db, System.Int32 rc) [0x0001a] in <926d5dc8f35f4aae9a6008f11f233fd0>:0 at SQLitePCL.pretty.SQLiteDatabaseConnection.PrepareStatement (System.String sql, System.String& tail) [0x00038] in <926d5dc8f35f4aae9a6008f11f233fd0>:0 at SQLitePCL.pretty.DatabaseConnection.PrepareStatement (SQLitePCL.pretty.IDatabaseConnection This, System.String sql) [0x0000c] in <926d5dc8f35f4aae9a6008f11f233fd0>:0 at SQLitePCL.pretty.DatabaseConnection+<Query>c__AnonStorey1.<>m__0 () [0x00000] in <926d5dc8f35f4aae9a6008f11f233fd0>:0 at SQLitePCL.pretty.DelegatingEnumerable`1[T].GetEnumerator () [0x00000] in <926d5dc8f35f4aae9a6008f11f233fd0>:0 at System.Linq.Enumerable+WhereSelectEnumerableIterator`2[TSource,TResult].MoveNext () [0x0001a] in <63992662b765477a898ef49cdcc99ee2>:0 at System.Linq.Enumerable.First[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x0003e] in <63992662b765477a898ef49cdcc99ee2>:0 at Emby.Server.Implementations.Data.BaseSqliteRepository.CreateConnection (System.Boolean isReadOnly) [0x000f5] in <a06be7285faa438faf5050612aaf06d4>:0 at Emby.Server.Implementations.Data.SqliteUserRepository.Initialize () [0x00000] in <a06be7285faa438faf5050612aaf06d4>:0 at Emby.Server.Core.ApplicationHost.GetUserRepository () [0x00027] in <41ac08c4e342414fa093a77375ca7343>:0 at Emby.Server.Core.ApplicationHost+<RegisterResources>d__188.MoveNext () [0x003cf] in <41ac08c4e342414fa093a77375ca7343>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0 at Emby.Common.Implementations.BaseApplicationHost`1+<Init>d__102[TApplicationPathsType].MoveNext () [0x001d4] in <071e2bfae2004426bc9611150464f0fe>:0 at SQLitePCL.pretty.SQLiteException.CheckOk (SQLitePCL.sqlite3 db, System.Int32 rc) [0x0001a] in <926d5dc8f35f4aae9a6008f11f233fd0>:0 at SQLitePCL.pretty.SQLiteDatabaseConnection.PrepareStatement (System.String sql, System.String& tail) [0x00038] in <926d5dc8f35f4aae9a6008f11f233fd0>:0 at SQLitePCL.pretty.DatabaseConnection.PrepareStatement (SQLitePCL.pretty.IDatabaseConnection This, System.String sql) [0x0000c] in <926d5dc8f35f4aae9a6008f11f233fd0>:0 at SQLitePCL.pretty.DatabaseConnection+<Query>c__AnonStorey1.<>m__0 () [0x00000] in <926d5dc8f35f4aae9a6008f11f233fd0>:0 at SQLitePCL.pretty.DelegatingEnumerable`1[T].GetEnumerator () [0x00000] in <926d5dc8f35f4aae9a6008f11f233fd0>:0 at System.Linq.Enumerable+WhereSelectEnumerableIterator`2[TSource,TResult].MoveNext () [0x0001a] in <63992662b765477a898ef49cdcc99ee2>:0 at System.Linq.Enumerable.First[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x0003e] in <63992662b765477a898ef49cdcc99ee2>:0 at Emby.Server.Implementations.Data.BaseSqliteRepository.CreateConnection (System.Boolean isReadOnly) [0x000f5] in <a06be7285faa438faf5050612aaf06d4>:0 at Emby.Server.Implementations.Data.SqliteUserRepository.Initialize () [0x00000] in <a06be7285faa438faf5050612aaf06d4>:0 at Emby.Server.Core.ApplicationHost.GetUserRepository () [0x00027] in <41ac08c4e342414fa093a77375ca7343>:0 at Emby.Server.Core.ApplicationHost+<RegisterResources>d__188.MoveNext () [0x003cf] in <41ac08c4e342414fa093a77375ca7343>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0 at Emby.Common.Implementations.BaseApplicationHost`1+<Init>d__102[TApplicationPathsType].MoveNext () [0x001d4] in <071e2bfae2004426bc9611150464f0fe>:0 Session terminated, terminating shell... ...terminated. Edited March 22, 2017 by Soki Link to comment Share on other sites More sharing options...
Solution Luke 37060 Posted March 22, 2017 Solution Share Posted March 22, 2017 @@Soki, check to make sure your hard disk isn't full. If that checks out OK, try rebooting your machine. If the issue continues to persist, then I would run a drive test to check for hard disk failures. Let us know how you get on. Thanks ! 1 Link to comment Share on other sites More sharing options...
Soki 9 Posted March 22, 2017 Author Share Posted March 22, 2017 @@Soki, check to make sure your hard disk isn't full. If that checks out OK, try rebooting your machine. If the issue continues to persist, then I would run a drive test to check for hard disk failures. Let us know how you get on. Thanks ! Hey there Luke (again)... you where absolutely right, my disk was full to the last bit ... resized the disk and booom... emby is up and running again. Thanks m8 Soki Link to comment Share on other sites More sharing options...
Luke 37060 Posted March 22, 2017 Share Posted March 22, 2017 Thanks for confirming. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now