Link to home
Start Free TrialLog in
Avatar of Cemtey
Cemtey

asked on

Internal server error 500 when trying to read webmail on cPanel

What could be wrong when Im getting this error?

[code]Internal Server Error
      Unable to open engine binary (php) at cpsrvd-ssl.pl line 4990
      main::phpHandler() called at cpsrvd-ssl.pl line 3764
      main::dodoc_webmaild() called at cpsrvd-ssl.pl line 700
      main::dodoc() called at cpsrvd-ssl.pl line 602

     

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

cpsrvd/11.2.2 Server at mydomain.com[/CODE]
Avatar of Zeracles
Zeracles

Looks like it cannod find php binary - maybe you should add path to the script

$ whereis php
php: /etc/php /usr/local/bin/php /usr/local/lib/php

$ whereis php5
php5: /etc/php5 /usr/local/php5
Avatar of Loganathan Natarajan
write a script phpinfo.php

<?php

echo phpinfo();

?>

and ensure the php is runnig.,
Avatar of Cemtey

ASKER

Zeracles, I shall add them into where?
I mean where is that file located at and where inside it should I add thouse lines?

Logudotcom, it gives me following response from my site.
[IMG]http://img65.imageshack.us/img65/549/phpzn7.jpg[/IMG]
Avatar of Cemtey

ASKER

It won't let me post up as a picture ..
URL to it - http://img65.imageshack.us/img65/549/phpzn7.jpg
i think you're not configured or mapped the php setup source binary., something like this, --with-config-file-scan-dir=/etc/php.d'
Avatar of Cemtey

ASKER

Logudotcom, do you mean inside php.ini file?
Avatar of Cemtey

ASKER

or is it linux terminal command?
it is not in php.ini... ., you've compile it with linux terminal ...
Avatar of Cemtey

ASKER

estalc:~ # --with-config-file-scan-dir=/etc/php.d
bash: --with-config-file-scan-dir=/etc/php.d: No such file or directory
estalc:~ #
i guess, problem in web mail or php installation????

<?php

echo "Hello World!";

?>
test.php ... test it this gives output...

Avatar of Cemtey

ASKER

I made test.php file like you told me to.
When I go to mydomain.com/test.php then whole page is white and written on top left Hello World!
So I guess php is working..
Avatar of Cemtey

ASKER

Dnsstuff.com tells me this:
Warn: Mail server host name in greeting

WARNING: One or more of your mailservers is claiming to be a host other than what it really is (the SMTP greeting should be a 3-digit code, followed by a space or a dash, then the host name). If your mailserver sends out E-mail using this domain in its EHLO or HELO, your E-mail might get blocked by anti-spam software. This is also a technical violation of RFC821 4.3 (and RFC2821 4.3.1). Note that the hostname given in the SMTP greeting should have an A record pointing back to the same server. Note that this one test may use a cached DNS record.

mydomain.com claims to be invalid hostname 'estalc': <br />   220-estalc ESMTP Exim 4.68 #1 Thu, 13 Dec 2007 04:09:06 +0200 220-We do not authorize the use of this system to transport unsolicited, 220 and/or bulk e-mail. <br />

Does that mean I should make hostname like 'grd-estalc' instead of 'estalc' ?
Avatar of Cemtey

ASKER

something else.. I mean I belive it's because server reads estalc.mydomain.com as my domain instead of mydomain.com.
eg when I make myself mail address something@mydomain.com then error comes when it reads it as something@estalc.mydomain.com
How to fix that?

WHM -> View Mail Statistics

List of errors
Count - Error
1 - mailman-bounces@estalc.mydomain.com R=fail_remote_domains: The mail server could not deliver mail to mailman-bounces@estalc.mydomain.com. The account or domain may not exist, they may be blacklisted, or missing the proper dns entries.
1 - root@estalc.mydomain.com R=fail_remote_domains: The mail server could not deliver mail to root@estalc.mydomain.com. The account or domain may not exist, they may be blacklisted, or missing the proper dns entries.
Errors encountered: 2
Avatar of Cemtey

ASKER

aight it seems my MX entry was incorrect. now I've changed it and it still gives me error when entering into Horde or Squirrell mail "No input file specified. "
Avatar of Cemtey

ASKER

what could be wrong?
ASKER CERTIFIED SOLUTION
Avatar of Loganathan Natarajan
Loganathan Natarajan
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
No comment has been added to this question in more than 21 days, so it is now classified as abandoned.

I will leave the following recommendation for this question in the Cleanup topic area:
   Accept: logudotcom {http:#20462278}

Any objections should be posted here in the next 4 days. After that time, the question will be closed.

cyberwebservice
Experts Exchange Cleanup Volunteer

Forced accept.

Computer101
EE Admin