<br><br><div><span class="gmail_quote">On 3/22/07, <b class="gmail_sendername">Karl R. Balsmeier</b> <<a href="mailto:karl@klxsystems.net">karl@klxsystems.net</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Mark Quitoriano wrote:<br><br>> Hi,<br>><br>> i restarted my apache and now im getting this error.<br>><br>> Stopping httpd:                                            [FAILED]<br>> Starting httpd: (98)Address already in use: make_sock: could not bind
<br>> to address [::]:80<br>> no listening sockets available, shutting down<br>> Unable to open logs<br>>                                                            [FAILED]<br><br>it's saying it thinks port 80 is taken.  lsof is a good program, I
<br>forget it it's netstat or another that could show you active connections<br>to port 80.<br><br>which version of apache are you running, is that apache the centos<br>version or the <a href="http://apache.org">apache.org
</a> source, what OS version of Centos, and can you<br>run ps ax | grep httpd and see if there's another instance of apache<br>running.<br><br>also do an ls -al /usr/local/apache/logs and/or /var/local/apache/logs<br>
depending on where you keep these...<br><br>yum install multitail will give you a nice program where you can type:<br><br>multitail -s 2 /var/log/messages /usr/local/apache/logs/error_log<br>/usr/local/apache/logs/access_log
</blockquote><div><br>great program! thanks!<br> </div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">it'll display all your logs in real time, and you can use another window
<br>(or a program like screen) to stop/start apache, and see what it's<br>crying about.<br><br>If the server is new, maybe yum remove httpd, reboot, yum install httpd,<br>your call.<br><br>></blockquote></div><br><br>
anyway i found the problem. but still no solution. when i do this commands<br><br># ls -l<br>total 8<br>drwxr-xr-x   2 root     root         4096 May 22  2006 conf<br>drwxr-xr-x   2 root     root         4096 May 22  2006 
conf.d<br>lrwxrwxrwx   1 root     root           19 May  7  2006 logs -> ../../var/log/httpd<br>lrwxrwxrwx   1 root     root           27 May  7  2006 modules -> ../../usr/lib/httpd/modules<br>lrwxrwxrwx   1 root     root           13 May  7  2006 run -> ../../var/run
<br><br><br><br>the symlink of logs modules run are all in red. I can view the folders and files on those folders in symlink. What causing the problem? my HDD still have space.<br><br>Filesystem            Size  Used Avail Use% Mounted on
<br>/dev/sda2             9.7G  806M  8.4G   9% /<br>/dev/sda1              99M   14M   80M  15% /boot<br>none                  2.0G     0  2.0G   0% /dev/shm<br>/dev/sda3              97G  226M   92G   1% /opt<br>/dev/sda6             166G   33G  125G  21% /var
<br><br><br>