Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 09-06-2007, 05:24 PM   #1
LQ Newbie
Registered: Jun 2007
Posts: 6

Rep: Reputation: 0
Red Hat: Can Apache be installed with sudo or....

do you have to use su

-i installed it at work with sudo.. but cannot start the apache service?

and was wondering if this was why etc...


install was by the book and with no error mssgs...

tried httpd start and apache start (no go)

I am not root admin of this box.. but can use sudo

Last edited by tjamnz; 09-06-2007 at 05:26 PM.
Old 09-06-2007, 07:30 PM   #2
Registered: Sep 2005
Distribution: Slackware, Ubuntu, OS X
Posts: 58

Rep: Reputation: 15
sudo /etc/init.d/apache start <-- This may vary depending on your distro

sudo /path/to/apachectl -k start <-- May also vary
Old 09-06-2007, 07:42 PM   #3
Senior Member
Registered: Nov 2006
Location: California
Distribution: Fedora , CentOS , RHEL
Posts: 1,977
Blog Entries: 1

Rep: Reputation: 209Reputation: 209Reputation: 209
Have you tried:

sudo service httpd start
Old 09-07-2007, 01:23 AM   #4
LQ Newbie
Registered: Jun 2007
Posts: 6

Original Poster
Rep: Reputation: 0

Cool... Thanks...I'll try it in the morning when i get back to the office.


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
Floppy Not Installed? RED HAT 9 Penguin-novice Linux - Newbie 1 10-09-2003 11:43 PM
Kylix installed on Red Hat 9.0 lmartinconsult Linux - Software 9 07-30-2003 10:14 AM
How can I now which red hat is installed? juanb Linux - Newbie 1 07-13-2003 05:10 AM
How can I now which red hat is installed? juanb Linux - Software 1 03-23-2003 04:27 AM
red hat 8.0 is installed but won't boot Valek Linux - Software 10 12-29-2002 01:45 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:20 PM.

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