title: SAP Can't start application server
body: <p>I can't find any information that is relevant to my specific situation. Around a month ago I had created my own application server which has become my local development machine. The tutorial I followed was available here: <a href="https://blogs.sap.com/2016/11/03/sap-nw-as-abap-7.50-sp2-developer-edition-to-download-consise-installation-guide/" rel="nofollow noreferrer">https://blogs.sap.com/2016/11/03/sap-nw-as-abap-7.50-sp2-developer-edition-to-download-consise-installation-guide/</a></p>
  
  <p>This has been working fine until this morning. Last night I shut SAP down using <code>stopsap</code> and shutdown the VM via <code>shutdown -h 0</code>. When I used <code>startsap</code> this morning it hung infinitely when trying to start the database. </p>
  
  <pre><code>linux-nsts:npladm 92&gt; startsap
  Checking syb Database
  Database is not avaliable via R3Trans
  ------------------------------------------
  starting database NPL ...
  Log file: /sybase/NPL/startdb.log
  </code></pre>
  
  <p>Checking that log file I find the following messages:</p>
  
  <pre><code>------------------------------ Thu Jul 6 09:35:22 CEST 2017
  /usr/sap/NPL/SYS/exe/run/startdb was killed or interrupted. Terminating. 
  </code></pre>
  
  <p>In the trace file in the home directory</p>
  
  <pre><code>Running /usr/sap/SYS/exe/run/startdb 
  DB startup failed
  </code></pre>
  
  <p>I can't find any other articles that are relevant to my situation. My host file is perfectly fine and the IP can be pinged. I only have one linux user, <code>npladm</code> for starting SAP. The only other command I could find was <code>R3trans</code> but I'm not sure if this would be the right program in this instance. </p>
  
  <pre><code>linux-nsts:npladm 7&gt; R3trans -d
  This is R3trans version 6.25 (release 745 - 30.10.15 - 12:47:42 ).
  unicode enabled version
  2EETW169 no connect possible: "DBMS - SYBASE --- "
  R3trans finished (0012)
  </code></pre>
  
  <p>As for the operating system itself I'm not aware to any changes I could have made that could have caused this. The only command I run on the server is <code>startsap</code> and <code>stopsap</code>. </p>
  
  <p>I'm out of ideas where to look, can anybody offer advice? </p>
  
  <p>EDIT: The license for SYBASE expired and it needed to be updated in my case. There is a link in the tutorial explaining how to switch it and where to download a new one. </p>