Port number is already in use .. how to fix for apache..?



Port number is already in use .. how to fix for apache..?..

Answer / dharmendrajet

Apache run on port 80. So you can check which service is using this port
ps -aux |grep :80

kill that process which is using port 80 .
pkill process name

Just restart the apache again.

or

YOu can chage the port no of apache in httpd.conf u can use 8080

Is This Answer Correct ?    9 Yes 2 No

Post New Answer

More Linux System Calls Interview Questions

Explain process management system calls in linux?

0 Answers  


what happens when we do insmod & rmmod in Linux Device Drivers ?

2 Answers  


1.Diff between Active and passive FTP? 2.What is anacron? 3.Diff between yum update and yum install while doing for kernel? 4.root_squash and no_root_squash does what? 5.What are the commands will you execute to find a new hardware? 6.How will you find out a lun allocated from SAN? 7.What is the main diff in CaT5 and CAT6 cable, except the 1/100 and 1/1000? 8.What is stale NFS and How will you fix it? 9.What is kernel panic error? 10.How will you recover password and shadow file, in case both got deleted. Explain the steps? 11.Explain boot process 12.What is network bonding. Explain the steps? 13.What are the exit codes returned by FSCK? 14.What is LDOM? 15.Diff between block and character device?

2 Answers   Wipro,


diff b/w spinlock, seamaphores and mutex and where to use it.

2 Answers   Intel,


what is nis server

13 Answers  






What will happen when we invoke a system call and say with an example of invoking a system call ?read? for a device?

3 Answers   NetApp,


I would like to know whether Simado and Setu products are they EPBX or not ?

0 Answers   IBM,


what is sudo on linux?

3 Answers   IBM,


What is atomic function / atomic variable ?

1 Answers   Broadcom,


What are the signals we have in Linux

3 Answers   HCL, NetApp,


linux system its not booting up its showing groub error what i need to do?

4 Answers   Wipro,


what are the backup utilites on red hat linux 4.0?

4 Answers   Wipro,


Categories