{"id":313,"date":"2016-02-06T21:05:34","date_gmt":"2016-02-06T15:35:34","guid":{"rendered":"http:\/\/www.middlewareprimer.com\/blog\/?p=313"},"modified":"2016-02-17T03:59:04","modified_gmt":"2016-02-16T22:29:04","slug":"tds-startup-shows-error-code-1-from-function-sqlconnect","status":"publish","type":"post","link":"http:\/\/www.middlewareprimer.com\/blog\/2016\/02\/06\/tds-startup-shows-error-code-1-from-function-sqlconnect\/","title":{"rendered":"GLPRDB001E Error code -1 from function  SQLConnect"},"content":{"rendered":"<p>GLPRDB001E Error code -1 from function:&#8221; SQLConnect &#8221; ldapdb2b, message appears during startup of LDAP server.<\/p>\n<p>Customer reported this error message and when I was checking the startup logs or tried starting the LDAP server, logs were clearly showing the Database was not started properly.<\/p>\n<p>[root@&lt;hostname&gt; sbin]# .\/ibmslapd<br \/>\nDB2SET processing complete, rc = 1309, SQLCODE = 0<br \/>\nGLPSRV041I Server starting.<br \/>\nGLPCTL113I Largest core file size creation limit for the process (in bytes): &#8216;0&#8217;(Soft limit) and &#8216;-1&#8242;(Hard limit).<br \/>\nGLPCTL119I Maximum Data Segment(Kbytes) soft ulimit for the process is -1 and the prescribed minimum is 262144.<br \/>\n&#8230;..<br \/>\n&#8230;..<\/p>\n<p>GLPSRV200I Initializing primary database and its connections.<br \/>\nGLPRDB001E Error code -1 from function:&#8221; SQLConnect &#8221; ldapdb2b .<br \/>\nGLPSRV064E Failed to initialize be_config.<br \/>\nGLPSRV040E Server starting in configuration only mode due to errors.<\/p>\n<p>&#8230;..<\/p>\n<p>GLPSRV180I Pass-through authentication is disabled.<br \/>\nGLPCOM003I Non-SSL port initialized to 389.<\/p>\n<p>&nbsp;<\/p>\n<p>Though customer was able see the status as started, but ideally there was problem with the Database start &amp; Stop.<\/p>\n<p><span style=\"text-decoration: underline;\"><strong>Resolution<\/strong><\/span><\/p>\n<p>As I stated in my earlier <a href=\"http:\/\/www.middlewareprimer.com\/blog\/2016\/02\/06\/sql10007n-message-1390-not-retrieved-reason-code-3\/\" target=\"_blank\"><span style=\"text-decoration: underline;\">blog entry<\/span><\/a>, please check if the database instance is setup properly as environment variable and also access control should be proper so that LDAP server can start without any problems.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>GLPRDB001E Error code -1 from function:&#8221; SQLConnect &#8221; ldapdb2b, message appears during startup of LDAP server. Customer reported this error message and when I was checking the startup logs or tried starting the LDAP server, logs were clearly showing the Database was not started properly. [root@&lt;hostname&gt; sbin]# .\/ibmslapd DB2SET processing complete, rc = 1309, SQLCODE [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[51],"tags":[86,85,61],"class_list":["post-313","post","type-post","status-publish","format-standard","hentry","category-tivoli-directory-server","tag-glprdb001e","tag-sqlconnect","tag-tds-v6-3"],"_links":{"self":[{"href":"http:\/\/www.middlewareprimer.com\/blog\/wp-json\/wp\/v2\/posts\/313","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.middlewareprimer.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.middlewareprimer.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.middlewareprimer.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.middlewareprimer.com\/blog\/wp-json\/wp\/v2\/comments?post=313"}],"version-history":[{"count":4,"href":"http:\/\/www.middlewareprimer.com\/blog\/wp-json\/wp\/v2\/posts\/313\/revisions"}],"predecessor-version":[{"id":459,"href":"http:\/\/www.middlewareprimer.com\/blog\/wp-json\/wp\/v2\/posts\/313\/revisions\/459"}],"wp:attachment":[{"href":"http:\/\/www.middlewareprimer.com\/blog\/wp-json\/wp\/v2\/media?parent=313"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.middlewareprimer.com\/blog\/wp-json\/wp\/v2\/categories?post=313"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.middlewareprimer.com\/blog\/wp-json\/wp\/v2\/tags?post=313"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}