Crontrabs

Hilfe zu Znuny Problemen aller Art
Locked
josch12
Znuny newbie
Posts: 4
Joined: 25 Jul 2011, 12:54
Znuny Version: 3.0.9

Crontrabs

Post by josch12 »

Hallo,

ich habe ein kleines Problem mit der Installation von OTRS 3.0.9 bzw. mit den Crons

laut Anleitung soll ich diese per User OTRS anlegen,

gebe ich su otrs ein verlang dieser nach einem Passwort.

Standardpasswörter oder "root" gehen nicht, auch ohne Passwort keine Changse

verwendet wird Ubuntu 11.02

wie habt ihr das gemacht ?
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Crontrabs

Post by jojo »

als root
cd /opt/otrs
bin/Cron.sh start otrs
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
josch12
Znuny newbie
Posts: 4
Joined: 25 Jul 2011, 12:54
Znuny Version: 3.0.9

Re: Crontrabs

Post by josch12 »

Danke,

das sah schon einmal gut aus


sudo bin/Cron.sh start otrs
/opt/otrs
Cron.sh - start/stop OTRS cronjobs - <$Revision: 1.19 $>
Copyright (C) 2001-2009 xxx, http://otrs.org/
(using /opt/otrs) done




gebe ich "crontab-l-u otrs" zum überprüfen ein,

kommt befehl nicht gefunden,

via sudo crontab-l-u otrs

das gleiche
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Crontrabs

Post by jojo »

die Leerzeichen zwichen crontab und den Optionen -l und -u vergessen?
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
josch12
Znuny newbie
Posts: 4
Joined: 25 Jul 2011, 12:54
Znuny Version: 3.0.9

Re: Crontrabs

Post by josch12 »

Ja ;)

er gibt keinerlei Meldung aus

@otrs:/opt/otrs$ sudo crontab -l -u otrs
@otrs:/opt/otrs$

es scheint igw. noch nicht zu funktionieren, da er die mails bisher noch nicht automatisch einliest.

ich tippe mal darauf,

da es laut Anleitung heist,

man solle " for foo in *.dist; do cp $foo `basename $foo .dist`; done "
ausführen um die .dist dateien zu ändern,

damit scheint Ubuntu nicht einverstanden zu sein, da er dies nicht ausführen möchte.

er meldet mir hier einen Syntaxfehler,
kann es daran liegen ?
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Crontrabs

Post by jojo »

ja, weil die dist Dateien nicht übernommen werden (sollen)

Dann benenn die Dateien einfach mal um (.dist entfernen)
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
josch12
Znuny newbie
Posts: 4
Joined: 25 Jul 2011, 12:54
Znuny Version: 3.0.9

Re: Crontrabs

Post by josch12 »

Hi,

ich habe die Daten nun alle umbenannt und das .dist entfernt.

erhalte nun folgende Fehlermeldung.



sudo bin/Cron.sh start otrs
/opt/otrs
Cron.sh - start/stop OTRS cronjobs - <$Revision: 1.19 $>
Copyright (C) 2001-2009 xxx, http://otrs.org/
"/opt/otrs/var/tmp/otrs-cron-tmp.6615":10: bad minute
errors in crontab file, can't install.
failed

nur welches von den vielen Contrabfiles ?
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Crontrabs

Post by jojo »

schau in die tmp Datei, nutze grep oder frag Deinen Linux Admin
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
Locked