I am a newbie to Linux and I am learning RHEL 5.4. I am attempting to install httpd-2.2.21 on RHEL 5.4 following instructions on this link which I think is excellent.
Unfortunately I have run into some issues and have been scouring the internet for some help. I am able to start up Apache using the following commands and I get the "it works" on my browser when I type http://localhost
. There is no message to say Apache has started when I type the ./apachectl start command though.
# cd /usr/local/apache2/bin
# ./apachectl start
For starters I did not have the /etc/rc.d/init.d/httpd file so I added the following script
Now when I try to start httpd automatically I get the following error.
[root@localhost ~]# service httpd start
httpd: unrecognized service
If any body on this forum can help I would greatly appreciate it.