httpd server not loading sending web page - php

I am running an linux server amazon EC2 instance.
The httpd server was fine and I just checked and is no longer working. I am not sure what happened. It is not giving out any output.
Log at end of question...
The log doesn't appear to have any information related to error in load content on requests.
I am using a log file located here: /etc/httpd/logs/error_log is there another one?
I had a few virtual servers that redirect subdomains which were working, I temporarily removed them incase they are related to the issue.
I have restart the httpd server a few times and still nothing.
Also my www directory has an index.php and i put a index.html in there for good luck.
Any help would be greatly appreciated.
[Wed Apr 25 10:50:18 2012] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Wed Apr 25 10:50:18 2012] [info] Init: Seeding PRNG with 256 bytes of entropy
[Wed Apr 25 10:50:18 2012] [info] Init: Generating temporary RSA private keys (512/1024 bits)
[Wed Apr 25 10:50:19 2012] [info] Init: Generating temporary DH parameters (512/1024 bits)
[Wed Apr 25 10:50:19 2012] [info] Init: Initializing (virtual) servers for SSL
[Wed Apr 25 10:50:19 2012] [info] mod_ssl/2.2.9 compiled against Server: Apache/2.2.9, Library: OpenSSL/0.9.8b
[Wed Apr 25 10:50:19 2012] [notice] Digest: generating secret for digest authentication ...
[Wed Apr 25 10:50:19 2012] [notice] Digest: done
[Wed Apr 25 10:50:19 2012] [debug] util_ldap.c(1977): LDAP merging Shared Cache conf: shm=0x8009e420 rmm=0x8009e450 for VHOST: domU-12-31-39-0A-1D-16.compute-1.internal
[Wed Apr 25 10:50:19 2012] [info] APR LDAP: Built with OpenLDAP LDAP SDK
[Wed Apr 25 10:50:19 2012] [info] LDAP: SSL support available
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/memcache.so' - /usr/lib/php/modules/memcache.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: Module 'gd' already loaded in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/memcache.so' - /usr/lib/php/modules/memcache.so: cannot open shared object file: No such file or directory in Unknown on line 0
[Wed Apr 25 10:50:19 2012] [info] Init: Seeding PRNG with 256 bytes of entropy
[Wed Apr 25 10:50:19 2012] [info] Init: Generating temporary RSA private keys (512/1024 bits)
[Wed Apr 25 10:50:19 2012] [info] Init: Generating temporary DH parameters (512/1024 bits)
[Wed Apr 25 10:50:19 2012] [debug] ssl_scache_shmcb.c(374): shmcb_init allocated 512000 bytes of shared memory
[Wed Apr 25 10:50:19 2012] [debug] ssl_scache_shmcb.c(554): entered shmcb_init_memory()
[Wed Apr 25 10:50:19 2012] [debug] ssl_scache_shmcb.c(576): for 512000 bytes, recommending 4266 indexes
[Wed Apr 25 10:50:19 2012] [debug] ssl_scache_shmcb.c(619): shmcb_init_memory choices follow
[Wed Apr 25 10:50:19 2012] [debug] ssl_scache_shmcb.c(621): division_mask = 0x1F
[Wed Apr 25 10:50:19 2012] [debug] ssl_scache_shmcb.c(623): division_offset = 64
[Wed Apr 25 10:50:19 2012] [debug] ssl_scache_shmcb.c(625): division_size = 15998
[Wed Apr 25 10:50:19 2012] [debug] ssl_scache_shmcb.c(627): queue_size = 1604
[Wed Apr 25 10:50:19 2012] [debug] ssl_scache_shmcb.c(629): index_num = 133
[Wed Apr 25 10:50:19 2012] [debug] ssl_scache_shmcb.c(631): index_offset = 8
[Wed Apr 25 10:50:19 2012] [debug] ssl_scache_shmcb.c(633): index_size = 12
[Wed Apr 25 10:50:19 2012] [debug] ssl_scache_shmcb.c(635): cache_data_offset = 8
[Wed Apr 25 10:50:19 2012] [debug] ssl_scache_shmcb.c(637): cache_data_size = 14386
[Wed Apr 25 10:50:19 2012] [debug] ssl_scache_shmcb.c(650): leaving shmcb_init_memory()
[Wed Apr 25 10:50:19 2012] [info] Shared memory session cache initialised
[Wed Apr 25 10:50:19 2012] [info] Init: Initializing (virtual) servers for SSL
[Wed Apr 25 10:50:19 2012] [info] mod_ssl/2.2.9 compiled against Server: Apache/2.2.9, Library: OpenSSL/0.9.8b
[Wed Apr 25 10:50:19 2012] [debug] proxy_util.c(1854): proxy: grabbed scoreboard slot 0 in child 14136 for worker proxy:reverse
[Wed Apr 25 10:50:19 2012] [debug] proxy_util.c(1967): proxy: initialized single connection worker 0 in child 14136 for (*)
[Wed Apr 25 10:50:19 2012] [debug] proxy_util.c(1854): proxy: grabbed scoreboard slot 0 in child 14137 for worker proxy:reverse
[Wed Apr 25 10:50:19 2012] [debug] proxy_util.c(1873): proxy: worker proxy:reverse already initialized
[Wed Apr 25 10:50:19 2012] [debug] proxy_util.c(1967): proxy: initialized single connection worker 0 in child 14137 for (*)
[Wed Apr 25 10:50:19 2012] [debug] proxy_util.c(1854): proxy: grabbed scoreboard slot 0 in child 14138 for worker proxy:reverse
[Wed Apr 25 10:50:19 2012] [debug] proxy_util.c(1873): proxy: worker proxy:reverse already initialized
[Wed Apr 25 10:50:19 2012] [debug] proxy_util.c(1967): proxy: initialized single connection worker 0 in child 14138 for (*)
[Wed Apr 25 10:50:19 2012] [debug] proxy_util.c(1873): proxy: worker proxy:reverse already initialized
[Wed Apr 25 10:50:19 2012] [debug] proxy_util.c(1967): proxy: initialized single connection worker 0 in child 14138 for (*)
[Wed Apr 25 10:50:19 2012] [debug] proxy_util.c(1854): proxy: grabbed scoreboard slot 0 in child 14139 for worker proxy:reverse
[Wed Apr 25 10:50:19 2012] [debug] proxy_util.c(1873): proxy: worker proxy:reverse already initialized
[Wed Apr 25 10:50:19 2012] [debug] proxy_util.c(1967): proxy: initialized single connection worker 0 in child 14139 for (*)
[Wed Apr 25 10:50:19 2012] [debug] proxy_util.c(1854): proxy: grabbed scoreboard slot 0 in child 14140 for worker proxy:reverse
[Wed Apr 25 10:50:19 2012] [debug] proxy_util.c(1873): proxy: worker proxy:reverse already initialized
[Wed Apr 25 10:50:19 2012] [debug] proxy_util.c(1967): proxy: initialized single connection worker 0 in child 14140 for (*)
[Wed Apr 25 10:50:19 2012] [debug] proxy_util.c(1854): proxy: grabbed scoreboard slot 0 in child 14141 for worker proxy:reverse
[Wed Apr 25 10:50:19 2012] [debug] proxy_util.c(1873): proxy: worker proxy:reverse already initialized
[Wed Apr 25 10:50:19 2012] [debug] proxy_util.c(1967): proxy: initialized single connection worker 0 in child 14141 for (*)
[Wed Apr 25 10:50:19 2012] [debug] proxy_util.c(1854): proxy: grabbed scoreboard slot 0 in child 14142 for worker proxy:reverse
[Wed Apr 25 10:50:19 2012] [debug] proxy_util.c(1873): proxy: worker proxy:reverse already initialized
[Wed Apr 25 10:50:19 2012] [debug] proxy_util.c(1967): proxy: initialized single connection worker 0 in child 14142 for (*)
[Wed Apr 25 10:50:19 2012] [debug] proxy_util.c(1854): proxy: grabbed scoreboard slot 0 in child 14143 for worker proxy:reverse
[Wed Apr 25 10:50:19 2012] [debug] proxy_util.c(1873): proxy: worker proxy:reverse already initialized
[Wed Apr 25 10:50:19 2012] [debug] proxy_util.c(1967): proxy: initialized single connection worker 0 in child 14143 for (*)
[Wed Apr 25 10:50:19 2012] [notice] Apache/2.2.9 (Unix) DAV/2 PHP/5.2.6 mod_ssl/2.2.9 OpenSSL/0.9.8b configured -- resuming normal operations
[Wed Apr 25 10:50:19 2012] [info] Server built: Jul 14 2008 15:29:50
[Wed Apr 25 10:50:19 2012] [debug] prefork.c(1001): AcceptMutex: sysvsem (default: sysvsem)

I feel like an idiot...
A few months ago I changed my local firewall to be more secure and it was blocking the port(8080) I was trying to connect to.
Thanks anyways.

Related

rewrite url using accents characters with wamp server

I'm here to ask about a strange behaviour of Apache with accents:
this rule works just fine
RewriteRule ^([èéìòùa-zA-Z0-9_\-\s]*)$ index.php?route=$1 [L]
but if i dare to add an 'à'
RewriteRule ^([àèéìòùa-zA-Z0-9_\-\s]*)$ index.php?route=$1 [L]
Apache loses his mind (Yes, I can hear you reading this with the Joker voice)
Can anyone explain this to me?
UPDATE: Error log
[Wed Nov 12 12:49:43 2014] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Wed Nov 12 12:49:43 2014] [notice] Apache/2.2.21 (Win64) mod_ssl/2.2.21 OpenSSL/1.0.0g PHP/5.3.10 configured -- resuming normal operations
[Wed Nov 12 12:49:43 2014] [notice] Server built: Sep 24 2011 19:57:51
[Wed Nov 12 12:49:43 2014] [notice] Parent: Created child process 3304
[Wed Nov 12 12:49:43 2014] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Wed Nov 12 12:49:44 2014] [notice] Child 3304: Child process is running
[Wed Nov 12 12:49:44 2014] [notice] Child 3304: Acquired the start mutex.
[Wed Nov 12 12:49:44 2014] [notice] Child 3304: Starting 64 worker threads.
[Wed Nov 12 12:49:44 2014] [notice] Child 3304: Starting thread to listen on port 80.
[Wed Nov 12 12:49:44 2014] [notice] Child 3304: Starting thread to listen on port 80.

