LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-20-2009, 02:07 PM   #1
spooge
Member
 
Registered: Nov 2001
Location: n chicago, IL. USA
Distribution: Slackware
Posts: 307

Rep: Reputation: 31
apache broke after mysql install


After years of flawless service of my Redhat9 server, I decided to upgrade with Slack 12.2.( I could go on why I Slack)

New 12.2 install with original packages.

I had Apache running fine. Tested, and all is well...
I moved on to Mysql... All is good, it works. Starts at reboot.
Then I notice Apache stopped starting.

To test httpd.conf and httpd-vhosts.conf edits, I would use
Code:
/usr/sbin/apachectl restart|start
Now it won't start with this command.

no result(s) for
Code:
ps -A | grep apache
Stopped Mysql, and tried to start apache, and still nothing.

Anyone have/had this problem? Any suggestions?

Thanks All!

Edit:

checked error.log
Code:
(EAI 2)Name or service not known: mod_unique_id: unable to find IPv4 address of "myhostname"
Configuration Failed
Edit #2
Hmm not sure why apache stopped in the first place. It worked earlier.
Edited /etc/hosts.
from
Code:
192.168.1.5hostname.com
to
Code:
192.168.1.5hostname
I'm assuming that I changed this(previous day) and mmaybe a reboot took affect and killed it?

it works

Everyone can quit searching now. Thanks

Last edited by spooge; 04-20-2009 at 04:12 PM. Reason: fixed
 
Old 04-20-2009, 05:57 PM   #2
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,263
Blog Entries: 24

Rep: Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194
Quick answer...

To start apache under Slack (12.1 - I think 12.2 is same)

as root
Code:
/etc/rc.d/rc.httpd start
To make it start at boot just make that executable...

Code:
chmod 755 /etc/rc.d/rc.httpd
 
  


Reply



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
install mysql 4 and apache 2.x manomohan Fedora - Installation 1 05-17-2007 07:59 PM
manually install mysql, php, and apache or install from CD? FiveFlat Linux - Software 5 12-15-2005 01:12 PM
Apache, PHP, MySQL Install SpiderIRE Linux - Software 3 10-03-2005 04:50 AM
how do i install apache php and mysql ashokn Linux - Software 2 04-30-2004 06:20 AM
broke mysql joel112 Linux - Software 12 06-05-2003 03:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:14 AM.

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