RE: [otrs] Cron Jobs and Charts installation

2004-02-23 Thread Jason Coltrin
My mistake, the OTRS User account is there - and I installed as such, I was
just looking for the home directory, which I didn't create. In addition, the
shell was set to /bin/true - so I couldn't get a shell when I 'su otrs'
thanks, it's started now. Thanks for the direction for installing the GD
modules into Perl also.






-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Robert Kehl
Sent: Monday, February 23, 2004 3:24 PM
To: User questions and discussions about OTRS.
Subject: Re: [otrs] Cron Jobs and Charts installation

On Monday, February 23, 2004 11:44 PM
Jason Coltrin <[EMAIL PROTECTED]> wrote:
> Dear Sirs,

And Madams, hopefully...

> I think there are other important cron jobs that should be running as 
> well as this may allow graphs. I don't have an OTRS system user 
> currently - do I need to create one first?

Ouch - how did you really manage OTRS so far? Well, yes, a Linux system
might run having everything set to 777, but it's more safe to use a specific
user to operate on a server product. I believe no serious admin to have
his/her apache running as root these days, for example, whereas in former
days you'd encounter this case quite often...

> Create an OTRS group? And with which rights?

from INSTALL:
2. Create user:
   
Add user:
-
$shell: useradd -d /opt/otrs/ -c 'OTRS user' otrs

Add user to webserver group (if the webserver is not running with OTRS
user):

-
$shell: usermod -G nogroup otrs

(SuSE=nogroup, Red Hat=apache)

> Do I create copies of all the files in var/cron to a different, or 
> same directory?
> What's the exact syntax for starting Cron.sh?

# Cron.sh {start|stop|restart} OTRS_USER

> Further, when running ./mkStats.pl I am returned:
> Can't locate GD.pm in @INC (@INC contains: /opt/otrs/Kernel/cpan-lib

Install the needed GD modules into your Perl. There are several ways to do
so. Using CPAN will always work, I presume, although choosing available rpms
or stuff might not be the badest idea around, at least if your system is
merely built from rpms or similar binary packages. But in fact, it doesn't
matter, really.

hth,

Robert Kehl

--
((otrs.de)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg
 http://www.otrs.de/ :: Tel. +49 (0)6172 4832388

___
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
Support oder Consulting für Ihr OTRS System?
=> http://www.otrs.de/
___
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
Support oder Consulting für Ihr OTRS System?
=> http://www.otrs.de/


Re: [otrs] Cron Jobs and Charts installation

2004-02-23 Thread Robert Kehl
On Monday, February 23, 2004 11:44 PM
Jason Coltrin <[EMAIL PROTECTED]> wrote:
> Dear Sirs,

And Madams, hopefully...

> I think there are other important cron jobs that should be running as
> well as this may allow graphs. I don't have an OTRS system user
> currently - do I need to create one first?

Ouch - how did you really manage OTRS so far? Well, yes, a Linux system
might run having everything set to 777, but it's more safe to use a
specific user to operate on a server product. I believe no serious admin
to have his/her apache running as root these days, for example, whereas
in former days you'd encounter this case quite often...

> Create an OTRS group? And with which rights?

from INSTALL:
2. Create user:
   
Add user:
-
$shell: useradd -d /opt/otrs/ -c 'OTRS user' otrs

Add user to webserver group (if the webserver is not running with
OTRS user):

-
$shell: usermod -G nogroup otrs

(SuSE=nogroup, Red Hat=apache)

> Do I create copies of all the files in var/cron to a different, or
> same directory?
> What's the exact syntax for starting Cron.sh?

# Cron.sh {start|stop|restart} OTRS_USER

> Further, when running ./mkStats.pl I am returned:
> Can't locate GD.pm in @INC (@INC contains: /opt/otrs/Kernel/cpan-lib

Install the needed GD modules into your Perl. There are several ways to
do so. Using CPAN will always work, I presume, although choosing
available rpms or stuff might not be the badest idea around, at least if
your system is merely built from rpms or similar binary packages. But in
fact, it doesn't matter, really.

hth,

Robert Kehl

--
((otrs.de)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg
 http://www.otrs.de/ :: Tel. +49 (0)6172 4832388

___
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
Support oder Consulting für Ihr OTRS System?
=> http://www.otrs.de/


[otrs] Cron Jobs and Charts installation

2004-02-23 Thread Jason Coltrin
Dear Sirs, 

I believe I incorrectly set up cron jobs. I set up the Postmaster.pl to
check for emails with my own cron job: (/opt/otrs/bin/./PostMasterPOP3.pl >
/dev/null) but after looking to set up charts, I read this statement in the
setup guide:

11. Cronjobs for the OTRS user:
---
There are several OTRS default cronjobs in $OTRS_HOME/var/cron/*.dist.
Make copies of all of the default cronjobs:

  cd var/cron
  for foo in *.dist; do cp $foo `basename $foo .dist`; done

Or if you are installing OTRS an a Windows system:

  cd var/cron
  copy *.dist *.


Use $OTRS_HOME/bin/Cron.sh {start|stop|restart} to start or stop this cr
onjobs
from $OTRS_HOME/var/cron/* (.dist will be ignored).

>> Note: Install this cronjobs as OTRS user. <<

I think there are other important cron jobs that should be running as well
as this may allow graphs. I don't have an OTRS system user currently - do I
need to create one first? Create an OTRS group? And with which rights?

Do I create copies of all the files in var/cron to a different, or same
directory? 

What's the exact syntax for starting Cron.sh? 

Further, when running ./mkStats.pl I am returned:
Can't locate GD.pm in @INC (@INC contains: /opt/otrs/Kernel/cpan-lib
/opt/otrs /etc/perl /usr/local/lib/perl/5.8.1 /usr/local/share/perl/5.8.1
/usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8.1 /usr/share/perl/5.8.1
/usr/local/lib/site_perl .) at ./mkStats.pl line 36.
BEGIN failed--compilation aborted at ./mkStats.pl line 36.

Thanks for all of your support!

Jason Coltrin
AGIA 
___
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
Support oder Consulting für Ihr OTRS System?
=> http://www.otrs.de/