How to remove a ghost backup server process
2015-06-03 10:53
281 查看
1.Symptom
Backup server fail to start up with the following error log. Because the port of BS already in use.
Oct 11 10:55:48 2013: Backup Server: 1.70.1.1: Configuring the maximum shared memory usage to 48 MB.
Oct 11 10:55:48 2013: Backup Server: 1.69.1.2: Configuring the number of service threads to 48.
Oct 11 10:55:48 2013: Backup Server: 1.70.1.3: Configuring the shared memory per stripe to 1048576 bytes.
Oct 11 10:55:48 2013: Open Server Error: 16240.10.0: Net-Library routine sybnet_listen() failed in srv__start_net
Network error: status = 23 - Net-Lib protocol driver call to register a listener failed.
Oct 11 10:55:48 2013: Open Server Server Fatal Error: 16029.20.0: Failed to start any network listeners
2.Environment
SAP Business Suite running on SAP SYBASE ASE 15.7
SAP SYBASE ASE all versions
3.Cause
1. Backup Server is already running
2. When backup server is terminated abnormally, it sometimes happens that parts of Backup processes remains on the host.
4.Resolution
Using the following steps to remove the remaining BS processes.
1. Log on to the operating system with user sybase
2. Use the following command to check whether backup server process is running.
When BS process is still running after abnormal termination,You have to find the invalid process and you have to terminate the process.
step1)
$showserver
shong2 12779544 0.0 0.0 8760 8324 pts/1 A 10:05:37 0:00 /home/shong2/ASE-15_0/bin/backupserver
-e/home/shong2/ASE-15_0/install/ase1570_back.log -N25 -C20 -M/home/shong2/ASE-15_0/bin/sybmultbuf -Sase1570_back
$kill 12779544
step2)
$ps -eaf|grep sybmultbuf
shong2 8978500 12779544 13 10:50:36 pts/1 0:00 /home/shong2/ASE-15_0/bin/sybmultbuf 23 9 12 /home/shong2/ASE-
15_0/install/ase1570_back.log 0 32505867 /home/shong2/ASE- 15_0/install/sybsystemprocs.dmp 4 0
sybsystemprocs /tmp/ase1570_back5 0 0 0 65536 0 0 0 10 11 1
shong2 12582930 15138910 0 10:50:38 pts/1 0:00 grep sybmultbuf
shong2 22872146 8978500 2 10:50:36 pts/1 0:00 /home/shong2/ASE-15_0/bin/sybmultbuf 23 9 12 /home/shong2/ASE-
15_0/install/ase1570_back.log 0 32505867 /home/shong2/ASE-15_0/install/sybsystemprocs.dmp 4 0 sybsystemprocs /tmp/ase1570_back5 0 0
0 65536 0 0 0 10 11 1
step3)
$kill 8978500
$kill 22872146
3. Connect to the database server using isql and find the session executing dump database.
isql -Usapsa -S<servername> -D<dbname>
Password:
1> select suid,name from master..sysprocesses where cmd like "%DUMP DATABASE%"
2> go
kill the spid executing dump database
1928596 - SAP SYBASE ASE : How to remove a ghost backup server process ?
Version 1 Validity: 21.10.2013 - active Language English
1> kill spid
2> go
4. Start the Backup server,Again.
Keywords
Failed to start any network listeners, Backup server , Error: 16029.20.0,ghost process
Backup server fail to start up with the following error log. Because the port of BS already in use.
Oct 11 10:55:48 2013: Backup Server: 1.70.1.1: Configuring the maximum shared memory usage to 48 MB.
Oct 11 10:55:48 2013: Backup Server: 1.69.1.2: Configuring the number of service threads to 48.
Oct 11 10:55:48 2013: Backup Server: 1.70.1.3: Configuring the shared memory per stripe to 1048576 bytes.
Oct 11 10:55:48 2013: Open Server Error: 16240.10.0: Net-Library routine sybnet_listen() failed in srv__start_net
Network error: status = 23 - Net-Lib protocol driver call to register a listener failed.
Oct 11 10:55:48 2013: Open Server Server Fatal Error: 16029.20.0: Failed to start any network listeners
2.Environment
SAP Business Suite running on SAP SYBASE ASE 15.7
SAP SYBASE ASE all versions
3.Cause
1. Backup Server is already running
2. When backup server is terminated abnormally, it sometimes happens that parts of Backup processes remains on the host.
4.Resolution
Using the following steps to remove the remaining BS processes.
1. Log on to the operating system with user sybase
2. Use the following command to check whether backup server process is running.
When BS process is still running after abnormal termination,You have to find the invalid process and you have to terminate the process.
step1)
$showserver
shong2 12779544 0.0 0.0 8760 8324 pts/1 A 10:05:37 0:00 /home/shong2/ASE-15_0/bin/backupserver
-e/home/shong2/ASE-15_0/install/ase1570_back.log -N25 -C20 -M/home/shong2/ASE-15_0/bin/sybmultbuf -Sase1570_back
$kill 12779544
step2)
$ps -eaf|grep sybmultbuf
shong2 8978500 12779544 13 10:50:36 pts/1 0:00 /home/shong2/ASE-15_0/bin/sybmultbuf 23 9 12 /home/shong2/ASE-
15_0/install/ase1570_back.log 0 32505867 /home/shong2/ASE- 15_0/install/sybsystemprocs.dmp 4 0
sybsystemprocs /tmp/ase1570_back5 0 0 0 65536 0 0 0 10 11 1
shong2 12582930 15138910 0 10:50:38 pts/1 0:00 grep sybmultbuf
shong2 22872146 8978500 2 10:50:36 pts/1 0:00 /home/shong2/ASE-15_0/bin/sybmultbuf 23 9 12 /home/shong2/ASE-
15_0/install/ase1570_back.log 0 32505867 /home/shong2/ASE-15_0/install/sybsystemprocs.dmp 4 0 sybsystemprocs /tmp/ase1570_back5 0 0
0 65536 0 0 0 10 11 1
step3)
$kill 8978500
$kill 22872146
3. Connect to the database server using isql and find the session executing dump database.
isql -Usapsa -S<servername> -D<dbname>
Password:
1> select suid,name from master..sysprocesses where cmd like "%DUMP DATABASE%"
2> go
kill the spid executing dump database
1928596 - SAP SYBASE ASE : How to remove a ghost backup server process ?
Version 1 Validity: 21.10.2013 - active Language English
1> kill spid
2> go
4. Start the Backup server,Again.
Keywords
Failed to start any network listeners, Backup server , Error: 16029.20.0,ghost process
相关文章推荐
- FreeMarker常用标签介绍
- 利用samba服务,实现vmware虚拟机上fedora21与物理机共享文件夹
- jdk及tomcat安装配置
- 用JavaScript实现单继承和多继承的简单方法
- 二分搜索应用
- C++细节4
- java基础整理の单例设计模式
- 英语六级、考研高频词汇
- Linux查看程序端口占用情况 netstat -apn | grep 8005
- leetcode 17 -- Letter Combinations of a Phone Number
- MVC-EditorFor与TextBoxFor的区别
- 织梦dede自定义内容分页,datalist运用实例
- 对于Python装饰器使用的一些建议
- SAT阅读解题思路指导:理解与推理
- 11111
- 网络抓包神器-Charles使用指南
- 网易新闻iOS版使用的18个开源组件
- Apache Shiro 快速入门教程,shiro 基础教程
- 存储过程学习
- HDU-2018