Copyright © 2012 Kaltura Inc.
All Rights Reserved. Designated trademarks and brands are the property of their respective owners.
Use of this web site constitutes acceptance of the Terms of Use and Privacy Policy.
EduVideo.org
Following the instructions for CentOS on a fresh install system (CentOS6 x64 btw) I get a screen flood every time I get to the line:-
php package.php /home//kaltura-installer false CE v6.0.0 dev
I am changing the user-name to that of a wheel account (as per the screencast... my ISO is the live install, I didn't add the "extras" he did, but I did add "nano", and set /etc/inittab to init level 3, since he doesn't have X and I don't need it, in case any of that would that would make any difference)
Cannot ssh into the system, (corporate firewall, I believe... it's my job to prove it works and is safe before it goes anywhere "open" ish) so getting a screen-dump of the errors is quite tricky, but I'll type the repetition which remains at the bottom. (if you need to see more, I'll redirect it to a file)
PHP Warning: readdir() expects parameter 1 to be resource, boolean given in /home//ce-packager/installer/lib/utils.php on line 12
PHP Warning: opendir(//.dbus//// ///): failed to open dir: Permission denied in /home//ce-packager/installer/lib/utils.php on line 14
Everything looks fine up to that point, but I don't know what this php script is supposed to achieve. (clearly, not that) I've gone back and re-installed CentOS (no VM to roll back for me) 4 times now, so I can't believe I made the exact same typo (no cut and paste without ssh either) each time.
Can anyone give me some idea how I can resolve this?
Grr... okay, now I've had authorisation for SSH, when I retry I am getting the following error from the sub-module update:-
$ git submodule update --init
Submodule 'git-repositories/KalturaServer' (https://github.com/kaltura/KalturaServer.git) registered for path 'git-repositories/KalturaServer'
Submodule 'git-repositories/ce-binaries' (https://github.com/kaltura/ce-binaries.git) registered for path 'git-repositories/ce-binaries'
Submodule 'git-repositories/ce-branding' (https://github.com/kaltura/ce-branding.git) registered for path 'git-repositories/ce-branding'
Submodule 'git-repositories/ce-configurations' (https://github.com/kaltura/ce-configurations.git) registered for path 'git-repositories/ce-configurations'
Submodule 'git-repositories/ce-dwh' (https://github.com/kaltura/ce-dwh.git) registered for path 'git-repositories/ce-dwh'
Submodule 'git-repositories/ce-uiconfs' (https://github.com/kaltura/ce-uiconfs.git) registered for path 'git-repositories/ce-uiconfs'
Submodule 'packaging/package_skeleton/app/web/content/docs' (https://github.com/kaltura/ce-docs.git) registered for path 'packaging/package_skeleton/app/web/content/docs'
Initialized empty Git repository in /home/papyromancer/ce-packager/git-repositories/KalturaServer/.git/
remote: Counting objects: 28707, done.
remote: Compressing objects: 100% (10378/10378), done.
remote: Total 28707 (delta 17496), reused 28562 (delta 17351)
Receiving objects: 100% (28707/28707), 37.78 MiB | 6.21 MiB/s, done.
Resolving deltas: 100% (17496/17496), done.
fatal: reference is not a tree: 7ebc836ec24e266ae201de7636acf2c30c3f9435
Unable to checkout '7ebc836ec24e266ae201de7636acf2c30c3f9435' in submodule path 'git-repositories/KalturaServer'
Is that related?
Those PHP warning still filled my buffer very quickly, here is an example of two consecutive iterations:-
PHP Warning: readdir() expects parameter 1 to be resource, boolean given in /home/papyromancer/ce-packager/installer/lib/utils.php on line 14
PHP Warning: copy(//.dbus//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// in /home/papyromancer/ce-packager/installer/lib/utils.php on line 20
PHP Warning: readdir() expects parameter 1 to be resource, boolean given in /home/papyromancer/ce-packager/installer/lib/utils.php on line 14
PHP Warning: copy(//.dbus//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// in /home/papyromancer/ce-packager/installer/lib/utils.php on line 20
I also note that the line numbers issuing warning has changed this time around. :( What's going on?
What versions of PHP and Apache are you using?
Seems like your deployment is not standard ("Cannot ssh into the system, (corporate firewall...").. Do you have any special firewall, SELinux, proxy, etc. setup there? Why can't you get simple SSH to the machine? Are you running the installer as root?
Sorry, we got very busy with student issues as they came back from vacation and I lost the spare time to check back for a bit while everyone had forgotten their passwords over Christmas Dinner. XD
To be clear, I'm following the CentOS guide at https://github.com/kaltura/ce-packager/blob/falcon/docs/prerequisites-ce... with a CentOS-6.3-x86_64-minimal.iso, and referring to the screencast by Andrew Davis (papyromancer?) found at http://kaltura.github.com/ce-packager/docs/screencasts.html, and the further installation instructions found on https://github.com/kaltura/ce-packager.
What versions of PHP and Apache am I using? Whatever yum gave me when I followed the instructions on GitHub? (looks like mysql 5.1.66-2.el6_6 and php5.3.3-14.el6_3 ... is Apache part of the minimal install for CentOS 6.3, since I don't see it on the list)
sudo yum install git wget dos2unix php-cli php-mysql php-gd \
mysql-server memcached httpd mailx ImageMagick \
php-pecl-apc php-pecl-memcache php-xml cronie
sudo yum --enablerepo=centosplus install mod_php
(this is where I add nano after cronie, I was tempted to add curl to get the jre, since ssh was painful and I didn't fancy doing an scp, but found a wget solution instead)
Do I have a special firewall, SELinux, proxy, etc. setup there? Yes... but that would only lead to the question what is it? All I know is it's our Colleges' security, which I know very little about and have no reason to be told. No reason, that is, except that the network team have asked me, an IT Tech, to investigate and test a potential media server solution. *teehee*
I can tell you that the proxy is Bloxx on an Ubuntu server, but that's a black box (actually a number of yellow rack-mount servers) that the college bought in and stuck in the coms rooms at each major site.
The firewalls and filters (there are several) are all managed by the network team, and they are very guarded about what they will tell us, because we talk to users. XD
Why can't I get a simple SSH? Because port 22 is blocked in the managed switches. (I think that generally every port is blocked unless it's connected to Windows, IE, AD or Exchange, or on the Mac VLAN, or a static server IP)
As I said later, the network manager got my box SSH access authorised, but the problem originally posted persists.
Am I installing as root? No, I'm following the screencast and GitHub instructions, so I'm installing as a no-password sudoer in the wheel group. (which, you may have noticed, I called papyromancer... just as Andrew, does... because, why not? it's only a test server)
I started to suspect my test machines NIC. (A Dell 380) So I've started working on a VM. (VirtualBox ... because the Network team have all the VMWare licenses and fancy server systems that I don't)
The same result appeared, but with ssh going and my client logging, it looks like git is where the errors *start*:-
error: git checkout-index: unable to write file ddl/migrations/old/db_updates/blackeye2.0/20100616_create_old_entries_table.sql
error: git checkout-index: unable to write file ddl/migrations/old/db_updates/blackeye2.0/20100616_create_plays_views_sync_ds_objects.sql
error: git checkout-index: unable to write file ddl/migrations/old/db_updates/blackeye2.0/20100620_upgrade_partner_activity_and_rep_sps.sql
error: git checkout-index: unable to write file ddl/migrations/old/db_updates/blackeye2.0/20100628_add_fms_streaming.sql
error: git checkout-index: unable to write file ddl/migrations/old/db_updates/blackeye2.0/20100712_alter_staging_areas.sql
error: git checkout-index: unable to write file ddl/migrations/old/db_updates/blackeye2.0/20100712_alter_transfer_ods_partition.sql
fatal: cannot create directory at 'ddl/migrations/old/db_updates/blackeye2cassiopea': No space left on device
Unable to checkout 'b5923e5cd99a88b730f4f023897fc6ba250323de' in submodule path 'git-repositories/ce-dwh'
I'm not out of space on the drive, I don't recognise those locations and have no idea why the machine may be failing to write those SQL scripts.
I can tell you that I don't have access to a machine with more than 2Gig of RAM in it though? May that be the issue?
hello,
i am also having the same issue when i go to make the package. On a VMware VM of centos 6. Sorry if this is the wrong place to post i am quite the noob.
Started packaging
PHP Warning: mkdir(): File exists in /root/ce-packager/packaging/package.php on line 64
Created package skeleton
Created version.ini
PHP Warning: file_get_contents(/home/administrator/kaltura-installer//package/a pp/app/configurations/base.ini): failed to open stream: No such file or director y in /root/ce-packager/packaging/package.php on line 83
PHP Warning: readdir() expects parameter 1 to be resource, boolean given in /ro ot/ce-packager/installer/lib/utils.php on line 14
PHP Warning: copy(//proc/acpi/event): failed to open stream: Device or resource busy in /root/ce-packager/installer/lib/utils.php on line 20
PHP Warning: copy(//proc/sys/vm/compact_memory): failed to open stream: Permiss ion denied in /root/ce-packager/installer/lib/utils.php on line 20
PHP Warning: copy(//proc/sys/net/ipv4/route/flush): failed to open stream: Perm ission denied in /root/ce-packager/installer/lib/utils.php on line 20
PHP Warning: copy(//proc/sys/net/ipv6/route/flush): failed to open stream: Perm ission denied in /root/ce-packager/installer/lib/utils.php on line 20
http://www.kaltura.org/installing-kaltura-ce-6-falcon-github
answer 29 got me 1 step further, but it failed on the install
#29 is old and that "prior to dec 20" portion is no longer needed.
I don't know what unique errors you might have by building in root, I build as a regular user and sudo when needed. The following commands get me a clean build. To execute you'd need all of the prerequisites and the suggestions I noted in the Doc Suggestions thread.
------------------------
sudo yum update
sudo yum install git wget dos2unix php-cli php-mysql php-gd \
mysql-server memcached httpd mailx ImageMagick \
php-pecl-apc php-pecl-memcache php-xml cronie zsh tmux tig vim
cd ~/
git clone -b falcon https://github.com/kaltura/ce-packager.git
cd ce-packager
cd git-repositories
git clone -b falcon https://github.com/kaltura/KalturaServer.git
git clone https://github.com/kaltura/ce-binaries.git
git clone https://github.com/kaltura/ce-branding.git
git clone https://github.com/kaltura/ce-configurations.git
git clone https://github.com/kaltura/ce-dwh.git
git clone https://github.com/kaltura/ce-uiconfs.git
cd ..
cd packaging
php package.php /home/xxxx/kaltura-installer false CE v6.0.1 dev
Note that if you have SELinux enabled - it should be set to at the very minimum permissive mode. Otherwise it might very well be blocking the Kaltura installation.
It has been found recently that various Proxy configurations block github connections, that might also be a problem.
Proxy and security blocking important ports, especially http will definitely pose problems on Kaltura.
I'd set SELinux to disabled, as per the instructions, and rebooted.
I've also, now, been given a port on a separate VLAN to our regular network, which has a direct connection to the internet. (but no connection to speak of to anything else) The error still seems the same to me:-
I have to assume that it's related to the amount of memory, since transferring to the new VLAN has meant going down to the bare minimum 1Gig of RAM, and the "No space left on device" error is now happening sooner in the process than it was with 2Gig.
Is GIT using a ram-fs (or similar) for temporary download?
That error simply says that you ran out of disk space (not like previously where it was permissions issue).
You should run the install on a machine with at least 20GB free space.
(IMHO it really doesn't make sense to have Kaltura on machine with less than 1TB network storage - you're going to be handling video files, many of them).
I ran into the same problem noted in the first post of this thread, so I followed jflynn22's instructions from 1/19/13.
When I run
git clone -b falcon https://github.com/kaltura/KalturaServer.git
I get
error: The requested URL returned error: 401 Authorization Required while accessing https://github.com/kaltura/KalturaServer.git/info/refs
Any suggestions?
Sorry... looks like I can't edit now, but it's hidden <username> stuff, and the fact the //// get one character longer each repetition. (I'd expected chevrons to be converted automatically. :\