Hi,
I am a newbie on linux, mysql, php and apache.
I try to install mediamosa and wle.
I follow the install.php script.
When installing mediamosa and wle i met the following problem:
In Mediamosa i have to run some sql command to create a user (memo) and three databases (memo, memo_data, and one else) and grant rights to user memo. I have done that succesfully.
When i check that with phpmyAdmin i see that for all three databases user memo has the required rights.
The first 3 steps of the install.php script are done succesfully.
When i have to setup the database the database name, database user and password are asked.
I typed in database memo, database user memo and the password in.
I get no errormessages, but the script does not jump to the next step.
I comes back everytime with the same form i had just filled in namely database memo, database user memo and the password in.
What do i wrong, or what could be wrong. Is there a log file or something where i can see what is going wrong.
I have the same problem with WLE.
Please, can anyone help me.
Regards,
Anand
Comments
Re: installation problems with mediamosa and wle
Posted by forgacs on June 7th, 2010 - 08:34Please, open a terminal and try this in command:
mysql -u memo -p -h localhost memo
And give the password, when it is asked.
What does happen?
Re: installation problems with mediamosa and wle
Posted by anandm on June 7th, 2010 - 10:42Hi Forgacs,
I typed in mysql -u memo -p -h localhost memo and it responded with a welcome message.
So, it seems to me that the user exists. But i can not see what is happening under water.
Regards,
Anand
Re: installation problems with mediamosa and wle
Posted by forgacs on June 7th, 2010 - 16:10What is your PHP version (php -v)?
Would you insert here screenshots about your install/database settings page?
Re: installation problems with mediamosa and wle
Posted by anandm on June 9th, 2010 - 07:34Hi,
i get the following information of PhpAdmin:
MySQL
* Server: Localhost via UNIX socket
* Serverversie: 5.1.41-3ubuntu12.1
* Protocolversie: 10
* Gebruiker: root@localhost
* MySQL Karakterset: UTF-8 Unicode (utf8)
Web server
* Apache/2.2.14 (Ubuntu)
* MySQL-client versie: 5.1.41
* PHP uitbreiding: mysqli
phpMyAdmin
* Versie informatie: 3.3.2deb1
PHP:
anand@anand-laptop:~$ php -v
PHP Deprecated: Comments starting with '#' are deprecated in /etc/php5/cli/conf.d/mcrypt.ini on line 1 in Unknown on line 0
PHP 5.3.2-1ubuntu4.2 with Suhosin-Patch (cli) (built: May 13 2010 20:01:00)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
these are my installed databases in mySQL:
information_schema
joomla
memo
memo_data
memo_jobserver
mysql
oscommerce
phpmyadmin
virtuemart
Is this the information you wanted?
Regards,
Anand
Re: installation problems with mediamosa and wle
Posted by kkeppens on June 9th, 2010 - 08:32You could try it with php5.2. I've had a problem with mediamosa that it wouldn't work properly with php5.3, however this was an already installed mediamosa instance and a different problem that the one you're facing.
EDIT : just tried to install it with php5.3 and no problems with installation.
Re: installation problems with mediamosa and wle
Posted by forgacs on June 9th, 2010 - 13:26I have the same experience, PHP 5.3 can cause problems.
What I suggest to install PHP 5.2, or try to change the "error_reporting" line in your php.ini (/etc/php5/apache2/):
error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATEDPS. First save your php.ini:
cd /etc/php5/apache2
sudo cp php.ini php_old.ini
I'm waiting your feedback.
Re: installation problems with mediamosa and wle
Posted by anandm on June 9th, 2010 - 15:21hi Forgacs,
I have to attend a meeting. I will try it tonight and tommorow i can tell what happened.
Regards,
Anand
Re: installation problems with mediamosa and wle
Posted by forgacs on June 11th, 2010 - 08:13Also you can try to follow the simple Drupal installation process:
http://drupal.org/getting-started/install
Re: installation problems with mediamosa and wle
Posted by anandm on June 11th, 2010 - 15:57Hi forgacs,
Sorry for my delayed response.
It took more time to get the job done.
I have deinstalled php5.3 and replaced it with php.5.2.10.
When i try to install mediamosa now, it continues with the setup database form, but stops now on setup profile form.
I get the following errors now:
Warning: fopen(./sites/default/default.settings.php) [function.fopen]: failed to open stream: No such file or directory in /var/www/mediamosa/includes/install.inc on line 188
Warning: Cannot modify header information - headers already sent by (output started at /var/www/mediamosa/includes/install.inc:188) in /var/www/mediamosa/includes/install.inc on line 618
Warning: Cannot modify header information - headers already sent by (output started at /var/www/mediamosa/includes/install.inc:188) in /var/www/mediamosa/includes/install.inc on line 619.
I have to take a closer look to this, i don´t know what this means.
Thanks for you help so far. It means a lot to me :-)
Regards,
Anand
Re: installation problems with mediamosa and wle
Posted by anandm on June 12th, 2010 - 07:39Hi Forgacs,
I made more progress.
I could installed allmost all php-packages.
The only package left is lua-extensions.
I have also installed succesfully WLE because of the PHP downgrade.
I only can not upload videos. i get some errors.
I have to find that out.
Thank again for your help.
Regards,
Anand
Re: installation problems with mediamosa and wle
Posted by foripepe on June 14th, 2010 - 07:58So you installed Mediamosa and WLE well, and the only thing you can't do is install the Lua.
The missing Lua (and Lua LPeg) installation can explain the upload problems.
Why can't you install these packages? What is the error?
PS. There is a Simpletest in your Mediamosa installation:
http://your-mediamosa/admin/build/simpletest
I suggest to run all of tests. These tests check the basic functionality of your Mediamosa installation.
All of your tests should be ok.
Re: installation problems with mediamosa and wle
Posted by anandm on June 17th, 2010 - 08:39Hi foripepe,
No, i fail installing mediamosa. i try to install mediamosa.
i have installed lua now. but it is still complains about a lpeg extension for lua.
i use ubuntu 10.4 and via synaptic i see that liblua5.1-lpeg2 installed.
I think that lpeg2 is something else than lpeg and therefore not recognised by the installer of mediamosa.
so, my problem still is how to install lua extension lpeg.
Any ideas?
Regards,
Anand
Re: installation problems with mediamosa and wle
Posted by forgacs on June 17th, 2010 - 11:15The installation of liblua5.1-lpeg2 seems ok.
Please, run this from command line:
lua -vThe response should be this:
Lua 5.1.4 Copyright (C) 1994-2008 Lua.org, PUC-RioAnd you have to go to your Mediamosa installation root (eg. /var/www/mediamosa):
cd your-mediamosa-installationThen run this command:
lua lua/vpx-analyseResponse:
Usage: vpx-analyse BASE_PATH HASH [--always_hint_mp4] [--always_insert_metadata]Please, check these.
Re: installation problems with mediamosa and wle
Posted by anandm on June 19th, 2010 - 12:44hi forgacs,
I did what you requested and below are the results as shown in a console:
anand@anand-laptop:~$ lua -v
Lua 5.1.4 Copyright (C) 1994-2008 Lua.org, PUC-Rio
anand@anand-laptop:~$ cd /var/www
anand@anand-laptop:/var/www$ cd mediamosa
anand@anand-laptop:/var/www/mediamosa$ lua lua/vpx-analyse
lua: lua/vpx-analyse:16: module 'lpeg' not found:
no field package.preload['lpeg']
no file './lpeg.lua'
no file '/usr/local/share/lua/5.1/lpeg.lua'
no file '/usr/local/share/lua/5.1/lpeg/init.lua'
no file '/usr/local/lib/lua/5.1/lpeg.lua'
no file '/usr/local/lib/lua/5.1/lpeg/init.lua'
no file './lpeg.so'
no file '/usr/local/lib/lua/5.1/lpeg.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
stack traceback:
[C]: in function 'require'
lua/vpx-analyse:16: in main chunk
[C]: ?
anand@anand-laptop:/var/www/mediamosa$ ^C
anand@anand-laptop:/var/www/mediamosa$
As far as i can see the lpeg module is not found..
Thank you for your help. this is becoming a little bit fuzzy for me.. :-(
Thanks again forgacs,
Regards,
Anand
Re: installation problems with mediamosa and wle
Posted by forgacs on June 21st, 2010 - 09:06How did you install Lpeg? With Synaptic Package Manager?
In my system the following packages are installed:
liblua5.1-0 -> Version: 5.1.4-5
liblua5.1-lpeg2 -> Version: 0.9-4
liblua50 -> Version: 5.0.3-4
liblualib50 -> Version: 5.0.3-4
lua5.1 -> Version: 5.1.4-5
Please, check them in your system.
You may try to reinstall these packages.
Re: installation problems with mediamosa and wle
Posted by anandm on June 25th, 2010 - 18:58Hi forgacs,
I have tried all i could but it fails. i see that lpeg is installed in synaptic package manager.
I have done something else.
I have created a virtual box instance of ubuntu and i did all steps over and again and here it is succesful.
In the virtual box it is successful. i can´t see what the difference is between the virtual box version and my live version.
Anyway i can continue the installation process to get mediamosa up and running.
Thanks for you help so far.
Regards,
Anand
Re: installation problems with mediamosa and wle
Posted by tzoon on July 16th, 2010 - 16:51Same problem here (also CentOS).
I tried building lua myself and got some progress, but because of the manual build it now fails to load dynamic libraries.
>lua -vLua 5.1.4 Copyright (C) 1994-2008 Lua.org, PUC-Rio>lua -l lpeglua: error loading module 'lpeg' from file '/usr/local/lib/lua/5.1/lpeg.so':
dynamic libraries not enabled; check your Lua installation
stack traceback:
[C]: ?
[C]: ?
[C]: ?
Re: installation problems with mediamosa and wle
Posted by forgacs on July 19th, 2010 - 08:45We have a forum about this CentOS issue:
http://www.vpcore.nl/forum/viewtopic.php?f=13&t=178
I think you have to install Lua LPeg from RPM using the CentOS default package manager.
Or you can download the RPM packages here and then install:
http://rpm.pbone.net/index.php3/stat/4/idpl/13585778/dir/fedora_10/com/l...
Other possibility: You install the Lpeg extension from source code:
http://www.inf.puc-rio.br/~roberto/lpeg/lpeg-0.9.tar.gz
Then you have to unpack it, and use the "./configure", "make", "sudo make install" commands in the source directory. It should work.
PS. You may check the content of your directory: '/usr/local/lib/lua/5.1/lpeg.so'. Is it exists? Is it a symlink? What is the content?
make sure that you install lua5.1
Posted by chaoman on April 21st, 2012 - 11:33there are lua50 and lua5.1 pages for ubuntu servers. make sure that lua5.1 is installed and it solves the missing liblua5.1-lpeg2 is not found issue.
Hi, I am beginner on PHP. I
Posted by awlakha on March 5th, 2013 - 22:56Hi,
I am beginner on PHP. I need to know that how can i install FFMEPG & LUA 5.1 on windows Wamp Server.
can anyone describe me in details
Hi awlakha, I'm afraid
Posted by UvA-Tom on March 8th, 2013 - 15:31Hi awlakha,
I'm afraid Windows is not suported.
See http://www.mediamosa.org/trac/wiki/FAQ
####
I would like to install MediaMosa under Windows, but I have problems. What should I do?
> Sorry, Windows is not supported at this moment. You should use Unix like system, eg. Linux (Ubuntu is a good choice), FreeBSD, OpenBSD.
####