Getting ERROR Executing command failed: chmod 777 -R /opt/kaltura/tmp while installing Kaltura CE v3.0.0 in Ubuntu 12.04.5

Hi jess,
To make the process easier, we tried to re-install ubuntu and start the installation process from the beginning. But while installing we received a pop up saying “Your mysql settings are incorrect”.
and the installation process terminated with the following error:

Error:
Reading state information… Done
The following NEW packages will be installed:
kaltura-db
0 upgraded, 1 newly installed, 0 to remove and 266 not upgraded.
Need to get 4,444 B of archives.
After this operation, 8,192 B of additional disk space will be used.
Get:1 http://installrepo.kaltura.org/repo/apt/xenial lynx/main amd64 kaltura-db all 12.15.0-1+b4 [4,444 B]
Fetched 4,444 B in 1s (4,125 B/s)
Preconfiguring packages …
Selecting previously unselected package kaltura-db.
(Reading database … 224069 files and directories currently installed.)
Preparing to unpack …/kaltura-db_12.15.0-1+b4_all.deb …
Unpacking kaltura-db (12.15.0-1+b4) …
Setting up kaltura-db (12.15.0-1+b4) …

Checking MySQL version…
innodb_log_file_size => 32M
Please adjust your settings manually and re-run.
dpkg: error processing package kaltura-db (–configure):
subprocess installed post-installation script returned error exit status 8
Errors were encountered while processing:
kaltura-db
E: Sub-process /usr/bin/dpkg returned an error code (1)

Please tell us how to proceed now as we need to finish the installation process by today. So we will be online for next 1 hour, please reply asap.
Thanks

With reference to your previous reply;
Yes. Make sure to provide a valid, resolvable hostname for both your DB and Apache.
The Apache virtual host/service URL/endpoint has to be accessible from both within the server and any external machine you intend to play videos from or manage the server.

We don’t know the exact procedure for resolving the hostname. Can you please provide us the necessary details and elaborate the procedure.
We used “localhost” as the DB hostname and the service url is “http://infy1-OptiPlex-380”. These values were automatically inserted into the pop ups during the time of installation. We did not make any changes or customizations.

In regards to hostnames, using localhost for MySQL when deploying an all in one Kaltura Server is fine, in a cluster, all front and batch nodes need to be able to reach the MySQL server and so, for a cluster, localhost will not work.

As for infy1-OptiPlex-380, if there is a DNS record for that in the DNS server your hosts use for domain resolution, that should be fine, otherwise, you will need to add a record in your hosts file so that infy1-OptiPlex-380 is resolved. On Linux and Mac machines the file to edit is /etc/hosts on Windows, it is under a different location, you can Google it.

As for “Please adjust your settings manually and re-run.” see my reply here: