Forums | Mahara Community

Support /
Timeout - Dataroot?


anonymous profile picture
Account deleted
Posts: 8

01 March 2009, 21:30

Me again - sorry! Getting the old 'have to log in every second' number. Have rechecked the documentation and dataroot stuff, also the foums. Getting this error - 

[01-Mar-2009 19:24:51] * exec("php -c /usr/local/php52/lib/php.ini /home/atcabot/...") at /home/atcabot/public_html/mahara/test/crontest.php:186[01-Mar-2009 19:24:51] * test_cron_run("2006-10-30 16:56") at /home/atcabot/public_html/mahara/test/crontest.php:133


 
My htdocs are in servernamestuff/mahara/htdocs and the dataroot (called 'maharadata') is in  servernamestuff/maharadata. Will appreciate any pointers. 

 

anonymous profile picture
Account deleted
Posts: 1643

01 March 2009, 22:17

Hi - that looks like just one line of a longer backtrace, are there more lines in the logs?

Please try logging out, clearing your session cookies, closing and opening your browser and see if that helps. If not, you might hav issues with your dataroot - perhaps it's on a full partition, or part of it is not writable by the web server user.

anonymous profile picture
Account deleted
Posts: 8

02 March 2009, 12:33

Permissions seemed to sort tat out. Now on the Configure Site > networking page I get this -

Mahara: Site unavailable

The environment where Mahara is running is misconfigured and this is causing problems. You probably need to contact a server administrator to get this fixed. Details, if any, follow:

Could not generate a new SSL key. Are you sure that both openssl and the PHP module for openssl are installed on this machine?

 

In the error log I get this

[02-Mar-2009 10:31:56] [WAR] 8c (/home/atcabot/public_html/mahara/test/crontest.php:186) exec() [function.exec]: Unable to fork [php -c /usr/local/php52/lib/php.ini /home/atcabot/public_html/mahara/htdocs/lib/cron.php '2006-06-01 10:06'] [02-Mar-2009 10:31:56] Call stack (most recent first): [02-Mar-2009 10:31:56]   * log_message("exec() [function.exec]: Unable to fork [php -c /us...", 8, true, true, "/home/atcabot/public_html/mahara/test/crontest.php", 186) at /home/atcabot/public_html/mahara/htdocs/lib/errors.php:378 [02-Mar-2009 10:31:56]   * error(2, "exec() [<a href='function.exec'>function.exec</a>]...", "/home/atcabot/public_html/mahara/test/crontest.php", 186, array(size 3)) at Unknown:0 [02-Mar-2009 10:31:56]   * exec("php -c /usr/local/php52/lib/php.ini /home/atcabot/...") at /home/atcabot/public_html/mahara/test/crontest.php:186 [02-Mar-2009 10:31:56]   * test_cron_run("2006-06-01 10:06") at /home/atcabot/public_html/mahara/test/crontest.php:56 [02-Mar-2009 10:31:56]  [02-Mar-2009 10:31:56] [WAR] 8c (/home/atcabot/public_html/mahara/test/

 

 

 

anonymous profile picture
Account deleted
Posts: 1643

02 March 2009, 18:46

Hi - as per the error message, are you sure you have installed the PHP openssl module and that it is configured correctly? If you're running on linux, this should be easy to install, but I'm not sure of the details of how to do it on windows.
anonymous profile picture
Account deleted
Posts: 8

02 March 2009, 18:57

Hi Nigel,

Not sure what that is? Is there something I missed in the download? Also that dataroot problem is back...Mmm. 

anonymous profile picture
Account deleted
Posts: 1643

02 March 2009, 19:33

Nope, it's not part of Mahara -it's an extension to PHP. How are you hosting your Mahara?
anonymous profile picture
Account deleted
Posts: 1

18 May 2009, 7:40

I am running XAMPP on windows and I am getting a similar problem. The message 

 Mahara: Site unavailable

The environment where Mahara is running is misconfigured and this is causing problems. You probably need to contact a server administrator to get this fixed. Details, if any, follow:

Could not generate a new SSL key. Are you sure that both openssl and the PHP module for openssl are installed on this machine?

appears. I have checked the php.ini file and  the line 

extension=php_openssl.dll

is uncommented and the dll is present. I also have to confirm login every screen it seems. My dataroot is  C:\xampp-win32-1.7.0\xampp\maharadata which I assume is OK.

I'm trying to set up a test instance to connect to moodle. 

anonymous profile picture
Account deleted
Posts: 1643

18 May 2009, 16:49

Hi - I don't know anything about XAMPP, but I am aware that some people report they need to install an openssl.cnf file before that extension will work. Not being a windows user, I can't tell you where that file should go or what it should contain, but google might know more Cool
8 results