Author Topic: Setup CalemEAM on OpenSUSE  (Read 18469 times)

harner

  • Newbie
  • *
  • Posts: 12
Setup CalemEAM on OpenSUSE
« on: June 06, 2007, 10:53:33 am »
Hello, there!  My name is Chris and I am very interested in trying our CalemEAM!  I was wondering if this will benefit my needs...

What I have:
Dell server running OpenSUSE 10.1, Apache/PHP/MySQL/Webmin

What I'm looking for:
I want a Vendor Management System. Some kind of PHP web interface where I can store information about vendors on a MySQL back-end.

What I've played with:
DARWIN - hardly developed/not secure
CMMS - install fails/not supported
free-cmms - DB script fails/not supported
myCMMS - DB script fails/waiting for support
Postnuke - too much on the interface
phpwcms- unknown issue

What the company has now:
A Lotus Notes database with the information stored in there.

From what the demo shows, I think we could use it, but what do you think?

calemadmin

  • Administrator
  • Calem Hero
  • *****
  • Posts: 300
    • http://www.calemeam.com
Setup CalemEAM on OpenSUSE
« Reply #1 on: June 06, 2007, 11:32:49 am »
CalemEAM is a EAM/CMMS package. It includes vendor functions in purchase module. It's not clear if the vendor function would be sufficient for you. If the demo looks good to you the real system should work. The demo is the same release on SourceForge (r1.0.1x) that you can download.
Calem Community Forum Admin

harner

  • Newbie
  • *
  • Posts: 12
Setup CalemEAM on OpenSUSE
« Reply #2 on: June 06, 2007, 12:17:47 pm »
Cool, I'm installing it now.  INSTALL.txt has one error -
http://www.calemeam/support_setup.html should be
http://www.calemeam.com/support_setup.html


Also, in step 2 I edited the env.sh file.  I'm doing an install on an OpenSUSE 10.1 box.

Code: [Select]
HOME_DIR=/usr/lib/apache2
PHP_EXE=/usr/bin/php5
CALEM_HOME=/srv/www/htdocs/calemeam
export CALEM_DIR=$CALEM_HOME/


By HOME_DIR, do you mean the main folder of Apache2?  The default is /opt/lamp, but I have the packages installed differently.

calemadmin

  • Administrator
  • Calem Hero
  • *****
  • Posts: 300
    • http://www.calemeam.com
Setup CalemEAM on OpenSUSE
« Reply #3 on: June 06, 2007, 01:22:34 pm »
Only PHP_EXE and CALEM_DIR are used, HOME_DIR are used as an interim holder if you happen to install everything under one root directory (like XAMPP). So you are fine with your configuration.

We will correct the typo in next release.
Calem Community Forum Admin

harner

  • Newbie
  • *
  • Posts: 12
Setup CalemEAM on OpenSUSE
« Reply #4 on: June 06, 2007, 01:57:14 pm »
Okay sounds good.  I did run into one small problem.  When I run ./setup.sh, I get this:
Error in finding log4php.properties. Logging is not configured.

The log_errors option is enabled in php.ini and it does spit out a file if there are errors.  There are none yet.

I didn't see anything else listed about logging on http://www.calemeam.com/support_setup.html

I did restart the Apache server after the changes, as well.

calemadmin

  • Administrator
  • Calem Hero
  • *****
  • Posts: 300
    • http://www.calemeam.com
Setup CalemEAM on OpenSUSE
« Reply #5 on: June 06, 2007, 02:15:47 pm »
Your env.sh has .../htdocs/calemeam, unzip the application will install it under .../htdocs/CalemEAM. Check your path to ensure they match.
Calem Community Forum Admin

harner

  • Newbie
  • *
  • Posts: 12
Setup CalemEAM on OpenSUSE
« Reply #6 on: June 06, 2007, 02:24:19 pm »
Please move this thread to Setup Issues.

Still getting this error:
chpas-map:/srv/www/htdocs/calemeam/bin # ./setup.sh
Error in finding log4php.properties. Logging is not configured.


I changed it back to CalemEAM and /srv/www/htdocs/CalemEAM

Same issue.

calemadmin

  • Administrator
  • Calem Hero
  • *****
  • Posts: 300
    • http://www.calemeam.com
