Re: [sqlite] os_unix.c:36136: (2)
On 12 January 2018 at 07:21, wei1.z wrote: > What is the meaning of this line? > > 01-11 14:40:59.733 10011 2864 2877 E SQLiteLog: (14) os_unix.c:36136: (2) > open() - > > db file cannot be found, or permission issue ? > To decipher this in future, the first number in parens is the sqlite error code. (14) is SQLITE_CANTOPEN. The second number in parens is the unix errno; (2) is ENOENT. If you check the man page for the open syscall, you'll see that ENOENT is returned if the requested file doesn't exist. For a permission issue you would see (14) os_unix.c:36136: (13) open() - errno 13 is EACCES. -Rowan ___ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
Re: [sqlite] os_unix.c:36136: (2)
On 1/11/18, wei1.z wrote: > What is the meaning of this line? > > 01-11 14:40:59.733 10011 2864 2877 E SQLiteLog: (14) os_unix.c:36136: (2) > open() - > > db file cannot be found, or permission issue ? It means that SQLite could not open a file either because that file does not exist or because you do not have appropriate permissions to open that file. -- D. Richard Hipp d...@sqlite.org ___ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
[sqlite] os_unix.c:36136: (2)
What is the meaning of this line? 01-11 14:40:59.733 10011 2864 2877 E SQLiteLog: (14) os_unix.c:36136: (2) open() - db file cannot be found, or permission issue ? Thanks a lot! -- Sent from: http://sqlite.1065341.n5.nabble.com/ ___ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users