Koozali.org: home of the SME Server

Obsolete Releases => SME 7.x Contribs => Topic started by: skydivers on March 12, 2007, 09:49:07 PM

Title: Moodle install on 7.1.2
Post by: skydivers on March 12, 2007, 09:49:07 PM
I installed the dungog rpm's through yum.

I read on the site of dungog the following:
Enter your mysql password and server name find mysql password with 'config show joomla'. (probably needs to be config show moodle)

Do I need to do something with the password from config show moodle?

When I access myserver.be/moodle with the admin account, I get a blank page, moodle doesn't show up.

Anyone an idea?

Thanx
Title: Moodle install on 7.1.2
Post by: bpivk on March 12, 2007, 10:12:04 PM
Go to dungog's webpage and folow the instructions there.
Title: Moodle install on 7.1.2
Post by: skydivers on March 13, 2007, 08:48:02 AM
Quote from: "bpivk"
Go to dungog's webpage and folow the instructions there.


That's what I did, but obviously I did something wrong...
Title: Re: Moodle install on 7.1.2
Post by: william_syd on March 13, 2007, 09:51:43 AM
Quote from: "skydivers"

Anyone an idea?

Thanx


Httpd logs in server-panel.
Title: Re: Moodle install on 7.1.2
Post by: skydivers on March 13, 2007, 10:47:46 AM
Quote from: "william_syd"
Quote from: "skydivers"

Anyone an idea?

Thanx


Httpd logs in server-panel.


This is what I found on moodle in httpd_access log:

voorheide.be 192.168.250.199 - - [13/Mar/2007:10:35:59 +0100] "GET /server-manager HTTP/1.1" 307 289 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; InfoPath.1; .NET CLR 2.0.50727)"
voorheide.be 192.168.250.199 - - [13/Mar/2007:10:36:00 +0100] "GET /server-common/cgi-bin/login?back=http%3a%2f%2f192.168.250.254%2fserver-manager HTTP/1.1" 200 435 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; InfoPath.1; .NET CLR 2.0.50727)"
voorheide.be 192.168.250.199 - - [13/Mar/2007:10:36:00 +0100] "GET /server-common/cgi-bin/login?redirect=1&back=http%3A%2F%2F192.168.250.254%2Fserver-manager HTTP/1.1" 200 1150 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; InfoPath.1; .NET CLR 2.0.50727)"
voorheide.be 192.168.250.199 - - [13/Mar/2007:10:36:00 +0100] "GET /server-common/css/tkt.css HTTP/1.1" 304 - "https://192.168.250.254/server-common/cgi-bin/login?redirect=1&back=http%3A%2F%2F192.168.250.254%2Fserver-manager" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; InfoPath.1; .NET CLR 2.0.50727)"
voorheide.be 80.201.240.145 - - [13/Mar/2007:10:36:05 +0100] "GET /moodle HTTP/1.1" 401 401 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; InfoPath.1; .NET CLR 2.0.50727)"
voorheide.be 80.201.240.145 - admin [13/Mar/2007:10:36:14 +0100] "GET /moodle HTTP/1.1" 301 237 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; InfoPath.1; .NET CLR 2.0.50727)"
voorheide.be 80.201.240.145 - admin [13/Mar/2007:10:36:14 +0100] "GET /moodle/ HTTP/1.1" 200 - "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; InfoPath.1; .NET CLR 2.0.50727)"
voorheide.be 192.168.250.199 - - [13/Mar/2007:10:36:28 +0100] "POST /server-common/cgi-bin/login HTTP/1.1" 200 1202 "https://192.168.250.254/server-common/cgi-bin/login?redirect=1&back=http%3A%2F%2F192.168.250.254%2Fserver-manager" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; InfoPath.1; .NET CLR 2.0.50727)"
voorheide.be 192.168.250.199 - - [13/Mar/2007:10:36:31 +0100] "GET /server-common/css/tkt.css HTTP/1.1" 304 - "https://192.168.250.254/server-common/cgi-bin/login" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; InfoPath.1; .NET CLR 2.0.50727)"

Thanx
Title: Moodle install on 7.1.2
Post by: skydivers on March 13, 2007, 10:59:58 AM
There is a database moodle, but there is no content, no tables in it... Checked it with phpmyadmin...
Title: Moodle install on 7.1.2
Post by: bpivk on March 13, 2007, 03:32:14 PM
Did you install both contribs?
You have to install moodle and smeserver-moodle.

