Forums Moodle

command line install problem

Subscribe to command line install problem 8 post(s), 2 voice(s)

 
Avatar xyznet 6 post(s)

Hello

I am testing this for the first time. I tried the command line interface route.

my system is a fedora 5 test box. I followed the screen options and entered the values requested. But here is what I got:

Setup is now ready to begin installing BitNami Moodle Stack on your computer.

Do you want to continue? [Y/n]: Y

--------------
Please wait while Setup installs BitNami Moodle Stack on your computer.

Installing
0% ___ 50% ___ 100%
#####################################
Error: There has been an error.
Error running chown -R nobody.nogroup /opt/moodle-1.8.3-1/apps/moodle/moodledata
: chown: `nobody.nogroup': invalid user
Press [Enter] to continue :

I pressed Enter and I got my root prompt.

Tried to start the environment:

moodle-1.8.3-1]# ./ctlscript.sh start       
/opt/moodle-1.8.3-1/mysql/scripts/ctl.sh: line 61: @BITROCK_MYSQL_ROOTDIR@/bin/safe_mysqld: No such file or directory
/opt/moodle-1.8.3-1/mysql/scripts/ctl.sh : mysql started at port @BITROCK_MYSQL_PORT@
/opt/moodle-1.8.3-1/apache2/scripts/ctl.sh: line 15: /opt/moodle-1.8.3-1/apache2/scripts/envvars: No such file or directory

Apparently mysql and apache can not be started.

Please advise.

XYZ

 
Avatar victoria Administrator 5 post(s)

Hi,

I just wanted to let you know that we are looking into this. We’ll upload a new version as soon as we have it ready.

Best regards,

Victoria.

 
Avatar xyznet 6 post(s)

Thank you Victoria,

I await your reply. :)

Have a nice one.

XYZ

 
Avatar victoria Administrator 5 post(s)

Hi,

We have just released a new BitNami Moodle Stack with this issue fixed. Also we have upgraded the stack to install Moodle 1.8.4.

Best regards,

Victoria.

 
Avatar xyznet 6 post(s)

Hello Victoria,

I tried the new package just now on the same box.

I got :
Please wait while Setup installs BitNami Moodle Stack on your computer.

Installing
0% ___ 50% ___ 100%
########################################
Error: There has been an error.
Error running /opt/moodle-1.8.4/mysql/scripts/myscript.sh
/opt/moodle-1.8.4/mysql abdtemp2 : useradd: user mysql exists
ERROR 2002 (HY000): Can't connect to local MySQL server through socket
'/opt/moodle-1.8.4/mysql/tmp/mysql.sock' (111)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket
'/opt/moodle-1.8.4/mysql/tmp/mysql.sock' (111)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket
'/opt/moodle-1.8.4/mysql/tmp/mysql.sock' (111)
Press [Enter] to continue :

The script stopped.

Xyz

 
Avatar victoria Administrator 5 post(s)

Hi,

Can you try the latest version? It should be work.

You may need to execute ‘setenforce 0’ to disable SELinux before running the intaller (you can enable it again once the installation finishes).

Please let me know if finally you get Moodle working :)

Best regards,

Victoria

 
Avatar xyznet 6 post(s)

Hi Voctoria,

Little has changed with bitnami-moodle-1.8.4-1-linux-installer.bin version except for the error number.

Installing
0% ___ 50% ___ 100%
########################################
Error: There has been an error.
Error running /opt/moodle-1.8.4-1/mysql/scripts/myscript.sh
/opt/moodle-1.8.4-1/mysql abdtemp2 : useradd: user mysql exists
ERROR 2002 (HY000): Can't connect to local MySQL server through socket
'/opt/moodle-1.8.4-1/mysql/tmp/mysql.sock' (2)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket
'/opt/moodle-1.8.4-1/mysql/tmp/mysql.sock' (2)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket
'/opt/moodle-1.8.4-1/mysql/tmp/mysql.sock' (2)

I don’t have SELinux enabled at all.

Xyz

 
Avatar victoria Administrator 5 post(s)

Hi,

I’m not able to reproduce this error with the latest version. I’ve tested it in a Fedora Core 7 but I’ll try to get a Fedora 4.

Cheers,

Victoria.

Forums Moodle