Misc Simple IT Issues. Apache does not start #Root #By Sayed Ahmed

Apache does not start. Informs blocked. Informs port already used.
–fuser 80/tcp will give you the PID of the process that takes port 80
–netstat can also give you PID information

$ sudo netstat -nlp | grep 80
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 125004/nginx

–kill the process: kill -9 PID
–run: service httpd start

Sometimes IONCUBE and Zend interactions might cause Apache not to start correctly.
You might need to check where are the php.ini files that your application/site is using.
For Ioncube and Zend configuration statements, Ioncube config should appear first. if multiple
php.ini files are used check the order of the files how they get loaded, and also the order of ioncube and zend. Make ioncube load earlier

and yes, you need to check the logfile to know the issues exactly. Log file: for Red-Hat Based:

/var/log/httpd/error-log

  From: http://sitestree.com/?p=2298
Categories:Root, By Sayed Ahmed
Tags:
Post Data:2015-08-31 22:25:45

Shop Online: https://www.ShopForSoul.com/
(Big Data, Cloud, Security, Machine Learning): Courses: http://Training.SitesTree.com
In Bengali: http://Bangla.SaLearningSchool.com
http://SitesTree.com
8112223 Canada Inc./JustEtc: http://JustEtc.net (Software/Web/Mobile/Big-Data/Machine Learning)
Shop Online: https://www.ShopForSoul.com/
Medium: https://medium.com/@SayedAhmedCanada