Did you stick to these instructions.?
http://www.dungog.net/sme/webapp.php#moodle
Title: Moodle install on 7.1.2
Post by: skydivers on March 13, 2007, 04:35:59 PM
Quote from: "bpivk"
Did you install both contribs?
You have to install moodle and smeserver-moodle.

Did you stick to these instructions.?
http://www.dungog.net/sme/webapp.php#moodle


Yes I did, used yum. (there came 6 packages with it...) But I don't know if I did everything allright (password and cron)

Thanx
Title: Moodle install on 7.1.2
Post by: bpivk on March 13, 2007, 07:09:24 PM
Quote
Do I need to do something with the password from config show moodle?

$CFG->dbpass = 'tw7vFKoBI6EPLPuQ51g6f1dg3d1f6vgd1f3g5f11QTyhDK7O03r+kHAz3L'; $CFG->wwwroot = 'http://YOURSERVER.net/moodle';

Did you do this. Because you asked what you need to do with the password. Change the red lines.
Title: Moodle install on 7.1.2
Post by: skydivers on March 13, 2007, 10:37:53 PM
Quote from: "bpivk"
Quote
Do I need to do something with the password from config show moodle?

$CFG->dbpass = 'tw7vFKoBI6EPLPuQ51g6f1dg3d1f6vgd1f3g5f11QTyhDK7O03r+kHAz3L'; $CFG->wwwroot = 'http://YOURSERVER.net/moodle';

Did you do this. Because you asked what you need to do with the password. Change the red lines.


I did change the $CFG->dbpass with the password i got from config show moodle. Although i wasn't sure if this was right.

I also changed the yourserver.net to my server.

Do you know why the cronjob is there?
Title: Moodle install on 7.1.2
Post by: bpivk on March 14, 2007, 12:06:17 AM
Quote
Do you know why the cronjob is there?

http://docs.moodle.org/en/Cron

Well i would try and remove both contribs and start from the begining.
And i hope you didn't delete the ' in $CFG->dbpass = 'tw...L';
Title: Moodle install on 7.1.2
Post by: skydivers on March 14, 2007, 09:14:11 AM
Quote from: "bpivk"
Quote
Do you know why the cronjob is there?

http://docs.moodle.org/en/Cron

Well i would try and remove both contribs and start from the begining.
And i hope you didn't delete the ' in $CFG->dbpass = 'tw...L';


OK, will try that, i'll report exactly what i have done.
Title: Moodle install on 7.1.2
Post by: skydivers on March 14, 2007, 02:43:00 PM
Quote from: "skydivers"
Quote from: "bpivk"
Quote
Do you know why the cronjob is there?

http://docs.moodle.org/en/Cron

Well i would try and remove both contribs and start from the begining.
And i hope you didn't delete the ' in $CFG->dbpass = 'tw...L';


OK, will try that, i'll report exactly what i have done.


OK, problem solved, now the moodle installation is running, don't know what I did wrong previously.

Thanx for your support!
Title: Moodle install on 7.1.2
Post by: skydivers on March 15, 2007, 12:43:09 PM
Does anyone know if it is possible to disable the authentication of this contrib.

When I access myserver.be/moodle I get a login prompt before I actually see the moodle homepage.

Could I disable this?

Thanx
Title: Moodle install on 7.1.2
Post by: bpivk on March 15, 2007, 04:59:02 PM
Yes. You can edit the custom template.
Title: Moodle install on 7.1.2
Post by: william_syd on March 15, 2007, 10:25:27 PM
Quote from: "skydivers"
Does anyone know if it is possible to disable the authentication of this contrib.

When I access myserver.be/moodle I get a login prompt before I actually see the moodle homepage.

Could I disable this?

Thanx


Don't edit a dungog contrib template for what you want.
Code: [Select]
to limit access to the web app.

config setprop WEBAPP PublicAccess OPTION

OPTION is either of the following.

        none             => No access
        local            => Local network  (no password required)
        local-pw         => Local network  (password required)
        global           => Entire Internet(no password required)
        global-pw        => Entire Internet(password required)
        global-pw-remote => Entire Internet(password required outside local network)


You want..
Code: [Select]
config setprop moodle PublicAccess global
expand-template /etc/httpd/conf/httpd.conf
svc -h /service/httpd-e-smith
Title: Moodle install on 7.1.2
Post by: skydivers on March 15, 2007, 10:33:06 PM
You want..
Code: [Select]
config setprop moodle PublicAccess global
expand-template /etc/httpd/conf/httpd.conf
svc -h /service/httpd-e-smith
[/quote]

Thanx,
This is indeed what i want  :)