Kaltura for Windows 8.1 pro

Hi Jess,

“/etc/kaltura.d/system.ini: line 26” refer to my password for mysql.
I have special char in my password. Is that the problem?
"/etc/kaltura.d/system.ini: line 30" is empty. Can I just delete it.

If mysql password need to change can you tell me how i can change the root password?

Thanks

That would depend on what kind of char it is:)
The string is encapsulated with quotes like so:
SUPER_USER_PASSWD=“somepasswd”

so, the only case I can think of where a problem would arise is if your actual passwd also has the char ‘"’ in it.
To change it:
# mysqladmin -p$CURRENT_PASSWORD password
and then type in your new password.

Hi Jess,

I manage to change the password for mysql and it install kaltura-sphinx but error appear at kaltura-nginx
Below is the error.

(gconftool-2:28093): GConf-WARNING **: Client failed to connect to the D-BUS dae mon:
Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
Setting up libgnomevfs2-common (1:2.24.4-1ubuntu6) …
Setting up libgnomevfs2-0:amd64 (1:2.24.4-1ubuntu6) …
Setting up libgnome2-common (2.32.1-4ubuntu1) …
Setting up libgnome2-0:amd64 (2.32.1-4ubuntu1) …
Processing triggers for libc-bin (2.19-0ubuntu6.6) …
Processing triggers for ca-certificates (20141019ubuntu0.14.04.1) …
Updating certificates in /etc/ssl/certs… 0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d…
done.
done.
The following NEW packages will be installed:
kaltura-nginx
0 packages upgraded, 1 newly installed, 0 to remove and 11 not upgraded.
Need to get 534 kB of archives. After unpacking 1281 kB will be used.
Get: 1 http://installrepo.kaltura.org/repo/apt/debian/ jupiter/main kaltura-ngin x amd64 1.8.0-6+b3 [534 kB]
Fetched 534 kB in 8s (59.6 kB/s)
Preconfiguring packages …
Selecting previously unselected package kaltura-nginx.
(Reading database … 147486 files and directories currently installed.)
Preparing to unpack …/kaltura-nginx_1.8.0-6+b3_amd64.deb …
Unpacking kaltura-nginx (1.8.0-6+b3) …
Processing triggers for ureadahead (0.100.0-16) …
Setting up kaltura-nginx (1.8.0-6+b3) …
Adding system startup for /etc/init.d/kaltura-nginx …
/etc/rc0.d/K20kaltura-nginx -> …/init.d/kaltura-nginx
/etc/rc1.d/K20kaltura-nginx -> …/init.d/kaltura-nginx
/etc/rc6.d/K20kaltura-nginx -> …/init.d/kaltura-nginx
/etc/rc2.d/S20kaltura-nginx -> …/init.d/kaltura-nginx
/etc/rc3.d/S20kaltura-nginx -> …/init.d/kaltura-nginx
/etc/rc4.d/S20kaltura-nginx -> …/init.d/kaltura-nginx
/etc/rc5.d/S20kaltura-nginx -> …/init.d/kaltura-nginx
Reloading nginx configuration: nginx: [emerg] invalid host in upstream “http://K VM01” in /opt/kaltura/nginx/conf/nginx.conf:17
nginx: configuration file /opt/kaltura/nginx/conf/nginx.conf test failed
Archving logs to /opt/kaltura/log/log_16_10_15_10_15.tar.gz…
dpkg: error processing package kaltura-nginx (–configure):
subprocess installed post-installation script returned error exit status 11
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up kaltura-nginx (1.8.0-6+b3) …
System start/stop links for /etc/init.d/kaltura-nginx already exist.
Reloading nginx configuration: nginx: [emerg] invalid host in upstream “http://K VM01” in /opt/kaltura/nginx/conf/nginx.conf:17
nginx: configuration file /opt/kaltura/nginx/conf/nginx.conf test failed
Archving logs to /opt/kaltura/log/log_16_10_15_10_15.tar.gz…
dpkg: error processing package kaltura-nginx (–configure):
subprocess installed post-installation script returned error exit status 11
Processing triggers for libc-bin (2.19-0ubuntu6.6) …
Errors were encountered while processing:
kaltura-nginx

Thanks

Hi,

Your issue seems to start here:
http://K VM01
there is a space between ‘K’ and ‘VM01’ thus making it an invalid host.
# dpkg-reconfigure kaltura-nginx
and input a correct value.

Hi Jess,

I’m having the error below when i run # dpkg-reconfigure kaltura-nginx

/usr/sbin/dpkg-reconfigure: kaltura-nginx is broken or not fully installed

Also i’ve check the “/opt/kaltura/nginx/conf/nginx.conf” the name dont have a space inbetween the K and V
Below is the part of the conf.

