Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Скачиваний:
36
Добавлен:
18.03.2015
Размер:
608.7 Кб
Скачать

Configuring the Port Service on Client and Server

fbserver -a -p fb_db

Or, to override port 3050 to 3051:

fbserver -a -p 3051

Syntax for WNet redirection

On a WNet network (Named Pipes, NetBEUI), replace the -p switch argument syntax above with the following "backslash-backslash-dot-at" syntax:

fbserver -a -p \\.@fb_db

Or:

fbserver -a -p \\.@3051

Classic on POSIX: the inetd or xinetd daemon

With Firebird Classic server on Linux or UNIX, the inetd or xinetd daemon is configured to listen on the default port and broadcast the default service name. The installation script will write the appropriate entry in the configuration file /etc/inetd.conf or /etc/xinetd.conf.

You can edit the current configuration if necessary. Following is an example of what you should see in xinetd.conf or inetd.conf after installing Firebird Classic on Linux:

#default: on

#description: FirebirdSQL server

service gds_db

{

flags

= REUSE KEEPALIVE

socket_type = stream

wait

= no

 

user

= root

 

# user

= @FBRunUser@

log_on_success

+= USERID

log_on_failure

+= USERID

server

= /opt/firebird/bin/fb_inet_server

disable

 

= no

}

 

 

If you configured the port service to be different to the defaults, you will need to alter xinetd.conf or inetd.conf accordingly. Restart xinetd (or inetd) with kill -HUP to make sure the daemon will use the new configuration.

89

Соседние файлы в папке doc