Setup CalemEAM on OpenSUSE
« Reply #7 on: June 06, 2007, 02:33:32 pm »
We would have to dive a bit deeper to figure out what's wrong:
- edit CalemEAM/bin/logging/CalemLoggingSetupCmd.php
add the following after line 31 (define('LOG4PHP_CONF', 'etc/log4php.properties');)

echo "_CALEM_DIR_=" . _CALEM_DIR_  . ", log4php=" . LOG4PHP_CONF . "\n";
echo "is_file: " . is_file(_CALEM_DIR_ . LOG4PHP_CONF) . "\n";

Save the file and run setup.sh again.  We will see the above printout.
Calem Community Forum Admin

harner

  • Newbie
  • *
  • Posts: 12
Setup CalemEAM on OpenSUSE
« Reply #8 on: June 06, 2007, 02:38:38 pm »
Code: [Select]
chpas-map:/srv/www/htdocs/calemeam/bin # ./setup.sh
_CALEM_DIR_=/srv/www/htdocs/, log4php=etc/log4php.properties
is_file:
Error in finding log4php.properties. Logging is not configured.


Shouldnt the calem dir be saying it is in /srv/www/htdocs/CalemEAM?

calemadmin

  • Administrator
  • Calem Hero
  • *****
  • Posts: 300
    • http://www.calemeam.com
Setup CalemEAM on OpenSUSE
« Reply #9 on: June 06, 2007, 02:40:47 pm »
You're right, _CALEM_DIR_ should be /srv/www/htdocs/CalemEAM
Calem Community Forum Admin

calemadmin

  • Administrator
  • Calem Hero
  • *****
  • Posts: 300
    • http://www.calemeam.com
Setup CalemEAM on OpenSUSE
« Reply #10 on: June 06, 2007, 02:42:28 pm »
correction: _CALEM_DIR_ should be /srv/www/htdocs/CalemEAM/
(with '/' at the end of the path)
Calem Community Forum Admin

harner

  • Newbie
  • *
  • Posts: 12
Setup CalemEAM on OpenSUSE
« Reply #11 on: June 06, 2007, 02:49:48 pm »
Do I change that in env.sh?  If so, I changed it to:
Code: [Select]
HOME_DIR=/srv/www/htdocs/CalemEAM/
PHP_EXE=/usr/bin/php5
CALEM_HOME=/srv/www/htdocs/CalemEAM/
export CALEM_DIR=$CALEM_HOME/


And still get
Code: [Select]
chpas-map:/srv/www/htdocs/calemeam/bin # ./setup.sh
_CALEM_DIR_=/srv/www/htdocs/, log4php=etc/log4php.properties
is_file:
Error in finding log4php.properties. Logging is not configured.


Hmmm...!

calemadmin

  • Administrator
  • Calem Hero
  • *****
  • Posts: 300
    • http://www.calemeam.com
Setup CalemEAM on OpenSUSE
« Reply #12 on: June 06, 2007, 03:04:43 pm »
env.sh looks good to me. We could add another line after line 31:
<code>
    echo "ENV['CALEM_DIR']=" . $_ENV['CALEM_DIR'] . "\n"
</code>

and look at the printout.
Calem Community Forum Admin

harner

  • Newbie
  • *
  • Posts: 12
Setup CalemEAM on OpenSUSE
« Reply #13 on: June 07, 2007, 06:02:00 am »
Here is the printout:

Code: [Select]
chpas-map:/srv/www/htdocs/CalemEAM/bin # ./setup.sh
ENV['CALEM_DIR']=
_CALEM_DIR_=/srv/www/htdocs/, log4php=etc/log4php.properties
is_file:
Error in finding log4php.properties. Logging is not configured.


Where do I set these fields to be correct?

calemadmin

  • Administrator
  • Calem Hero
  • *****
  • Posts: 300
    • http://www.calemeam.com
Setup CalemEAM on OpenSUSE
« Reply #14 on: June 07, 2007, 06:23:50 am »
Seems the export from env.sh is not passed to PHP. It's not clear why this is happening. We could do some research about it...I'll check if there's a path to get around it.
Calem Community Forum Admin