跪求高手帮忙分析!!!提示好象backupserver已经创建/
yerdi 2008-04-24 12:59:13 sybase@hsgczh:~/ASE-15_0> srvbuildres -r bsrv.res
Building Backup Server 'test_BS':
Writing entry into directory services...
Directory services entry complete.
Writing RUN_test_BS file...
RUN_test_BS file complete.
Starting server...
Server started.
Setting server name in Adaptive Server...
Task failed
Open Client message: 'ct_connect(): protocol specific layer: external error:
The attempt to connect to the server failed.
'. Failed to initialize connection to Adaptive Server.
Open Client message: 'ct_connect(): protocol specific layer: external error:
The attempt to connect to the server failed.
'.
Failed to initialize connection to Adaptive Server.
这个是不是backup server已经创建了呀?但是不能连接呢?showserver可以看到。sybase@hsgczh:~/locales> showserver
F S UID PID PPID C PRI NI ADDR SZ WCHAN STIME TTY TIME CMD
0 S sybase 6848 6847 0 75 0 - 29503 - Apr20 ? 00:00:27 /opt/sybase/ASE-15_0/bin/dataserver -stest -d/opt/sybase/data/master.dat -e/opt/sybase/ASE-15_0/install/test.log -c/opt/sybase/ASE-15_0/test.cfg -M/opt/sybase/ASE-15_0
0 S sybase 5901 5900 0 76 0 - 4233 - Apr20 ? 00:00:00 /opt/sybase/ASE-15_0/bin/backupserver -e/opt/sybase/ASE-15_0/install/test_BS.log -N25 -C20 -M/opt/sybase/ASE-15_0/bin/sybmultbuf -Stest_BS
0 S sybase 5546 5545 0 75 0 - 29521 - Apr20 ? 00:00:27 /opt/sybase/ASE-15_0/bin/dataserver -stest -d/opt/sybase/data/master.dat -e/opt/sybase/ASE-15_0/install/test.log -c/opt/sybase/ASE-15_0/test.cfg -M/opt/sybase/ASE-15_0
0 S sybase 30281 30280 0 76 0 - 4233 - 00:28 pts/5 00:00:00 /opt/sybase/ASE-15_0/bin/backupserver -e/opt/sybase/ASE-15_0/install/test_BS.log -N25 -C20 -M/opt/sybase/ASE-15_0/bin/sybmultbuf -Stest_BS
vi interfaces
test
master tcp ether hsgczh 5000
query tcp ether hsgczh 5000
确没有backup server的端口
sybase@hsgczh:~/ASE-15_0/init/logs> vi srvbuild0424.001
21:25:50 PDT 2006
Thu Apr 24 00:28:43 2008: Getting attribute values from sybinit resource file `bsrv.res'.
type = 2
related_sqlsrvr = test
language =
character_set =
num_net_connections = 25
num_server_connections = 20
multibuf = /opt/sybase/ASE-15_0/bin/sybmultbuf
server_name = test_BS
Thu Apr 24 00:28:43 2008: (Shell command) /opt/sybase/ASE-15_0/bin/backupserver -e/opt/sybase/ASE-15_0/install/test_BS.log -N25 -C20 -M/opt/sybase/ASE-15_0/bin/sybmultbuf -Stest_BS > /dev/null 2>&1
Thu Apr 24 00:28:53 2008: (SQL command) sp_addserver SYB_BACKUP, NULL, test_BS
Thu Apr 24 00:28:53 2008: Open Client message: 'ct_connect(): protocol specific layer: external error: The attempt to connect to the server failed.
'. Failed to initialize connection to Adaptive Server.
@
Open Client message: 'ct_connect(): protocol specific layer: external error: The attempt to @
Open Client message: 'ct_connect(): protocol specific layer: external error: The attempt to @
vi test_BS.log
Apr 24 00:28:43 2008: Backup Server: 1.78.1.1: The interfaces file used by the backup server is '/opt/sybase/ASE-15_0/'.
Apr 24 00:28:43 2008: Backup Server: 1.79.1.1: The backup server name is 'test_BS'.
Apr 24 00:28:43 2008: Backup Server: 1.70.1.1: Configuring the maximum shared memory usage to 48 MB.
Apr 24 00:28:43 2008: Backup Server: 1.69.1.2: Configuring the number of service threads to 48.
Apr 24 00:28:43 2008: Backup Server: 1.70.1.3: Configuring the shared memory per stripe to 1048576 bytes.
Apr 24 00:28:53 2008: Backup Server: 2.23.1.1: Connection from Server test_BS on Host with HostProcid 30279.
Apr 24 00:28:53 2008: Backup Server: 2.23.1.1: Connection from Server test_BS on Host with HostProcid 30279.
Apr 24 00:28:53 2008: Backup Server: 2.23.1.1: Connection from Server test_BS on Host with HostProcid 30279.
Apr 24 00:28:53 2008: Backup Server: 2.23.1.1: Connection from Server test_BS on Host with HostProcid 30279.