Redian新闻
>
how to find which daemon is using port 80?
avatar
how to find which daemon is using port 80?# Unix - 噫吁兮,危乎高哉
t*g
1
A Notes Domino server has a lot of daemons running on our
computer. One daemon is using port 80 to provide web
service. How to find it? I want to replace it with Apache.
Thanks.
avatar
c*t
2
Usually there are 2 places you should check
/etc/init.d
and
/etc/services (this file could be in some subdirectoryeis)
and inetd directory/files.

【在 t*******g 的大作中提到】
: A Notes Domino server has a lot of daemons running on our
: computer. One daemon is using port 80 to provide web
: service. How to find it? I want to replace it with Apache.
: Thanks.

avatar
m*e
3
lsof -i tcp:80

【在 t*******g 的大作中提到】
: A Notes Domino server has a lot of daemons running on our
: computer. One daemon is using port 80 to provide web
: service. How to find it? I want to replace it with Apache.
: Thanks.

avatar
d*u
4
netstat -ap

【在 t*******g 的大作中提到】
: A Notes Domino server has a lot of daemons running on our
: computer. One daemon is using port 80 to provide web
: service. How to find it? I want to replace it with Apache.
: Thanks.

avatar
t*g
5
I guess the daemon is launched by another daemon running on
Domino server. After system boots up, 80 port is free. After
I start Domino server, 80 port is occupied. I try that 80
port and find it is just a web login. I have no idea what
the hell that is. But I am sure that is not useful and
trying get rid of it. The Notes server is quite critical and
I don't want kill those daemon one by one to cause the Notes
service down.
~{!>~} ~{TZ~} coconut (~{?I?I~}) ~{5D4sWwVPLa5=~}: ~{!?~}
avatar
t*g
6
It looks Solaris doesn't have this tool. I am trying to
search and download it from internet. Thanks.
~{!>~} ~{TZ~} microbe (~{W]J9O`7jS&2;J6~}) ~{5D4sWwVPLa5=~}:
~{!?~}
avatar
c*t
7
If you kill the parent process, all child (except those actively
serving) processes will quit as well. Check the shell script
in init.d/ that starts the Domino to see if it contains a stop
option. If not, I would just kill the parent and all child processes
should go away. To kill all the processes including actively serving
ones, you can write a shell script that capture the current httpd pids,
kill the parent and then all the child pids. Start up the apache
server immedately then.
ps, did

【在 t*******g 的大作中提到】
: I guess the daemon is launched by another daemon running on
: Domino server. After system boots up, 80 port is free. After
: I start Domino server, 80 port is occupied. I try that 80
: port and find it is just a web login. I have no idea what
: the hell that is. But I am sure that is not useful and
: trying get rid of it. The Notes server is quite critical and
: I don't want kill those daemon one by one to cause the Notes
: service down.
: ~{!>~} ~{TZ~} coconut (~{?I?I~}) ~{5D4sWwVPLa5=~}: ~{!?~}

avatar
t*g
8
Where to download lsof for Solaris 7, I couldn't find it?
~{!>~} ~{TZ~} microbe (~{W]J9O`7jS&2;J6~}) ~{5D4sWwVPLa5=~}:
~{!?~}
avatar
z*w
9
You can find pre-compiled "lsof" at
http://www.sunfreeware.com/

【在 t*******g 的大作中提到】
: Where to download lsof for Solaris 7, I couldn't find it?
: ~{!>~} ~{TZ~} microbe (~{W]J9O`7jS&2;J6~}) ~{5D4sWwVPLa5=~}:
: ~{!?~}

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。