Re: [otrs] Post's and script about OTRS

2009-03-26 Thread Gustavo Azambuja
Renee, the problem is not the text, and yes the code :-)
Here is my code:
 http://kuboit.com/wp-content/uploads/2009/03/status.text

I make some others scripts, but the code is... mmm... not good.
To be usefull I need make this "configurable", this way, you can configure
what queue you want monitoring, and what groups of users




2009/3/25 Renee Bäcker 

> Gustavo Azambuja schrieb:
> > 1) I write in spanish :-( (my english is not good enough).
> > 2) I make this script for my own use, then, the script need a lot of
> > work to make this usefull for everyone.
> >
> > If any body can help to make a "clean" on code and SQL querys, or
> > translate to english, I will be greatefull.
>
> But you can understand english texts, don't you? Then you can use the
> translation tools from google (http://translate.google.es/) to get a
> rough translation. Then you can post it to this list and others can work
> on the wording... Why I suggest to do it this way? My spanish is really
> bad ;-)
>
> Regarding your script. I think you can post it on this list and others
> may improve it...
>
> Cheers,
> Renee
>
>
> --
>
> Perl-Magazin: http://perl-magazin.de
> Perl-Nachrichten: http://perl-nachrichten.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
>
> NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
> http://www.otrs.com/en/support/enterprise-subscription/
>



-- 
Gustavo Azambuja - Linux User: 275813
http://www.twitter.com/gazambuja
-
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

NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
http://www.otrs.com/en/support/enterprise-subscription/

Re: [otrs] Postmaster Mail crontab

2009-03-26 Thread Frans Stekelenburg
Of course we are going to take your word on that, Jeremy. :-)
There never can be enough answerers.

Usually you can find the OTRS parts you can put in the crontab (of user
otrs) under /opt/otrs/var/cron.
The file postmaster_mailbox is I think what you are looking for.

Put this in the crontab (of user otrs):

# fetch emails every 10 minutes
*/10 * * * *$HOME/bin/PostMasterMailbox.pl >> /dev/null


Kind regards,

Frans

> 
> let me just say, thank y'all so much for helping me out with my
> questions.  I am, in turn, trying to answer questions when I have the
> knowledge and skills to do so.
> 
> My next question concerns cron jobs for checking Postmaster Mail
> Accounts.  We currently have two accounts that dump into two queues -
> one queue per address.  The script works perfectly when the 'run now'
x
> is clicked.  How would one generate a crontab entry to check the
> accounts every x number of minutes?
> 
> Our accounts are being accessed via imap.  We are running orts 2.3.4
on
> openSuSE 10.3
> 
> Thanks
> 
> 
> 
> Jeremy Adams
> PC Support Specialist I
> Cedar Valley College
> 972.860.8086
> 
> 
> 
> 
> 
> 
> -
> 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
> 
> NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
> http://www.otrs.com/en/support/enterprise-subscription/
-
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

NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
http://www.otrs.com/en/support/enterprise-subscription/


Re: [otrs] Email Accounts

2009-03-26 Thread Frans Stekelenburg
James,

 

They can set it themselves through their Preferences, by selecting those
queues applicable under 'My Queues' and the desired notification options
(Move, Follow Up etc). Or you can do it as admin by modifying their user
profiles;  Admin - [Users]  (Search: %) - :

 

New ticket notification :
(Send me a notification if there is a new ticket in "My Queues".) 


Follow up notification :
(Send me a notification if a customer sends a follow up and I'm the
owner of this ticket.) 

=

Ticket lock timeout notification :
(Send me a notification if a ticket is unlocked by the system.) 


Move notification :
(Send me a notification if a ticket is moved into one of "My Queues".) 


My Queues :
(Your queue selection of your favourite queues. You also get notified
about those queues via email if enabled.) 



 

 

Here and there in SysConfig there are some extra tweak settings for
notifications. (Search on 'notif')

