cron.sh on openSuse, otrs 3.2.1

Moderator: crythias

Locked
jeffbourassa
Znuny newbie
Posts: 12
Joined: 26 Jan 2013, 05:31
Znuny Version: 3.1.12
Real Name: Jeff Bourassa
Company: SMGI

cron.sh on openSuse, otrs 3.2.1

Post by jeffbourassa »

I am wanting to update our Cron setup on otrs 3.2.1 on new install on openSuse 12.

Running this:
linux:/opt/otrs/var/cron# cd /opt/otrs/bin/
linux:/opt/otrs/bin# su otrs
linux:~/bin$ ./Cron.sh start
/opt/otrs/bin
Cron.sh - start/stop OTRS cronjobs
Copyright (C) 2001-2009 xxx, http://otrs.org/
(using /opt/otrs) done
linux:~/bin$ exit
exit
linux:/opt/otrs/bin#

I get the following error:
Run this scripts as just as OTRS user....

However I am the otrs user as per the "su otrs" command....

Go figure, any ideas?


Jeff
Wolfgangf
Znuny ninja
Posts: 1029
Joined: 13 Apr 2009, 12:26
Znuny Version: 6.0.13
Real Name: Wolfgang Fürtbauer
Company: PBS Logitek GmbH
Location: Pinsdorf

Re: cron.sh on openSuse, otrs 3.2.1

Post by Wolfgangf »

could it be possible your otrs user has no shell - can you check that?

Code: Select all

finger otrs
Login: otrs                             Name: OTRS User
Directory: /opt/otrs                    Shell: /bin/bash
Never logged in.
No Mail.
No Plan.
Produktiv:
OTRS 6.0.13/ ITSM 6.0.13
OS: SUSE Linux (SLES 12, Leap), MySql 5.5.x, 5.6.x
Windows 2012 AD Integration (agents and customers), Nagios integration (incidents, CMDB), Survey, TimeAccounting
Locked