How to upgrade EasyPhp to php 5.4?

The easyphp is currently at 5.3.9, I need the newest. I downloaded the latest php package from php.net, and deleted the old php and copied the new php directory. I try "phpinfo();", first it displays the result, but at the end Windows 7 says apache has crashed. How to upgrate to the newest php? Errors.log:
[Wed May 16 09:38:36 2012] [notice] Apache/2.2.21 (Win32) PHP/5.4.2 configured -- resuming normal operations
[Wed May 16 09:38:36 2012] [notice] Server built: Sep 10 2011 11:34:11
[Wed May 16 09:38:36 2012] [notice] Parent: Created child process 3900
[Wed May 16 09:38:36 2012] [notice] Child 3900: Child process is running
[Wed May 16 09:38:36 2012] [notice] Child 3900: Acquired the start mutex.
[Wed May 16 09:38:36 2012] [notice] Child 3900: Starting 64 worker threads.
[Wed May 16 09:38:36 2012] [notice] Child 3900: Starting thread to listen on port 8887.
[Wed May 16 09:39:03 2012] [notice] Parent: child process exited with status 3221225477 -- Restarting.
[Wed May 16 09:39:04 2012] [notice] Apache/2.2.21 (Win32) PHP/5.4.2 configured -- resuming normal operations
[Wed May 16 09:39:04 2012] [notice] Server built: Sep 10 2011 11:34:11
[Wed May 16 09:39:04 2012] [notice] Parent: Created child process 2764
[Wed May 16 09:39:04 2012] [notice] Child 2764: Child process is running
[Wed May 16 09:39:04 2012] [notice] Child 2764: Acquired the start mutex.
[Wed May 16 09:39:04 2012] [notice] Child 2764: Starting 64 worker threads.
[Wed May 16 09:39:04 2012] [notice] Child 2764: Starting thread to listen on port 8887.
[Wed May 16 09:39:23 2012] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Wed May 16 09:39:23 2012] [notice] Child 2764: Exit event signaled. Child process is ending.
[Wed May 16 09:39:24 2012] [notice] Child 2764: Released the start mutex
[Wed May 16 09:39:25 2012] [notice] Child 2764: All worker threads have exited.
[Wed May 16 09:39:25 2012] [notice] Child 2764: Child process is exiting
[Wed May 16 09:39:25 2012] [notice] Parent: Child process exited successfully.
[Wed May 16 09:40:46 2012] [notice] Apache/2.2.21 (Win32) PHP/5.4.2 configured -- resuming normal operations
[Wed May 16 09:40:46 2012] [notice] Server built: Sep 10 2011 11:34:11
[Wed May 16 09:40:46 2012] [notice] Parent: Created child process 5712
[Wed May 16 09:40:46 2012] [notice] Child 5712: Child process is running
[Wed May 16 09:40:46 2012] [notice] Child 5712: Acquired the start mutex.
[Wed May 16 09:40:46 2012] [notice] Child 5712: Starting 64 worker threads.
[Wed May 16 09:40:46 2012] [notice] Child 5712: Starting thread to listen on port 8887.
[Wed May 16 09:41:01 2012] [notice] Parent: child process exited with status 3221225477 -- Restarting.
[Wed May 16 09:41:01 2012] [notice] Apache/2.2.21 (Win32) PHP/5.4.2 configured -- resuming normal operations
[Wed May 16 09:41:01 2012] [notice] Server built: Sep 10 2011 11:34:11
[Wed May 16 09:41:01 2012] [notice] Parent: Created child process 3972
[Wed May 16 09:41:01 2012] [notice] Child 3972: Child process is running
[Wed May 16 09:41:01 2012] [notice] Child 3972: Acquired the start mutex.
[Wed May 16 09:41:01 2012] [notice] Child 3972: Starting 64 worker threads.
[Wed May 16 09:41:01 2012] [notice] Child 3972: Starting thread to listen on port 8887.
[Wed May 16 09:42:20 2012] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Wed May 16 09:42:20 2012] [notice] Child 3972: Exit event signaled. Child process is ending.
[Wed May 16 09:42:21 2012] [notice] Child 3972: Released the start mutex
[Wed May 16 09:42:22 2012] [notice] Child 3972: All worker threads have exited.
[Wed May 16 09:42:22 2012] [notice] Child 3972: Child process is exiting
[Wed May 16 09:42:22 2012] [notice] Parent: Child process exited successfully.
While not the exact answer you're looking for.. I used to use EasyPHP until I realized that their updates come very, very slowly. Since then I've started using The Uniform Server instead, which offers more or less the same tools, but more frequent updates and can be also run from USB.

