Internal Server Error phpMyAdmin CentOs - php

my site is running great as it should but today i had to loggin to phpMyAdmin and i keep getting Internal Server Error.
i have chacked all permissions etc but no luck
phpMyAdmin is located in /usr/local/apache/htdocs/phpMyAdmin iam using CentOS and as webpanel CentOS WEBPANEL? any ideas what could the problem be here is my error log
[Sun Apr 05 19:24:15 2009] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sun Apr 05 19:24:15 2009] [notice] Digest: generating secret for digest authentication ...
[Sun Apr 05 19:24:15 2009] [notice] Digest: done
[Sun Apr 05 19:24:15 2009] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
[Sun Apr 05 19:26:23 2009] [notice] caught SIGTERM, shutting down
[Sun Apr 05 19:28:34 2009] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sun Apr 05 19:28:34 2009] [notice] Digest: generating secret for digest authentication ...
[Sun Apr 05 19:28:34 2009] [notice] Digest: done
[Sun Apr 05 19:28:34 2009] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
[Sun Apr 05 19:36:24 2009] [notice] caught SIGTERM, shutting down
[Tue Dec 30 16:39:08 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Dec 30 16:39:08 2014] [notice] Digest: generating secret for digest authentication ...
[Tue Dec 30 16:39:08 2014] [notice] Digest: done
[Tue Dec 30 16:39:08 2014] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
[Tue Dec 30 16:39:32 2014] [error] [client ip] Directory index forbidden by Options directive: /var/www/html/
[Tue Dec 30 16:39:33 2014] [error] [client ip] Directory index forbidden by Options directive: /var/www/html/
[Tue Dec 30 16:39:34 2014] [error] [client ip] File does not exist: /var/www/html/favicon.ico
[Tue Dec 30 16:39:36 2014] [error] [client ip] Directory index forbidden by Options directive: /var/www/html/
[Tue Dec 30 16:39:53 2014] [error] [client ip] Directory index forbidden by Options directive: /var/www/html/
[Tue Dec 30 16:39:57 2014] [error] [client ip] Directory index forbidden by Options directive: /var/www/html/
[Tue Dec 30 16:39:58 2014] [error] [client ip] Directory index forbidden by Options directive: /var/www/html/
[Tue Dec 30 16:41:25 2014] [error] [client ip] Directory index forbidden by Options directive: /var/www/html/
[Tue Dec 30 16:50:49 2014] [error] [client ip] Directory index forbidden by Options directive: /var/www/html/
[Tue Dec 30 16:50:52 2014] [error] [client ip] Directory index forbidden by Options directive: /var/www/html/
[Tue Dec 30 16:50:55 2014] [error] [client ip] Directory index forbidden by Options directive: /var/www/html/
[Tue Dec 30 16:50:57 2014] [error] [client ip] Directory index forbidden by Options directive: /var/www/html/
[Tue Dec 30 16:51:00 2014] [error] [client ip] Directory index forbidden by Options directive: /var/www/html/
[Tue Dec 30 16:51:06 2014] [error] [client ip] Directory index forbidden by Options directive: /var/www/html/
[Tue Dec 30 16:53:18 2014] [error] [client my ip] Directory index forbidden by Options directive: /var/www/html/
[Tue Dec 30 16:53:18 2014] [error] [client my ip] Directory index forbidden by Options directive: /var/www/html/
[Tue Dec 30 16:53:22 2014] [error] [client my ip] Directory index forbidden by Options directive: /var/www/html/
[Tue Dec 30 16:55:19 2014] [notice] caught SIGTERM, shutting down
[Tue Dec 30 16:55:20 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Dec 30 16:55:20 2014] [notice] Digest: generating secret for digest authentication ...
[Tue Dec 30 16:55:20 2014] [notice] Digest: done
[Tue Dec 30 16:55:20 2014] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
[Tue Dec 30 16:56:19 2014] [notice] caught SIGTERM, shutting down

Your apache configuration is not setup to serve the php admin files.
[http://httpd.apache.org/docs/2.2/urlmapping.html][1]
Alias /usr/local/apache/htdocs/phpMyAdmin /phpMyAdmin
In a .conf file should solve the issue.
You will then be able to access it via /phpMyAdmin

Related

PHP stops serving requests after awhile and returns errors 502 - 504

I currently have a Amazon EC2 instance (t3.small) running Apache and PHP 7.2 which serves a Laravel application.
After running for awhile, php will stop responding to requests (apache still receives them and forwards them to php, verified this using apachetop to see incoming requests). In Apache, there will errors such as follows and returns errors 502-504 and takes very long to recover until restarted. Here are some logs which might help find the issue.
[Wed Jan 20 05:25:57.287493 2021] [proxy_fcgi:error] [pid 2517:tid 140104425260800] (104)Connection reset by peer: [client 172.31.40.9:6946] AH01075: Error dispatching request to : , referer: https://mysite
[Wed Jan 20 05:25:59.608161 2021] [suexec:notice] [pid 3853:tid 139828464464448] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Wed Jan 20 05:25:59.627458 2021] [so:warn] [pid 3853:tid 139828464464448] AH01574: module headers_module is already loaded, skipping
[Wed Jan 20 05:25:59.627877 2021] [so:warn] [pid 3853:tid 139828464464448] AH01574: module cgid_module is already loaded, skipping
[Wed Jan 20 05:25:59.633440 2021] [mpm_event:warn] [pid 3853:tid 139828464464448] AH00514: MaxRequestWorkers of 404 is not an integer multiple of ThreadsPerChild of 25, decreasing to nearest multiple 400
[Wed Jan 20 05:25:59.636514 2021] [lbmethod_heartbeat:notice] [pid 3853:tid 139828464464448] AH02282: No slotmem from mod_heartmonitor
[Wed Jan 20 05:25:59.648040 2021] [mpm_event:notice] [pid 3853:tid 139828464464448] AH00489: Apache/2.4.46 () OpenSSL/1.0.2k-fips configured -- resuming normal operations
[Wed Jan 20 05:25:59.648081 2021] [core:notice] [pid 3853:tid 139828464464448] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Wed Jan 20 05:28:48.232549 2021] [proxy:error] [pid 3897:tid 139827752199936] (111)Connection refused: AH02454: FCGI: attempt to connect to Unix domain socket /run/php-fpm/www.sock (*) failed
[Wed Jan 20 05:28:48.232596 2021] [proxy_fcgi:error] [pid 3897:tid 139827752199936] [client 172.31.40.9:8904] AH01079: failed to make connection to backend: httpd-UDS, referer: https://mysite
[Wed Jan 20 05:28:48.243356 2021] [proxy:error] [pid 4144:tid 139827743807232] (2)No such file or directory: AH02454: FCGI: attempt to connect to Unix domain socket /run/php-fpm/www.sock (*) failed
[Wed Jan 20 05:28:48.243356 2021] [proxy:error] [pid 4144:tid 139826972038912] (2)No such file or directory: AH02454: FCGI: attempt to connect to Unix domain socket /run/php-fpm/www.sock (*) failed
[Wed Jan 20 06:46:28.744679 2021] [proxy_fcgi:error] [pid 6584:tid 139720269829888] [client 172.31.40.9:14942] AH01067: Failed to read FastCGI header, referer: https://mysite
[Wed Jan 20 06:46:28.744687 2021] [proxy_fcgi:error] [pid 6584:tid 139720269829888] (104)Connection reset by peer: [client 172.31.40.9:14942] AH01075: Error dispatching request to : , referer: https://mysite
[Wed Jan 20 06:46:31.657254 2021] [mpm_event:notice] [pid 6559:tid 139720919990848] AH00492: caught SIGWINCH, shutting down gracefully
[Wed Jan 20 06:46:32.729979 2021] [suexec:notice] [pid 6937:tid 140554580320832] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
But, by having a cron job that runs php artisan schedule:run every minute, this behavior of not 'serving any request' will not occur.
So, I'm wondering if it is a configuration issue or is it something else?

Permission denied with 777 httpd service fedora

I have a computer with Fedora and when I start an httpd service and I try to open a page where I use a simple file_put_contents it says that I haven't enough permissions to do that. So I change the permission of the folder to 777 but it continues to not work.
Same thing happens whit a project made with laravel. When I open index.php in public folder it says that can't do file_put_content in services.json
Does anyone knows why?
Last 10 rows of error log:
[pid 12387] [client 127.0.0.1:50884] PHP Warning: file_put_contents(/var/www/html/file.txt): failed to open stream: Permission denied in /var/www/html/info.php on line 2
[Fri Jun 05 12:01:48.351406 2015] [mpm_prefork:notice] [pid 12385] AH00170: caught SIGWINCH, shutting down gracefully
[Fri Jun 05 12:01:49.438875 2015] [core:notice] [pid 13460] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0
[Fri Jun 05 12:01:49.439637 2015] [suexec:notice] [pid 13460] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Fri Jun 05 12:01:49.463336 2015] [auth_digest:notice] [pid 13460] AH01757: generating secret for digest authentication ...
[Fri Jun 05 12:01:49.464443 2015] [lbmethod_heartbeat:notice] [pid 13460] AH02282: No slotmem from mod_heartmonitor
[Fri Jun 05 12:01:49.482226 2015] [mpm_prefork:notice] [pid 13460] AH00163: Apache/2.4.12 (Fedora) PHP/5.6.9 configured -- resuming normal operations
[Fri Jun 05 12:01:49.482278 2015] [core:notice] [pid 13460] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Fri Jun 05 12:02:00.599063 2015] [:error] [pid 13462] [client 127.0.0.1:50902] PHP Warning: file_put_contents(/var/www/html/file.txt): failed to open stream: Permission denied in /var/www/html/info.php on line 2
[Fri Jun 05 12:02:01.589609 2015] [:error] [pid 13462] [client 127.0.0.1:50902] PHP Warning: file_put_contents(/var/www/html/file.txt): failed to open stream: Permission denied in /var/www/html/info.php on line 2

Apache 2.4 + php-fpm - AH01071: Got error 'Primary script unknown\n' mod_proxy_balancer

