Wednesday, June 24, 2009

PHP CLI - bad interpreter??

After some changes on one of our internal servers one of the cron jobs stopped to work with this error: /usr/bin/php: bad interpreter: Permission denied

Everything is in place! PHP is there ... the script is executable ... but the cron job is not working!

I have searched google for some answers. And I have found it on one website. The partition where the script was stored is mounted as "noexec".

To fix this you need to edit your fstab file and change mount options for your partition. After this "mount -a" should work, it did not work for me and I've had to remount partitions manualy (reboot will help too).

Greetings

Friday, June 5, 2009

O3Spaces tests

In the company we have decided to test different DMS systems. I will start with the O3Spaces and later will describe my experience with OpenXchange - both using community editions.
Everything was installed very smooth using .deb packages. OK, now what? I'm connecting to the management interface and to the spaces interface using Firefox. I'm able to manage the company, users and spaces. I'm also able to document using web browser.
The next step is to integrate it with OpenOffice (3.x in my case). So I installed the Workplace assistant (no problems here) and tried to install the OO plugin ... ops!!!
I did a lot of different things to make it install in the first place. I was able to install it using the OO extension manager, because the automatic installation was not working. Plugin is installed but still not functional ... why ... why ... ;(
I spend 1 day searching for solution with no success! Then I have decided to test on SuSE. Connected to Spaces server ... installed Workspace assistant ... installed plugin everything was smooth and easy. Then I noticed that SuSE is using Sun Java engine and on Ubuntu I'm using Openjdk?! I removed it and installed the java from Sun. This solved my problem! I was able to install plugin using normal procedure via Workplace assistant. i was able to connect to Spaces from OO and edit files.
My fight was over :)
We ware able to test this DMS in our work environment. I can recommend this one it is very easy to work with it. Also the community edition is free for up to 10 users.