Apache2 restart while using wsf/php

I have another problem with framework WSF/PHP. Most of the time (not always, but still), when i run my script it ends with lost connection. There's no error page or anything, just error connecting with host (via localahost).
Here's my code:
<?php
$server_location = "https://some.address";
$clientCert_location = "clientCert.pem";
$CACert_location = "CACert.cer";
$passphrase = "some.password";
$request = file_get_contents("./requests/example.xml");
$action = "some.action";
$rec_cert = ws_get_cert_from_file($CACert_location);
$pvt_key = ws_get_key_from_file($clientCert_location);
$sec_token = new WSSecurityToken(array("privateKey" => $pvt_key,
"receiverCertificate" => $rec_cert));
$client = new WSClient(array("useSOAP" => "1.1",
"policy" => new WSPolicy(array()),
"securityToken" => $sec_token,
"to"=>$server_location,
"action" => $action,
"CACert" => $CACert_location));
try {
$response = $client->request($request);
} catch (Exception $e) {
if ($e instanceof WSFault) {
$response = "Soap Fault: ".$e->Code."\n";
} else {
$response = "Message = ".$e->getMessage()."\n";
}
}
?>
And here's error log from apache:
[Mon Aug 29 11:13:41 2011] [info] Cannot find path D:\Aplikacje\wsf-php-2.1.0\wsf_c/services.
[Mon Aug 29 11:13:41 2011] [info] [rampart] rampart_mod initialized
[Mon Aug 29 11:13:41 2011] [info] [rahas]Rahas module initialized
[Mon Aug 29 11:13:41 2011] [error] ..\..\axiom\src\om\om_document.c(102) Unable to get root node
[Mon Aug 29 11:13:41 2011] [info] Starting addressing out handler
[Mon Aug 29 11:13:41 2011] [warning] ..\..\src\core\context\msg_ctx.c(1384) RampartClientConfiguration not set in message context
[Mon Aug 29 11:13:41 2011] [info] [rampart][rampart_signature] No parts specified or specified parts can't be found for Signature.
OPENSSL_Uplink(100EC020,08): no OPENSSL_Applink
[Mon Aug 29 11:13:41 2011] [notice] Parent: child process exited with status 1 -- Restarting.
[Mon Aug 29 11:13:41 2011] [info] [rampart] rampart_mod shutdown
[Mon Aug 29 11:13:41 2011] [info] [rahas] Rahas module shutdown
[Mon Aug 29 11:13:43 2011] [notice] Apache/2.2.19 (Win32) PHP/5.3.6 configured -- resuming normal operations
[Mon Aug 29 11:13:43 2011] [notice] Server built: May 20 2011 17:39:35
[Mon Aug 29 11:13:43 2011] [notice] Parent: Created child process 4636
[Mon Aug 29 11:13:44 2011] [info] Cannot find path D:\Aplikacje\wsf-php-2.1.0\wsf_c/services.
[Mon Aug 29 11:13:44 2011] [info] [rampart] rampart_mod initialized
[Mon Aug 29 11:13:44 2011] [info] [rahas]Rahas module initialized
[Mon Aug 29 11:13:44 2011] [notice] Child 4636: Child process is running
[Mon Aug 29 11:13:44 2011] [notice] Child 4636: Acquired the start mutex.
[Mon Aug 29 11:13:44 2011] [notice] Child 4636: Starting 64 worker threads.
[Mon Aug 29 11:13:44 2011] [notice] Child 4636: Starting thread to listen on port 80.
Help will be much appreciated;)
EDIT:
I figured that out. My PATH was missing the .../php/ext location, so wsf.dll couldn't be found. However, it's not the end of my problem. More are comming... ;)
EDIT2:
Nope... It wasn't it:(
If anyone would be interested in how did it end, i solved the problem by upgrading apache-httpd to 2.2.21 and using wse-php instead of wsf-php.

