Sent from my BlackBerry wireless device from MTN
Am 28.09.2012 um 21:06 schrieb email@example.com:
check the directive (and NameVirtualHost *:PORT).
I saw this error msg : ‘permission denied:make_sock : could not bind to address 0.0.0.0:1010. No listening sockets available,shutting down’ .
is another process listening on 1010 ?
netstat -an |grep :1010
look for lines with LISTEN on the end …
I v run d netstat and no result(i.e no process is listening on port 1010). Also I telnet 127.0.0.1 1010 just 2 confirm that no process is using the port. I can’t figure out why the port(and any other except 80) would not work!
try setting it to ‘permissive’ if its in ‘enforcing’, and see if it works. if so, you’ll need to adjust the selinux policy to allow apache to listen on more ports.
I am running as a root user. I am very much aware that a non-privileged user can’t access some functions. But again, I am running CentOS from my oracle virtualbox. I hope the virtual machine is not a factor?
What is ‘selinux ?’ and selinux policy ? Are there commands I need to access these ? I wld b glad to know this.
Have you ever considered google as a tool?
Say, google on selinux?
Ok, wld google later in the day. Am off my pc but using my mobile now which gives only email access. Thanks for the new insight. Really, I am new to linux and just using CentOS to learn about linux. I appreciate the kind and timely support offered by this mailing list. Sent from my BlackBerry wireless device from MTN
Sounds like an selinux issue. Try the following:
semanage port -a -t http_port_t -p tcp 1010
Thanks guys, This now work fine. I found your help extremely useful. This URL – (
further shed more light on SELinUX .