Author Topic: Having trouble starting Apache  (Read 260 times)

Offline frazelle09

  • Hero Member
  • *****
  • Posts: 1485
  • Open my what?
    • Fundacion Anisa, A.C.
Having trouble starting Apache
« on: January 11, 2013, 04:39:25 PM »
Have d/l the Xamp install and installed it and set the paths for Mysql and have tried as best i can to find the correct paths for Apache.

However when i try to start Apache from Webmin i get a "cannot find file or directory" error for:

mod_authn_dbd.so

i have tried to "find" it on my local hd, but it doesn't seem to exist.

Where can i find this file?  Have a great afternoon!  :)
"The earth is one country and mankind its citizens."
Baha'u'llah
"La tierra es un solo pais y la humanidad sus ciudadanos."


Offline YouCanToo

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 5383
  • Location: Lebanon, OR., USA
    • Spreading the word.......
Re: Having trouble starting Apache
« Reply #1 on: January 11, 2013, 06:34:00 PM »
Are you sure it is installed?  Look in synaptic for mod_authn_dbd  it wasn't installed by default on my system.

Can I ask why you just didn't use Apache, MySQL & PHP from the repos instead of going with XAMP?
« Last Edit: January 11, 2013, 06:37:30 PM by YouCanToo »




Be sure to visit the NEW Knowledge Base


Linux is user-friendly- it's just picky who its friends are!

Offline frazelle09

  • Hero Member
  • *****
  • Posts: 1485
  • Open my what?
    • Fundacion Anisa, A.C.
Re: Having trouble starting Apache
« Reply #2 on: January 11, 2013, 06:50:09 PM »
You're right.  It was still in Synaptic.  d/l it and now only get the same error, but for:

mod_authnz_ldap.so

which is not in Synaptic, nor, apparently, on my hd.

Thanks YouCanToo!  Now, to locate this file.  Have a great evening!  :)
"The earth is one country and mankind its citizens."
Baha'u'llah
"La tierra es un solo pais y la humanidad sus ciudadanos."


Offline YouCanToo

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 5383
  • Location: Lebanon, OR., USA
    • Spreading the word.......




Be sure to visit the NEW Knowledge Base


Linux is user-friendly- it's just picky who its friends are!

Offline frazelle09

  • Hero Member
  • *****
  • Posts: 1485
  • Open my what?
    • Fundacion Anisa, A.C.
Re: Having trouble starting Apache
« Reply #4 on: January 11, 2013, 07:29:48 PM »
YouCanToo...  i just noticed you asked a question along with your answer.  i have only had very little server experience - maybe 3% out of 100%, so i didn't know that was an option, nor even if i had known that i could have installed each one separately, which ones i would have needed to install.  The 3% "knowledge" that i have fortunately included d/l and installing Webmin, but as i can see, it's still going to be a long, hard road.

Still can't figure out why mod_authnz_ldap.so is not included in this install.

Have a cool evening!  :)
"The earth is one country and mankind its citizens."
Baha'u'llah
"La tierra es un solo pais y la humanidad sus ciudadanos."


Offline kjpetrie

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 4037
Re: Having trouble starting Apache
« Reply #5 on: January 12, 2013, 04:04:21 AM »
Presumably because Apache as compiled in the repo doesn't need it or it's included in another required package.

You're obviously fairly new to pclos. We have a basic rule here - only install from the repo. Only systems with all applications installed from the repo can be supported because anything else is an unknown commodity here. I would suggest starting again, upgrading your system fully with Synaptic and installing apache from the repo, together with any special modules you need. Read the Announcements section of this forum first though for the new mirror locations, as all URLs for the repo have changed in the last week so Synaptic will need the path altered (in Settings->Repositories) before it will work properly.

Pclos is intended primarily as a desktop system and although it contains server applications so people can run them if they need them (for example web developers who often need to test things on their desktop before risking them on the server), it's not really ideal for a live server on the Internet because that's not where the emphasis on maintenance is and it isn't by default locked down enough for that use. If your intended use is to play around with servers to learn or experiment that's fine. If you want to set up a server to offer web space to the public you'd probably be better to take Texstar's traditional advice and use something else.
-----------
KJP
-----------------------------------------------------------
PClos64 RC1 on Intel D945GCLF2 motherboard (Atom 330), 2GB DDR2 RAM, Maxtor STM325031, HL-DT-ST DVDRAM GSA-H42N, Amilo LSL 3220T monitor. Also Acer 5810TG (with custom kernel) and Asus eeePC 2G surf

Offline frazelle09

  • Hero Member
  • *****
  • Posts: 1485
  • Open my what?
    • Fundacion Anisa, A.C.
Re: Having trouble starting Apache
« Reply #6 on: January 12, 2013, 09:26:48 AM »
Dear kjpetrie:

Thank you for your post.  It was a very sad and disappointing way to start my day.

Quote
You're obviously fairly new to pclos.
i've been happily using PCL for the last several years and have been priviledged to be able to support it during several of those years as well.

Quote
We have a basic rule here - only install from the repo. Only systems with all applications installed from the repo can be supported because anything else is an unknown commodity here. I would suggest starting again, upgrading your system fully with Synaptic and installing apache from the repo, together with any special modules you need.
i don't know where you got the idea that i d/l it from outside Synaptic, i didn't.  i used task-lamp from the repos.

Quote
upgrading your system fully with Synaptic
See above.  i'm on the Pass server.  i don't know how much more "upgraded" i could get.

Quote
it's not really ideal for a live server on the Internet because that's not where the emphasis on maintenance is and it isn't by default locked down enough for that use.
i'm trying to figure out again, where you get the idea that i want to use this as a live app...

Quote
If your intended use is to play around with servers to learn or experiment that's fine.
You finally figured it out...  and i'm glad that you approve!

So, once again, dear kjpetrie, thanks for your post and, as always, have a great morning!  :)
"The earth is one country and mankind its citizens."
Baha'u'llah
"La tierra es un solo pais y la humanidad sus ciudadanos."


Offline Texstar

  • Administrator
  • Super Villain
  • *****
  • Posts: 12657
Re: Having trouble starting Apache
« Reply #7 on: January 12, 2013, 10:07:42 AM »
Do you get this when starting apache from the command line in su root mode?

[root@thenudiebar ~]# service httpd start
Starting httpd: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName          [OK]


FYI - apache-mod_authn_dbd-2.2.17-1pclos2011.i586.rpm is in synaptic.
« Last Edit: January 12, 2013, 10:13:01 AM by Texstar »

Thanks to everyone who donates. You keep the servers running.
Follow me on Twitter for the latest development info.

Offline kjpetrie

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 4037
Re: Having trouble starting Apache
« Reply #8 on: January 12, 2013, 10:32:43 AM »
Sorry, I didn't look at your name, just the content and YouCanToo's reply, which is why I thought you'd installed from outside the repo.

I think you've been on this forum longer than I have!
-----------
KJP
-----------------------------------------------------------
PClos64 RC1 on Intel D945GCLF2 motherboard (Atom 330), 2GB DDR2 RAM, Maxtor STM325031, HL-DT-ST DVDRAM GSA-H42N, Amilo LSL 3220T monitor. Also Acer 5810TG (with custom kernel) and Asus eeePC 2G surf

Offline frazelle09

  • Hero Member
  • *****
  • Posts: 1485
  • Open my what?
    • Fundacion Anisa, A.C.
Re: Having trouble starting Apache
« Reply #9 on: January 12, 2013, 11:25:02 AM »
Texstar>  Thanks for replying!

i got this as a result of what you suggested...

Starting httpd: httpd: Syntax error on line 303 of /etc/httpd/conf/httpd.conf: Syntax error on line 1 of /etc/httpd/modules.d/014_mod_authnz_ldap.conf: Cannot load /usr/lib/apache/mod_authnz_ldap.so into server: /usr/lib/apache/mod_authnz_ldap.so: undefined symbol: ap_register_auth_provider

kjpetrie>  Again, thanks for posting and i wish you the best today and always.  :)
"The earth is one country and mankind its citizens."
Baha'u'llah
"La tierra es un solo pais y la humanidad sus ciudadanos."


Offline Texstar

  • Administrator
  • Super Villain
  • *****
  • Posts: 12657
Re: Having trouble starting Apache
« Reply #10 on: January 12, 2013, 01:14:41 PM »
Texstar>  Thanks for replying!

i got this as a result of what you suggested...

Starting httpd: httpd: Syntax error on line 303 of /etc/httpd/conf/httpd.conf: Syntax error on line 1 of /etc/httpd/modules.d/014_mod_authnz_ldap.conf: Cannot load /usr/lib/apache/mod_authnz_ldap.so into server: /usr/lib/apache/mod_authnz_ldap.so: undefined symbol: ap_register_auth_provider

kjpetrie>  Again, thanks for posting and i wish you the best today and always.  :)

Try removing apache-mod_ldap if you have it installed. OR installing apr-util-dbd-ldap

Thanks to everyone who donates. You keep the servers running.
Follow me on Twitter for the latest development info.

Offline frazelle09

  • Hero Member
  • *****
  • Posts: 1485
  • Open my what?
    • Fundacion Anisa, A.C.
Re: Having trouble starting Apache
« Reply #11 on: January 12, 2013, 03:27:13 PM »
Thanks, Texstar!  Uh, my Synaptic shows that apache-mod-ldap is Not installed but that apr-util-dbd-ldap is.  If the 014_mod_authnz_ldap is the culprit, i can remove it.

Have a great afternoon!  :)
"The earth is one country and mankind its citizens."
Baha'u'llah
"La tierra es un solo pais y la humanidad sus ciudadanos."