Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
Hello, i have successfully installed mysql, openssl, apache, qmail,
vpopmail and qmailadmin without any errors. when i type http://localhost/cgi-bin/qmailadmin at the browser, i get this error:
internal server error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, postmaster@gokahgh.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
I am using FC5. I have googled for sometime now but cannot fix this problem
Distribution: Red Hat CentOS Ubuntu FreeBSD OpenSuSe
Posts: 252
Rep:
Quote:
Originally Posted by gokahd
Hello, i have successfully installed mysql, openssl, apache, qmail,
vpopmail and qmailadmin without any errors. when i type http://localhost/cgi-bin/qmailadmin at the browser, i get this error:
internal server error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, postmaster@gokahgh.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
I am using FC5. I have googled for sometime now but cannot fix this problem
Any help is deeply appreciated. Thanks
check the path of of your URL if it is valid on the apache configuration.
Please i am a newbie setting up a mail server.
i have googled to search for the log file of the server i am creating but to no avail. Please can you tell me where the log file of the mail server is residing? This will help me to detect where the error is and google for the solution
secondly i don't know how to check if my cgi-bin is executable.
Thanks for any reply.
Before anything else you should check if this isn't a selinux problem.
Run
Code:
setenforce 0
to disable it and check if it works.
No regarding your question:
Quote:
i have googled to search for the log file of the server i am creating but to no avail. Please can you tell me where the log file of the mail server is residing? This will help me to detect where the error is and google for the solution
You didn't say how you've installed apache. If you've installed it from rpm, then the apache config file should be in /etc/httpd/conf/httpd.conf. So run
Code:
grep ErrorLog /etc/httpd/conf/httpd.conf
to find the location of the error_log.
Quote:
secondly i don't know how to check if my cgi-bin is executable.
It depends from where you installed qmailadmin. You can post here how you've installed it, or you can use:
Code:
updatedb
locate cgi-bin/qmailadmin
to find the full path to qmailadmin. After that, run:
Sorry i could'nt reply early enough. we closed from work and i went home.
I am very grateful for all your responses.
I disabled SElinux while installing the FC5 operating system.
I also installed the .tar.gz file of apache version 1.3.37
I have located the path to cgi-bin/qmailadmin it is at /usr/local/apache/cgi-bin/qmailadmin
I have also chmod + x /usr/local/apache/cgi-bin/qmailadmin and went to the browser and typed http://localhost/cgi-bin/qmailadmin but still had the internal server error.
Is there anything else i could do to solve this. Thanks
I also installed the .tar.gz file of apache version 1.3.37
So you have installed apache from source using the default prefix: /usr/local/apache. That means that the log files are in //usr/local/apache/logs. You can
Hello when i do tail /usr/local/apache/logs/error_log, i get the following errors:
[Wed Feb 25 08:00:34 2009] [notice] Apache/1.3.37 (Unix) PHP/4.4.6 configured -- resuming normal operations
[Wed Feb 25 08:00:35 2009] [notice] Accept mutex: sysvsem (Default: sysvsem)
qmailadmin: error while loading shared libraries: libmysqlclient.so.15: cannot open shared object file: No such file or directory
[Wed Feb 25 08:21:13 2009] [error] [client 127.0.0.1] Premature end of script headers: /usr/local/apache/cgi-bin/qmailadmin
qmailadmin: error while loading shared libraries: libmysqlclient.so.15: cannot open shared object file: No such file or directory
[Wed Feb 25 08:24:01 2009] [error] [client 127.0.0.1] Premature end of script headers: /usr/local/apache/cgi-bin/qmailadmin
qmailadmin: error while loading shared libraries: libmysqlclient.so.15: cannot open shared object file: No such file or directory
[Wed Feb 25 09:01:57 2009] [error] [client 127.0.0.1] Premature end of script headers: /usr/local/apache/cgi-bin/qmailadmin
qmailadmin: error while loading shared libraries: libmysqlclient.so.15: cannot open shared object file: No such file or directory
[Wed Feb 25 09:06:46 2009] [error] [client 127.0.0.1] Premature end of script headers: /usr/local/apache/cgi-bin/qmailadmin
I am still googling to find the solution. if in case you know the solution, then kindly help me. Thank you very much.
I did
vi /etc/ld.so.conf
and added
/usr/local/mysql-5.0.45-linux-i686-glibc23/lib to /etc/ld.so.conf
and did
ldconfig and had
ldconfig: /usr/local/mysql-5.0.45-linux-i686-glibc23/lib/libmysqlclient_r.so.15 is not a symbolic link
ldconfig: /usr/local/mysql-5.0.45-linux-i686-glibc23/lib/libmysqlclient.so.15 is not a symbolic link
ldconfig: /usr/local/mysql-5.0.45-linux-i686-glibc23/lib/libndbclient.so.2 is not a symbolic link
qmailadmin: error while loading shared libraries: libmysqlclient.so.15: cannot open shared object file: No such file or directory
[Wed Feb 25 09:06:46 2009] [error] [client 127.0.0.1] Premature end of script headers: /usr/local/apache/cgi-bin/qmailadmin
[Wed Feb 25 10:39:58 2009] [warn] pid file /usr/local/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Wed Feb 25 10:39:58 2009] [notice] Apache/1.3.37 (Unix) PHP/4.4.6 configured -- resuming normal operations
[Wed Feb 25 10:39:58 2009] [notice] Accept mutex: sysvsem (Default: sysvsem)
qmailadmin: error while loading shared libraries: libmysqlclient.so.15: cannot open shared object file: No such file or directory
[Wed Feb 25 11:00:51 2009] [error] [client 127.0.0.1] Premature end of script headers: /usr/local/apache/cgi-bin/qmailadmin
[Wed Feb 25 11:00:51 2009] [error] [client 127.0.0.1] File does not exist: /usr/local/apache/htdocs/favicon.ico
qmailadmin: error while loading shared libraries: libmysqlclient.so.15: cannot open shared object file: No such file or directory
[Wed Feb 25 11:13:01 2009] [error] [client 127.0.0.1] Premature end of script headers: /usr/local/apache/cgi-bin/qmailadmin
I don't have the libndbclient.so.2 library but the procedure is the same. Delete the file with the .2 extension and create a symlink to .2.0.0 (or whatever its complete name is).
After that run ldconfig again, restart apache and look at the error_log
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.