Vagrant installation problem

Hello,
I have some error when installing Kaltura CE via Vagrant solution.

==> default: Syntax error on line 63 of /opt/kaltura/app/configurations/apache/conf.d/enabled.kaltura.conf: ==> default: RewriteRule: bad flag delimiters ==> default: [FAILED]

Anyone knows how I can repair this issue ?

Hi,

Please share the actual conf file so I can further help you.

Vagrantfile:

`# Creates a kaltura server from a standard centos-6.5 installation

this will always create the latest kaltura version using install scripts

VAGRANTFILE_API_VERSION = “2”

Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = “grtjn/centos-6.5”

set this to the IP addr you wish to set on the VM host

config.vm.network “private_network”, ip: "192.168.56.100"
config.vm.provider “virtualbox” do |v|
v.memory = 1024
end
config.vm.provision “file”, source: “oflaDemo-r4472-java6.war”, destination: "oflaDemo-r4472-java6.war"
config.vm.provision “file”, source: “kaltura-install-config.sh”, destination: "kaltura-install-config.sh"
config.vm.provision “shell”, path: "kaltura-install.sh"
end
`

kaltura-install-config.sh:

MYSQL_ROOT_PASSWORD="vagrant" KALTURA_DOMAIN="kaltura.local" KALTURA_ADMIN_EMAIL="admin@$KALTURA_DOMAIN" KALTURA_ADMIN_PASSWORD="Kaltura1!" KALTURA_ENVIRONMENT_NAME="Kaltura Local"

http://wklej.org/id/1903455/ - invalid file.

My number one guess would be that you edited the files on a Windows machine, thus windows changed “\n” to “\r\n” which is not good.

You can try to fix it by SSH to the vagrant instance and doing:
# yum install dos2unix
# dos2unix /opt/kaltura/app/configurations/apache/conf.d/enabled.kaltura.conf

and then try to start Apache with:
# service httpd start

if that works, then that is the reason.

No, i didnt edited anything. Its clear Vagrant image.
Can You recommend me the way how to properly install the Kaltura CE ?
I tried almost everything, and always I get some errors impossible to resolve.