Like Ticket -> Core::Ticket, Ticket::PendingNotificationOnlyToOwner

 

 

Kind regards,

 frans

 

From: otrs-boun...@otrs.org [mailto:otrs-boun...@otrs.org] On Behalf Of
James Leiter
Sent: donderdag 26 maart 2009 16:34
To: otrs@otrs.org
Subject: [otrs] Email Accounts

 

James Leiter



I am trying to set up ORTS to relay the tickets notifications to more
than one person, it has them sent to me but I would like to add 2 other
people to receive the same notifications, I need to know where exactly I
have to go to config all of it. And with one of the users I have to set
it up where they only get notify about one of the queues not the others.


-
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

NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
http://www.otrs.com/en/support/enterprise-subscription/

Re: [otrs] Another Config.pm problem

2009-03-26 Thread Frans Stekelenburg
I think I had an issue with mod_perl (or was it reload? ;-) some time ago with 
similar PATH issues.
(Actually, I have it configured under xampp, changing the path of otrs, 
specially for Perl is hell. Somehow in the code they have made an error to have 
the path not relative from where it is called)

Can you show how you're apache is configured for OTRS?

Part of mine is shown below. You can see where the extra apache-perl script is 
called. Do you use it as well?

/opt/lampp/etc/extra/httpd-otrs.conf:

<...>
# if mod_perl is used


# load all otrs modules
Perlrequire /opt/otrs/scripts/apache2-perl-startup.pl

# Apache::Reload - Reload Perl Modules when Changed on Disk
PerlModule Apache::Reload
PerlInitHandler Apache::Reload
<...>


In the startup file I have set/added the correct path. Perhaps you should too, 
to get it going.

/opt/otrs/scripts/apache2-perl-startup.pl:

   <...>
   $ENV{MOD_PERL} =~ /mod_perl/ or die "MOD_PERL not used!";
   
   # set otrs lib path!
   use lib qw(/opt/otrs /opt/otrs/Kernel /opt/otrs/Kernel/modules 
/opt/otrs/Kernel/
   cpan-lib /opt/lampp/lib/perl5/site_perl/5.10.0/i686-linux/Apache2);

   <...>


Kind regards,

Frans Stekelenburg
NetDialog Service Center



+31 30 789 3636
www.netdialog.eu


