“/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?
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.
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
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.
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
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.
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
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?
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 ?