Re: [otrs] Also about otrs cronjobs
use su -s /bin/bash otrs By default, otrs user don't have shell. So with this command, you specify what shell you whant to use. Hope this help Guillaume REHM Service Informatique Bibliothèque Nationale et Universitaire de Strasbourg 5 rue du Maréchal Joffre BP 51029 67070 Strasbourg tél: 03 88 25 28 43 fax: 03 88 25 28 03 mail: [EMAIL PROTECTED] web: http://www.bnu.fr Alina Florea a écrit : Sorry, but I made a mistake... I have type whoami and not pwd. Sorry again. So after "whoami" I have noticed that I am still connected as root and not as otrs. Thank you in advanced for your help. Alina. Jeremy Monnet a écrit : On 4/27/06, Alina Florea <[EMAIL PROTECTED]> wrote: Hi, To have otrs cron jobs errors read otrs user mail su -s /bin/bash otrs mail I have "permission denied" when I try this command. I have also typed: su otrs pwd "pwd" will give you only the current working directory, which will NOT be changed by just "su". If you want to know who you are, try "whoami". If you want to get the environnement of the user, you should issue "su - otrs" (this would bring you to the otrs home directory). Notice the "-" which forces the use of the user's environnement, instead of keeping the previous user's environnement. Jeremy -- Linux Registered User #317862 Linux From Scratch Registered User #16571 Please do not send me .doc, .xls, .ppt, as I will *NOT* read them. ___ 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] Also about otrs cronjobs
Sorry, but I made a mistake... I have type whoami and not pwd. Sorry again. So after "whoami" I have noticed that I am still connected as root and not as otrs. Thank you in advanced for your help. Alina. Jeremy Monnet a écrit : On 4/27/06, Alina Florea <[EMAIL PROTECTED]> wrote: Hi, To have otrs cron jobs errors read otrs user mail su -s /bin/bash otrs mail I have "permission denied" when I try this command. I have also typed: su otrs pwd "pwd" will give you only the current working directory, which will NOT be changed by just "su". If you want to know who you are, try "whoami". If you want to get the environnement of the user, you should issue "su - otrs" (this would bring you to the otrs home directory). Notice the "-" which forces the use of the user's environnement, instead of keeping the previous user's environnement. Jeremy -- Linux Registered User #317862 Linux From Scratch Registered User #16571 Please do not send me .doc, .xls, .ppt, as I will *NOT* read them. ___ 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/ -- --- Alina Florea Ritme Informatique 34 bd Haussmann 75009 Paris France Tel: +33 (0)1 42 46 00 42 Fax: +33 (0)1 42 46 00 33 http://www.ritme.com [EMAIL PROTECTED] : [EMAIL PROTECTED] --- ___ 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] Also about otrs cronjobs
On 4/27/06, Alina Florea <[EMAIL PROTECTED]> wrote: > Hi, > > > To have otrs cron jobs errors read otrs user mail > > su -s /bin/bash otrs > > mail > > > I have "permission denied" when I try this command. > > I have also typed: > > su otrs > pwd "pwd" will give you only the current working directory, which will NOT be changed by just "su". If you want to know who you are, try "whoami". If you want to get the environnement of the user, you should issue "su - otrs" (this would bring you to the otrs home directory). Notice the "-" which forces the use of the user's environnement, instead of keeping the previous user's environnement. Jeremy -- Linux Registered User #317862 Linux From Scratch Registered User #16571 Please do not send me .doc, .xls, .ppt, as I will *NOT* read them. ___ 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] Also about otrs cronjobs
Hi, To have otrs cron jobs errors read otrs user mail su -s /bin/bash otrs mail I have "permission denied" when I try this command. I have also typed: su otrs pwd the result is that I am still as root. Maybe that is the problem. Could someone advice? Thanks in advance. Alina. Bye Guillaume REHM Service Informatique Bibliothèque Nationale et Universitaire de Strasbourg 5 rue du Maréchal Joffre BP 51029 67070 Strasbourg tél: 03 88 25 28 43 fax: 03 88 25 28 03 mail: [EMAIL PROTECTED] web: http://www.bnu.fr Alina Florea a écrit : Hello all, I have also a problem with otrs cronjobs. A have followed the instructions in the manual, I have installed the cronjobs as otrs user (su otrs). I have executed the ./Cron.sh command. I have not any error message but the crontab seems not working because I do not receive any mails in OTRS. When typing crontab -l -u otrs I can see all the entries of the crontab, as in the documentation. Where could the problem be? Is there some rights that otrs user has not? What are the permissions of job scripts? To force the receive of new emails in OTRS I have add a script in /etc/cron.hourly lines witch contains the line: /opt/otrs/bin/PostMasterPOP3.pl >> /dev/null The inconevient is that the fetch emails is done only one time in an hour and the most important is that if I log off from root, I do not receive any email at all. In fact I must stay logged in as root in order to have the cron.hourly launched. What have I change in order to make otrs crontab working or at least to have cron.hourly running even if I am not login. Thank yo for your help. Best regards, Alina Florea ___ 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/ -- --- Alina Florea Ritme Informatique 34 bd Haussmann 75009 Paris France Tel: +33 (0)1 42 46 00 42 Fax: +33 (0)1 42 46 00 33 http://www.ritme.com [EMAIL PROTECTED] : [EMAIL PROTECTED] --- ___ 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] Also about otrs cronjobs
To have otrs cron jobs errors read otrs user mail su -s /bin/bash otrs mail Bye Guillaume REHM Service Informatique Bibliothèque Nationale et Universitaire de Strasbourg 5 rue du Maréchal Joffre BP 51029 67070 Strasbourg tél: 03 88 25 28 43 fax: 03 88 25 28 03 mail: [EMAIL PROTECTED] web: http://www.bnu.fr Alina Florea a écrit : Hello all, I have also a problem with otrs cronjobs. A have followed the instructions in the manual, I have installed the cronjobs as otrs user (su otrs). I have executed the ./Cron.sh command. I have not any error message but the crontab seems not working because I do not receive any mails in OTRS. When typing crontab -l -u otrs I can see all the entries of the crontab, as in the documentation. Where could the problem be? Is there some rights that otrs user has not? What are the permissions of job scripts? To force the receive of new emails in OTRS I have add a script in /etc/cron.hourly lines witch contains the line: /opt/otrs/bin/PostMasterPOP3.pl >> /dev/null The inconevient is that the fetch emails is done only one time in an hour and the most important is that if I log off from root, I do not receive any email at all. In fact I must stay logged in as root in order to have the cron.hourly launched. What have I change in order to make otrs crontab working or at least to have cron.hourly running even if I am not login. Thank yo for your help. Best regards, Alina Florea ___ 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/
[otrs] Also about otrs cronjobs
Hello all, I have also a problem with otrs cronjobs. A have followed the instructions in the manual, I have installed the cronjobs as otrs user (su otrs). I have executed the ./Cron.sh command. I have not any error message but the crontab seems not working because I do not receive any mails in OTRS. When typing crontab -l -u otrs I can see all the entries of the crontab, as in the documentation. Where could the problem be? Is there some rights that otrs user has not? What are the permissions of job scripts? To force the receive of new emails in OTRS I have add a script in /etc/cron.hourly lines witch contains the line: /opt/otrs/bin/PostMasterPOP3.pl >> /dev/null The inconevient is that the fetch emails is done only one time in an hour and the most important is that if I log off from root, I do not receive any email at all. In fact I must stay logged in as root in order to have the cron.hourly launched. What have I change in order to make otrs crontab working or at least to have cron.hourly running even if I am not login. Thank yo for your help. Best regards, Alina Florea ___ 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/