LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 12-29-2005, 09:22 AM   #1
redhatlover
LQ Newbie
 
Registered: Apr 2004
Posts: 27

Rep: Reputation: 15
CentOs4.2


Hi,
I installed centos-4.2 in my system.
The problem is cgi script gives error message. The same cgi script is running with Centos-3.4 no problem at all.
Why? please help me
 
Old 12-29-2005, 09:47 AM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
What is the error message?
 
Old 12-29-2005, 01:52 PM   #3
redhatlover
LQ Newbie
 
Registered: Apr 2004
Posts: 27

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by XavierP
What is the error message?
Hi XavierP,
this is my error message

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, root@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.


--------------------------------------------------------------------------------

Apache/2.0.52 (CentOS) Server at * * * * * * Port 80


BUT WHEN I RUN HELLO WORLD, It works fine no error message

#!/usr/bin/perl -wT
print "Content-type: text/html\n\n";
print "Hello, world!\n";
 
Old 01-03-2006, 11:57 PM   #4
born4linux
Senior Member
 
Registered: Sep 2002
Location: Philippines
Distribution: Slackware, RHEL&variants, AIX, SuSE
Posts: 1,127

Rep: Reputation: 49
must be SELinux. if your server is not exposed to the internet (and you trust your network), run "setenforce 0" and then retry accessing the cgi script.

and check your log files for a clearer view of the problem.
 
  


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
centos4, can not install kernel source code lnthai2002 Linux - Enterprise 2 12-20-2005 02:54 PM
true RAID1 mirroring - centOS4.2 distrib funtazz Linux - Hardware 2 11-04-2005 03:14 PM
CentOS4:What's wrong with Arureus?? jasmines4u Linux - Newbie 2 08-31-2005 11:30 PM
KDE Splash Screen Theme for CentOS4? luminousnerd Linux - Software 2 08-08-2005 04:47 PM
How do I install 'unrar' in RHEL4/CentOS4.1 aratis Red Hat 3 07-20-2005 02:14 AM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 05:59 AM.

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