LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-13-2001, 04:28 PM   #1
RecoilUK
Member
 
Registered: Jul 2001
Location: Southampton, England
Distribution: Mandrake 8.2 , Slackware 8.1, $LFS
Posts: 270

Rep: Reputation: 30
Question Apache problems


Hi all

Recently I installed apache 1.3.20 on Mandrake 8.0 and everything went ok.

The problem is this, I can only start the apachectl server when logged as root.

I want to start the server as a service so every user can use it, any help on this would be appreciated.

Thx in advance
 
Old 07-13-2001, 04:32 PM   #2
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
Thats right, you really only want root to start it, otherwise it can't listen on port 80! Just start it from once of your startup scripts (don't know exactly where in Mandrake, something in /etc/rc*) and leave it running. That way it comes up at boot time, and shuts down when you shut your PC down.

cheers

Jamie...
 
Old 07-13-2001, 05:44 PM   #3
RecoilUK
Member
 
Registered: Jul 2001
Location: Southampton, England
Distribution: Mandrake 8.2 , Slackware 8.1, $LFS
Posts: 270

Original Poster
Rep: Reputation: 30
Question

Has anyone done this in Mandrake 8.0???

I,ve had a look in etc/ but there,s the following directories.....

rcd
rc0.d
rc1.d
rc3.d
rc4.d
rc5.d
rc6.d

and also the following files.....

rc
rc.local
rc.sysinit

You may be able to tell i,m a total newbie at linux so a detailed explanation of what to do would be appreciated.

I also intend to install PHP 4 and postgre SQL, should I install these before doing the above or doesnt it matter?

Thx again

sorry to be a pain
 
Old 07-13-2001, 05:49 PM   #4
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
I'd plum for rc.local myself. Just add a line that says exactly what you type on the command line to start it.

If you are going to install PHP then you can do this after Apache no problem. But you'll want to install PostgreSQL before PHP otherwise your won't be able to install support for it. You might also want to look into MySQL - http://www.mysql.com - as an alternative database.

As for installing the above, get them downloaded and read the install details that comes with them. I've installed them both a few times and its all pretty straight forward.

cheers

Jamie...
 
Old 07-13-2001, 05:55 PM   #5
RecoilUK
Member
 
Registered: Jul 2001
Location: Southampton, England
Distribution: Mandrake 8.2 , Slackware 8.1, $LFS
Posts: 270

Original Poster
Rep: Reputation: 30
Thx m8 i,m gonna try that.

I was going to try mysql but it doesnt properly support relationships. Well transactions actually.

I know you can accomplish the same thing using the join command but its not the same and no good for critical systems.

(Hope I explained that right, or i,m gonna get flamed )

Thx for the advice though.
 
Old 07-13-2001, 06:35 PM   #6
RecoilUK
Member
 
Registered: Jul 2001
Location: Southampton, England
Distribution: Mandrake 8.2 , Slackware 8.1, $LFS
Posts: 270

Original Poster
Rep: Reputation: 30
Hello again, I only joined 5 minutes ago and i,ve allready posted loads of messages, anyway

It worked, thx again.

I dont suppose you know what database software this site is run from do you???

L8rs
 
Old 07-13-2001, 06:42 PM   #7
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
I think that http://www.linuxquestions.org/questi...&threadid=2840 and http://www.linuxquestions.org/questi...&threadid=3952 and http://www.linuxquestions.org/questi...&threadid=4045 and http://www.linuxquestions.org/questi...=&threadid=238 should answer your question, and the others I think you'd want to ask after finding the answer to the first! I'm not sure what version of Apache Jeremy is running. If you want to know ask a question in the Website Questions & Suggestions forum.

cheers!

Jamie...
 
  


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
apache problems root3d Linux - Software 5 03-08-2004 04:26 PM
Apache problems BrettPower Linux - Networking 3 03-06-2004 10:52 PM
Apache Problems ASP Linux - Software 1 10-14-2003 02:17 PM
Apache problems rooster13 Linux - Networking 6 07-16-2003 11:41 PM
Apache virtualhost problems, apache install problems nyroc Linux - Software 2 06-09-2003 11:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:36 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