> -Original Message-
> From: otrs-boun...@otrs.org [mailto:otrs-boun...@otrs.org] On Behalf Of
> Renee Bäcker
> Sent: donderdag 26 maart 2009 14:53
> To: User questions and discussions about OTRS.
> Subject: Re: [otrs] Another Config.pm problem
> 
> Can you create a test.pl in the same directory where the index.pl is?
> 
> It should have this content:
> 
> #!/usr/bin/perl
> 
> use strict;
> use warnings;
> use FindBin qw($Bin);
> 
> use CGI;
> print CGI->header, $Bin;
> 
> chmod it to 755, run it via Browser and post the result here.
> 
> Cheers,
> Renee
> 
> ratnawe...@sunrise.ch schrieb:
> > Hi
> >
> > Ref: Renee Bäcker  25.03.2009 14:10
> >> ratnawe...@sunrise.ch schrieb:
> >>> ...
> >>> # pwd
> >>> /home/www/intra/otrs/Kernel
> >> In your last post the error message said "/home/www/otrs/..." no
> "intra"
> >> in it.
> >
> > Sorry for that. I sort of annonymized the thing. Here is the
> > complete story:
> >
> > ===
> > # pwd
> > /home/www/intra/otrs
> >
> > # ls
> > ARCHIVE  COPYING  INSTALL Kernel   README.webserver
> > TODO
> > bin  CREDITS  INSTALL.RedHat  README   RELEASE
> > UPGRADING
> > CHANGES  doc  INSTALL.SuSEREADME.database  scripts
> > var
> >
> > # ls Kernel/
> > Config Config.pm.dist  Language Modules  System
> > Config.pm  cpan-libLanguage.pm  Output
> >
> > # diff Kernel/Config.pm Kernel/Config.pm.dist
> >
> > File bin/cgi-bin/installer.pl lines 26 .. 38
> > 
> > # use ../../ as lib location
> > use FindBin qw($Bin);
> > use lib "$Bin/../..";
> > use lib "$Bin/../../Kernel/cpan-lib";
> >
> > use vars qw($VERSION $Debug);
> > $VERSION = qw($Revision: 1.28 $) [1];
> >
> > # check @INC for mod_perl (add lib path for "require module"!)
> > push( @INC, "$Bin/../..", "$Bin/../../Kernel/cpan-lib" );
> >
> > # all OTRS Installer modules
> > use Kernel::Config;
> > 
> >
> > Request of the browser
> >
> > Error message in Apache logs:
> >  [error] Can't locate Kernel/Config.pm in @INC (@INC contains:
> >  /usr/sbin/../Kernel/cpan-lib /usr/sbin/.. /etc/perl
> >  /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8
> >  /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8
> >  /usr/share/perl/5.8 /usr/local/lib/site_perl . /etc/apache2) at
> >  /home/www/intra/otrs/bin/cgi-bin/installer.pl line 38.\nBEGIN
> >  failed--compilation aborted at
> >  /home/www/intra/otrs/bin/cgi-bin/installer.pl line 38.\n
> >
> > obviously @INC does not contain ./Kernel, what is the usual
> > procedure to add that?
> >
> >
> >> BTW: you should chown Config.pm it makes no sense to have it
> >> owned by root
> >
> > Done.
> > # ls -l Kernel/
> > insgesamt 48
> > drwxrwxr-x  3 500 users  4096 2009-03-23 22:10 Config
> > -rw-rw-r--  1 500 users  3918 2009-03-23 22:09 Config.pm
> > -rw-rw-r--  1 500 users  3918 2008-03-07 17:50 Config.pm.dist
> > drwxrwxr-x 16 500 users  4096 2009-01-20 21:06 cpan-lib
> > drwxrwxr-x  2 500 users  4096 2009-01-20 21:06 Language
> > -rw-rw-r--  1 500 users 14119 2008-11-16 17:03 Language.pm
> > drwxrwxr-x  2 500 users  4096 2009-01-20 21:06 Modules
> > drwxrwxr-x  5 500 users  4096 2009-01-20 21:06 Output
> > drwxrwxr-x 23 500 users  4096 2009-01-20 21:06 System
> >
> > regards
> > Ratna
> > -
> > 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
> >
> > NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
> > http://www.otrs.com/en/support/enterprise-subscription/
> >
> >
> 
> 
> --
> 
> Perl-Magazin: http://perl-magazin.de
> Perl-Nachrichten: http://perl-nachrichten.de
> --

[otrs] Postmaster Mail crontab

2009-03-26 Thread Jeremy Adams
let me just say, thank y'all so much for helping me out with my questions.  I 
am, in turn, trying to answer questions when I have the knowledge and skills to 
do so.

My next question concerns cron jobs for checking Postmaster Mail Accounts.  We 
currently have two accounts that dump into two queues - one queue per address.  
The script works perfectly when the 'run now' x is clicked.  How would one 
generate a crontab entry to check the accounts every x number of minutes? 

Our accounts are being accessed via imap.  We are running orts 2.3.4 on 
openSuSE 10.3

Thanks



Jeremy Adams
PC Support Specialist I
Cedar Valley College
972.860.8086






-
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

NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
http://www.otrs.com/en/support/enterprise-subscription/


Re: [otrs] Calendar: Change layout of events

2009-03-26 Thread Jeremy Adams
Thanks s much.  I knew it would be something as simple as that. 
 


Jeremy Adams
PC Support Specialist I
Cedar Valley College
972.860.8086






>>> Renee Bäcker  03/26/09 12:00 PM >>>

You have to change the lines 800 and 941 in
Kernel/Modules/AgentCalendar.pm to

$Event{Title} = $Event{Title} . ' ('.$Preffix.')';

- HTH Renée

Jeremy Adams schrieb:
> Currently ORTS show events in the calendar are displayed as (agent)
Title.  I would rather the event was showen in the calendar as Title
(agent)
> 
> How would one accomplish this?  
> 
> Thanks
> 
> 
> 
> 
> 
> Jeremy Adams
> PC Support Specialist I
> Cedar Valley College
> 972.860.8086
> 
> 
> 
> 
> 
> 
>
-
> 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
> 
> NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
> http://www.otrs.com/en/support/enterprise-subscription/
> 
> 


-- 

Perl-Magazin: http://perl-magazin.de
Perl-Nachrichten: http://perl-nachrichten.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

NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
http://www.otrs.com/en/support/enterprise-subscription/

-
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

NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
http://www.otrs.com/en/support/enterprise-subscription/


Re: [otrs] Calendar: Change layout of events

2009-03-26 Thread Renee Bäcker
You have to change the lines 800 and 941 in
Kernel/Modules/AgentCalendar.pm to

$Event{Title} = $Event{Title} . ' ('.$Preffix.')';

- HTH Renée

Jeremy Adams schrieb:
> Currently ORTS show events in the calendar are displayed as (agent) Title.  I 
> would rather the event was showen in the calendar as Title (agent)
> 
> How would one accomplish this?  
> 
> Thanks
> 
> 
> 
> 
> 
> Jeremy Adams
> PC Support Specialist I
> Cedar Valley College
> 972.860.8086
> 
> 
> 
> 
> 
> 
> -
> 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
> 
> NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
> http://www.otrs.com/en/support/enterprise-subscription/
> 
> 


-- 

Perl-Magazin: http://perl-magazin.de
Perl-Nachrichten: http://perl-nachrichten.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

NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
http://www.otrs.com/en/support/enterprise-subscription/


[otrs] Email Accounts

2009-03-26 Thread James Leiter
James Leiter
System Technician

R&B Solutions Inc.
860 Northpoint Blvd.
Waukegan, IL. 60085
Work Number: (847)887-8512

This message is intended only for the named recipient.  If you are not the
intended recipient you are notified that disclosing, copying, distributing
or taking any action in reliance on the contents of this information is
strictly prohibited.

 

I am trying to set up ORTS to relay the tickets notifications to more than
one person, it has them sent to me but I would like to add 2 other people to
receive the same notifications, I need to know where exactly I have to go to
config all of it. And with one of the users I have to set it up where they
only get notify about one of the queues not the others. 

-
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

NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
http://www.otrs.com/en/support/enterprise-subscription/

[otrs] Calendar: Change layout of events

2009-03-26 Thread Jeremy Adams

Currently ORTS show events in the calendar are displayed as (agent) Title.  I 
would rather the event was showen in the calendar as Title (agent)

How would one accomplish this?  

Thanks





Jeremy Adams
PC Support Specialist I
Cedar Valley College
972.860.8086






-
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

NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
http://www.otrs.com/en/support/enterprise-subscription/


[otrs] looking for help to update from OTRS 1.3.2 to 2.3.4

2009-03-26 Thread Mercator GmbH
Hello,

I am looking for someone who could help me to upgrade from my rather
old OTRS 1.3.2. to the newest version (2.3.4), keeping all my
customization working. Of course I will pay for this. But please, only
freelancers who don't charge like a professional service, because I
couldn't afford this.

Please respond to i...@mercator.net

thanks, marc
-
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

NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
http://www.otrs.com/en/support/enterprise-subscription/


Re: [otrs] Another Config.pm problem

2009-03-26 Thread ratnaweera
Hi there

