Forums General

Problem installing

Subscribe to Problem installing 11 post(s), 5 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 Daniel Lopez Administrator 113 post(s)

It seems there is an issue with root installation in your machine. Either the user ‘nobody’ or the group ‘nogroup’ does not exist. We will look into fixing this. In the mean time, could you try reinstalling as a regular user?

 
Avatar xyznet 6 post(s)

Hello Daniel,

Thank you for your reply.

Fedora does not have nobody.nogroup. it uses apache user instead.

However, I did as you suggested and installed as a regular user. Here is what I got:

Installing
0% ___ 50% ___ 100%
########################################
Error: There has been an error.
Error running /home/xyz/moodle-1.8.3-1/mysql/scripts/myscript.sh
/home/xyz/moodle-1.8.3-1/mysql passwordxyz :
/home/xyz/moodle-1.8.3-1/mysql/scripts/myscript.sh: line 20: 3345 Segmentation
fault bin/mysql -S /home/xyz/moodle-1.8.3-1/mysql/tmp/mysql.sock -u root -e
"UPDATE mysql.user SET Password=PASSWORD('$2') WHERE User='root';"
/home/xyz/moodle-1.8.3-1/mysql/scripts/myscript.sh: line 21: 3346 Segmentation
fault bin/mysql -S /home/xyz/moodle-1.8.3-1/mysql/tmp/mysql.sock -u root -e
"UPDATE mysql.user SET Password=PASSWORD('$3') WHERE User='';"
/home/xyz/moodle-1.8.3-1/mysql/scripts/myscript.sh: line 22: 3347 Segmentation
fault bin/mysql -S /home/xyz/moodle-1.8.3-1/mysql/tmp/mysql.sock -u root -e
"FLUSH PRIVILEGES;"
 
Avatar dfriestedt 6 post(s)

I have a similar issue – fedora Core 7. Here is the apache error log

Fri Mar 14 17:57:20 2008 [client 127.0.0.1] File does not exist: /opt/mediawiki-1.11.0-9/apache2/htdocs/img/@BITROCK_APPLICATION_NAME@.png, referer: http://localhost/
Fri Mar 14 17:57:21 2008 [client 127.0.0.1] File does not exist: /opt/mediawiki-1.11.0-9/apache2/htdocs/favicon.ico
Fri Mar 14 17:57:24 2008 [client 127.0.0.1] File does not exist: /opt/mediawiki-1.11.0-9/apache2/htdocs/@BITROCK_APPLICATION_NAME@, referer: http://localhost/
Fri Mar 14 18:01:44 2008 [client 127.0.0.1] File does not exist: /opt/mediawiki-1.11.0-9/apache2/htdocs/img/@BITROCK_APPLICATION_NAME@.png, referer: http://localhost/
Fri Mar 14 18:01:50 2008 [client 127.0.0.1] File does not exist: /opt/mediawiki-1.11.0-9/apache2/htdocs/@BITROCK_APPLICATION_VENDOR_URL@, referer: http://localhost/
Fri Mar 14 18:13:01 2008 [client 127.0.0.1] File does not exist: /opt/mediawiki-1.11.0-9/apache2/htdocs/img/@BITROCK_APPLICATION_NAME@.png, referer: http://localhost/
Fri Mar 14 18:13:12 2008 [client 127.0.0.1] File does not exist: /opt/mediawiki-1.11.0-9/apache2/htdocs/@BITROCK_APPLICATION_NAME@, referer: http://localhost/

 
Avatar antonio Administrator 524 post(s)

H dfriestetdt,

Did you get any error during the installation? It seems that it didn’t do some substitutions in the static html page. Do Apache and MySQL work correctly? Can you access the application at http://localhost/mediawiki ?

Cheers

 
Avatar dfriestedt 6 post(s)

Here is the exact error I get at the end of the install

Error. There has been an error
Error running /home/wiki/media…./ctlscript.sh restart apache :
/usr/sbin/setenforce: SElinux is disabled
Syntax OK
Syntax OK
/usr/sbin/setenforce: SElinux is disabled

Any ideas – again, this is Fedora Core 7. I get the same message if I install as the root or normal user.

thx,
Drew

 
Avatar dfriestedt 6 post(s)

I also forgot to mention, this is for Mediawiki. Sorry, I probably should have created a new post for this.

thx

 
Avatar dfriestedt 6 post(s)

Apache is not working after the install. This install was with SELinux turned off. Maybe the installer is trying to turn SELinux off, but it’s already off, which creates the error message. That seems too simple. Regardless, when I go to the mediawiki page it gives me page with a bunch of @@ signs.

 
Avatar antonio Administrator 524 post(s)

Mmmm I’ll have to make some testings in Fedora Core. Unfortunately, I won’t be able until next monday. I’ll get back to you then.

Cheers

 
Avatar dfriestedt 6 post(s)

I installed the mediawiki on a clean Fedora Core 7 w/ SELinux enabled and got the same error message. So, looks like I can duplicate the error message as root or other user and with and without SELinux enabled.

 
Avatar Manuel Administrator 71 post(s)

Hi dfriestedt,

We think we’ve found the cause of the problem, the next release will fix it. Meanwhile you can try to install this release candidate if you want: http://bitnami.org/files/stacks/mediawiki/bitnami-mediawiki-1.11.0-10-linux-installer-fedora-fix.bin Let us know it works for you.

regards Manuel

Forums General