Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
09-22-2014, 02:54 PM
|
#1
|
Member
Registered: Oct 2013
Posts: 77
Rep: 
|
httpd conf files missing?
Hello,
I manage a mail server which has Postfix and Roundcube installed. They can be accessed via web browser. I need to make some changes to the apache files except that they're apparently invisible. Seriously, the /etc/httpd/conf.d only has php.conf, README, and welcome.conf. Searches for roundcube.conf and mailman.conf end with no results.
I looked at the httpd.conf file and it shows this:
Code:
# Load config files from the config directory "/etc/httpd/conf.d".
#
Include conf.d/*.conf
so clearly the default location hasn't been changed.
Postfix and roundcube continue to work perfectly fine despite being apparently non-existent on the server. Is there any other way to find the files I need? Thanks in advance.
|
|
|
09-22-2014, 03:12 PM
|
#2
|
LQ Veteran
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Rep: 
|
terminal or console > (assuming sudo throughout here)
Code:
find `pwd` / -name httpd.conf -type f
Server version: Apache/2.2.15 (Unix)
allows me to utilize this command:
Code:
httpd -S | grep .conf
while 2 more you could try if that doesn't work are:
Code:
/usr/sbin/httpd -t -D DUMP_VHOSTS
apache2ctl -S
The most important piece of info we'd need is the httpd version installed.
|
|
|
09-22-2014, 03:27 PM
|
#3
|
Member
Registered: Oct 2013
Posts: 77
Original Poster
Rep: 
|
My httpd version is 2.2.15, same as you.
None of the above commands show any virtual hosts, yet the web applications are there and I use them constantly.
Quote:
httpd: Could not reliably determine the server's fully qualified domain name, using domain.com for ServerName
VirtualHost configuration:
Syntax OK
|
|
|
|
09-22-2014, 03:38 PM
|
#4
|
LQ Veteran
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Rep: 
|
Last edited by Habitual; 09-22-2014 at 03:42 PM.
|
|
|
09-22-2014, 03:40 PM
|
#5
|
Member
Registered: Oct 2013
Posts: 77
Original Poster
Rep: 
|
I'm on CentOS 6. The find command just sat there and didn't do anything. I'll try it again.
|
|
|
09-22-2014, 03:48 PM
|
#6
|
LQ Veteran
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Rep: 
|
Quote:
Originally Posted by Toasterman
I'm on CentOS 6. The find command just sat there and didn't do anything. I'll try it again.
|
It might take a few minutes to execute... so let 'er rip, 'tator chip! 
|
|
|
09-22-2014, 03:49 PM
|
#7
|
Member
Registered: Oct 2013
Posts: 77
Original Poster
Rep: 
|
Okay it finished. It found httpd.conf correctly at /etc/httpd/conf/httpd.conf
However, it's the other files which correspond to the web apps that I need.
|
|
|
09-22-2014, 03:55 PM
|
#8
|
LQ Veteran
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Rep: 
|
terminal >
Code:
find / -iname '*mailman*' -o -iname '*roundcube*' -type d
should illuminate your path.
Quickie:
Look in /opt with
Last edited by Habitual; 09-22-2014 at 04:15 PM.
Reason: consolidated the find commands into one command
|
|
|
09-22-2014, 04:20 PM
|
#9
|
Member
Registered: Oct 2013
Posts: 77
Original Poster
Rep: 
|
Unfortunately it did not. Thank you for helping but I really don't understand what's going on with this server. The files should be here but they're not.
Quote:
/usr/share/selinux/devel/include/services/mailman.if
/usr/share/selinux/targeted/mailman.pp.bz2
/var/lib/mysql/roundcubemail
/etc/selinux/targeted/modules/active/modules/mailman.pp
/etc/alternatives/mta-sendmailman
|
I looked through all of the above but don't see what I'm looking for
|
|
|
09-22-2014, 04:26 PM
|
#10
|
LQ Veteran
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Rep: 
|
Quote:
Originally Posted by Toasterman
Code:
# Load config files from the config directory "/etc/httpd/conf.d".
#
Include conf.d/*.conf
|
Did you look in /etc/httpd/conf.d/ ?
Code:
ls -1 /etc/httpd/conf.d/
output please.
It is also possible that apache isn't serving it (another web server such as nginx or litespeed).
Do you know how it was installed?
Code:
rpm -qa | grep -i roundcube
Last edited by Habitual; 09-22-2014 at 04:29 PM.
|
|
|
09-22-2014, 04:28 PM
|
#11
|
Member
Registered: Oct 2013
Posts: 77
Original Poster
Rep: 
|
Yes, /etc/httpd/conf.d only has php.conf, README, and welcome.conf.
|
|
|
09-22-2014, 04:30 PM
|
#12
|
LQ Veteran
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Rep: 
|
Quote:
Originally Posted by Toasterman
Yes, /etc/httpd/conf.d only has php.conf, README, and welcome.conf.
|
Sorry, I skimmed over
Quote:
Originally Posted by Toasterman
Seriously, the /etc/httpd/conf.d only has php.conf, README, and welcome.conf.
|
the 2nd time around.
http://trac.roundcube.net/wiki/Howto_Install says that roundcube uses a db.inc.php file,so search for it using
Code:
find `pwd` / -name db.inc.php -type f
Sorry, I don't have a quickie answer for you, but if it was easy, the Pizza Delivery Guy would have our jobs and we'd be chucking pizza out the car door.
Last edited by Habitual; 09-22-2014 at 04:34 PM.
|
|
|
All times are GMT -5. The time now is 09:02 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|