Error message after restarting



  • Hi There,

    Hand2note works the first time after installation.

    After closing it and restarting it I get this error message:

    System.Exception: 'C:\Hand2Note\pgsql\bin\pg_ctl.exe start -w -D "C:\Users\dell\AppData\Roaming\Hand2Note\h2ndb" -m fast -o "-B 512MB -p 5318 -c temp_buffers=32MB -c work_mem=32MB"' finished with exit code = 1 : error=
    pg_ctl: could not start server
    Examine the log output., output =
    waiting for server to start....FATAL: lock file "postmaster.pid" already exists
    HINT: Is another postmaster (PID 7648) running in data directory "C:/Users/dell/AppData/Roaming/Hand2Note/h2ndb"?
    stopped waiting
    at Common.ExternalExeHelper.Execute(String filename, String arguments)
    at Common.PgBundledServerHelper.??(String , String )
    at Common.PgBundledServerHelper.StartServer(String dataDirectory, Int32 port, String logFileName)
    at Common.PgBundledServerHelper.<>c__DisplayClass7_0.<StartServerAsync>b__0()
    at System.Threading.Tasks.Task.Execute()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at Common.PgBundledServerHelper.<StartServerAsync>d__7.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at Hand2NoteCore.DatabaseLoader.<LoadAsync>d__0.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at Hand2NoteCore.Loader.<LoadAsync>d__1.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at Hand2Note.App.<LoadAsync>d__4.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.<ThrowAsync>b__6_0(Object state)
    at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
    at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

    How can I fix it?

    Thanks


  • Global Moderator

    I see you already communicate with our support via email.


Log in to reply
 

Looks like your connection to Hand2Note was lost, please wait while we try to reconnect.