# Mod\_fcgid: couldn't bind unix domain socket

**URL:** <https://www.ruby-forum.com/t/mod-fcgid-couldnt-bind-unix-domain-socket/148255>\
**Category:** Ruby\
**Created:** [September 11, 2008, 12:10am UTC](https://www.ruby-forum.com/t/mod-fcgid-couldnt-bind-unix-domain-socket/148255 "2008-09-11T00:10:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gambito](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/a87d85/32.png) [@Gambito](https://www.ruby-forum.com/u/Gambito)\
**Post date:** [September 11, 2008, 12:10am UTC](https://www.ruby-forum.com/t/mod-fcgid-couldnt-bind-unix-domain-socket/148255/1 "2008-09-11T00:10:24Z")

</div>

hi!

i’m having the following problem installing fast-cgi to use ruby on  
rails

[Wed Sep 10 16:48:35 2008] [error] (13)Permission denied: mod\_fcgid:  
couldn’t bind unix domain socket /tmp/fcgid\_sock/6389.14

is a very strange error, because i’ve got all permissions on /tmp/  
fcgid\_sock, so it shouldn’t be a permission problem. On my fcgid.conf  
file i have the following:

LoadModule fcgid\_module /usr/lib/httpd/modules/mod\_fcgid.so

AddHandler fcgid-script .fcgi SocketPath /tmp/fcgid\_sock IdleTimeout 3600 ProcessLifeTime 7200 MaxProcessCount 8 DefaultMaxClassProcessCount 2 IPCConnectTimeout 8 IPCCommTimeout 60 DefaultInitEnv RAILS\_ENV production

what could be the problem?? i’m getting a 503 error on all pages ☹
