LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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, 06: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, 06:33 PM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: CentOS 6 (pre-systemd)
Posts: 2,614

Rep: Reputation: 703Reputation: 703Reputation: 703Reputation: 703Reputation: 703Reputation: 703Reputation: 703
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, 06: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 06:55 PM.
 
Old 07-30-2014, 09:37 PM   #4
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 5,387

Rep: Reputation: 397Reputation: 397Reputation: 397Reputation: 397
Most probably a site configuration problem, is it virtual host? Have .htaccess file in site root directory?
 
Old 07-31-2014, 04: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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 05:57 PM
Additionally, a 500 Internal Server Error error was encountered while trying to use a ukrainet Linux - General 10 06-24-2005 03:23 AM
Redhat 9 server internet dies, goes up on internal ping. loewen Linux - Networking 3 09-04-2004 04:21 PM


All times are GMT -5. The time now is 05:39 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration