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 11-12-2008, 08:46 AM   #1
david008
LQ Newbie
 
Registered: Nov 2008
Posts: 3

Rep: Reputation: 0
/etc/init.d/apache2 start ---> permission denied


Hi,


I am a newbie and i need to setup LAMP for my school in my computer - however so far i have failed in installing and setting up the apache server

i am using opnsuse 11

i installed the LAMP from YAST2. filtered Pattern and selected Web and LAMP - i believe its installed

however when i go to the firefox browser and type http://localhost - it gives and error saying page not found

in the terminal i typed in the following

/etc/init.d/apache2 start

it gives an error saying permission denied
i tried other commands as well

/etc/init.d/rcapache2 start
says that rcapache2 command not found


please help me out in getting the apache server up and running - my labworks are pending .

thanks in advance for any help
 
Old 11-12-2008, 08:56 AM   #2
Bdfy
LQ Newbie
 
Registered: Nov 2008
Posts: 12

Rep: Reputation: 0
Quote:
/etc/init.d/apache2 start

it gives an error saying permission denied
i tried other commands as well
which user ? root ?
type "id" in terminal and show result
 
Old 11-12-2008, 09:01 AM   #3
david008
LQ Newbie
 
Registered: Nov 2008
Posts: 3

Original Poster
Rep: Reputation: 0
yes i am the root user

atleast administrator
 
Old 11-12-2008, 09:02 AM   #4
david008
LQ Newbie
 
Registered: Nov 2008
Posts: 3

Original Poster
Rep: Reputation: 0
yes i am the root user

atleast administrator
 
Old 11-12-2008, 11:13 AM   #5
farslayer
Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,231
Blog Entries: 5

Rep: Reputation: 189Reputation: 189
rather than using the init scripts directly I would use the apache2ctl script as root.

apache2ctl start
apache2ctl stop
apache2ctl status
apache2ctl restart




How to Apache MySQL PHP on Suse
 
  


Reply

Tags
apache, server, start


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
Starting sshd: /etc/init.d/sshd: line 113: /usr/sbin/sshd: Permission denied sumanc Linux - Server 5 03-28-2008 04:59 AM
-bash: /etc/init.d/network restart: permission denied mariusmusicus Linux - Networking 3 01-31-2008 12:00 PM
/bin/sh: /etc/init.d/xprint: Permission denied flyfastest Linux - Newbie 1 06-17-2005 04:24 AM
/etc/init.d/cyrus Shell Script 'Permission denied' ServerStorm Linux - Software 3 01-19-2005 11:04 PM
"Permission Denied" errors during start-up (SuSE 9.0) Meowatilla Linux - Software 3 04-14-2004 10:40 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration