Hello,

Hope I am not too late. I just finished getting OTRS 2 to run on my Debian server (as well as an Ubuntu test.)

I did all the same things, as Oliver B. and ended up with a hosed installation too, but I recovered. Here is what I did:

I ran the SetPermissions.sh as sudo:

# sudo /usr/share/otrs/bin/SetPermissions.sh /usr/share/otrs otrs www-data www-data www-data

then I was back to the Package Manager error, that I fixed when I noticed that two of the items in the /usr/share/otrs directory are links.

I checked out the SetPermissions.sh script and noticed this lines (54-60)

# set all files writeabel for webserver user (needed for package manager)

which indicate to me that the SetPermissions.sh script isn't following the links set up by the Debian package.

So then I ran:

        # sudo chown -R www-data:www-data /etc/otrs/Output
        # sudo chown www-data:www-data /etc/otrs/Kernel/Config.pm

to match the chown-ing of the links. Everything has been running great for 24 hours, and we have been happy now.

I can't get the Calendar to install, but that is not a deal breaker for me.

Good Luck

'topher

On Feb 22, 2006, at 9:18 AM, Oliver Buckie wrote:

When I do a "find . -name otrs", I get the following:

./etc/otrs
./var/lib/mysql/otrs
./var/lib/otrs
./usr/share/doc/otrs
./usr/share/lintian/overrides/otrs
./usr/share/otrs
./usr/lib/cgi-bin/otrs

I believe that my <OTRS_HOME> is ./usr/share/otrs. However, I still can't get permissions working...

-----Urspr?ngliche Nachricht-----
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Graeme Brough
Gesendet: Dienstag, 21. Februar 2006 16:21
An: User questions and discussions about OTRS.org
Betreff: Re: AW: [otrs] System / SysConfig error message

Oliver,

Try:

'cd /'

'find . -name otrs'

This should return the relative path from your Present Working Directory (PWD)

HTH,

Graeme

Oliver Buckie wrote:
Silly question, but how do I know what my OTRS home dir is. This is a default Debian install. I believe it to be /usr/share/otrs 'coz that's where my Kernel and other sub-dirs are.

I ran "./SetPermissions.sh /opt/otrs root www-data" and this has sorted my System, SysConfig problem out - I now have access. However, I still get permission problems with Misc, Package Manager...

-----Urspr?ngliche Nachricht-----
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag
von Nils Breunese (Lemonbit Internet)
Gesendet: Dienstag, 21. Februar 2006 15:21
An: User questions and discussions about OTRS.org
Betreff: Re: AW: [otrs] System / SysConfig error message

Oliver Buckie wrote:


I ran $OTRS_Home/bin/otrs.checkModules and XML::Parser was not
installed - everything else fine. So I installed "libxml-parser- perl
2.34-4", re-ran otrs.checkModules and all OK.


That should help, yes.


I get one step further now in System, SysConfig page.. However, as
with Misc, Package Manager - I get permisison problems:

Can't write /usr/share/otrs/Kernel/Config/Files/ZZZAAuto.pm:
permission denied!

In the "/usr/share/otrs/bin#" directory I ran "./.SetPermissions.sh
/usr/share/otrs root root" - but this has not helped. Any ideas what I
am doing wrong?


Usage: SetPermissions.sh <OTRS_HOME> <OTRS_USER> <WEBSERVER_USER>
[OTRS_GROUP] [WEB_GROUP]

I don't know if /usr/share/otrs is your OTRS homedir, but that could be. However, otrs and apache should not be run as root and I hope you aren't running either as root (especially not apache, running apache as root is a major security no-no).

On my machine I'd run: ./SetPermissions.sh /opt/otrs otrs apache

But like I said, your config may be different.

Nils Breunese.
_______________________________________________
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/

--
==============================================================
Graeme Brough                                   [EMAIL PROTECTED]
Customer Account Management Support Team

Internal:  x(70) 73488
Worldwide: +44 (0)1506 673488

Sun Remote Support Centre                       Linlithgow, UK
==============================================================
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~

NOTICE: This email message is for the sole use of the intended
recipient(s) and may contain confidential and privileged information.
Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~

_______________________________________________
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/



--
Christopher Mattogno
Technology Specialist
Hampshire Educational Collaborative
97 Hawley Street
Northampton, MA 01060
p: 413.586.4900 x157
f: 413.586.0180
[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/

Reply via email to