Ref: Renee Bäcker  26.03.2009 15:10
> Can you create a test.pl in the same directory where the index.pl is?
> 
> It should have this content:
> 
> #!/usr/bin/perl
> 
> use strict;
> use warnings;
> use FindBin qw($Bin);
> 
> use CGI;
> print CGI->header, $Bin;
> 
> chmod it to 755, run it via Browser and post the result here.

Same "Internal Server Error" on the browser.

'[error] Can't call method "send_cgi_header" on an undefined value at
(eval 10) line 69.\n' in the Apache logs.

Thanks a lot for the help!

Ratna
-
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

NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
http://www.otrs.com/en/support/enterprise-subscription/


Re: [otrs] Another Config.pm problem

2009-03-26 Thread Renee Bäcker
Can you create a test.pl in the same directory where the index.pl is?

It should have this content:

#!/usr/bin/perl

use strict;
use warnings;
use FindBin qw($Bin);

use CGI;
print CGI->header, $Bin;

chmod it to 755, run it via Browser and post the result here.

Cheers,
Renee

ratnawe...@sunrise.ch schrieb:
> Hi
> 
> Ref: Renee Bäcker  25.03.2009 14:10
>> ratnawe...@sunrise.ch schrieb:
>>> ...
>>> # pwd
>>> /home/www/intra/otrs/Kernel
>> In your last post the error message said "/home/www/otrs/..." no "intra"
>> in it.
> 
> Sorry for that. I sort of annonymized the thing. Here is the
> complete story:
> 
> ===
> # pwd
> /home/www/intra/otrs
> 
> # ls
> ARCHIVE  COPYING  INSTALL Kernel   README.webserver
> TODO
> bin  CREDITS  INSTALL.RedHat  README   RELEASE
> UPGRADING
> CHANGES  doc  INSTALL.SuSEREADME.database  scripts
> var
> 
> # ls Kernel/
> Config Config.pm.dist  Language Modules  System
> Config.pm  cpan-libLanguage.pm  Output
> 
> # diff Kernel/Config.pm Kernel/Config.pm.dist
> 
> File bin/cgi-bin/installer.pl lines 26 .. 38
> 
> # use ../../ as lib location
> use FindBin qw($Bin);
> use lib "$Bin/../..";
> use lib "$Bin/../../Kernel/cpan-lib";
> 
> use vars qw($VERSION $Debug);
> $VERSION = qw($Revision: 1.28 $) [1];
> 
> # check @INC for mod_perl (add lib path for "require module"!)
> push( @INC, "$Bin/../..", "$Bin/../../Kernel/cpan-lib" );
> 
> # all OTRS Installer modules
> use Kernel::Config;
> 
> 
> Request of the browser 
> 
> Error message in Apache logs:
>  [error] Can't locate Kernel/Config.pm in @INC (@INC contains:
>  /usr/sbin/../Kernel/cpan-lib /usr/sbin/.. /etc/perl
>  /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8
>  /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8
>  /usr/share/perl/5.8 /usr/local/lib/site_perl . /etc/apache2) at
>  /home/www/intra/otrs/bin/cgi-bin/installer.pl line 38.\nBEGIN
>  failed--compilation aborted at
>  /home/www/intra/otrs/bin/cgi-bin/installer.pl line 38.\n
> 
> obviously @INC does not contain ./Kernel, what is the usual
> procedure to add that?
> 
> 
>> BTW: you should chown Config.pm it makes no sense to have it 
>> owned by root
> 
> Done.
> # ls -l Kernel/
> insgesamt 48
> drwxrwxr-x  3 500 users  4096 2009-03-23 22:10 Config
> -rw-rw-r--  1 500 users  3918 2009-03-23 22:09 Config.pm
> -rw-rw-r--  1 500 users  3918 2008-03-07 17:50 Config.pm.dist
> drwxrwxr-x 16 500 users  4096 2009-01-20 21:06 cpan-lib
> drwxrwxr-x  2 500 users  4096 2009-01-20 21:06 Language
> -rw-rw-r--  1 500 users 14119 2008-11-16 17:03 Language.pm
> drwxrwxr-x  2 500 users  4096 2009-01-20 21:06 Modules
> drwxrwxr-x  5 500 users  4096 2009-01-20 21:06 Output
> drwxrwxr-x 23 500 users  4096 2009-01-20 21:06 System
> 
> regards
> Ratna
> -
> 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
> 
> NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
> http://www.otrs.com/en/support/enterprise-subscription/
> 
> 


-- 

Perl-Magazin: http://perl-magazin.de
Perl-Nachrichten: http://perl-nachrichten.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

NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
http://www.otrs.com/en/support/enterprise-subscription/


Re: [otrs] Another Config.pm problem

2009-03-26 Thread ratnaweera
Hi

Ref: Renee Bäcker  25.03.2009 14:10
> ratnawe...@sunrise.ch schrieb:
> > ...
> > # pwd
> > /home/www/intra/otrs/Kernel
> 
> In your last post the error message said "/home/www/otrs/..." no "intra"
> in it.

Sorry for that. I sort of annonymized the thing. Here is the
complete story:

===
# pwd
/home/www/intra/otrs

# ls
ARCHIVE  COPYING  INSTALL Kernel   README.webserver
TODO
bin  CREDITS  INSTALL.RedHat  README   RELEASE
UPGRADING
CHANGES  doc  INSTALL.SuSEREADME.database  scripts
var

# ls Kernel/
Config Config.pm.dist  Language Modules  System
Config.pm  cpan-libLanguage.pm  Output

# diff Kernel/Config.pm Kernel/Config.pm.dist

File bin/cgi-bin/installer.pl lines 26 .. 38

# use ../../ as lib location
use FindBin qw($Bin);
use lib "$Bin/../..";
use lib "$Bin/../../Kernel/cpan-lib";

use vars qw($VERSION $Debug);
$VERSION = qw($Revision: 1.28 $) [1];

# check @INC for mod_perl (add lib path for "require module"!)
push( @INC, "$Bin/../..", "$Bin/../../Kernel/cpan-lib" );

# all OTRS Installer modules
use Kernel::Config;


Request of the browser 

Error message in Apache logs:
 [error] Can't locate Kernel/Config.pm in @INC (@INC contains:
 /usr/sbin/../Kernel/cpan-lib /usr/sbin/.. /etc/perl
 /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8
 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8
 /usr/share/perl/5.8 /usr/local/lib/site_perl . /etc/apache2) at
 /home/www/intra/otrs/bin/cgi-bin/installer.pl line 38.\nBEGIN
 failed--compilation aborted at
 /home/www/intra/otrs/bin/cgi-bin/installer.pl line 38.\n

obviously @INC does not contain ./Kernel, what is the usual
procedure to add that?


> BTW: you should chown Config.pm it makes no sense to have it 
> owned by root

Done.
# ls -l Kernel/
insgesamt 48
drwxrwxr-x  3 500 users  4096 2009-03-23 22:10 Config
-rw-rw-r--  1 500 users  3918 2009-03-23 22:09 Config.pm
-rw-rw-r--  1 500 users  3918 2008-03-07 17:50 Config.pm.dist
drwxrwxr-x 16 500 users  4096 2009-01-20 21:06 cpan-lib
drwxrwxr-x  2 500 users  4096 2009-01-20 21:06 Language
-rw-rw-r--  1 500 users 14119 2008-11-16 17:03 Language.pm
drwxrwxr-x  2 500 users  4096 2009-01-20 21:06 Modules
drwxrwxr-x  5 500 users  4096 2009-01-20 21:06 Output
drwxrwxr-x 23 500 users  4096 2009-01-20 21:06 System

regards
Ratna
-
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

NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
http://www.otrs.com/en/support/enterprise-subscription/


[otrs] haloo

2009-03-26 Thread sasa072
haloo
-
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

NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
http://www.otrs.com/en/support/enterprise-subscription/