Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

The listing of apache logs folder in my hosting server is as follows:

someuser@machine [~]# ls -al /usr/local/apache/logs
total 86980
drwxr-xr-x  2 root   root       4096 Apr 30 09:18 ./
drwxr-xr-x 17 root   root       4096 Jan  1 13:54 ../
-rw-r--r--  1 root   root   87938452 May  6 10:46 access_log
-rw-r--r--  1 root   root    1094200 May  6 10:24 error_log
srwx------  1 nobody root          0 Jan  1 12:11 fpcgisock=
-rw-r--r--  1 root   root          6 Apr 30 09:18
-rw-r-----  1 root   root          0 Jan  1 11:44 modsec_audit.log
-rw-r-----  1 root   root          0 Jan  1 11:44 modsec_debug_log
-rw-r--r--  1 nobody root          0 Apr 30 09:18 ssl_scache.dir
-rw-r--r--  1 nobody root          0 Apr 30 09:18 ssl_scache.pag
-rw-r--r--  1 root   nobody      241 Mar 18 16:03 suexec_log
-rw-r--r--  1 root   root          4 Mar 19 00:13 suexec_log.offset

I can see that fpcgisock= file is a socket. It puzzled me to find a socket file in the apache logs folder. Is that file normal? If so what is it for.

share|improve this question
Presumably because it's configured to keep its socket there. Check your httpd.conf file and any virtual host files. – Jenny D May 7 '13 at 6:57
up vote 2 down vote accepted

fpcgisock= is a frontpage socket file, that is used by frontpage extenstion. If you are facing any issue in apache you should check logs. When we compile apache with frontpage extenstion, it automatically creates the `fpcgisock=' in apache logs directory.

share|improve this answer
Thanks for your answer. :) Why is that file put in apache logs folder? – saji89 May 7 '13 at 7:12
When we compile apache with frontpage extenstion, It atuomatically create it in apache logs directory. – Bobbin Zachariah May 7 '13 at 7:44
Could you add that information also to your answer so that I can mark it as accepted answer. :) – saji89 May 7 '13 at 8:03
Also it would be of great help if you could add a possible reference to this information. I checked for it, but couldn't find any. – saji89 May 8 '13 at 4:42
Saji: In my training days I had also searched for the same but no results. I had asked it same from my senior and according to them its a sock file of frontpage. – Bobbin Zachariah May 8 '13 at 9:01

Your Answer


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.