#user nobody;
worker_processes 4;

error_log /opt/kaltura/log/nginx/error_log;

pid /opt/kaltura/nginx/logs/nginx.pid;

events {
worker_connections 1024;
multi_accept on;
use epoll;
}

http {
upstream kalapi {
server http://KVM01;
}

Thanks

Hi,

Try:
# aptitude install -f

Hi Jess,

Same error. Do you think it could be my URL is the problem? But this is the URL which is default.

Thanks

Is KVM01 resolvable on the server? also, what happens when you try:
# service kaltura-nginx restart
?

Hi Jess,

I’m using windows 8.1pro and i think it is but resolvable on my network.
When i apply service kaltura-nginx restart the error below come out.

I disable the firewall in ubuntu as well but cant seem to be able to ping anyone or anyone to ping the server.

root@KVM01:~# service kaltura-nginx restart
Restarting nginx: nginx: [emerg] invalid host in upstream “http://KVM01” in /opt/kaltura/nginx/conf/nginx.conf:17
nginx: configuration file /opt/kaltura/nginx/conf/nginx.conf test failed

Thanks

I now understand the issue, it should be with the protocol prefix. Just replace “http://KVM01” with “KVM01”.

Hi Jess,

After changing /opt/kaltura/nginx/conf/nginx.conf line 17 to KVM01 and i run ./install_kaltura_all_in_1.sh again i get the same error. It automatically add “http://” back.

The following partially installed packages will be configured:
kaltura-nginx
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
Setting up kaltura-nginx (1.8.0-6+b3) …
System start/stop links for /etc/init.d/kaltura-nginx already exist.
Reloading nginx configuration: nginx: [emerg] invalid host in upstream “http://K VM01” in /opt/kaltura/nginx/conf/nginx.conf:17
nginx: configuration file /opt/kaltura/nginx/conf/nginx.conf test failed

            Archving logs to /opt/kaltura/log/log_20_10_15_18_53.tar.gz...

dpkg: error processing package kaltura-nginx (–configure):
subprocess installed post-installation script returned error exit status 11
Processing triggers for libc-bin (2.19-0ubuntu6.6) …
Errors were encountered while processing:
kaltura-nginx
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up kaltura-nginx (1.8.0-6+b3) …
System start/stop links for /etc/init.d/kaltura-nginx already exist.
Reloading nginx configuration: nginx: [emerg] invalid host in upstream “http://K VM01” in /opt/kaltura/nginx/conf/nginx.conf:17
nginx: configuration file /opt/kaltura/nginx/conf/nginx.conf test failed

            Archving logs to /opt/kaltura/log/log_20_10_15_18_53.tar.gz...

dpkg: error processing package kaltura-nginx (–configure):
subprocess installed post-installation script returned error exit status 11
Processing triggers for libc-bin (2.19-0ubuntu6.6) …
Errors were encountered while processing:
kaltura-nginx

Thanks

Hi,

It adds it because the value is saved in your dpkg conf.
You need to fix it manually again and then, once fixed, restart Nginx, then:
# dpkg-reconfigure kaltura-nginx
and make sure you input the correct value, then you should be good.
No need to reinstall the whole thing again, just do this and then run:
# kaltura-sanity.sh
to make sure tests pass and the ENV is sane.

Hi Jess,

Where can i find the files to fix it? which conf do i need to edit?

Thanks

/opt/kaltura/nginx/conf/nginx.conf

Hi Jess,

I went into /opt/kaltura/nginx/conf/nginx.conf line 17 and remove http:// away. Reboot the server and run dpkg-reconfigure kaltura-nginx and got this error.

/usr/sbin/dpkg-reconfigure: kaltura-nginx is broken or not fully installed

PS. Sorry that I’m taking so much of your time. You are the best :smile:

Thanks

Hi Jess,

I change what you tell me too but it is not working and it is still having the same error.
during setup for kaltura the URL i put http://KVM01 . do i need to remove the http:// ?
I’m really lose as im really new to linux. Is there VM which i can try?

Thanks

Hi,
As I said, it needs to be w/o protocol. Just ‘KVM01’.

Hi Jess,

Try w/o protocol and the same error.
I recreate a new VM ubuntu and i got the same error as well.
I’m not sure what I’ve done to trigger this error. But the Kaltura which I’m installing is all in 1 box.
Could this be the problem? Do i need to put 127.0.0.1 instead of http://KVM01 ?

Thanks

Hi,

I am sorry but I don;t understand… did you set “http://KVM01” or “KVM01”? cause I see you wrote:

Once again with a protocol…

Hi Jess,

I’ve set it without the protocol.

Thanks