LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-30-2014, 05:05 PM   #1
fiveroof
LQ Newbie
 
Registered: Jul 2014
Posts: 3

Rep: Reputation: Disabled
Internal Server Error on Redhat


I am a newbie to linux and trying to make my server working on Redhat linux. I'm getting 500 Internal Server Error when I type in my domain name. I don't really know where to start looking for solutions. Any help will be appreciated.

System: Redhat Enterprise 6.4 Apache 2.2.15

I ran the command

sudo service httpd start

So, httpd is running.

Let me know if you need other informations.
 
Old 07-30-2014, 05:33 PM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,140

Rep: Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263
Your claim that because you typed the right command therefore Apache is running seems dubious.

The error log is usually the best place to start. Check /var/log/httpd/error_log
 
Old 07-30-2014, 05:47 PM   #3
fiveroof
LQ Newbie
 
Registered: Jul 2014
Posts: 3

Original Poster
Rep: Reputation: Disabled
Ok, I have two error logs in that folder.

error_log

[Wed Jul 30 14:44:01 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Wed Jul 30 14:44:01 2014] [notice] Digest: generating secret for digest authentication ...
[Wed Jul 30 14:44:01 2014] [notice] Digest: done
[Wed Jul 30 14:44:02 2014] [notice] Apache/2.2.15 (Unix) DAV/2 PHP/5.3.3 mod_ssl/2.2.15 OpenSSL/1.0.0-fips mod_wsgi/3.2 Python/2.6.6 mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations
[Wed Jul 30 18:12:48 2014] [notice] caught SIGTERM, shutting down

ssl_error_log

[Wed Jul 30 14:44:01 2014] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Wed Jul 30 14:44:01 2014] [warn] RSA server certificate CommonName (CN) `rh64-40-template' does NOT match server name!?
[Wed Jul 30 14:44:02 2014] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Wed Jul 30 14:44:02 2014] [warn] RSA server certificate CommonName (CN) `rh64-40-template' does NOT match server name!?


The last line of error_log is because I stopped httpd.
I researched a little on certification issues and I don't think this will cause an internal server error.
Where should I look at next?

Last edited by fiveroof; 07-30-2014 at 05:55 PM.
 
Old 07-30-2014, 08:37 PM   #4
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Most probably a site configuration problem, is it virtual host? Have .htaccess file in site root directory?
 
Old 07-31-2014, 03:02 PM   #5
fiveroof
LQ Newbie
 
Registered: Jul 2014
Posts: 3

Original Poster
Rep: Reputation: Disabled
Ok, it worked on https://

I guess it WAS certification problem. I've decided to fix it after I deploy my website.

Thanks for the reply.
 
  


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
[SOLVED] 505- Internal server error - The server encountered an internal error or misconfigura physnastr Linux - Server 7 11-17-2011 04:57 PM
Additionally, a 500 Internal Server Error error was encountered while trying to use a ukrainet Linux - General 10 06-24-2005 02:23 AM
Redhat 9 server internet dies, goes up on internal ping. loewen Linux - Networking 3 09-04-2004 03:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:19 PM.

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