[newbie] apache2 problem

2004-03-17 Thread Klemens Arro
Hy,

I updated my mdk 10 box, and what hapend is that apache (v. 2) don't start 
anymore. If I start it manually it starts, but it don't recognise php files 
anymore.
-- 
Klemens Arro

My software never has bugs; it just develops random features.

Using: Mandrake Linux 10
Registered Linux User#: 346118
ICQ#: 179198850

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Join the Club : http://www.mandrakeclub.com


Re: [newbie] apache2 problem

2004-03-17 Thread JoeHill
On Wed, 17 Mar 2004 12:39:42 +0200
Klemens Arro disseminated the following:

 I updated my mdk 10 box, and what hapend is that apache (v. 2) don't start 
 anymore. If I start it manually it starts, but it don't recognise php files 
 anymore.

First eliminate the obvious: go to Mandrake Control Center and check under
services to make sure Apache is configured to run at boot.

With Apache running, do a:

service httpd restart

and watch for any errors.

As for the PHP issue, make sure you have apache2-mod_php installed:

rpm -qa | grep apache

-- 
JoeHill
Registered Linux user #282046
Homepage: www.orderinchaos.org
+++
06:46:04 up 5 days, 21:16, Mandrake Linux release 9.2 (FiveStar) for i586 
++
If you can't beat them, arrange to have them beaten. -- George Carlin

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Join the Club : http://www.mandrakeclub.com


Re: [newbie] apache2 problem

2004-03-17 Thread Klemens Arro
On Wednesday 17 March 2004 13:49, JoeHill wrote:
 On Wed, 17 Mar 2004 12:39:42 +0200

 Klemens Arro disseminated the following:
  I updated my mdk 10 box, and what hapend is that apache (v. 2) don't
  start anymore. If I start it manually it starts, but it don't recognise
  php files anymore.

 First eliminate the obvious: go to Mandrake Control Center and check under
 services to make sure Apache is configured to run at boot.

It is configured to run on boot. And it shows like httpd is running, but it 
isn't.


 With Apache running, do a:

 service httpd restart

It did'nt sow errors:
[EMAIL PROTECTED] klemens]# service httpd restart
Shutting down httpd2:   [   OK]
Starting httpd2:[   OK]
[EMAIL PROTECTED] klemens]#


 and watch for any errors.

 As for the PHP issue, make sure you have apache2-mod_php installed:

 rpm -qa | grep apache

yes, it is installed.

Yesterday it was working, at night I made update (bugs etc.) and when I booted 
up my box at morning, it didnt work.

-- 
Klemens Arro

My software never has bugs; it just develops random features.

Using: Mandrake Linux 10
Registered Linux User#: 346118
ICQ#: 179198850

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Join the Club : http://www.mandrakeclub.com


Re: [newbie] apache2 problem

2004-03-17 Thread Fajar Priyanto
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wednesday 17 March 2004 08:32 pm, Klemens Arro wrote:
 I am a bad explainer, so i try again ;)
 Yesterday I was working at my server (localhost), then after I went to
 sleep I updated my new mdk 10 (security, bugs etc.), then I turned my
 computer off. At mourning I tuned my computer on again, opened localhost
 and it wasn't there. Then I checked apache, mcc showed like it was running,
 but when I made httpd2 -k restart then it said: httpd not running,
 trying to start. So now I had running apache, but then I opened my php
 script, it didn't work, mozilla offered me to download it.

 (the worst part of this is that I have a deadline at work, and I cant work
 without php :'( )

 Here, I hope I got it explained now ;)

I see,
Then install mod_php, the easiest way is from Configuration  Packaging  
Install Software. Search php, and install that has got to with Apache. In 
mine, I always configure Apache full with all of its modules when I install 
mdk. Goodluck.
- -- 
20:57:20 up 2:08, Mandrake Linux release 9.2 (FiveStar) for i586 
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQFAWFmskp5CsIXuxqURAj6CAKDChfruN+iWHOujEdUpw7irdjYiVgCeJxlj
/gz+jC2YtoanDhLY5fHq/H0=
=vrxt
-END PGP SIGNATURE-


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Join the Club : http://www.mandrakeclub.com


Re: [newbie] apache2 problem

2004-03-17 Thread Klemens Arro
On Wednesday 17 March 2004 15:59, Fajar Priyanto wrote:
 On Wednesday 17 March 2004 08:32 pm, Klemens Arro wrote:
  I am a bad explainer, so i try again ;)
  Yesterday I was working at my server (localhost), then after I went to
  sleep I updated my new mdk 10 (security, bugs etc.), then I turned my
  computer off. At mourning I tuned my computer on again, opened localhost
  and it wasn't there. Then I checked apache, mcc showed like it was
  running, but when I made httpd2 -k restart then it said: httpd not
  running, trying to start. So now I had running apache, but then I opened
  my php script, it didn't work, mozilla offered me to download it.
 
  (the worst part of this is that I have a deadline at work, and I cant
  work without php :'( )
 
  Here, I hope I got it explained now ;)

 I see,
 Then install mod_php, the easiest way is from Configuration  Packaging 
 Install Software. Search php, and install that has got to with Apache. In
 mine, I always configure Apache full with all of its modules when I install
 mdk. Goodluck.

no, I already have mod_php, like I said yesterday it was working.

-- 
Klemens Arro

My software never has bugs; it just develops random features.

Using: Mandrake Linux 10
Registered Linux User#: 346118
ICQ#: 179198850

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Join the Club : http://www.mandrakeclub.com


Re: [newbie] apache2 problem

2004-03-17 Thread JoeHill
On Wed, 17 Mar 2004 20:59:06 +0700
Fajar Priyanto disseminated the following:

 Then install mod_php, the easiest way is from Configuration  Packaging  
 Install Software. Search php, and install that has got to with Apache. In 
 mine, I always configure Apache full with all of its modules when I install 
 mdk. Goodluck.

LOL! This is why it is very important to at least review the thread before
posting, Fajar :-D

We've already eliminated the mod-php issue, it is installed.

It does sound likely that something in the update 'broke' the PHP functionality,
as well as did something to the service itself.

This is where you need some real expert help to try and troubleshoot this, I
would definitely post to the Expert list, explaining of course that you've
already eliminated the two most obvious problems ;-) You might even consider
posting to the Cooker list, since that's where these updates would be pretty
well known by several list members.

-- 
JoeHill
Registered Linux user #282046
Homepage: www.orderinchaos.org
+++
09:47:00 up 6 days, 17 min, Mandrake Linux release 9.2 (FiveStar) for i586 
++
The gambling known as business looks with austere disfavor upon the business
known as gambling. -- Ambrose Bierce, The Devil's Dictionary

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Join the Club : http://www.mandrakeclub.com


Re: [newbie] apache2 problem

2004-03-17 Thread Fajar Priyanto
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wednesday 17 March 2004 09:53 pm, JoeHill wrote:
 LOL! This is why it is very important to at least review the thread before
 posting, Fajar :-D

Oww, sorry guys :)
By the way, also maybe posting to the [EMAIL PROTECTED] list? or it's mdk related 
only? Well, anyway, good luck to you.
- -- 
00:26:36 up 1:07, Mandrake Linux release 9.2 (FiveStar) for i586 
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQFAWIqlkp5CsIXuxqURAsHVAJ4hD8x6zvuyiY0KxgV/T/Rpgnus1wCfdebW
4YK/Fum+v0jqwAY69taKNXY=
=7eNA
-END PGP SIGNATURE-


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Join the Club : http://www.mandrakeclub.com