listen to 80 and 443 ports in cent 5.6 final, kernel 2.6.18

Issues related to configuring your network
Post Reply
salytwo
Posts: 2
Joined: 2012/01/18 06:15:36

listen to 80 and 443 ports in cent 5.6 final, kernel 2.6.18

Post by salytwo » 2012/01/18 06:18:10

Hello,
I find post that make listen port in httpd.conf file like this
/etc/httpd/conf/httpd.conf Listen 80 & this
/etc/httpd/conf.d/ssl.conf Listen 443

I have cent 5.6 with kernel 2.6.18-238.12.1.e15 on an i686

but I faced with
-bash: /etc/httpd/conf/httpd.conf: permission denied

also with 443 I found

/etc/httpd/conf.d/ssl.conf: permission denied

can you help me..

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

listen to 80 and 443 ports in cent 5.6 final, kernel 2.6.18

Post by pschaff » 2012/01/18 13:50:27

Welcome to the CentOS fora. Please see the recommended reading for new users linked in my signature.

You need to [i][b]edit[/b][/i] the [b]conf[/b]iguration files with your favorite editor, then restart the services if you need to make changes. By just entering the filenames on the command line you are trying to invoke them as a command (shell-script or program). As those are the default ports, it does not seem any changes are required. Have you installed mod_ssl and started the httpd service?

Note that the current CentOS-5 release is 5.7. Obsolete releases are not supported. Update with "yum update" as [url=http://wiki.centos.org/TipsAndTricks/BecomingRoot]root[/url] to get the latest errata. See the [url=http://wiki.centos.org/Manuals/ReleaseNotes/CentOS5.7]CentOS 5.7 Release Notes[/url] for details. By not updating you are implicitly accepting that you will live with numerous bugs and security issues (and associated known exploits) that have subsequently been fixed.

hansolo
Posts: 231
Joined: 2010/01/13 11:17:42
Location: SI

Re: listen to 80 and 443 ports in cent 5.6 final, kernel 2.6.18

Post by hansolo » 2012/01/18 22:04:55

you are already getting help on [url=http://www.linuxquestions.org/questions/linux-newbie-8/listen-to-80-port-in-cent-5-6-final-kernel-2-6-18-a-924357/]this forum[/url] so please post some solutions back here too.

Post Reply