LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-09-2012, 01:10 PM   #1
abhishekgit
Member
 
Registered: Jan 2012
Location: India
Distribution: Ubuntu, Gentoo, Fedora, Rhel5,openSUSE
Posts: 165

Rep: Reputation: 12
Apache 2.4 on ubuntu 12.4


Hey everyone,
I have successfully configured apache 2.4 on sabayon linux. I recently switched to ubuntu. I have a problem to configure it here. After installing using sequence of conventional commands, I can see the apache executables in /usr/local/apache2. They are all present!. But if i run, for instance httpd -d, I get this
Code:
No command 'httpd' found, did you mean:
 Command 'xttpd' from package 'xtide' (universe)
httpd: command not found
Kindly help. Thanks...
 
Old 08-09-2012, 02:41 PM   #2
kenneth_phough
Member
 
Registered: Dec 2005
Location: Birmingham, AL
Distribution: CentOS, REHL, Vine Linux
Posts: 67

Rep: Reputation: 3
because httpd doesn't exist. it's apache2. For example to start the web server, in your case you would do
Quote:
apache2ctl start
or

Quote:
/etc/rc.d/init.d/apache2 start
instead of

Quote:
httpd start
or

Quote:
/etc/rc.d/init.d/httpd start
so if you want to do httpd -d
do apache2 -d
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu 8.04 + Apache 2.28 hacked - need help Alt-Ox Linux - Security 1 02-14-2011 11:56 PM
How to install apache on ubuntu 8.10? your_shadow03 Linux - Newbie 1 03-18-2009 02:53 AM
Apache ProxyPass doubt (ubuntu 6.10, apache 2.0) Carlos2dub Linux - Server 1 05-28-2008 03:43 AM
Apache on Ubuntu tommytomato Ubuntu 2 06-01-2007 03:42 AM
Ubuntu with apache? Cliekid Ubuntu 1 05-13-2005 10:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration