Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I'm trying to restart Apache through Plesk. When I click "Restart", i'm getting the following message.

Error: Unable to make action: Unable to manage service by apache_control_adapter: Service /etc/init.d/httpd failed to start ('--start', 'web')

I also tried(thanks to paulsm4 from stackoverflow to do it through the terminal. I typed

sudo /etc/init.d/httpd start

and the error i got is:

Starting httpd: (98)Address already in use: make_sock: could not bind to address [::]:80 (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80 no listening sockets available, shutting down Unable to open logs [FAILED]

Thank you in advance!

share|improve this question

1 Answer 1

httpd seems to be still running in a bad state...

try:

# kill -9 $(pidof httpd)
# /etc/init.d/httpd start

You should also verify that logs exists and have good permissions.

share|improve this answer
    
Got a blank line on "". And on the second line I got "Starting httpd: [ OK ]". can you where can i verify that logs exist? –  Manolis C. Apr 13 '13 at 20:48
    
if the output of service httpd status is running, that's ok. I don't use RH or derivated, but debian, so i think (i can be wrong) that logs are in /var/log/httpd/{access,error}.log –  maxxvw Apr 13 '13 at 20:55
    
When i edit/access the php.ini file and the log files as you said, I see that they are empty. –  Manolis C. Apr 13 '13 at 20:58
    
Also when i login to the server and type "ls", I get "install.log install.log.syslog kmod-microsoft-hyper-v-rhel63.3.4-1.20120727.i686.rpm kmod-microsoft-hyper-v-rhel63.3.4-1.20120727.x86_64.rpm microsoft-hyper-v-debuginfo-rhel63.3.4-1.20120727.i686.rpm .... microsoft-hyper-v-rhel63.3.4-1.20120727.src.rpm microsoft-hyper-v-rhel63.3.4-1.20120727.x86_64.rpm parallels plesk10-install.log plesk-installer.log ZendGuardLoader-php-5.3-linux-glibc23-x86_64 ZendGuardLoader-php-5.3-linux-glibc23-x86_64.tar.gz" So I guess something's wrong there. –  Manolis C. Apr 13 '13 at 21:00
    
ls command list your actual working directory. That means your user directory contains a lot of redhat packages(rpm), that's not clean but this is not a problem. Logs can be anywhere, depending on your plesk config. Is the webapp ok now? –  maxxvw Apr 13 '13 at 21:05

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.