Red HatThis forum is for the discussion of Red Hat Linux.
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.
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.
As mentioned, it's a good idea to post your RHEL version, and your Apache web server version.
If you don't know, try:
# cat /etc/redhat-release
# httpd -v
---
Quote:
Originally Posted by guyroberts
httpd: Syntax error on line 992 of /etc/httpd/conf/httpd.conf: Could not open configuration file /etc/httpd/conf/vhost.conf: No such file or directory
This error tells you exactly where and what the problem is. I'm presuming vhost.conf is for virtual hosts (but I'm not sure). Check if the file exists at conf.d/vhost.conf. If so, change line 992 in httpd.conf to reflect the correct location. If not (or if you're not going to be using virtual hosts), then remove or comment out line 992.
Quote:
Originally Posted by guyroberts
Can I reverse the install of GD lib or is there another way to fix?
What is GD lib? Google says some things about it, but I've no idea what you are referring to in this context. If you need to, you can remove packages using yum (or rpm for RHEL < 5).
Red Hat Enterprise Linux Server release 5.2 (Tikanga)
Server version: Apache/2.2.3
Server built: Jan 16 2008 14:25:01
I'm really a novice when it comes to this and not sure how to get into the conf file.
GD Is a graphics display module I believe - I installed after the request to when installing plogger onto the server (http://www.plogger.org). How would I go about uninstalling - only problen is I can't remember the package I installed or what it was called that caused the problem! Dumb, I know!!
Thanks for your help guys, I wasn't epecting a reply so soon!
Is there someone else maintaining the server who you could instruct to comment out the offending line? If you (personally) expect to maintain this server, you will need to learn an editor - no time like the present to do so. Try out nano.
Check /var/log/yum.log to see if you can determine the package name. This contains a history of yum activity.
I have contacted the provided of the dedicated server who are being very unhelpful, it's been over a week and they still haven't taken a look at the problem. They are charging GBP £120 per hour and say it could take hours to discover the problem, but they obviously do not need the money as they are really not being helpful after numerous emails and telephone calls.
I'll have a look at nano now. Does it need to be installed onto the server to use?
Would the problem be something you could look into for me, for a charge?
I believe nano is installed on RHEL even if you choose the minimum possible package selection. Its usage is: # nano file_here
Sorry to hear about your service provider woes. I hope you will vote with your wallet when you have the opportunity. (FWIW, I recommend Rackspace for managed hosting.)
I would like to help, but I am not comfortable dealing with non-local contracts at this time. I would recommend posting an ad here or in your community newspaper (or wherever is appropriate for you) seeking a competent RHEL sysadmin for a small project.
well, as you said earlier - now is a good time to learn!
That was probably the best advice ever posted, as I have done so and managed to fix! I suppose it wasn't too difficult, but what looks to have happened is when I installed GD it put the vhosts.conf file as vhosts.conf.rpmsave
I created a new file named vhosts.conf (I didn;t even know how to do this previously) and placed all of the contents from the vhosts.conf.rpmsave file and bingo!
My server support are still to come back to me... oh well.
Thanks for your help guys, I'm sure I will be back with problems, but as I get better, hopefully I may be able to help someone else on here in the future..
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.