Linux Start Oracle As a Service




+ Reply to Thread
Results 1 to 2 of 2

Thread: Linux Start Oracle As a Service

  1. #1
    Meer is offline Senior Member
    Join Date
    Sep 2010
    Posts
    179
    Feedback Score
    0

    Linux Start Oracle As a Service



    Apache web server support special syntax checking. You can run syntax tests for configuration files only. Following two are important syntax checker option you can pass to apache binary program httpd (Red Hat/ Fedora Linux) or apache-perl (Debian Linux apache binary):
    Executing the following command, that will detect syntax errors:
    If you are using Debian Linux:
    # /usr/sbin/apache-perl -t
    Syntax OK
    If you are using Red Hat Linux:
    # /usr/sbin/httpd -t
    Syntax OK
    Where,
    • -t : The program immediately exits after these syntax parsing with either a return code of 0 (i.e. Syntax OK message) or return code not equal to 0 (i.e. Syntax Error message).
    Consider following example:
    # /usr/sbin/apache-perl -t
    Warning: DocumentRoot [/data/network/www/blogs] does not exist
    Syntax OK
    Replace it with -T option:
    /usr/sbin/apache-perl -T
    Syntax OK
    The option -T is same as option -t but does not check the configured document roots (warning message disappeared).
    Another example:
    # /usr/sbin/apache-perl -t -S
    Syntax error on line 1059 of /etc/apache-perl/httpd.conf:
    Invalid command 'CustomLogl', perhaps mis-spelled or defined by a module not included in the server configuration
    As you see error on line number 1059 need to be fixed. Use vi text editor:
    # vi +1059 /etc/apache-perl/httpd.conf
    After correction again retype command:
    Code:
    # /usr/sbin/apache-perl -t –S
    Output:
    VirtualHost configuration: 192.168.1.1:80 is a NameVirtualHost default server cyberciti.biz (/etc/apache-perl/httpd.conf:1053) port 80 namevhost cyberciti.biz (/etc/apache-perl/httpd.conf:1053) port 80 namevhost apps.cyberciti.biz (/etc/apache-perl/httpd.conf:1062) port 80 namevhost dl.cyberciti.biz (/etc/apache-perl/httpd.conf:1069) port 80 namevhost blogs.cyberciti.biz (/etc/apache-perl/httpd.

  2. #2
    plastbit is offline Junior Member
    Join Date
    Jun 2011
    Posts
    1
    Feedback Score
    0
    Awsome work. I will try it now

+ Reply to Thread

Visitors found this page by searching for:

how to start oracle services in linux

how to restart oracle service in linux

debian restart oracle

oracle linux httpd document root

redhat start oracle service

command to start oracle service in redhat

red hat restart oracle service

how to start the oracle services in linux

debian start oracle as service

start oracle service in linux

linux start oracle service

oracle restart apache linux

starting oracle services on linux

start oracle services in redhat

oracle linux service administration

redhat oracle service

how to start the service httpd in oracle linux

command to start oracle services on linux

why am i start oracle as a service in linux

debian perl oracle howto

start oracle service in linux command

debian oracle restart server

restarting oracle services

run oracle as service on red hat

start oracle linux command

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts