Skip to content

Tutorial: Run the server

lvca edited this page Dec 30, 2012 · 6 revisions

Previous: Tutorial: Installation - Next: Tutorial: Run the console

Once we've got a binary distribution of OrientDB let's start the server by execution the server.sh (or server.bat on Windows) under the bin directory:

> cd bin
> ./server.sh

This is the output of the OrientDB Server's console:

           .                                              
          .`        `                                     
          ,      `:.                                      
         `,`    ,:`                                       
         .,.   :,,                                        
         .,,  ,,,                                         
    .    .,.:::::  ````                                   
    ,`   .::,,,,::.,,,,,,`;;                      .:      
    `,.  ::,,,,,,,:.,,.`  `                       .:      
     ,,:,:,,,,,,,,::.   `        `         ``     .:      
      ,,:.,,,,,,,,,: `::, ,,   ::,::`   : :,::`  ::::     
       ,:,,,,,,,,,,::,:   ,,  :.    :   ::    :   .:      
        :,,,,,,,,,,:,::   ,,  :      :  :     :   .:      
  `     :,,,,,,,,,,:,::,  ,, .::::::::  :     :   .:      
  `,...,,:,,,,,,,,,: .:,. ,, ,,         :     :   .:      
    .,,,,::,,,,,,,:  `: , ,,  :     `   :     :   .:      
      ...,::,,,,::.. `:  .,,  :,    :   :     :   .:      
           ,::::,,,. `:   ,,   :::::    :     :   .:      
           ,,:` `,,.                                      
          ,,,    .,`                                      
         ,,.     `,                      S E R V E R        
       ``        `.                                       
                 ``                                       
                 `                                        

2012-12-28 01:25:46:319 INFO Loading configuration from: config/orientdb-server-config.xml... [OServerConfigurationLoaderXml]
2012-12-28 01:25:46:625 INFO OrientDB Server v1.3.0 (build 43) is starting up... [OServer]
2012-12-28 01:25:47:142 INFO -> Loaded memory database 'temp' [OServer]
2012-12-28 01:25:47:289 INFO Listening binary connections on 0.0.0.0:2424 [OServerNetworkListener]
2012-12-28 01:25:47:290 INFO Listening http connections on 0.0.0.0:2480 [OServerNetworkListener]
2012-12-28 01:25:47:317 INFO OrientDB Server v1.3.0 is active. [OServer]

These log messages explain what happens when a server start up:

  1. The server configuration is loaded from config/orientdb-server-config.xml file. To know more look at DB Server
  2. By default a "temp" database is always loaded in memory. This is a volatile database, use it to store temporary information
  3. Binary connections are listened on port 2424 of all the configured networks (0.0.0.0). If you want to change this configuration edit the config/orientdb-server-config.xml file and change the port/ip
  4. HTTP connections are listened on port 2480 of all the configured networks (0.0.0.0). Like above if you want to change this configuration edit the config/orientdb-server-config.xml file and change the port/ip.

OrientDB Server listens, by default, on 2 different ports for binary and HTTP connections:

Previous: Tutorial: Installation - Next: Tutorial: Run the console

Clone this wiki locally