I'm configuring an Apache 2.4.9 with php-fpm 5.5.9 in my Ubuntu 14.04. What I want is to make a balancer for the php-fpm requests but It throws the following error:
AH01071: Got error 'Primary script unknown\n'
When I try to access my php file. It seems that proxy balancer doesn't grab the document root passed by ProxyPassMatch to it. I'm using UDS to make apache access the php-fpm sockets instead of using network tcp.
If I configure it without balancer, everything works fine.
WORKS
ProxyPassMatch ^/(.*\.php(/.*)?)$ unix:/var/run/php5-fpm.sock1|fcgi://./var/www/html
NOT WORKS
ProxyPassMatch ^/(.*\.php(/.*)?)$ balancer://localhost/var/www/html
<Proxy balancer://localhost/>
BalancerMember unix:/var/run/php5-fpm.sock1|fcgi://localhost:9001
BalancerMember unix:/var/run/php5-fpm.sock2|fcgi://localhost:9002
BalancerMember unix:/var/run/php5-fpm.sock3|fcgi://localhost:9003
BalancerMember unix:/var/run/php5-fpm.sock4|fcgi://localhost:9004
</Proxy>
This is the balancer's config log:
[Sun Jun 15 12:32:30.839726 2014] [authz_core:debug] [pid 12217:tid 140330025703168] mod_authz_core.c(828): [client 10.1.1.2:52526] AH01628: authorization result: granted (no directives)
[Sun Jun 15 12:32:30.839899 2014] [lbmethod_byrequests:debug] [pid 12217:tid 140330025703168] mod_lbmethod_byrequests.c(97): AH01207: proxy: Entering byrequests for BALANCER (balancer://localhost)
[Sun Jun 15 12:32:30.839915 2014] [lbmethod_byrequests:debug] [pid 12217:tid 140330025703168] mod_lbmethod_byrequests.c(144): AH01208: proxy: byrequests selected worker "fcgi://localhost:9001" : busy 0 : lbstatus -3
[Sun Jun 15 12:32:30.839929 2014] [proxy_balancer:debug] [pid 12217:tid 140330025703168] mod_proxy_balancer.c(616): [client 10.1.1.2:52526] AH01172: balancer://localhost: worker (fcgi://localhost:9001) rewritten to fcgi://localhost:9001/var/www/html/info.php
[Sun Jun 15 12:32:30.839942 2014] [proxy:debug] [pid 12217:tid 140330025703168] proxy_util.c(1761): AH00924: worker unix:/var/run/php5-fpm.sock1|fcgi://localhost:9001 shared already initialized
[Sun Jun 15 12:32:30.839958 2014] [proxy:debug] [pid 12217:tid 140330025703168] proxy_util.c(1808): AH00927: initializing worker unix:/var/run/php5-fpm.sock1|fcgi://localhost:9001 local
[Sun Jun 15 12:32:30.840004 2014] [proxy:debug] [pid 12217:tid 140330025703168] proxy_util.c(1843): AH00930: initialized pool in child 12217 for (localhost) min=0 max=25 smax=25
[Sun Jun 15 12:32:30.840018 2014] [proxy:debug] [pid 12217:tid 140330025703168] mod_proxy.c(1138): [client 10.1.1.2:52526] AH01143: Running scheme balancer handler (attempt 0)
[Sun Jun 15 12:32:30.840039 2014] [proxy_fcgi:debug] [pid 12217:tid 140330025703168] mod_proxy_fcgi.c(768): [client 10.1.1.2:52526] AH01076: url: fcgi://localhost:9001/var/www/html/info.php proxyname: (null) proxyport: 0
[Sun Jun 15 12:32:30.840058 2014] [proxy_fcgi:debug] [pid 12217:tid 140330025703168] mod_proxy_fcgi.c(775): [client 10.1.1.2:52526] AH01078: serving URL fcgi://localhost:9001/var/www/html/info.php
[Sun Jun 15 12:32:30.840090 2014] [proxy:debug] [pid 12217:tid 140330025703168] proxy_util.c(2094): AH00942: FCGI: has acquired connection for (localhost)
[Sun Jun 15 12:32:30.840102 2014] [proxy:debug] [pid 12217:tid 140330025703168] proxy_util.c(2108): AH02545: FCGI: has determined UDS as /var/run/php5-fpm.sock1
[Sun Jun 15 12:32:30.840115 2014] [proxy:debug] [pid 12217:tid 140330025703168] proxy_util.c(2169): [client 10.1.1.2:52526] AH00944: connecting fcgi://localhost:9001/var/www/html/info.php to localhost:9001
[Sun Jun 15 12:32:30.840134 2014] [proxy:debug] [pid 12217:tid 140330025703168] proxy_util.c(2304): [client 10.1.1.2:52526] AH00947: connected /var/www/html/info.php to localhost:9001
[Sun Jun 15 12:32:30.840272 2014] [authz_core:debug] [pid 12217:tid 140330025703168] mod_authz_core.c(828): [client 10.1.1.2:52526] AH01628: authorization result: granted (no directives)
[Sun Jun 15 12:32:30.842988 2014] [proxy_fcgi:error] [pid 12217:tid 140330025703168] [client 10.1.1.2:52526] AH01071: Got error 'Primary script unknown\n'
[Sun Jun 15 12:32:30.843095 2014] [proxy:debug] [pid 12217:tid 140330025703168] proxy_util.c(2132): AH00943: FCGI: has released connection for (localhost)
[Sun Jun 15 12:32:30.843134 2014] [proxy_balancer:debug] [pid 12217:tid 140330025703168] mod_proxy_balancer.c(670): [client 10.1.1.2:52526] AH01176: proxy_balancer_post_request for (balancer://localhost)
[Sun Jun 15 12:32:30.978315 2014] [authz_core:debug] [pid 12217:tid 140330017310464] mod_authz_core.c(802): [client 10.1.1.2:52526] AH01626: authorization result of Require all granted: granted
[Sun Jun 15 12:32:30.978346 2014] [authz_core:debug] [pid 12217:tid 140330017310464] mod_authz_core.c(802): [client 10.1.1.2:52526] AH01626: authorization result of <RequireAny>: granted
[Sun Jun 15 12:32:30.978387 2014] [core:info] [pid 12217:tid 140330017310464] [client 10.1.1.2:52526] AH00128: File does not exist: /var/www/html/favicon.ico
tcpdump can be helpful in this case.
tcpdump port 9001 -A | strings
It will show you where apache try to find your primary file

Magento mass reindexing gives internal server error

How can we reindex a Magento 1.7.02 version site having more than 24,000 products and hundreds of categories?
When I try to reindex the product price index in Magento Admin Index Management, it generates an internal Server Error 500. When I checked the server log for errors it shows up with messages:
home2/mysitete/public_html/403.shtml
[Wed Jun 04 22:15:03 2014] [error] [client 101.0.79.114] client denied by server configuration: /home2/mysitete/public_html/ultimate4wheel/app/etc/local.xml
[Wed Jun 04 22:14:37 2014] [error] [client 202.191.65.162] File does not exist: /home2/mysitete/public_html/404.shtml
[Wed Jun 04 22:14:37 2014] [error] [client 202.191.65.162] File does not exist: /home2/mysitete/public_html/favicon.ico
[Wed Jun 04 22:14:36 2014] [error] [client 202.191.65.162] File does not exist: /home2/mysitete/public_html/500.shtml, referer: http://mysitetest.com.au/ultimate4wheel/index.php/admin/process/edit/process/4/key/e7cfe1aaf5b456e018f28e488e42a4bd/
[Wed Jun 04 22:13:51 2014] [error] [client 101.0.79.114] File does not exist: /home2/mysitete/public_html/403.shtml
[Wed Jun 04 22:13:51 2014] [error] [client 101.0.79.114] client denied by server configuration: /home2/mysitete/public_html/ultimate4wheel/app/etc/local.xml
[Wed Jun 04 22:13:48 2014] [error] [client 101.0.79.114] File does not exist: /home2/mysitete/public_html/403.shtml
[Wed Jun 04 22:13:48 2014] [error] [client 101.0.79.114] client denied by server configuration: /home2/mysitete/public_html/ultimate4wheel/app/etc/local.xml
[Wed Jun 04 22:13:43 2014] [error] [client 101.0.79.114] File does not exist: /home2/mysitete/public_html/403.shtml
[Wed Jun 04 22:13:43 2014] [error] [client 101.0.79.114] client denied by server configuration: /home2/mysitete/public_html/ultimate4wheel/app/etc/local.xml
[Wed Jun 04 22:13:35 2014] [error] [client 101.0.79.114] File does not exist: /home2/mysitete/public_html/403.shtml
[Wed Jun 04 22:13:35 2014] [error] [client 101.0.79.114] client denied by server configuration: /home2/mysitete/public_html/ultimate4wheel/app/etc/local.xml
[Wed Jun 04 22:13:21 2014] [error] [client 101.0.79.114] File does not exist: /home2/mysitete/public_html/403.shtml
[Wed Jun 04 22:13:21 2014] [error] [client 101.0.79.114] client denied by server configuration: /home2/mysitete/public_html/ultimate4wheel/app/etc/local.xml
[Wed Jun 04 22:12:06 2014] [error] [client 101.0.79.114] File does not exist: /home2/mysitete/public_html/403.sht
Can anyone help me to solve it... or reindex correctly?
I have also tried increasing time limit, memory limit, skipping security, etc. but didn't work as I wrote in .htaccess file:
php_value memory_limit 2836M
php_value max_execution_time 2592000
php_value max_input_time 2592000
php_value session.gc_maxlifetime 864000
php_value session.cookie_lifetime 864000
php_value max_input_vars 50000
For mass re-indexing you should always try command prompt.
Go to your project path through command line:
cd path/to/your/project/folder
And then open "Shell" folder
cd shell
And then do the following command to re-index all indexes.
php indexer.php --reindexall
For more info go through this link.
Magento link

OpenSSL configuration for PHP on Apache not working

I need OpenSSL working on an Apache 2 Webserver with PHP in order to use a combination of Moodle and Mahara with SSO.
The Server is running Ubuntu 10.04.3 and I've enabled the SSL package as described here. I've also followed these steps for setting up the certificates. Manually creating them worked fine.
However, Mahara does not see OpenSSL as correctly configured:
Could not generate a new SSL key. Are you sure that both openssl and the PHP module for openssl are installed on this machine?
This is from the Apache error.log after starting the server:
[Thu Aug 25 10:38:06 2011] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Thu Aug 25 10:38:06 2011] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Thu Aug 25 10:38:06 2011] [warn] Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
PHP Deprecated: Comments starting with '#' are deprecated in /etc/php5/apache2/conf.d/imap.ini on line 1 in Unknown on line 0
[Thu Aug 25 10:38:06 2011] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Thu Aug 25 10:38:06 2011] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Thu Aug 25 10:38:06 2011] [warn] Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
[Thu Aug 25 10:38:06 2011] [notice] Apache/2.2.14 (Ubuntu) mod_ssl/2.2.14 OpenSSL/0.9.8k configured -- resuming normal operations
And this is what I get when visiting Maharas networking page, which says it couldn't find OpenSSL:
[Thu Aug 25 10:45:26 2011] [error] [client xx.xx.xx.xx] [WAR] 6d (api/xmlrpc/lib.php:1324) openssl_csr_new(): dn: add_entry_by_NID 17 -> Mahara for example.com (failed), referer: http://example.com/mahara/admin/
[Thu Aug 25 10:45:26 2011] [error] [client xx.xx.xx.xx] Call stack (most recent first):, referer: http://example.com/mahara/admin/
[Thu Aug 25 10:45:26 2011] [error] [client xx.xx.xx.xx] * log_message("openssl_csr_new(): dn: add_entry_by_NID 17 -> Maha...", 8, true, true, "/var/www/mahara/api/xmlrpc/lib.php", 1324) at /var/www/mahara/lib/errors.php:446, referer: http://example.com/mahara/admin/
[Thu Aug 25 10:45:26 2011] [error] [client xx.xx.xx.xx] * error(2, "openssl_csr_new(): dn: add_entry_by_NID 17 -> Maha...", "/var/www/mahara/api/xmlrpc/lib.php", 1324, array(size 11)) at Unknown:0, referer: http://example.com/mahara/admin/
[Thu Aug 25 10:45:26 2011] [error] [client xx.xx.xx.xx] * openssl_csr_new(array(size 7), resource(#22), array(size 1)) at /var/www/mahara/api/xmlrpc/lib.php:1324, referer: http://example.com/mahara/admin/
[Thu Aug 25 10:45:26 2011] [error] [client xx.xx.xx.xx] * OpenSslRepo->generate_keypair() at /var/www/mahara/api/xmlrpc/lib.php:1238, referer: http://example.com/mahara/admin/
[Thu Aug 25 10:45:26 2011] [error] [client xx.xx.xx.xx] * OpenSslRepo->get_keypair() at /var/www/mahara/api/xmlrpc/lib.php:1145, referer: http://example.com/mahara/admin/
[Thu Aug 25 10:45:26 2011] [error] [client xx.xx.xx.xx] * OpenSslRepo->__construct() at /var/www/mahara/api/xmlrpc/lib.php:1131, referer: http://example.com/mahara/admin/
[Thu Aug 25 10:45:26 2011] [error] [client xx.xx.xx.xx] * OpenSslRepo::singleton() at /var/www/mahara/admin/site/networking.php:56, referer: http://example.com/mahara/admin/
[Thu Aug 25 10:45:26 2011] [error] [client xx.xx.xx.xx] , referer: http://example.com/mahara/admin/
[Thu Aug 25 10:45:26 2011] [error] [client xx.xx.xx.xx] [WAR] 6d (api/xmlrpc/lib.php:1328) Could not generate a new SSL key. Are you sure that both openssl and the PHP module for openssl are installed on this machine?, referer: http://example.com/mahara/admin/
[Thu Aug 25 10:45:26 2011] [error] [client xx.xx.xx.xx] Call stack (most recent first):, referer: http://example.com/mahara/admin/
[Thu Aug 25 10:45:26 2011] [error] [client xx.xx.xx.xx] * OpenSslRepo->generate_keypair() at /var/www/mahara/api/xmlrpc/lib.php:1238, referer: http://example.com/mahara/admin/
[Thu Aug 25 10:45:26 2011] [error] [client xx.xx.xx.xx] * OpenSslRepo->get_keypair() at /var/www/mahara/api/xmlrpc/lib.php:1145, referer: http://example.com/mahara/admin/
[Thu Aug 25 10:45:26 2011] [error] [client xx.xx.xx.xx] * OpenSslRepo->__construct() at /var/www/mahara/api/xmlrpc/lib.php:1131, referer: http://example.com/mahara/admin/
[Thu Aug 25 10:45:26 2011] [error] [client xx.xx.xx.xx] * OpenSslRepo::singleton() at /var/www/mahara/admin/site/networking.php:56, referer: http://example.com/mahara/admin/
[Thu Aug 25 10:45:26 2011] [error] [client xx.xx.xx.xx] , referer: http://example.com/mahara/admin/
I don't quite get it. What exactly is wrong?
Edit: Just to clarify: The issue seems to be with PHP, the Apache seems fine: Apache/2.2.14 (Ubuntu) mod_ssl/2.2.14 OpenSSL/0.9.8k configured -- resuming normal operations

Categories