Benutzer-Werkzeuge

Webseiten-Werkzeuge


dba:start_db_linux

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen RevisionVorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
Nächste ÜberarbeitungBeide Seiten der Revision
dba:start_db_linux [2016/10/02 14:17] – [Service anlegen] gpipperrdba:start_db_linux [2016/10/02 15:03] – [Quellen] gpipperr
Zeile 101: Zeile 101:
 User=oracle User=oracle
 Group=oinstall Group=oinstall
-ExecStart=/home/oracle/scripts/startdb.sh  +ExecStart=/opt/oracle/scripts/startdb.sh  
-ExecStop=/home/oracle/scripts/stopdb.sh+ExecStop=/opt/oracle/scripts/stopdb.sh
  
 [Install] [Install]
Zeile 112: Zeile 112:
  
 <code bash> <code bash>
-ln -s /lib/systemd/system/dbora.service /etc/systemd/system/dbora.service+ln -s /lib/systemd/system/dbora.service /etc/systemd/system/dbora.service
 </code> </code>
  
Zeile 134: Zeile 134:
  
  
-</code> +#Stoppen
  
 +systemctl stop dbora.service
  
  
 +</code>
  
 +<fc #800000>Problem: Failed at step EXEC spawning ... Exec format error</fc>
  
 <code bash> <code bash>
Zeile 146: Zeile 148:
 </code> </code>
  
-=> "#!/bin/sh" am Anfang vom Script nicht vergessen!+=> **"#!/bin/sh"** am Anfang vom Script nicht vergessen!
  
-Probleme: +===Quellen=== 
- +
-  * https://fedoraproject.org/wiki/How_to_debug_Systemd_problems+
  
 Siehe auch  Siehe auch 
   * https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/System_Administrators_Guide/chap-Managing_Services_with_systemd.html   * https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/System_Administrators_Guide/chap-Managing_Services_with_systemd.html
   * https://oracle-base.com/articles/linux/linux-services-systemd   * https://oracle-base.com/articles/linux/linux-services-systemd
 +  * https://fedoraproject.org/wiki/How_to_debug_Systemd_problems
 +  * https://www.digitalocean.com/community/tutorials/understanding-systemd-units-and-unit-files
  
  
dba/start_db_linux.txt · Zuletzt geändert: 2019/12/02 22:49 von gpipperr