Issue with Codeigniter htaccess on local machine

Hi setup new code ignitior application on my local machine.
RewriteEngine on
RewriteCond $1 !^(index\.php|public|tmp|user_guide|robots\.txt)
RewriteRule ^(.*)$ /index.php?/$1 [L]
This is .htaccess file content
and below is the config file content
$config['base_url'] = "http://localhost/myapp";
$config['index_page']= ""; $config['uri_protocol'] = "REQUEST_URI";
when i try to access application using http://localhost/myapp url gives ERROR 500
Error 500 localhost 10/05/11 20:43:26 Apache/2.2.4 (Win32) DAV/2 mod_ssl/2.2.4 OpenSSL/0.9.8e mod_autoindex_color PHP/5.2.3
So any idea what is the problem
[Wed Oct 05 21:50:22 2011] [alert] [client 127.0.0.1] C:/xampp/htdocs/myapp/.htaccess: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration
[Wed Oct 05 21:50:33 2011] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Wed Oct 05 21:50:33 2011] [notice] Child 4812: Exit event signaled. Child process is ending.
[Wed Oct 05 21:50:34 2011] [notice] Child 4812: Released the start mutex
[Wed Oct 05 21:50:35 2011] [notice] Child 4812: Waiting for 250 worker threads to exit.
[Wed Oct 05 21:50:35 2011] [notice] Child 4812: All worker threads have exited.
[Wed Oct 05 21:50:35 2011] [notice] Child 4812: Child process is exiting
Error in my_thread_global_end(): 1 threads didn't exit
[Wed Oct 05 21:50:43 2011] [notice] Parent: Child process exited successfully.
Error in my_thread_global_end(): 1 threads didn't exit
[Wed Oct 05 21:50:56 2011] [notice] Apache/2.2.4 (Win32) DAV/2 mod_ssl/2.2.4 OpenSSL/0.9.8e mod_autoindex_color PHP/5.2.3 configured -- resuming normal operations
[Wed Oct 05 21:50:56 2011] [notice] Server built: Mar 5 2007 11:23:00
[Wed Oct 05 21:50:56 2011] [notice] Parent: Created child process 4164
[Wed Oct 05 21:50:57 2011] [notice] Child 4164: Child process is running
[Wed Oct 05 21:50:57 2011] [notice] Child 4164: Acquired the start mutex.
[Wed Oct 05 21:50:57 2011] [notice] Child 4164: Starting 250 worker threads.
[Wed Oct 05 21:50:57 2011] [notice] Child 4164: Starting thread to listen on port 443.
[Wed Oct 05 21:50:57 2011] [notice] Child 4164: Starting thread to listen on port 80.
It seem obvious to me - just enable Apache's mod_rewrite.
http://www.astahost.com/info.php/Apache-Tutorial-Enable-Mod_rewrite-Windows_t11623.html

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