Install OTRS 2.2.5 on Windows XP machine

Hi I want to install OTRS 2.2.5 on a Windows XP test machine as that is the version we have on the live server. The automatic installer on the following page http://www.otrs.org/download/ is only for the latest version. Is there an automatic installer I can find for installing 2.2 on Windows? Rory was kind enough to point out the following page with downloads of earlier versions ftp://ftp.otrs.org/pub/otrs/ but downloading 2.2.5 from here would require a manual install on Windows. I can't seem to find instructions to manually install version 2.2 on Windows. I have, however, found instructions to manually install version 1.3 on Windows on the following page. http://doc.otrs.org/1.3/en/html/install-win32.html Is there a page with similar instructions for version 2.2 or will the instructions for 1.3 be able to do the job for me? Thanks for your help Lev

Hi Lev,
Due to licensing issues there are no longer old Windows installers
earlier than 2.3.x available for download.
Afshar Mohebbi has posted instructions for setting up OTRS on Windows;
http://afsharm.blogspot.com/2009/03/installing-otrs-active-perl-on-windows.h...
(but this is with Microsoft SQL Server, you should just install MySQL instead)
I guess it would be good to also have instructions for manual
installation on Windows...
Depending on your situation you could also install VMWare on your XP
workstation with linux, just as on your server. Then you would have a
real test environment; which you can also use to test out upgrades or
so.
VMWare Server is available at no charge. VMWare workstation costs a
little more but has lots of good features.
Myself, I use VMWare server ;-)
Regards,
Michiel.
On Wed, Sep 9, 2009 at 11:18 AM, Lev Davidovich
Hi I want to install OTRS 2.2.5 on a Windows XP test machine as that is the version we have on the live server.
The automatic installer on the following page
is only for the latest version.
Is there an automatic installer I can find for installing 2.2 on Windows?
Rory was kind enough to point out the following page with downloads of earlier versions
ftp://ftp.otrs.org/pub/otrs/
but downloading 2.2.5 from here would require a manual install on Windows.
I can't seem to find instructions to manually install version 2.2 on Windows.
I have, however, found instructions to manually install version 1.3 on Windows on the following page.
http://doc.otrs.org/1.3/en/html/install-win32.html
Is there a page with similar instructions for version 2.2 or will the instructions for 1.3 be able to do the job for me?
Thanks for your help
Lev
--------------------------------------------------------------------- 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/

Thanks Michael. I am inclined to go down the VMWare route that both you and Rory and others suggest but I am not having much luck convincing the decision makers here!
The consensus seems to be that it is OK as a long term project but that in the short term what we need is a quick database dump followed by import into a copy of OTRS running on Windows.
Just to be clear about what you are saying -
are you saying it is no longer possible to download versions of OTRS earlier than 2.3 x and install them on Windows? Or is it only AUTOMATIC installers that it is no longer possible to download?
Where can I find an automatic installer for version 2.3 x?
I could still download version 2.2.5 from ftp://ftp.otrs.org/pub/otrs/ and install it manually (using the instructions that Afshar Mohebbi has posted ) - is that correct?
Thank you
________________________________
From: Michiel Beijen
Hi I want to install OTRS 2.2.5 on a Windows XP test machine as that is the version we have on the live server.
The automatic installer on the following page
is only for the latest version.
Is there an automatic installer I can find for installing 2.2 on Windows?
Rory was kind enough to point out the following page with downloads of earlier versions
ftp://ftp.otrs.org/pub/otrs/
but downloading 2.2.5 from here would require a manual install on Windows.
I can't seem to find instructions to manually install version 2.2 on Windows.
I have, however, found instructions to manually install version 1.3 on Windows on the following page.
http://doc.otrs.org/1.3/en/html/install-win32.html
Is there a page with similar instructions for version 2.2 or will the instructions for 1.3 be able to do the job for me?
Thanks for your help
Lev
--------------------------------------------------------------------- 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/

Lev,
Yes, there are no longer windows INSTALLERS of 2.2 otrs available,
because of issues with one of the bundled components.
On the download servers you can download every source version back to 0.5 beta!
[http://ftp.otrs.org/pub/otrs/]
What you could do is download the latest version of the Windows
installer of OTRS, drop the mysql database, and load your backup
database from live, clean the /otrs/otrs directory and unzip the 2.2
version you would like to use there.
Copy Config.pm from the server to your Windows box
but make sure you add the following line to it:
$Self->{'SendmailModule'} = 'Kernel::System::Email::DoNotSendEmail';
this because your copy system will not be sending escalations out for
tickets that are long closed on live ;-)
(available since otrs 2.2.6)
and you should probably also look into how OTRS fetches mails from the
server on your live system. If you use pop or imap as defined in the
Admin web user interface, you might want to edit crontab to NOT run
PostMasterMailbox.pl
Regards,
MIchiel
On Wed, Sep 9, 2009 at 11:59 AM, Lev Davidovich
Thanks Michael. I am inclined to go down the VMWare route that both you and Rory and others suggest but I am not having much luck convincing the decision makers here!
The consensus seems to be that it is OK as a long term project but that in the short term what we need is a quick database dump followed by import into a copy of OTRS running on Windows.
Just to be clear about what you are saying -
are you saying it is no longer possible to download versions of OTRS earlier than 2.3 x and install them on Windows? Or is it only AUTOMATIC installers that it is no longer possible to download?
Where can I find an automatic installer for version 2.3 x?
I could still download version 2.2.5 from ftp://ftp.otrs.org/pub/otrs/ and install it manually (using the instructions that Afshar Mohebbi has posted ) - is that correct?
Thank you ________________________________ From: Michiel Beijen
To: User questions and discussions about OTRS. Sent: Wednesday, 9 September, 2009 10:36:46 Subject: Re: [otrs] Install OTRS 2.2.5 on Windows XP machine Hi Lev,
Due to licensing issues there are no longer old Windows installers earlier than 2.3.x available for download.
Afshar Mohebbi has posted instructions for setting up OTRS on Windows; http://afsharm.blogspot.com/2009/03/installing-otrs-active-perl-on-windows.h... (but this is with Microsoft SQL Server, you should just install MySQL instead)
I guess it would be good to also have instructions for manual installation on Windows...
Depending on your situation you could also install VMWare on your XP workstation with linux, just as on your server. Then you would have a real test environment; which you can also use to test out upgrades or so. VMWare Server is available at no charge. VMWare workstation costs a little more but has lots of good features. Myself, I use VMWare server ;-)
Regards,
Michiel.
On Wed, Sep 9, 2009 at 11:18 AM, Lev Davidovich
wrote: Hi I want to install OTRS 2.2.5 on a Windows XP test machine as that is the version we have on the live server.
The automatic installer on the following page
is only for the latest version.
Is there an automatic installer I can find for installing 2.2 on Windows?
Rory was kind enough to point out the following page with downloads of earlier versions
ftp://ftp.otrs.org/pub/otrs/
but downloading 2.2.5 from here would require a manual install on Windows.
I can't seem to find instructions to manually install version 2.2 on Windows.
I have, however, found instructions to manually install version 1.3 on Windows on the following page.
http://doc.otrs.org/1.3/en/html/install-win32.html
Is there a page with similar instructions for version 2.2 or will the instructions for 1.3 be able to do the job for me?
Thanks for your help
Lev
--------------------------------------------------------------------- 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/
--------------------------------------------------------------------- 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/

Very ingenious - you mean how to create version 2.2.5 from 2.4?!! ;-)
________________________________
From: Michiel Beijen
Thanks Michael. I am inclined to go down the VMWare route that both you and Rory and others suggest but I am not having much luck convincing the decision makers here!
The consensus seems to be that it is OK as a long term project but that in the short term what we need is a quick database dump followed by import into a copy of OTRS running on Windows.
Just to be clear about what you are saying -
are you saying it is no longer possible to download versions of OTRS earlier than 2.3 x and install them on Windows? Or is it only AUTOMATIC installers that it is no longer possible to download?
Where can I find an automatic installer for version 2.3 x?
I could still download version 2.2.5 from ftp://ftp.otrs.org/pub/otrs/ and install it manually (using the instructions that Afshar Mohebbi has posted ) - is that correct?
Thank you ________________________________ From: Michiel Beijen
To: User questions and discussions about OTRS. Sent: Wednesday, 9 September, 2009 10:36:46 Subject: Re: [otrs] Install OTRS 2.2.5 on Windows XP machine Hi Lev,
Due to licensing issues there are no longer old Windows installers earlier than 2.3.x available for download.
Afshar Mohebbi has posted instructions for setting up OTRS on Windows; http://afsharm.blogspot.com/2009/03/installing-otrs-active-perl-on-windows.h... (but this is with Microsoft SQL Server, you should just install MySQL instead)
I guess it would be good to also have instructions for manual installation on Windows...
Depending on your situation you could also install VMWare on your XP workstation with linux, just as on your server. Then you would have a real test environment; which you can also use to test out upgrades or so. VMWare Server is available at no charge. VMWare workstation costs a little more but has lots of good features. Myself, I use VMWare server ;-)
Regards,
Michiel.
On Wed, Sep 9, 2009 at 11:18 AM, Lev Davidovich
wrote: Hi I want to install OTRS 2.2.5 on a Windows XP test machine as that is the version we have on the live server.
The automatic installer on the following page
is only for the latest version.
Is there an automatic installer I can find for installing 2.2 on Windows?
Rory was kind enough to point out the following page with downloads of earlier versions
ftp://ftp.otrs.org/pub/otrs/
but downloading 2.2.5 from here would require a manual install on Windows.
I can't seem to find instructions to manually install version 2.2 on Windows.
I have, however, found instructions to manually install version 1.3 on Windows on the following page.
http://doc.otrs.org/1.3/en/html/install-win32.html
Is there a page with similar instructions for version 2.2 or will the instructions for 1.3 be able to do the job for me?
Thanks for your help
Lev
--------------------------------------------------------------------- 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/
--------------------------------------------------------------------- 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/

"What you could do is download the latest version of the Windows
installer of OTRS, drop the mysql database, and load your backup
database from live, clean the /otrs/otrs directory and unzip the 2.2
version you would like to use there."
Please explain to me in more detail how to "drop the mysql database, and load your backup database from live".
Is this something I do after the installation, or during it?
Thank you
________________________________
From: Michiel Beijen
Thanks Michael. I am inclined to go down the VMWare route that both you and Rory and others suggest but I am not having much luck convincing the decision makers here!
The consensus seems to be that it is OK as a long term project but that in the short term what we need is a quick database dump followed by import into a copy of OTRS running on Windows.
Just to be clear about what you are saying -
are you saying it is no longer possible to download versions of OTRS earlier than 2.3 x and install them on Windows? Or is it only AUTOMATIC installers that it is no longer possible to download?
Where can I find an automatic installer for version 2.3 x?
I could still download version 2.2.5 from ftp://ftp.otrs.org/pub/otrs/ and install it manually (using the instructions that Afshar Mohebbi has posted ) - is that correct?
Thank you ________________________________ From: Michiel Beijen
To: User questions and discussions about OTRS. Sent: Wednesday, 9 September, 2009 10:36:46 Subject: Re: [otrs] Install OTRS 2.2.5 on Windows XP machine Hi Lev,
Due to licensing issues there are no longer old Windows installers earlier than 2.3.x available for download.
Afshar Mohebbi has posted instructions for setting up OTRS on Windows; http://afsharm.blogspot.com/2009/03/installing-otrs-active-perl-on-windows.h... (but this is with Microsoft SQL Server, you should just install MySQL instead)
I guess it would be good to also have instructions for manual installation on Windows...
Depending on your situation you could also install VMWare on your XP workstation with linux, just as on your server. Then you would have a real test environment; which you can also use to test out upgrades or so. VMWare Server is available at no charge. VMWare workstation costs a little more but has lots of good features. Myself, I use VMWare server ;-)
Regards,
Michiel.
On Wed, Sep 9, 2009 at 11:18 AM, Lev Davidovich
wrote: Hi I want to install OTRS 2.2.5 on a Windows XP test machine as that is the version we have on the live server.
The automatic installer on the following page
is only for the latest version.
Is there an automatic installer I can find for installing 2.2 on Windows?
Rory was kind enough to point out the following page with downloads of earlier versions
ftp://ftp.otrs.org/pub/otrs/
but downloading 2.2.5 from here would require a manual install on Windows.
I can't seem to find instructions to manually install version 2.2 on Windows.
I have, however, found instructions to manually install version 1.3 on Windows on the following page.
http://doc.otrs.org/1.3/en/html/install-win32.html
Is there a page with similar instructions for version 2.2 or will the instructions for 1.3 be able to do the job for me?
Thanks for your help
Lev
--------------------------------------------------------------------- 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/
--------------------------------------------------------------------- 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/

If I remember correctly, you access mysql from the command line i.e.
mysql -u root -p
Once you've done that type,
show databases;
This will give you a list of databases in your database server. Pick
the otrs one (I think its just called otrs)
Type in,
drop database otrs;
This will delete your otrs database.
Once that is done go to your live server.
At the command line type (again check the database name first),
mysqldump -B otrs -u root -p > otrsdump.sql
This will dump your otrs database to the file otrsdump.sql. The nice
think about the dump file is that it is full of sql commands to
recreate your database. So you simply need to run it through mysql on
your test server to recreate your database.
So copy the otrsdump.sql file to your test server.
Now at the command line of your test server type,
mysql -u root -p < otrsdump.sql
The -p option to the mysql and mysqldump commands means you're using a
password. If the -p is followed by a space it will ask you for the
password on the next line so you can't see it written on the command
line for security.
The mysql and mysqldump commands may not be in your path. In that case
change to the bin directory of the mysql install and run the command
from there using the absolute path for the output/input file.
Let us know how you get on with that.
Rory
Support my 365 Challenge in aid of the Irish Cancer Society
www.365challenge.ie
2009/9/9 Lev Davidovich
"What you could do is download the latest version of the Windows installer of OTRS, drop the mysql database, and load your backup database from live, clean the /otrs/otrs directory and unzip the 2.2 version you would like to use there."
Please explain to me in more detail how to "drop the mysql database, and load your backup database from live".
Is this something I do after the installation, or during it? Thank you
________________________________ From: Michiel Beijen
To: User questions and discussions about OTRS. Sent: Wednesday, 9 September, 2009 11:12:31 Subject: Re: [otrs] Install OTRS 2.2.5 on Windows XP machine Lev,
Yes, there are no longer windows INSTALLERS of 2.2 otrs available, because of issues with one of the bundled components. On the download servers you can download every source version back to 0.5 beta! [http://ftp.otrs.org/pub/otrs/]
What you could do is download the latest version of the Windows installer of OTRS, drop the mysql database, and load your backup database from live, clean the /otrs/otrs directory and unzip the 2.2 version you would like to use there. Copy Config.pm from the server to your Windows box but make sure you add the following line to it:
$Self->{'SendmailModule'} = 'Kernel::System::Email::DoNotSendEmail';
this because your copy system will not be sending escalations out for tickets that are long closed on live ;-) (available since otrs 2.2.6)
and you should probably also look into how OTRS fetches mails from the server on your live system. If you use pop or imap as defined in the Admin web user interface, you might want to edit crontab to NOT run PostMasterMailbox.pl
Regards,
MIchiel
On Wed, Sep 9, 2009 at 11:59 AM, Lev Davidovich
wrote: Thanks Michael. I am inclined to go down the VMWare route that both you and Rory and others suggest but I am not having much luck convincing the decision makers here!
The consensus seems to be that it is OK as a long term project but that in the short term what we need is a quick database dump followed by import into a copy of OTRS running on Windows.
Just to be clear about what you are saying -
are you saying it is no longer possible to download versions of OTRS earlier than 2.3 x and install them on Windows? Or is it only AUTOMATIC installers that it is no longer possible to download?
Where can I find an automatic installer for version 2.3 x?
I could still download version 2.2.5 from ftp://ftp.otrs.org/pub/otrs/ and install it manually (using the instructions that Afshar Mohebbi has posted ) - is that correct?
Thank you ________________________________ From: Michiel Beijen
To: User questions and discussions about OTRS. Sent: Wednesday, 9 September, 2009 10:36:46 Subject: Re: [otrs] Install OTRS 2.2.5 on Windows XP machine Hi Lev,
Due to licensing issues there are no longer old Windows installers earlier than 2.3.x available for download.
Afshar Mohebbi has posted instructions for setting up OTRS on Windows;
http://afsharm.blogspot.com/2009/03/installing-otrs-active-perl-on-windows.h... (but this is with Microsoft SQL Server, you should just install MySQL instead)
I guess it would be good to also have instructions for manual installation on Windows...
Depending on your situation you could also install VMWare on your XP workstation with linux, just as on your server. Then you would have a real test environment; which you can also use to test out upgrades or so. VMWare Server is available at no charge. VMWare workstation costs a little more but has lots of good features. Myself, I use VMWare server ;-)
Regards,
Michiel.
On Wed, Sep 9, 2009 at 11:18 AM, Lev Davidovich
wrote: Hi I want to install OTRS 2.2.5 on a Windows XP test machine as that is the version we have on the live server.
The automatic installer on the following page
is only for the latest version.
Is there an automatic installer I can find for installing 2.2 on Windows?
Rory was kind enough to point out the following page with downloads of earlier versions
ftp://ftp.otrs.org/pub/otrs/
but downloading 2.2.5 from here would require a manual install on Windows.
I can't seem to find instructions to manually install version 2.2 on Windows.
I have, however, found instructions to manually install version 1.3 on Windows on the following page.
http://doc.otrs.org/1.3/en/html/install-win32.html
Is there a page with similar instructions for version 2.2 or will the instructions for 1.3 be able to do the job for me?
Thanks for your help
Lev
--------------------------------------------------------------------- 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/
--------------------------------------------------------------------- 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/
--------------------------------------------------------------------- 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/

Thank you so much Rory.
The deletion of the 2.4.4 database and the dump of the live database went pretty smoothly.
But I have got stuck trying to import the dump (which is called "otrs.sql").
I have gone to the bin directory of the mysql install and typed
mysql -u root -p < C:\otrsdump\otrs.sql
was asked for and typed my password and got message "Error - no database selected".
So then I typed
mysql -u root -p otrs< C:\otrsdump\otrs.sql
was asked for and typed my password and got message "Error - unknown database 'otrs' ".
Do I need to create a database called otrs first and then import the dump into it?
Thanks a lot
Lev
________________________________
From: Rory
"What you could do is download the latest version of the Windows installer of OTRS, drop the mysql database, and load your backup database from live, clean the /otrs/otrs directory and unzip the 2.2 version you would like to use there."
Please explain to me in more detail how to "drop the mysql database, and load your backup database from live".
Is this something I do after the installation, or during it? Thank you
________________________________ From: Michiel Beijen
To: User questions and discussions about OTRS. Sent: Wednesday, 9 September, 2009 11:12:31 Subject: Re: [otrs] Install OTRS 2.2.5 on Windows XP machine Lev,
Yes, there are no longer windows INSTALLERS of 2.2 otrs available, because of issues with one of the bundled components. On the download servers you can download every source version back to 0.5 beta! [http://ftp.otrs.org/pub/otrs/]
What you could do is download the latest version of the Windows installer of OTRS, drop the mysql database, and load your backup database from live, clean the /otrs/otrs directory and unzip the 2.2 version you would like to use there. Copy Config.pm from the server to your Windows box but make sure you add the following line to it:
$Self->{'SendmailModule'} = 'Kernel::System::Email::DoNotSendEmail';
this because your copy system will not be sending escalations out for tickets that are long closed on live ;-) (available since otrs 2.2.6)
and you should probably also look into how OTRS fetches mails from the server on your live system. If you use pop or imap as defined in the Admin web user interface, you might want to edit crontab to NOT run PostMasterMailbox.pl
Regards,
MIchiel
On Wed, Sep 9, 2009 at 11:59 AM, Lev Davidovich
wrote: Thanks Michael. I am inclined to go down the VMWare route that both you and Rory and others suggest but I am not having much luck convincing the decision makers here!
The consensus seems to be that it is OK as a long term project but that in the short term what we need is a quick database dump followed by import into a copy of OTRS running on Windows.
Just to be clear about what you are saying -
are you saying it is no longer possible to download versions of OTRS earlier than 2.3 x and install them on Windows? Or is it only AUTOMATIC installers that it is no longer possible to download?
Where can I find an automatic installer for version 2.3 x?
I could still download version 2.2.5 from ftp://ftp.otrs.org/pub/otrs/ and install it manually (using the instructions that Afshar Mohebbi has posted ) - is that correct?
Thank you ________________________________ From: Michiel Beijen
To: User questions and discussions about OTRS. Sent: Wednesday, 9 September, 2009 10:36:46 Subject: Re: [otrs] Install OTRS 2.2.5 on Windows XP machine Hi Lev,
Due to licensing issues there are no longer old Windows installers earlier than 2.3.x available for download.
Afshar Mohebbi has posted instructions for setting up OTRS on Windows;
http://afsharm.blogspot.com/2009/03/installing-otrs-active-perl-on-windows.h... (but this is with Microsoft SQL Server, you should just install MySQL instead)
I guess it would be good to also have instructions for manual installation on Windows...
Depending on your situation you could also install VMWare on your XP workstation with linux, just as on your server. Then you would have a real test environment; which you can also use to test out upgrades or so. VMWare Server is available at no charge. VMWare workstation costs a little more but has lots of good features. Myself, I use VMWare server ;-)
Regards,
Michiel.
On Wed, Sep 9, 2009 at 11:18 AM, Lev Davidovich
wrote: Hi I want to install OTRS 2.2.5 on a Windows XP test machine as that is the version we have on the live server.
The automatic installer on the following page
is only for the latest version.
Is there an automatic installer I can find for installing 2.2 on Windows?
Rory was kind enough to point out the following page with downloads of earlier versions
ftp://ftp.otrs.org/pub/otrs/
but downloading 2.2.5 from here would require a manual install on Windows.
I can't seem to find instructions to manually install version 2.2 on Windows.
I have, however, found instructions to manually install version 1.3 on Windows on the following page.
http://doc.otrs.org/1.3/en/html/install-win32.html
Is there a page with similar instructions for version 2.2 or will the instructions for 1.3 be able to do the job for me?
Thanks for your help
Lev
--------------------------------------------------------------------- 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/
--------------------------------------------------------------------- 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/
--------------------------------------------------------------------- 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/

Have a look at the otsr.sql file in notepad (or a better text editor
if you have one).
I just did a dump from my own otrs DB and this is the start of the file;
##########################
-- MySQL dump 10.13 Distrib 5.1.35, for Win32 (ia32)
--
-- Host: localhost Database: otrs
-- ------------------------------------------------------
-- Server version 5.1.35-community-log
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS,
FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
--
-- Current Database: `otrs`
--
CREATE DATABASE /*!32312 IF NOT EXISTS*/ `otrs` /*!40100 DEFAULT
CHARACTER SET utf8 */;
USE `otrs`;
--
-- Table structure for table `article`
--
################################
Firstly my version of mysqldump is 10.13 so if you're using an earlier
version it might do things a little differently.
Secondly there's the line to CREATE DATABASE `otrs` if it doesn't
exist. Is this line in your dump?
If its there it should create the database but maybe its acting up. If
its not there then you'll have to create the database and then tell
mysql to use it when you are importing the database i.e.
mysql -D otrs -u root -p < C:\otrsdump\otrs.sql
Note: The option to specify the database is -D for the mysql command
but it is -B for mysqldump. I keep getting those confused.
Rory
Support my 365 Challenge in aid of the Irish Cancer Society
www.365challenge.ie
2009/9/10 Lev Davidovich
Thank you so much Rory.
The deletion of the 2.4.4 database and the dump of the live database went pretty smoothly.
But I have got stuck trying to import the dump (which is called "otrs.sql").
I have gone to the bin directory of the mysql install and typed
mysql -u root -p < C:\otrsdump\otrs.sql
was asked for and typed my password and got message "Error - no database selected".
So then I typed
mysql -u root -p otrs< C:\otrsdump\otrs.sql was asked for and typed my password and got message "Error - unknown database 'otrs' ".
Do I need to create a database called otrs first and then import the dump into it?
Thanks a lot
Lev ________________________________ From: Rory
To: User questions and discussions about OTRS. Sent: Wednesday, 9 September, 2009 15:48:30 Subject: Re: [otrs] Install OTRS 2.2.5 on Windows XP machine If I remember correctly, you access mysql from the command line i.e. mysql -u root -p Once you've done that type, show databases; This will give you a list of databases in your database server. Pick the otrs one (I think its just called otrs) Type in, drop database otrs; This will delete your otrs database.
Once that is done go to your live server. At the command line type (again check the database name first), mysqldump -B otrs -u root -p > otrsdump.sql
This will dump your otrs database to the file otrsdump.sql. The nice think about the dump file is that it is full of sql commands to recreate your database. So you simply need to run it through mysql on your test server to recreate your database. So copy the otrsdump.sql file to your test server.
Now at the command line of your test server type, mysql -u root -p < otrsdump.sql
The -p option to the mysql and mysqldump commands means you're using a password. If the -p is followed by a space it will ask you for the password on the next line so you can't see it written on the command line for security. The mysql and mysqldump commands may not be in your path. In that case change to the bin directory of the mysql install and run the command from there using the absolute path for the output/input file.
Let us know how you get on with that.
Rory
Support my 365 Challenge in aid of the Irish Cancer Society
www.365challenge.ie
2009/9/9 Lev Davidovich
: "What you could do is download the latest version of the Windows installer of OTRS, drop the mysql database, and load your backup database from live, clean the /otrs/otrs directory and unzip the 2.2 version you would like to use there."
Please explain to me in more detail how to "drop the mysql database, and load your backup database from live".
Is this something I do after the installation, or during it? Thank you
________________________________ From: Michiel Beijen
To: User questions and discussions about OTRS. Sent: Wednesday, 9 September, 2009 11:12:31 Subject: Re: [otrs] Install OTRS 2.2.5 on Windows XP machine Lev,
Yes, there are no longer windows INSTALLERS of 2.2 otrs available, because of issues with one of the bundled components. On the download servers you can download every source version back to 0.5 beta! [http://ftp.otrs.org/pub/otrs/]
What you could do is download the latest version of the Windows installer of OTRS, drop the mysql database, and load your backup database from live, clean the /otrs/otrs directory and unzip the 2.2 version you would like to use there. Copy Config.pm from the server to your Windows box but make sure you add the following line to it:
$Self->{'SendmailModule'} = 'Kernel::System::Email::DoNotSendEmail';
this because your copy system will not be sending escalations out for tickets that are long closed on live ;-) (available since otrs 2.2.6)
and you should probably also look into how OTRS fetches mails from the server on your live system. If you use pop or imap as defined in the Admin web user interface, you might want to edit crontab to NOT run PostMasterMailbox.pl
Regards,
MIchiel
On Wed, Sep 9, 2009 at 11:59 AM, Lev Davidovich
wrote: Thanks Michael. I am inclined to go down the VMWare route that both you and Rory and others suggest but I am not having much luck convincing the decision makers here!
The consensus seems to be that it is OK as a long term project but that in the short term what we need is a quick database dump followed by import into a copy of OTRS running on Windows.
Just to be clear about what you are saying -
are you saying it is no longer possible to download versions of OTRS earlier than 2.3 x and install them on Windows? Or is it only AUTOMATIC installers that it is no longer possible to download?
Where can I find an automatic installer for version 2.3 x?
I could still download version 2.2.5 from ftp://ftp.otrs.org/pub/otrs/ and install it manually (using the instructions that Afshar Mohebbi has posted ) - is that correct?
Thank you ________________________________ From: Michiel Beijen
To: User questions and discussions about OTRS. Sent: Wednesday, 9 September, 2009 10:36:46 Subject: Re: [otrs] Install OTRS 2.2.5 on Windows XP machine Hi Lev,
Due to licensing issues there are no longer old Windows installers earlier than 2.3.x available for download.
Afshar Mohebbi has posted instructions for setting up OTRS on Windows;
http://afsharm.blogspot.com/2009/03/installing-otrs-active-perl-on-windows.h... (but this is with Microsoft SQL Server, you should just install MySQL instead)
I guess it would be good to also have instructions for manual installation on Windows...
Depending on your situation you could also install VMWare on your XP workstation with linux, just as on your server. Then you would have a real test environment; which you can also use to test out upgrades or so. VMWare Server is available at no charge. VMWare workstation costs a little more but has lots of good features. Myself, I use VMWare server ;-)
Regards,
Michiel.
On Wed, Sep 9, 2009 at 11:18 AM, Lev Davidovich
wrote: Hi I want to install OTRS 2.2.5 on a Windows XP test machine as that is the version we have on the live server.
The automatic installer on the following page
is only for the latest version.
Is there an automatic installer I can find for installing 2.2 on Windows?
Rory was kind enough to point out the following page with downloads of earlier versions
ftp://ftp.otrs.org/pub/otrs/
but downloading 2.2.5 from here would require a manual install on Windows.
I can't seem to find instructions to manually install version 2.2 on Windows.
I have, however, found instructions to manually install version 1.3 on Windows on the following page.
http://doc.otrs.org/1.3/en/html/install-win32.html
Is there a page with similar instructions for version 2.2 or will the instructions for 1.3 be able to do the job for me?
Thanks for your help
Lev
--------------------------------------------------------------------- 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/
--------------------------------------------------------------------- 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/
--------------------------------------------------------------------- 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/
--------------------------------------------------------------------- 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/

Hi Rory the MySQL Dump version is 10.9 and the Create Database line was not there in the dump file.
I created the database named otrs and then imported the dump. I think it has worked because when I did a
'show tables from otrs'
query from the command prompt on my test machine 93 tables were displayed.
How do I test to make sure that the import has worked?
How do I now go about cleaning the otrs/otrs directory before unzipping the 2.2 version there as per Michael's instructions?
Thannks a lot
Best
Lev
________________________________
From: Rory
Thank you so much Rory.
The deletion of the 2.4.4 database and the dump of the live database went pretty smoothly.
But I have got stuck trying to import the dump (which is called "otrs.sql").
I have gone to the bin directory of the mysql install and typed
mysql -u root -p < C:\otrsdump\otrs.sql
was asked for and typed my password and got message "Error - no database selected".
So then I typed
mysql -u root -p otrs< C:\otrsdump\otrs.sql was asked for and typed my password and got message "Error - unknown database 'otrs' ".
Do I need to create a database called otrs first and then import the dump into it?
Thanks a lot
Lev ________________________________ From: Rory
To: User questions and discussions about OTRS. Sent: Wednesday, 9 September, 2009 15:48:30 Subject: Re: [otrs] Install OTRS 2.2.5 on Windows XP machine If I remember correctly, you access mysql from the command line i.e. mysql -u root -p Once you've done that type, show databases; This will give you a list of databases in your database server. Pick the otrs one (I think its just called otrs) Type in, drop database otrs; This will delete your otrs database.
Once that is done go to your live server. At the command line type (again check the database name first), mysqldump -B otrs -u root -p > otrsdump.sql
This will dump your otrs database to the file otrsdump.sql. The nice think about the dump file is that it is full of sql commands to recreate your database. So you simply need to run it through mysql on your test server to recreate your database. So copy the otrsdump.sql file to your test server.
Now at the command line of your test server type, mysql -u root -p < otrsdump.sql
The -p option to the mysql and mysqldump commands means you're using a password. If the -p is followed by a space it will ask you for the password on the next line so you can't see it written on the command line for security. The mysql and mysqldump commands may not be in your path. In that case change to the bin directory of the mysql install and run the command from there using the absolute path for the output/input file.
Let us know how you get on with that.
Rory
Support my 365 Challenge in aid of the Irish Cancer Society
www.365challenge.ie
2009/9/9 Lev Davidovich
: "What you could do is download the latest version of the Windows installer of OTRS, drop the mysql database, and load your backup database from live, clean the /otrs/otrs directory and unzip the 2.2 version you would like to use there."
Please explain to me in more detail how to "drop the mysql database, and load your backup database from live".
Is this something I do after the installation, or during it? Thank you
________________________________ From: Michiel Beijen
To: User questions and discussions about OTRS. Sent: Wednesday, 9 September, 2009 11:12:31 Subject: Re: [otrs] Install OTRS 2.2.5 on Windows XP machine Lev,
Yes, there are no longer windows INSTALLERS of 2.2 otrs available, because of issues with one of the bundled components. On the download servers you can download every source version back to 0.5 beta! [http://ftp.otrs.org/pub/otrs/]
What you could do is download the latest version of the Windows installer of OTRS, drop the mysql database, and load your backup database from live, clean the /otrs/otrs directory and unzip the 2.2 version you would like to use there. Copy Config.pm from the server to your Windows box but make sure you add the following line to it:
$Self->{'SendmailModule'} = 'Kernel::System::Email::DoNotSendEmail';
this because your copy system will not be sending escalations out for tickets that are long closed on live ;-) (available since otrs 2.2.6)
and you should probably also look into how OTRS fetches mails from the server on your live system. If you use pop or imap as defined in the Admin web user interface, you might want to edit crontab to NOT run PostMasterMailbox.pl
Regards,
MIchiel
On Wed, Sep 9, 2009 at 11:59 AM, Lev Davidovich
wrote: Thanks Michael. I am inclined to go down the VMWare route that both you and Rory and others suggest but I am not having much luck convincing the decision makers here!
The consensus seems to be that it is OK as a long term project but that in the short term what we need is a quick database dump followed by import into a copy of OTRS running on Windows.
Just to be clear about what you are saying -
are you saying it is no longer possible to download versions of OTRS earlier than 2.3 x and install them on Windows? Or is it only AUTOMATIC installers that it is no longer possible to download?
Where can I find an automatic installer for version 2.3 x?
I could still download version 2.2.5 from ftp://ftp.otrs.org/pub/otrs/ and install it manually (using the instructions that Afshar Mohebbi has posted ) - is that correct?
Thank you ________________________________ From: Michiel Beijen
To: User questions and discussions about OTRS. Sent: Wednesday, 9 September, 2009 10:36:46 Subject: Re: [otrs] Install OTRS 2.2.5 on Windows XP machine Hi Lev,
Due to licensing issues there are no longer old Windows installers earlier than 2.3.x available for download.
Afshar Mohebbi has posted instructions for setting up OTRS on Windows;
http://afsharm.blogspot.com/2009/03/installing-otrs-active-perl-on-windows.h... (but this is with Microsoft SQL Server, you should just install MySQL instead)
I guess it would be good to also have instructions for manual installation on Windows...
Depending on your situation you could also install VMWare on your XP workstation with linux, just as on your server. Then you would have a real test environment; which you can also use to test out upgrades or so. VMWare Server is available at no charge. VMWare workstation costs a little more but has lots of good features. Myself, I use VMWare server ;-)
Regards,
Michiel.
On Wed, Sep 9, 2009 at 11:18 AM, Lev Davidovich
wrote: Hi I want to install OTRS 2.2.5 on a Windows XP test machine as that is the version we have on the live server.
The automatic installer on the following page
is only for the latest version.
Is there an automatic installer I can find for installing 2.2 on Windows?
Rory was kind enough to point out the following page with downloads of earlier versions
ftp://ftp.otrs.org/pub/otrs/
but downloading 2.2.5 from here would require a manual install on Windows.
I can't seem to find instructions to manually install version 2.2 on Windows.
I have, however, found instructions to manually install version 1.3 on Windows on the following page.
http://doc.otrs.org/1.3/en/html/install-win32.html
Is there a page with similar instructions for version 2.2 or will the instructions for 1.3 be able to do the job for me?
Thanks for your help
Lev
--------------------------------------------------------------------- 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/
--------------------------------------------------------------------- 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/
--------------------------------------------------------------------- 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/
--------------------------------------------------------------------- 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/

I think you can be pretty confident that the dump worked. 93 tables is pretty promising. You could run a select query on the first 50 tickets in both the live and test databases and see that the output is the same. SELECT tn,title FROM ticket LIMIT 50; That should be enough to confirm that you have the right list of tickets loaded. You can always leave out the limit or increase it if you want more. In fact if you leave out the limit it will tell you the number of rows output at the end. You could do that on both to make sure you have the same number of tickets. To clear out the files of otrs application firstly make sure your web server is stopped then simply remove everything from the base otrs directory. For me this is F:\wwwroot\otrs-2.4.1\ on my windows server. The sub directories are bin, doc, Kernel, scripts, var. Delete or move everything from there. Now you can copy the same directory from the live server and drop it in here. Remember, as Michiel said,
Copy Config.pm from the server to your Windows box but make sure you add the following line to it:
$Self->{'SendmailModule'} = 'Kernel::System::Email::DoNotSendEmail';
Once you've done that start up your webserver and try to connect. With
any luck you'll be able to log in straight away with the same username
you use on the live server.
Rory
Support my 365 Challenge in aid of the Irish Cancer Society
www.365challenge.ie
2009/9/10 Lev Davidovich
Hi Rory the MySQL Dump version is 10.9 and the Create Database line was not there in the dump file.
I created the database named otrs and then imported the dump. I think it has worked because when I did a
'show tables from otrs'
query from the command prompt on my test machine 93 tables were displayed.
How do I test to make sure that the import has worked?
How do I now go about cleaning the otrs/otrs directory before unzipping the 2.2 version there as per Michael's instructions?
Thannks a lot
Best
Lev ________________________________ From: Rory
To: User questions and discussions about OTRS. Sent: Thursday, 10 September, 2009 15:24:33 Subject: Re: [otrs] Install OTRS 2.2.5 on Windows XP machine Have a look at the otsr.sql file in notepad (or a better text editor if you have one). I just did a dump from my own otrs DB and this is the start of the file;
########################## -- MySQL dump 10.13 Distrib 5.1.35, for Win32 (ia32) -- -- Host: localhost Database: otrs -- ------------------------------------------------------ -- Server version 5.1.35-community-log
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */; /*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; /*!40103 SET TIME_ZONE='+00:00' */; /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
-- -- Current Database: `otrs` --
CREATE DATABASE /*!32312 IF NOT EXISTS*/ `otrs` /*!40100 DEFAULT CHARACTER SET utf8 */;
USE `otrs`;
-- -- Table structure for table `article` -- ################################
Firstly my version of mysqldump is 10.13 so if you're using an earlier version it might do things a little differently.
Secondly there's the line to CREATE DATABASE `otrs` if it doesn't exist. Is this line in your dump? If its there it should create the database but maybe its acting up. If its not there then you'll have to create the database and then tell mysql to use it when you are importing the database i.e.
mysql -D otrs -u root -p < C:\otrsdump\otrs.sql
Note: The option to specify the database is -D for the mysql command but it is -B for mysqldump. I keep getting those confused.
Rory
Support my 365 Challenge in aid of the Irish Cancer Society
www.365challenge.ie
2009/9/10 Lev Davidovich
: Thank you so much Rory.
The deletion of the 2.4.4 database and the dump of the live database went pretty smoothly.
But I have got stuck trying to import the dump (which is called "otrs.sql").
I have gone to the bin directory of the mysql install and typed
mysql -u root -p < C:\otrsdump\otrs.sql
was asked for and typed my password and got message "Error - no database selected".
So then I typed
mysql -u root -p otrs< C:\otrsdump\otrs.sql was asked for and typed my password and got message "Error - unknown database 'otrs' ".
Do I need to create a database called otrs first and then import the dump into it?
Thanks a lot
Lev ________________________________ From: Rory
To: User questions and discussions about OTRS. Sent: Wednesday, 9 September, 2009 15:48:30 Subject: Re: [otrs] Install OTRS 2.2.5 on Windows XP machine If I remember correctly, you access mysql from the command line i.e. mysql -u root -p Once you've done that type, show databases; This will give you a list of databases in your database server. Pick the otrs one (I think its just called otrs) Type in, drop database otrs; This will delete your otrs database.
Once that is done go to your live server. At the command line type (again check the database name first), mysqldump -B otrs -u root -p > otrsdump.sql
This will dump your otrs database to the file otrsdump.sql. The nice think about the dump file is that it is full of sql commands to recreate your database. So you simply need to run it through mysql on your test server to recreate your database. So copy the otrsdump.sql file to your test server.
Now at the command line of your test server type, mysql -u root -p < otrsdump.sql
The -p option to the mysql and mysqldump commands means you're using a password. If the -p is followed by a space it will ask you for the password on the next line so you can't see it written on the command line for security. The mysql and mysqldump commands may not be in your path. In that case change to the bin directory of the mysql install and run the command from there using the absolute path for the output/input file.
Let us know how you get on with that.
Rory
Support my 365 Challenge in aid of the Irish Cancer Society
www.365challenge.ie
2009/9/9 Lev Davidovich
: "What you could do is download the latest version of the Windows installer of OTRS, drop the mysql database, and load your backup database from live, clean the /otrs/otrs directory and unzip the 2.2 version you would like to use there."
Please explain to me in more detail how to "drop the mysql database, and load your backup database from live".
Is this something I do after the installation, or during it? Thank you
________________________________ From: Michiel Beijen
To: User questions and discussions about OTRS. Sent: Wednesday, 9 September, 2009 11:12:31 Subject: Re: [otrs] Install OTRS 2.2.5 on Windows XP machine Lev,
Yes, there are no longer windows INSTALLERS of 2.2 otrs available, because of issues with one of the bundled components. On the download servers you can download every source version back to 0.5 beta! [http://ftp.otrs.org/pub/otrs/]
What you could do is download the latest version of the Windows installer of OTRS, drop the mysql database, and load your backup database from live, clean the /otrs/otrs directory and unzip the 2.2 version you would like to use there. Copy Config.pm from the server to your Windows box but make sure you add the following line to it:
$Self->{'SendmailModule'} = 'Kernel::System::Email::DoNotSendEmail';
this because your copy system will not be sending escalations out for tickets that are long closed on live ;-) (available since otrs 2.2.6)
and you should probably also look into how OTRS fetches mails from the server on your live system. If you use pop or imap as defined in the Admin web user interface, you might want to edit crontab to NOT run PostMasterMailbox.pl
Regards,
MIchiel
On Wed, Sep 9, 2009 at 11:59 AM, Lev Davidovich
wrote: Thanks Michael. I am inclined to go down the VMWare route that both you and Rory and others suggest but I am not having much luck convincing the decision makers here!
The consensus seems to be that it is OK as a long term project but that in the short term what we need is a quick database dump followed by import into a copy of OTRS running on Windows.
Just to be clear about what you are saying -
are you saying it is no longer possible to download versions of OTRS earlier than 2.3 x and install them on Windows? Or is it only AUTOMATIC installers that it is no longer possible to download?
Where can I find an automatic installer for version 2.3 x?
I could still download version 2.2.5 from ftp://ftp.otrs.org/pub/otrs/ and install it manually (using the instructions that Afshar Mohebbi has posted ) - is that correct?
Thank you ________________________________ From: Michiel Beijen
To: User questions and discussions about OTRS. Sent: Wednesday, 9 September, 2009 10:36:46 Subject: Re: [otrs] Install OTRS 2.2.5 on Windows XP machine Hi Lev,
Due to licensing issues there are no longer old Windows installers earlier than 2.3.x available for download.
Afshar Mohebbi has posted instructions for setting up OTRS on Windows;
http://afsharm.blogspot.com/2009/03/installing-otrs-active-perl-on-windows.h... (but this is with Microsoft SQL Server, you should just install MySQL instead)
I guess it would be good to also have instructions for manual installation on Windows...
Depending on your situation you could also install VMWare on your XP workstation with linux, just as on your server. Then you would have a real test environment; which you can also use to test out upgrades or so. VMWare Server is available at no charge. VMWare workstation costs a little more but has lots of good features. Myself, I use VMWare server ;-)
Regards,
Michiel.
On Wed, Sep 9, 2009 at 11:18 AM, Lev Davidovich
wrote: Hi I want to install OTRS 2.2.5 on a Windows XP test machine as that is the version we have on the live server.
The automatic installer on the following page
is only for the latest version.
Is there an automatic installer I can find for installing 2.2 on Windows?
Rory was kind enough to point out the following page with downloads of earlier versions
ftp://ftp.otrs.org/pub/otrs/
but downloading 2.2.5 from here would require a manual install on Windows.
I can't seem to find instructions to manually install version 2.2 on Windows.
I have, however, found instructions to manually install version 1.3 on Windows on the following page.
http://doc.otrs.org/1.3/en/html/install-win32.html
Is there a page with similar instructions for version 2.2 or will the instructions for 1.3 be able to do the job for me?
Thanks for your help
Lev
--------------------------------------------------------------------- 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/
--------------------------------------------------------------------- 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/
--------------------------------------------------------------------- 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/
--------------------------------------------------------------------- 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/
--------------------------------------------------------------------- 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/

Thanks a lot Rory - thanks to you and the others the finishing line seems to be in sight!
Just a couple of things to clarify:
1) Is it the "Apache" server I am supposed to stop in "Services" of "Administrative Tools" of "Control Panel"? I tired to stop it but am given a message that I have no access although our IT department was supposed to have given me full admin rights on this machine. Is there a way of doing this through the command line using my admin password? In any case I have asked IT to reexamine my admin rights so they are in the process of doing so.
2) My base otrs directory seems to be C:\Program Files\OTRS\OTRS which contains all the subdirectories you mention. When you say
"Now you can copy the same directory from the live server and drop it in here."
Is this better than doing what Michael said which was to download the 2.2.5 version from the download servers and unzip it in that directory - or is it virtually the same thing?
3) As a trial run I tried to delete the directories from the copy of OTRS in my laptop at home (Windows) but got messages that I could not delete certain files like "cron.pm" - is this likely to happen now and or is that also a matter of permissions which should hopefully be sorted out by our IT department? And if I do get such messages should I carry on regardless with copying everything else over or should I stop and restore the original version?
Thanks so much! :-)
________________________________
From: Rory
Copy Config.pm from the server to your Windows box but make sure you add the following line to it:
$Self->{'SendmailModule'} = 'Kernel::System::Email::DoNotSendEmail';
Once you've done that start up your webserver and try to connect. With
any luck you'll be able to log in straight away with the same username
you use on the live server.
Rory
Support my 365 Challenge in aid of the Irish Cancer Society
www.365challenge.ie
2009/9/10 Lev Davidovich
Hi Rory the MySQL Dump version is 10.9 and the Create Database line was not there in the dump file.
I created the database named otrs and then imported the dump. I think it has worked because when I did a
'show tables from otrs'
query from the command prompt on my test machine 93 tables were displayed.
How do I test to make sure that the import has worked?
How do I now go about cleaning the otrs/otrs directory before unzipping the 2.2 version there as per Michael's instructions?
Thannks a lot
Best
Lev ________________________________ From: Rory
To: User questions and discussions about OTRS. Sent: Thursday, 10 September, 2009 15:24:33 Subject: Re: [otrs] Install OTRS 2.2.5 on Windows XP machine Have a look at the otsr.sql file in notepad (or a better text editor if you have one). I just did a dump from my own otrs DB and this is the start of the file;
########################## -- MySQL dump 10.13 Distrib 5.1.35, for Win32 (ia32) -- -- Host: localhost Database: otrs -- ------------------------------------------------------ -- Server version 5.1.35-community-log
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */; /*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; /*!40103 SET TIME_ZONE='+00:00' */; /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
-- -- Current Database: `otrs` --
CREATE DATABASE /*!32312 IF NOT EXISTS*/ `otrs` /*!40100 DEFAULT CHARACTER SET utf8 */;
USE `otrs`;
-- -- Table structure for table `article` -- ################################
Firstly my version of mysqldump is 10.13 so if you're using an earlier version it might do things a little differently.
Secondly there's the line to CREATE DATABASE `otrs` if it doesn't exist. Is this line in your dump? If its there it should create the database but maybe its acting up. If its not there then you'll have to create the database and then tell mysql to use it when you are importing the database i.e.
mysql -D otrs -u root -p < C:\otrsdump\otrs.sql
Note: The option to specify the database is -D for the mysql command but it is -B for mysqldump. I keep getting those confused.
Rory
Support my 365 Challenge in aid of the Irish Cancer Society
www.365challenge.ie
2009/9/10 Lev Davidovich
: Thank you so much Rory.
The deletion of the 2.4.4 database and the dump of the live database went pretty smoothly.
But I have got stuck trying to import the dump (which is called "otrs.sql").
I have gone to the bin directory of the mysql install and typed
mysql -u root -p < C:\otrsdump\otrs.sql
was asked for and typed my password and got message "Error - no database selected".
So then I typed
mysql -u root -p otrs< C:\otrsdump\otrs.sql was asked for and typed my password and got message "Error - unknown database 'otrs' ".
Do I need to create a database called otrs first and then import the dump into it?
Thanks a lot
Lev ________________________________ From: Rory
To: User questions and discussions about OTRS. Sent: Wednesday, 9 September, 2009 15:48:30 Subject: Re: [otrs] Install OTRS 2.2.5 on Windows XP machine If I remember correctly, you access mysql from the command line i.e. mysql -u root -p Once you've done that type, show databases; This will give you a list of databases in your database server. Pick the otrs one (I think its just called otrs) Type in, drop database otrs; This will delete your otrs database.
Once that is done go to your live server. At the command line type (again check the database name first), mysqldump -B otrs -u root -p > otrsdump.sql
This will dump your otrs database to the file otrsdump.sql. The nice think about the dump file is that it is full of sql commands to recreate your database. So you simply need to run it through mysql on your test server to recreate your database. So copy the otrsdump.sql file to your test server.
Now at the command line of your test server type, mysql -u root -p < otrsdump.sql
The -p option to the mysql and mysqldump commands means you're using a password. If the -p is followed by a space it will ask you for the password on the next line so you can't see it written on the command line for security. The mysql and mysqldump commands may not be in your path. In that case change to the bin directory of the mysql install and run the command from there using the absolute path for the output/input file.
Let us know how you get on with that.
Rory
Support my 365 Challenge in aid of the Irish Cancer Society
www.365challenge.ie
2009/9/9 Lev Davidovich
: "What you could do is download the latest version of the Windows installer of OTRS, drop the mysql database, and load your backup database from live, clean the /otrs/otrs directory and unzip the 2.2 version you would like to use there."
Please explain to me in more detail how to "drop the mysql database, and load your backup database from live".
Is this something I do after the installation, or during it? Thank you
________________________________ From: Michiel Beijen
To: User questions and discussions about OTRS. Sent: Wednesday, 9 September, 2009 11:12:31 Subject: Re: [otrs] Install OTRS 2.2.5 on Windows XP machine Lev,
Yes, there are no longer windows INSTALLERS of 2.2 otrs available, because of issues with one of the bundled components. On the download servers you can download every source version back to 0.5 beta! [http://ftp.otrs.org/pub/otrs/]
What you could do is download the latest version of the Windows installer of OTRS, drop the mysql database, and load your backup database from live, clean the /otrs/otrs directory and unzip the 2.2 version you would like to use there. Copy Config.pm from the server to your Windows box but make sure you add the following line to it:
$Self->{'SendmailModule'} = 'Kernel::System::Email::DoNotSendEmail';
this because your copy system will not be sending escalations out for tickets that are long closed on live ;-) (available since otrs 2.2.6)
and you should probably also look into how OTRS fetches mails from the server on your live system. If you use pop or imap as defined in the Admin web user interface, you might want to edit crontab to NOT run PostMasterMailbox.pl
Regards,
MIchiel
On Wed, Sep 9, 2009 at 11:59 AM, Lev Davidovich
wrote: Thanks Michael. I am inclined to go down the VMWare route that both you and Rory and others suggest but I am not having much luck convincing the decision makers here!
The consensus seems to be that it is OK as a long term project but that in the short term what we need is a quick database dump followed by import into a copy of OTRS running on Windows.
Just to be clear about what you are saying -
are you saying it is no longer possible to download versions of OTRS earlier than 2.3 x and install them on Windows? Or is it only AUTOMATIC installers that it is no longer possible to download?
Where can I find an automatic installer for version 2.3 x?
I could still download version 2.2.5 from ftp://ftp.otrs.org/pub/otrs/ and install it manually (using the instructions that Afshar Mohebbi has posted ) - is that correct?
Thank you ________________________________ From: Michiel Beijen
To: User questions and discussions about OTRS. Sent: Wednesday, 9 September, 2009 10:36:46 Subject: Re: [otrs] Install OTRS 2.2.5 on Windows XP machine Hi Lev,
Due to licensing issues there are no longer old Windows installers earlier than 2.3.x available for download.
Afshar Mohebbi has posted instructions for setting up OTRS on Windows;
http://afsharm.blogspot.com/2009/03/installing-otrs-active-perl-on-windows.h... (but this is with Microsoft SQL Server, you should just install MySQL instead)
I guess it would be good to also have instructions for manual installation on Windows...
Depending on your situation you could also install VMWare on your XP workstation with linux, just as on your server. Then you would have a real test environment; which you can also use to test out upgrades or so. VMWare Server is available at no charge. VMWare workstation costs a little more but has lots of good features. Myself, I use VMWare server ;-)
Regards,
Michiel.
On Wed, Sep 9, 2009 at 11:18 AM, Lev Davidovich
wrote: Hi I want to install OTRS 2.2.5 on a Windows XP test machine as that is the version we have on the live server.
The automatic installer on the following page
is only for the latest version.
Is there an automatic installer I can find for installing 2.2 on Windows?
Rory was kind enough to point out the following page with downloads of earlier versions
ftp://ftp.otrs.org/pub/otrs/
but downloading 2.2.5 from here would require a manual install on Windows.
I can't seem to find instructions to manually install version 2.2 on Windows.
I have, however, found instructions to manually install version 1.3 on Windows on the following page.
http://doc.otrs.org/1.3/en/html/install-win32.html
Is there a page with similar instructions for version 2.2 or will the instructions for 1.3 be able to do the job for me?
Thanks for your help
Lev
--------------------------------------------------------------------- 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/
--------------------------------------------------------------------- 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/
--------------------------------------------------------------------- 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/
--------------------------------------------------------------------- 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/
--------------------------------------------------------------------- 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/

1) Yes, its the apache service that you need to stop. You minght also
want to stop the Cron Service as that could also be accessing files
and prevent you from deleting them.
Have a look at the system log in your event viewer to see what the
error is when you try to stop the apache service. If you can't stop
the service its not a big deal, it just one less thing to consider if
something doesn't work.
The commands for stopping and starting services from the command line are;
net stop
Thanks a lot Rory - thanks to you and the others the finishing line seems to be in sight!
Just a couple of things to clarify:
1) Is it the "Apache" server I am supposed to stop in "Services" of "Administrative Tools" of "Control Panel"? I tired to stop it but am given a message that I have no access although our IT department was supposed to have given me full admin rights on this machine. Is there a way of doing this through the command line using my admin password? In any case I have asked IT to reexamine my admin rights so they are in the process of doing so.
2) My base otrs directory seems to be C:\Program Files\OTRS\OTRS which contains all the subdirectories you mention. When you say
"Now you can copy the same directory from the live server and drop it in here."
Is this better than doing what Michael said which was to download the 2.2.5 version from the download servers and unzip it in that directory - or is it virtually the same thing?
3) As a trial run I tried to delete the directories from the copy of OTRS in my laptop at home (Windows) but got messages that I could not delete certain files like "cron.pm" - is this likely to happen now and or is that also a matter of permissions which should hopefully be sorted out by our IT department? And if I do get such messages should I carry on regardless with copying everything else over or should I stop and restore the original version?
Thanks so much! :-) ________________________________ From: Rory
To: User questions and discussions about OTRS. Sent: Friday, 11 September, 2009 9:23:32 Subject: Re: [otrs] Install OTRS 2.2.5 on Windows XP machine I think you can be pretty confident that the dump worked. 93 tables is pretty promising. You could run a select query on the first 50 tickets in both the live and test databases and see that the output is the same.
SELECT tn,title FROM ticket LIMIT 50;
That should be enough to confirm that you have the right list of tickets loaded. You can always leave out the limit or increase it if you want more. In fact if you leave out the limit it will tell you the number of rows output at the end. You could do that on both to make sure you have the same number of tickets.
To clear out the files of otrs application firstly make sure your web server is stopped then simply remove everything from the base otrs directory. For me this is F:\wwwroot\otrs-2.4.1\ on my windows server. The sub directories are bin, doc, Kernel, scripts, var. Delete or move everything from there. Now you can copy the same directory from the live server and drop it in here.
Remember, as Michiel said,
Copy Config.pm from the server to your Windows box but make sure you add the following line to it:
$Self->{'SendmailModule'} = 'Kernel::System::Email::DoNotSendEmail';
Once you've done that start up your webserver and try to connect. With any luck you'll be able to log in straight away with the same username you use on the live server.
Rory
Support my 365 Challenge in aid of the Irish Cancer Society
www.365challenge.ie
2009/9/10 Lev Davidovich
: Hi Rory the MySQL Dump version is 10.9 and the Create Database line was not there in the dump file.
I created the database named otrs and then imported the dump. I think it has worked because when I did a
'show tables from otrs'
query from the command prompt on my test machine 93 tables were displayed.
How do I test to make sure that the import has worked?
How do I now go about cleaning the otrs/otrs directory before unzipping the 2.2 version there as per Michael's instructions?
Thannks a lot
Best
Lev ________________________________ From: Rory
To: User questions and discussions about OTRS. Sent: Thursday, 10 September, 2009 15:24:33 Subject: Re: [otrs] Install OTRS 2.2.5 on Windows XP machine Have a look at the otsr.sql file in notepad (or a better text editor if you have one). I just did a dump from my own otrs DB and this is the start of the file;
########################## -- MySQL dump 10.13 Distrib 5.1.35, for Win32 (ia32) -- -- Host: localhost Database: otrs -- ------------------------------------------------------ -- Server version 5.1.35-community-log
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */; /*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; /*!40103 SET TIME_ZONE='+00:00' */; /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
-- -- Current Database: `otrs` --
CREATE DATABASE /*!32312 IF NOT EXISTS*/ `otrs` /*!40100 DEFAULT CHARACTER SET utf8 */;
USE `otrs`;
-- -- Table structure for table `article` -- ################################
Firstly my version of mysqldump is 10.13 so if you're using an earlier version it might do things a little differently.
Secondly there's the line to CREATE DATABASE `otrs` if it doesn't exist. Is this line in your dump? If its there it should create the database but maybe its acting up. If its not there then you'll have to create the database and then tell mysql to use it when you are importing the database i.e.
mysql -D otrs -u root -p < C:\otrsdump\otrs.sql
Note: The option to specify the database is -D for the mysql command but it is -B for mysqldump. I keep getting those confused.
Rory
Support my 365 Challenge in aid of the Irish Cancer Society
www.365challenge.ie
2009/9/10 Lev Davidovich
: Thank you so much Rory.
The deletion of the 2.4.4 database and the dump of the live database went pretty smoothly.
But I have got stuck trying to import the dump (which is called "otrs.sql").
I have gone to the bin directory of the mysql install and typed
mysql -u root -p < C:\otrsdump\otrs.sql
was asked for and typed my password and got message "Error - no database selected".
So then I typed
mysql -u root -p otrs< C:\otrsdump\otrs.sql was asked for and typed my password and got message "Error - unknown database 'otrs' ".
Do I need to create a database called otrs first and then import the dump into it?
Thanks a lot
Lev ________________________________ From: Rory
To: User questions and discussions about OTRS. Sent: Wednesday, 9 September, 2009 15:48:30 Subject: Re: [otrs] Install OTRS 2.2.5 on Windows XP machine If I remember correctly, you access mysql from the command line i.e. mysql -u root -p Once you've done that type, show databases; This will give you a list of databases in your database server. Pick the otrs one (I think its just called otrs) Type in, drop database otrs; This will delete your otrs database.
Once that is done go to your live server. At the command line type (again check the database name first), mysqldump -B otrs -u root -p > otrsdump.sql
This will dump your otrs database to the file otrsdump.sql. The nice think about the dump file is that it is full of sql commands to recreate your database. So you simply need to run it through mysql on your test server to recreate your database. So copy the otrsdump.sql file to your test server.
Now at the command line of your test server type, mysql -u root -p < otrsdump.sql
The -p option to the mysql and mysqldump commands means you're using a password. If the -p is followed by a space it will ask you for the password on the next line so you can't see it written on the command line for security. The mysql and mysqldump commands may not be in your path. In that case change to the bin directory of the mysql install and run the command from there using the absolute path for the output/input file.
Let us know how you get on with that.
Rory
Support my 365 Challenge in aid of the Irish Cancer Society
www.365challenge.ie
2009/9/9 Lev Davidovich
: "What you could do is download the latest version of the Windows installer of OTRS, drop the mysql database, and load your backup database from live, clean the /otrs/otrs directory and unzip the 2.2 version you would like to use there."
Please explain to me in more detail how to "drop the mysql database, and load your backup database from live".
Is this something I do after the installation, or during it? Thank you
________________________________ From: Michiel Beijen
To: User questions and discussions about OTRS. Sent: Wednesday, 9 September, 2009 11:12:31 Subject: Re: [otrs] Install OTRS 2.2.5 on Windows XP machine Lev,
Yes, there are no longer windows INSTALLERS of 2.2 otrs available, because of issues with one of the bundled components. On the download servers you can download every source version back to 0.5 beta! [http://ftp.otrs.org/pub/otrs/]
What you could do is download the latest version of the Windows installer of OTRS, drop the mysql database, and load your backup database from live, clean the /otrs/otrs directory and unzip the 2.2 version you would like to use there. Copy Config.pm from the server to your Windows box but make sure you add the following line to it:
$Self->{'SendmailModule'} = 'Kernel::System::Email::DoNotSendEmail';
this because your copy system will not be sending escalations out for tickets that are long closed on live ;-) (available since otrs 2.2.6)
and you should probably also look into how OTRS fetches mails from the server on your live system. If you use pop or imap as defined in the Admin web user interface, you might want to edit crontab to NOT run PostMasterMailbox.pl
Regards,
MIchiel
On Wed, Sep 9, 2009 at 11:59 AM, Lev Davidovich
wrote: Thanks Michael. I am inclined to go down the VMWare route that both you and Rory and others suggest but I am not having much luck convincing the decision makers here!
The consensus seems to be that it is OK as a long term project but that in the short term what we need is a quick database dump followed by import into a copy of OTRS running on Windows.
Just to be clear about what you are saying -
are you saying it is no longer possible to download versions of OTRS earlier than 2.3 x and install them on Windows? Or is it only AUTOMATIC installers that it is no longer possible to download?
Where can I find an automatic installer for version 2.3 x?
I could still download version 2.2.5 from ftp://ftp.otrs.org/pub/otrs/ and install it manually (using the instructions that Afshar Mohebbi has posted ) - is that correct?
Thank you ________________________________ From: Michiel Beijen
To: User questions and discussions about OTRS. Sent: Wednesday, 9 September, 2009 10:36:46 Subject: Re: [otrs] Install OTRS 2.2.5 on Windows XP machine Hi Lev,
Due to licensing issues there are no longer old Windows installers earlier than 2.3.x available for download.
Afshar Mohebbi has posted instructions for setting up OTRS on Windows;
http://afsharm.blogspot.com/2009/03/installing-otrs-active-perl-on-windows.h... (but this is with Microsoft SQL Server, you should just install MySQL instead)
I guess it would be good to also have instructions for manual installation on Windows...
Depending on your situation you could also install VMWare on your XP workstation with linux, just as on your server. Then you would have a real test environment; which you can also use to test out upgrades or so. VMWare Server is available at no charge. VMWare workstation costs a little more but has lots of good features. Myself, I use VMWare server ;-)
Regards,
Michiel.
On Wed, Sep 9, 2009 at 11:18 AM, Lev Davidovich
wrote: Hi I want to install OTRS 2.2.5 on a Windows XP test machine as that is the version we have on the live server.
The automatic installer on the following page
is only for the latest version.
Is there an automatic installer I can find for installing 2.2 on Windows?
Rory was kind enough to point out the following page with downloads of earlier versions
ftp://ftp.otrs.org/pub/otrs/
but downloading 2.2.5 from here would require a manual install on Windows.
I can't seem to find instructions to manually install version 2.2 on Windows.
I have, however, found instructions to manually install version 1.3 on Windows on the following page.
http://doc.otrs.org/1.3/en/html/install-win32.html
Is there a page with similar instructions for version 2.2 or will the instructions for 1.3 be able to do the job for me?
Thanks for your help
Lev
--------------------------------------------------------------------- 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/
--------------------------------------------------------------------- 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/
--------------------------------------------------------------------- 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/
--------------------------------------------------------------------- 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/
--------------------------------------------------------------------- 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/
--------------------------------------------------------------------- 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/

I managed to get Admin permissions for my machine at last!
I emptied out the base otrs directory and replaced the files with files from the 2.2.5 version. I then changed the Config file to the one from the live server and tried to log in but it won't let me log on as root@localhost !
Any idea what I should do?
Thanks
________________________________
From: Rory
Thanks a lot Rory - thanks to you and the others the finishing line seems to be in sight!
Just a couple of things to clarify:
1) Is it the "Apache" server I am supposed to stop in "Services" of "Administrative Tools" of "Control Panel"? I tired to stop it but am given a message that I have no access although our IT department was supposed to have given me full admin rights on this machine. Is there a way of doing this through the command line using my admin password? In any case I have asked IT to reexamine my admin rights so they are in the process of doing so.
2) My base otrs directory seems to be C:\Program Files\OTRS\OTRS which contains all the subdirectories you mention. When you say
"Now you can copy the same directory from the live server and drop it in here."
Is this better than doing what Michael said which was to download the 2.2.5 version from the download servers and unzip it in that directory - or is it virtually the same thing?
3) As a trial run I tried to delete the directories from the copy of OTRS in my laptop at home (Windows) but got messages that I could not delete certain files like "cron.pm" - is this likely to happen now and or is that also a matter of permissions which should hopefully be sorted out by our IT department? And if I do get such messages should I carry on regardless with copying everything else over or should I stop and restore the original version?
Thanks so much! :-) ________________________________ From: Rory
To: User questions and discussions about OTRS. Sent: Friday, 11 September, 2009 9:23:32 Subject: Re: [otrs] Install OTRS 2.2.5 on Windows XP machine I think you can be pretty confident that the dump worked. 93 tables is pretty promising. You could run a select query on the first 50 tickets in both the live and test databases and see that the output is the same.
SELECT tn,title FROM ticket LIMIT 50;
That should be enough to confirm that you have the right list of tickets loaded. You can always leave out the limit or increase it if you want more. In fact if you leave out the limit it will tell you the number of rows output at the end. You could do that on both to make sure you have the same number of tickets.
To clear out the files of otrs application firstly make sure your web server is stopped then simply remove everything from the base otrs directory. For me this is F:\wwwroot\otrs-2.4.1\ on my windows server. The sub directories are bin, doc, Kernel, scripts, var. Delete or move everything from there. Now you can copy the same directory from the live server and drop it in here.
Remember, as Michiel said,
Copy Config.pm from the server to your Windows box but make sure you add the following line to it:
$Self->{'SendmailModule'} = 'Kernel::System::Email::DoNotSendEmail';
Once you've done that start up your webserver and try to connect. With any luck you'll be able to log in straight away with the same username you use on the live server.
Rory
Support my 365 Challenge in aid of the Irish Cancer Society
www.365challenge.ie
2009/9/10 Lev Davidovich
: Hi Rory the MySQL Dump version is 10.9 and the Create Database line was not there in the dump file.
I created the database named otrs and then imported the dump. I think it has worked because when I did a
'show tables from otrs'
query from the command prompt on my test machine 93 tables were displayed.
How do I test to make sure that the import has worked?
How do I now go about cleaning the otrs/otrs directory before unzipping the 2.2 version there as per Michael's instructions?
Thannks a lot
Best
Lev ________________________________ From: Rory
To: User questions and discussions about OTRS. Sent: Thursday, 10 September, 2009 15:24:33 Subject: Re: [otrs] Install OTRS 2.2.5 on Windows XP machine Have a look at the otsr.sql file in notepad (or a better text editor if you have one). I just did a dump from my own otrs DB and this is the start of the file;
########################## -- MySQL dump 10.13 Distrib 5.1.35, for Win32 (ia32) -- -- Host: localhost Database: otrs -- ------------------------------------------------------ -- Server version 5.1.35-community-log
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */; /*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; /*!40103 SET TIME_ZONE='+00:00' */; /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
-- -- Current Database: `otrs` --
CREATE DATABASE /*!32312 IF NOT EXISTS*/ `otrs` /*!40100 DEFAULT CHARACTER SET utf8 */;
USE `otrs`;
-- -- Table structure for table `article` -- ################################
Firstly my version of mysqldump is 10.13 so if you're using an earlier version it might do things a little differently.
Secondly there's the line to CREATE DATABASE `otrs` if it doesn't exist. Is this line in your dump? If its there it should create the database but maybe its acting up. If its not there then you'll have to create the database and then tell mysql to use it when you are importing the database i.e.
mysql -D otrs -u root -p < C:\otrsdump\otrs.sql
Note: The option to specify the database is -D for the mysql command but it is -B for mysqldump. I keep getting those confused.
Rory
Support my 365 Challenge in aid of the Irish Cancer Society
www.365challenge.ie
2009/9/10 Lev Davidovich
: Thank you so much Rory.
The deletion of the 2.4.4 database and the dump of the live database went pretty smoothly.
But I have got stuck trying to import the dump (which is called "otrs.sql").
I have gone to the bin directory of the mysql install and typed
mysql -u root -p < C:\otrsdump\otrs.sql
was asked for and typed my password and got message "Error - no database selected".
So then I typed
mysql -u root -p otrs< C:\otrsdump\otrs.sql was asked for and typed my password and got message "Error - unknown database 'otrs' ".
Do I need to create a database called otrs first and then import the dump into it?
Thanks a lot
Lev ________________________________ From: Rory
To: User questions and discussions about OTRS. Sent: Wednesday, 9 September, 2009 15:48:30 Subject: Re: [otrs] Install OTRS 2.2.5 on Windows XP machine If I remember correctly, you access mysql from the command line i.e. mysql -u root -p Once you've done that type, show databases; This will give you a list of databases in your database server. Pick the otrs one (I think its just called otrs) Type in, drop database otrs; This will delete your otrs database.
Once that is done go to your live server. At the command line type (again check the database name first), mysqldump -B otrs -u root -p > otrsdump.sql
This will dump your otrs database to the file otrsdump.sql. The nice think about the dump file is that it is full of sql commands to recreate your database. So you simply need to run it through mysql on your test server to recreate your database. So copy the otrsdump.sql file to your test server.
Now at the command line of your test server type, mysql -u root -p < otrsdump.sql
The -p option to the mysql and mysqldump commands means you're using a password. If the -p is followed by a space it will ask you for the password on the next line so you can't see it written on the command line for security. The mysql and mysqldump commands may not be in your path. In that case change to the bin directory of the mysql install and run the command from there using the absolute path for the output/input file.
Let us know how you get on with that.
Rory
Support my 365 Challenge in aid of the Irish Cancer Society
www.365challenge.ie
2009/9/9 Lev Davidovich
: "What you could do is download the latest version of the Windows installer of OTRS, drop the mysql database, and load your backup database from live, clean the /otrs/otrs directory and unzip the 2.2 version you would like to use there."
Please explain to me in more detail how to "drop the mysql database, and load your backup database from live".
Is this something I do after the installation, or during it? Thank you
________________________________ From: Michiel Beijen
To: User questions and discussions about OTRS. Sent: Wednesday, 9 September, 2009 11:12:31 Subject: Re: [otrs] Install OTRS 2.2.5 on Windows XP machine Lev,
Yes, there are no longer windows INSTALLERS of 2.2 otrs available, because of issues with one of the bundled components. On the download servers you can download every source version back to 0.5 beta! [http://ftp.otrs.org/pub/otrs/]
What you could do is download the latest version of the Windows installer of OTRS, drop the mysql database, and load your backup database from live, clean the /otrs/otrs directory and unzip the 2.2 version you would like to use there. Copy Config.pm from the server to your Windows box but make sure you add the following line to it:
$Self->{'SendmailModule'} = 'Kernel::System::Email::DoNotSendEmail';
this because your copy system will not be sending escalations out for tickets that are long closed on live ;-) (available since otrs 2.2.6)
and you should probably also look into how OTRS fetches mails from the server on your live system. If you use pop or imap as defined in the Admin web user interface, you might want to edit crontab to NOT run PostMasterMailbox.pl
Regards,
MIchiel
On Wed, Sep 9, 2009 at 11:59 AM, Lev Davidovich
wrote: Thanks Michael. I am inclined to go down the VMWare route that both you and Rory and others suggest but I am not having much luck convincing the decision makers here!
The consensus seems to be that it is OK as a long term project but that in the short term what we need is a quick database dump followed by import into a copy of OTRS running on Windows.
Just to be clear about what you are saying -
are you saying it is no longer possible to download versions of OTRS earlier than 2.3 x and install them on Windows? Or is it only AUTOMATIC installers that it is no longer possible to download?
Where can I find an automatic installer for version 2.3 x?
I could still download version 2.2.5 from ftp://ftp.otrs.org/pub/otrs/ and install it manually (using the instructions that Afshar Mohebbi has posted ) - is that correct?
Thank you ________________________________ From: Michiel Beijen
To: User questions and discussions about OTRS. Sent: Wednesday, 9 September, 2009 10:36:46 Subject: Re: [otrs] Install OTRS 2.2.5 on Windows XP machine Hi Lev,
Due to licensing issues there are no longer old Windows installers earlier than 2.3.x available for download.
Afshar Mohebbi has posted instructions for setting up OTRS on Windows;
http://afsharm.blogspot.com/2009/03/installing-otrs-active-perl-on-windows.h... (but this is with Microsoft SQL Server, you should just install MySQL instead)
I guess it would be good to also have instructions for manual installation on Windows...
Depending on your situation you could also install VMWare on your XP workstation with linux, just as on your server. Then you would have a real test environment; which you can also use to test out upgrades or so. VMWare Server is available at no charge. VMWare workstation costs a little more but has lots of good features. Myself, I use VMWare server ;-)
Regards,
Michiel.
On Wed, Sep 9, 2009 at 11:18 AM, Lev Davidovich
wrote: Hi I want to install OTRS 2.2.5 on a Windows XP test machine as that is the version we have on the live server.
The automatic installer on the following page
is only for the latest version.
Is there an automatic installer I can find for installing 2.2 on Windows?
Rory was kind enough to point out the following page with downloads of earlier versions
ftp://ftp.otrs.org/pub/otrs/
but downloading 2.2.5 from here would require a manual install on Windows.
I can't seem to find instructions to manually install version 2.2 on Windows.
I have, however, found instructions to manually install version 1.3 on Windows on the following page.
http://doc.otrs.org/1.3/en/html/install-win32.html
Is there a page with similar instructions for version 2.2 or will the instructions for 1.3 be able to do the job for me?
Thanks for your help
Lev
--------------------------------------------------------------------- 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/
--------------------------------------------------------------------- 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/
--------------------------------------------------------------------- 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/
--------------------------------------------------------------------- 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/
--------------------------------------------------------------------- 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/
--------------------------------------------------------------------- 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/

Use otrs/bin/otrs.setPassword to change the password for root@localhost
--
Michiel
On Fri, Sep 11, 2009 at 4:39 PM, Lev Davidovich
I managed to get Admin pebrmissions for my machine at last!
I emptied out the base otrs directory and replaced the files with files from the 2.2.5 version. I then changed the Config file to the one from the live server and tried to log in but it won't let me log on as root@localhost !
Any idea what I should do?
Thanks ________________________________ From: Rory
To: User questions and discussions about OTRS. Sent: Friday, 11 September, 2009 12:32:35 Subject: Re: [otrs] Install OTRS 2.2.5 on Windows XP machine 1) Yes, its the apache service that you need to stop. You minght also want to stop the Cron Service as that could also be accessing files and prevent you from deleting them. Have a look at the system log in your event viewer to see what the error is when you try to stop the apache service. If you can't stop the service its not a big deal, it just one less thing to consider if something doesn't work. The commands for stopping and starting services from the command line are;
net stop
net start You can get the service name from looking at the properties of the service. Its the very first line that you can't edit in the properties. You might find the runas command useful too, the syntax is;
runas /user:<domain>\<username> "<command>"
It will then ask you for your password and the command will run as the user you specified.
2) It doesn't really make much difference whether you copy from the live or if you extract the fresh download. The only reason I'd suggest a copy from live is that you have an exact copy of your live system. But if you havn't made any changes other than the config.pm then it doesn't matter.
3) I'm not sure why you were haveing the problem deleting files from your home machine. Maybe it was because the apache, mysql and cron services were running. If you have this trouble again I can tell you how to change the directory that apache server looks in for your files so that you can copy/extract the files to a different directory and still have everything work.
It does sound like your IT department has set you up with permissions that are almost but not quite administrator. Try to add a user to the machine yourself and add put them into the administrator group. That way you're sure to have local administrator rights. If you can't do that then you don't have full admin rights.
Take it easy, Rory
Support my 365 Challenge in aid of the Irish Cancer Society
www.365challenge.ie
2009/9/11 Lev Davidovich
: Thanks a lot Rory - thanks to you and the others the finishing line seems to be in sight!
Just a couple of things to clarify:
1) Is it the "Apache" server I am supposed to stop in "Services" of "Administrative Tools" of "Control Panel"? I tired to stop it but am given a message that I have no access although our IT department was supposed to have given me full admin rights on this machine. Is there a way of doing this through the command line using my admin password? In any case I have asked IT to reexamine my admin rights so they are in the process of doing so.
2) My base otrs directory seems to be C:\Program Files\OTRS\OTRS which contains all the subdirectories you mention. When you say
"Now you can copy the same directory from the live server and drop it in here."
Is this better than doing what Michael said which was to download the 2.2.5 version from the download servers and unzip it in that directory - or is it virtually the same thing?
3) As a trial run I tried to delete the directories from the copy of OTRS in my laptop at home (Windows) but got messages that I could not delete certain files like "cron.pm" - is this likely to happen now and or is that also a matter of permissions which should hopefully be sorted out by our IT department? And if I do get such messages should I carry on regardless with copying everything else over or should I stop and restore the original version?
Thanks so much! :-) ________________________________ From: Rory
To: User questions and discussions about OTRS. Sent: Friday, 11 September, 2009 9:23:32 Subject: Re: [otrs] Install OTRS 2.2.5 on Windows XP machine I think you can be pretty confident that the dump worked. 93 tables is pretty promising. You could run a select query on the first 50 tickets in both the live and test databases and see that the output is the same.
SELECT tn,title FROM ticket LIMIT 50;
That should be enough to confirm that you have the right list of tickets loaded. You can always leave out the limit or increase it if you want more. In fact if you leave out the limit it will tell you the number of rows output at the end. You could do that on both to make sure you have the same number of tickets.
To clear out the files of otrs application firstly make sure your web server is stopped then simply remove everything from the base otrs directory. For me this is F:\wwwroot\otrs-2.4.1\ on my windows server. The sub directories are bin, doc, Kernel, scripts, var. Delete or move everything from there. Now you can copy the same directory from the live server and drop it in here.
Remember, as Michiel said,
Copy Config.pm from the server to your Windows box but make sure you add the following line to it:
$Self->{'SendmailModule'} = 'Kernel::System::Email::DoNotSendEmail';
Once you've done that start up your webserver and try to connect. With any luck you'll be able to log in straight away with the same username you use on the live server.
Rory
Support my 365 Challenge in aid of the Irish Cancer Society
www.365challenge.ie
2009/9/10 Lev Davidovich
: Hi Rory the MySQL Dump version is 10.9 and the Create Database line was not there in the dump file.
I created the database named otrs and then imported the dump. I think it has worked because when I did a
'show tables from otrs'
query from the command prompt on my test machine 93 tables were displayed.
How do I test to make sure that the import has worked?
How do I now go about cleaning the otrs/otrs directory before unzipping the 2.2 version there as per Michael's instructions?
Thannks a lot
Best
Lev ________________________________ From: Rory
To: User questions and discussions about OTRS. Sent: Thursday, 10 September, 2009 15:24:33 Subject: Re: [otrs] Install OTRS 2.2.5 on Windows XP machine Have a look at the otsr.sql file in notepad (or a better text editor if you have one). I just did a dump from my own otrs DB and this is the start of the file;
########################## -- MySQL dump 10.13 Distrib 5.1.35, for Win32 (ia32) -- -- Host: localhost Database: otrs -- ------------------------------------------------------ -- Server version 5.1.35-community-log
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */; /*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; /*!40103 SET TIME_ZONE='+00:00' */; /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
-- -- Current Database: `otrs` --
CREATE DATABASE /*!32312 IF NOT EXISTS*/ `otrs` /*!40100 DEFAULT CHARACTER SET utf8 */;
USE `otrs`;
-- -- Table structure for table `article` -- ################################
Firstly my version of mysqldump is 10.13 so if you're using an earlier version it might do things a little differently.
Secondly there's the line to CREATE DATABASE `otrs` if it doesn't exist. Is this line in your dump? If its there it should create the database but maybe its acting up. If its not there then you'll have to create the database and then tell mysql to use it when you are importing the database i.e.
mysql -D otrs -u root -p < C:\otrsdump\otrs.sql
Note: The option to specify the database is -D for the mysql command but it is -B for mysqldump. I keep getting those confused.
Rory
Support my 365 Challenge in aid of the Irish Cancer Society
www.365challenge.ie
2009/9/10 Lev Davidovich
: Thank you so much Rory.
The deletion of the 2.4.4 database and the dump of the live database went pretty smoothly.
But I have got stuck trying to import the dump (which is called "otrs.sql").
I have gone to the bin directory of the mysql install and typed
mysql -u root -p < C:\otrsdump\otrs.sql
was asked for and typed my password and got message "Error - no database selected".
So then I typed
mysql -u root -p otrs< C:\otrsdump\otrs.sql was asked for and typed my password and got message "Error - unknown database 'otrs' ".
Do I need to create a database called otrs first and then import the dump into it?
Thanks a lot
Lev ________________________________ From: Rory
To: User questions and discussions about OTRS. Sent: Wednesday, 9 September, 2009 15:48:30 Subject: Re: [otrs] Install OTRS 2.2.5 on Windows XP machine If I remember correctly, you access mysql from the command line i.e. mysql -u root -p Once you've done that type, show databases; This will give you a list of databases in your database server. Pick the otrs one (I think its just called otrs) Type in, drop database otrs; This will delete your otrs database.
Once that is done go to your live server. At the command line type (again check the database name first), mysqldump -B otrs -u root -p > otrsdump.sql
This will dump your otrs database to the file otrsdump.sql. The nice think about the dump file is that it is full of sql commands to recreate your database. So you simply need to run it through mysql on your test server to recreate your database. So copy the otrsdump.sql file to your test server.
Now at the command line of your test server type, mysql -u root -p < otrsdump.sql
The -p option to the mysql and mysqldump commands means you're using a password. If the -p is followed by a space it will ask you for the password on the next line so you can't see it written on the command line for security. The mysql and mysqldump commands may not be in your path. In that case change to the bin directory of the mysql install and run the command from there using the absolute path for the output/input file.
Let us know how you get on with that.
Rory
Support my 365 Challenge in aid of the Irish Cancer Society
www.365challenge.ie
2009/9/9 Lev Davidovich
: "What you could do is download the latest version of the Windows installer of OTRS, drop the mysql database, and load your backup database from live, clean the /otrs/otrs directory and unzip the 2.2 version you would like to use there."
Please explain to me in more detail how to "drop the mysql database, and load your backup database from live".
Is this something I do after the installation, or during it? Thank you
________________________________ From: Michiel Beijen
To: User questions and discussions about OTRS. Sent: Wednesday, 9 September, 2009 11:12:31 Subject: Re: [otrs] Install OTRS 2.2.5 on Windows XP machine Lev,
Yes, there are no longer windows INSTALLERS of 2.2 otrs available, because of issues with one of the bundled components. On the download servers you can download every source version back to 0.5 beta! [http://ftp.otrs.org/pub/otrs/]
What you could do is download the latest version of the Windows installer of OTRS, drop the mysql database, and load your backup database from live, clean the /otrs/otrs directory and unzip the 2.2 version you would like to use there. Copy Config.pm from the server to your Windows box but make sure you add the following line to it:
$Self->{'SendmailModule'} = 'Kernel::System::Email::DoNotSendEmail';
this because your copy system will not be sending escalations out for tickets that are long closed on live ;-) (available since otrs 2.2.6)
and you should probably also look into how OTRS fetches mails from the server on your live system. If you use pop or imap as defined in the Admin web user interface, you might want to edit crontab to NOT run PostMasterMailbox.pl
Regards,
MIchiel
On Wed, Sep 9, 2009 at 11:59 AM, Lev Davidovich
wrote: Thanks Michael. I am inclined to go down the VMWare route that both you and Rory and others suggest but I am not having much luck convincing the decision makers here!
The consensus seems to be that it is OK as a long term project but that in the short term what we need is a quick database dump followed by import into a copy of OTRS running on Windows.
Just to be clear about what you are saying -
are you saying it is no longer possible to download versions of OTRS earlier than 2.3 x and install them on Windows? Or is it only AUTOMATIC installers that it is no longer possible to download?
Where can I find an automatic installer for version 2.3 x?
I could still download version 2.2.5 from ftp://ftp.otrs.org/pub/otrs/ and install it manually (using the instructions that Afshar Mohebbi has posted ) - is that correct?
Thank you ________________________________ From: Michiel Beijen
To: User questions and discussions about OTRS. Sent: Wednesday, 9 September, 2009 10:36:46 Subject: Re: [otrs] Install OTRS 2.2.5 on Windows XP machine Hi Lev,
Due to licensing issues there are no longer old Windows installers earlier than 2.3.x available for download.
Afshar Mohebbi has posted instructions for setting up OTRS on Windows;
http://afsharm.blogspot.com/2009/03/installing-otrs-active-perl-on-windows.h... (but this is with Microsoft SQL Server, you should just install MySQL instead)
I guess it would be good to also have instructions for manual installation on Windows...
Depending on your situation you could also install VMWare on your XP workstation with linux, just as on your server. Then you would have a real test environment; which you can also use to test out upgrades or so. VMWare Server is available at no charge. VMWare workstation costs a little more but has lots of good features. Myself, I use VMWare server ;-)
Regards,
Michiel.
On Wed, Sep 9, 2009 at 11:18 AM, Lev Davidovich
wrote: > Hi I want to install OTRS 2.2.5 on a Windows XP test machine as that > is > the > version we have on the live server. > > The automatic installer on the following page > > http://www.otrs.org/download/ > > is only for the latest version. > > Is there an automatic installer I can find for installing 2.2 on > Windows? > > Rory was kind enough to point out the following page with downloads > of > earlier versions > > ftp://ftp.otrs.org/pub/otrs/ > > but downloading 2.2.5 from here would require a manual install on > Windows. > > I can't seem to find instructions to manually install version 2.2 on > Windows. > > I have, however, found instructions to manually install version 1.3 > on > Windows on the following page. > > http://doc.otrs.org/1.3/en/html/install-win32.html > > Is there a page with similar instructions for version 2.2 or will the > instructions for 1.3 be able to do the job for me? > > Thanks for your help > > Lev > > --------------------------------------------------------------------- > 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/
--------------------------------------------------------------------- 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/
--------------------------------------------------------------------- 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/
--------------------------------------------------------------------- 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/
--------------------------------------------------------------------- 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/
--------------------------------------------------------------------- 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/
--------------------------------------------------------------------- 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/

thank you - please tell me what the code is for changing the password for root@localhost.
________________________________
From: Michiel Beijen
I managed to get Admin pebrmissions for my machine at last!
I emptied out the base otrs directory and replaced the files with files from the 2.2.5 version. I then changed the Config file to the one from the live server and tried to log in but it won't let me log on as root@localhost !
Any idea what I should do?
Thanks ________________________________ From: Rory
To: User questions and discussions about OTRS. Sent: Friday, 11 September, 2009 12:32:35 Subject: Re: [otrs] Install OTRS 2.2.5 on Windows XP machine 1) Yes, its the apache service that you need to stop. You minght also want to stop the Cron Service as that could also be accessing files and prevent you from deleting them. Have a look at the system log in your event viewer to see what the error is when you try to stop the apache service. If you can't stop the service its not a big deal, it just one less thing to consider if something doesn't work. The commands for stopping and starting services from the command line are;
net stop
net start You can get the service name from looking at the properties of the service. Its the very first line that you can't edit in the properties. You might find the runas command useful too, the syntax is;
runas /user:<domain>\<username> "<command>"
It will then ask you for your password and the command will run as the user you specified.
2) It doesn't really make much difference whether you copy from the live or if you extract the fresh download. The only reason I'd suggest a copy from live is that you have an exact copy of your live system. But if you havn't made any changes other than the config.pm then it doesn't matter.
3) I'm not sure why you were haveing the problem deleting files from your home machine. Maybe it was because the apache, mysql and cron services were running. If you have this trouble again I can tell you how to change the directory that apache server looks in for your files so that you can copy/extract the files to a different directory and still have everything work.
It does sound like your IT department has set you up with permissions that are almost but not quite administrator. Try to add a user to the machine yourself and add put them into the administrator group. That way you're sure to have local administrator rights. If you can't do that then you don't have full admin rights.
Take it easy, Rory
Support my 365 Challenge in aid of the Irish Cancer Society
www.365challenge.ie
2009/9/11 Lev Davidovich
: Thanks a lot Rory - thanks to you and the others the finishing line seems to be in sight!
Just a couple of things to clarify:
1) Is it the "Apache" server I am supposed to stop in "Services" of "Administrative Tools" of "Control Panel"? I tired to stop it but am given a message that I have no access although our IT department was supposed to have given me full admin rights on this machine. Is there a way of doing this through the command line using my admin password? In any case I have asked IT to reexamine my admin rights so they are in the process of doing so.
2) My base otrs directory seems to be C:\Program Files\OTRS\OTRS which contains all the subdirectories you mention. When you say
"Now you can copy the same directory from the live server and drop it in here."
Is this better than doing what Michael said which was to download the 2.2.5 version from the download servers and unzip it in that directory - or is it virtually the same thing?
3) As a trial run I tried to delete the directories from the copy of OTRS in my laptop at home (Windows) but got messages that I could not delete certain files like "cron.pm" - is this likely to happen now and or is that also a matter of permissions which should hopefully be sorted out by our IT department? And if I do get such messages should I carry on regardless with copying everything else over or should I stop and restore the original version?
Thanks so much! :-) ________________________________ From: Rory
To: User questions and discussions about OTRS. Sent: Friday, 11 September, 2009 9:23:32 Subject: Re: [otrs] Install OTRS 2.2.5 on Windows XP machine I think you can be pretty confident that the dump worked. 93 tables is pretty promising. You could run a select query on the first 50 tickets in both the live and test databases and see that the output is the same.
SELECT tn,title FROM ticket LIMIT 50;
That should be enough to confirm that you have the right list of tickets loaded. You can always leave out the limit or increase it if you want more. In fact if you leave out the limit it will tell you the number of rows output at the end. You could do that on both to make sure you have the same number of tickets.
To clear out the files of otrs application firstly make sure your web server is stopped then simply remove everything from the base otrs directory. For me this is F:\wwwroot\otrs-2.4.1\ on my windows server. The sub directories are bin, doc, Kernel, scripts, var. Delete or move everything from there. Now you can copy the same directory from the live server and drop it in here.
Remember, as Michiel said,
Copy Config.pm from the server to your Windows box but make sure you add the following line to it:
$Self->{'SendmailModule'} = 'Kernel::System::Email::DoNotSendEmail';
Once you've done that start up your webserver and try to connect. With any luck you'll be able to log in straight away with the same username you use on the live server.
Rory
Support my 365 Challenge in aid of the Irish Cancer Society
www.365challenge.ie
2009/9/10 Lev Davidovich
: Hi Rory the MySQL Dump version is 10.9 and the Create Database line was not there in the dump file.
I created the database named otrs and then imported the dump. I think it has worked because when I did a
'show tables from otrs'
query from the command prompt on my test machine 93 tables were displayed.
How do I test to make sure that the import has worked?
How do I now go about cleaning the otrs/otrs directory before unzipping the 2.2 version there as per Michael's instructions?
Thannks a lot
Best
Lev ________________________________ From: Rory
To: User questions and discussions about OTRS. Sent: Thursday, 10 September, 2009 15:24:33 Subject: Re: [otrs] Install OTRS 2.2.5 on Windows XP machine Have a look at the otsr.sql file in notepad (or a better text editor if you have one). I just did a dump from my own otrs DB and this is the start of the file;
########################## -- MySQL dump 10.13 Distrib 5.1.35, for Win32 (ia32) -- -- Host: localhost Database: otrs -- ------------------------------------------------------ -- Server version 5.1.35-community-log
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */; /*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; /*!40103 SET TIME_ZONE='+00:00' */; /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
-- -- Current Database: `otrs` --
CREATE DATABASE /*!32312 IF NOT EXISTS*/ `otrs` /*!40100 DEFAULT CHARACTER SET utf8 */;
USE `otrs`;
-- -- Table structure for table `article` -- ################################
Firstly my version of mysqldump is 10.13 so if you're using an earlier version it might do things a little differently.
Secondly there's the line to CREATE DATABASE `otrs` if it doesn't exist. Is this line in your dump? If its there it should create the database but maybe its acting up. If its not there then you'll have to create the database and then tell mysql to use it when you are importing the database i.e.
mysql -D otrs -u root -p < C:\otrsdump\otrs.sql
Note: The option to specify the database is -D for the mysql command but it is -B for mysqldump. I keep getting those confused.
Rory
Support my 365 Challenge in aid of the Irish Cancer Society
www.365challenge.ie
2009/9/10 Lev Davidovich
: Thank you so much Rory.
The deletion of the 2.4.4 database and the dump of the live database went pretty smoothly.
But I have got stuck trying to import the dump (which is called "otrs.sql").
I have gone to the bin directory of the mysql install and typed
mysql -u root -p < C:\otrsdump\otrs.sql
was asked for and typed my password and got message "Error - no database selected".
So then I typed
mysql -u root -p otrs< C:\otrsdump\otrs.sql was asked for and typed my password and got message "Error - unknown database 'otrs' ".
Do I need to create a database called otrs first and then import the dump into it?
Thanks a lot
Lev ________________________________ From: Rory
To: User questions and discussions about OTRS. Sent: Wednesday, 9 September, 2009 15:48:30 Subject: Re: [otrs] Install OTRS 2.2.5 on Windows XP machine If I remember correctly, you access mysql from the command line i.e. mysql -u root -p Once you've done that type, show databases; This will give you a list of databases in your database server. Pick the otrs one (I think its just called otrs) Type in, drop database otrs; This will delete your otrs database.
Once that is done go to your live server. At the command line type (again check the database name first), mysqldump -B otrs -u root -p > otrsdump.sql
This will dump your otrs database to the file otrsdump.sql. The nice think about the dump file is that it is full of sql commands to recreate your database. So you simply need to run it through mysql on your test server to recreate your database. So copy the otrsdump.sql file to your test server.
Now at the command line of your test server type, mysql -u root -p < otrsdump.sql
The -p option to the mysql and mysqldump commands means you're using a password. If the -p is followed by a space it will ask you for the password on the next line so you can't see it written on the command line for security. The mysql and mysqldump commands may not be in your path. In that case change to the bin directory of the mysql install and run the command from there using the absolute path for the output/input file.
Let us know how you get on with that.
Rory
Support my 365 Challenge in aid of the Irish Cancer Society
www.365challenge.ie
2009/9/9 Lev Davidovich
: "What you could do is download the latest version of the Windows installer of OTRS, drop the mysql database, and load your backup database from live, clean the /otrs/otrs directory and unzip the 2.2 version you would like to use there."
Please explain to me in more detail how to "drop the mysql database, and load your backup database from live".
Is this something I do after the installation, or during it? Thank you
________________________________ From: Michiel Beijen
To: User questions and discussions about OTRS. Sent: Wednesday, 9 September, 2009 11:12:31 Subject: Re: [otrs] Install OTRS 2.2.5 on Windows XP machine Lev,
Yes, there are no longer windows INSTALLERS of 2.2 otrs available, because of issues with one of the bundled components. On the download servers you can download every source version back to 0.5 beta! [http://ftp.otrs.org/pub/otrs/]
What you could do is download the latest version of the Windows installer of OTRS, drop the mysql database, and load your backup database from live, clean the /otrs/otrs directory and unzip the 2.2 version you would like to use there. Copy Config.pm from the server to your Windows box but make sure you add the following line to it:
$Self->{'SendmailModule'} = 'Kernel::System::Email::DoNotSendEmail';
this because your copy system will not be sending escalations out for tickets that are long closed on live ;-) (available since otrs 2.2.6)
and you should probably also look into how OTRS fetches mails from the server on your live system. If you use pop or imap as defined in the Admin web user interface, you might want to edit crontab to NOT run PostMasterMailbox.pl
Regards,
MIchiel
On Wed, Sep 9, 2009 at 11:59 AM, Lev Davidovich
wrote: Thanks Michael. I am inclined to go down the VMWare route that both you and Rory and others suggest but I am not having much luck convincing the decision makers here!
The consensus seems to be that it is OK as a long term project but that in the short term what we need is a quick database dump followed by import into a copy of OTRS running on Windows.
Just to be clear about what you are saying -
are you saying it is no longer possible to download versions of OTRS earlier than 2.3 x and install them on Windows? Or is it only AUTOMATIC installers that it is no longer possible to download?
Where can I find an automatic installer for version 2.3 x?
I could still download version 2.2.5 from ftp://ftp.otrs.org/pub/otrs/ and install it manually (using the instructions that Afshar Mohebbi has posted ) - is that correct?
Thank you ________________________________ From: Michiel Beijen
To: User questions and discussions about OTRS. Sent: Wednesday, 9 September, 2009 10:36:46 Subject: Re: [otrs] Install OTRS 2.2.5 on Windows XP machine Hi Lev,
Due to licensing issues there are no longer old Windows installers earlier than 2.3.x available for download.
Afshar Mohebbi has posted instructions for setting up OTRS on Windows;
http://afsharm.blogspot.com/2009/03/installing-otrs-active-perl-on-windows.h... (but this is with Microsoft SQL Server, you should just install MySQL instead)
I guess it would be good to also have instructions for manual installation on Windows...
Depending on your situation you could also install VMWare on your XP workstation with linux, just as on your server. Then you would have a real test environment; which you can also use to test out upgrades or so. VMWare Server is available at no charge. VMWare workstation costs a little more but has lots of good features. Myself, I use VMWare server ;-)
Regards,
Michiel.
On Wed, Sep 9, 2009 at 11:18 AM, Lev Davidovich
wrote: > Hi I want to install OTRS 2.2.5 on a Windows XP test machine as that > is > the > version we have on the live server. > > The automatic installer on the following page > > http://www.otrs.org/download/ > > is only for the latest version. > > Is there an automatic installer I can find for installing 2.2 on > Windows? > > Rory was kind enough to point out the following page with downloads > of > earlier versions > > ftp://ftp.otrs.org/pub/otrs/ > > but downloading 2.2.5 from here would require a manual install on > Windows. > > I can't seem to find instructions to manually install version 2.2 on > Windows. > > I have, however, found instructions to manually install version 1.3 > on > Windows on the following page. > > http://doc.otrs.org/1.3/en/html/install-win32.html > > Is there a page with similar instructions for version 2.2 or will the > instructions for 1.3 be able to do the job for me? > > Thanks for your help > > Lev > > --------------------------------------------------------------------- > 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/
--------------------------------------------------------------------- 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/
--------------------------------------------------------------------- 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/
--------------------------------------------------------------------- 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/
--------------------------------------------------------------------- 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/
--------------------------------------------------------------------- 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/
--------------------------------------------------------------------- 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/

* Lev Davidovich
thank you - please tell me what the code is for changing the password for root@localhost.
Use otrs/bin/otrs.setPassword to change the password for root@localhost like Michiel said. -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 ralf.hildebrandt@charite.de | http://www.charite.de

If you look into the bin directory under your otrs directory you will
find the file otrs.setPassword.
Its a perl file so you need to run it through a perl interpreter i.e.
Strawberry Perl that was installed by the OTRS installer.
Go to the otrs bin directory and try this from the command line;
"c:\Program Files\OTRS\StrawberryPerl\perl\bin\perl.exe"
otrs.setPassword root@localhost <password>
That should do it.
Rory
Support my 365 Challenge in aid of the Irish Cancer Society
www.365challenge.ie
2009/9/11 Ralf Hildebrandt
* Lev Davidovich
: thank you - please tell me what the code is for changing the password for root@localhost.
Use otrs/bin/otrs.setPassword to change the password for root@localhost like Michiel said.
-- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 ralf.hildebrandt@charite.de | http://www.charite.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/

Thanks I tried that and message I get on the command line is
ERROR: /opt/otrs/RELEASE does not exist! This file is needed by central system parts of OTRS. the system will not work without this file.
Died at C:\Program Files\Kernel\Config\Defaults.pm line 2143
________________________________
From: Rory
* Lev Davidovich
: thank you - please tell me what the code is for changing the password for root@localhost.
Use otrs/bin/otrs.setPassword to change the password for root@localhost like Michiel said.
-- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 ralf.hildebrandt@charite.de | http://www.charite.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/

* Lev Davidovich
Thanks I tried that and message I get on the command line is
ERROR: /opt/otrs/RELEASE does not exist! This file is needed by central system parts of OTRS. the system will not work without this file. Died at C:\Program Files\Kernel\Config\Defaults.pm line 2143
Why is the file missing? I wonder why it would try Unix Paths on a Windows system... -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 ralf.hildebrandt@charite.de | http://www.charite.de

I imported the Defaults.pm file from my Unix system.
It contains definitions of paths as follows
Line 745
$Self->{'Home'} = '/opt/otrs';
Should I change this to a Windows path. Would that be
C:\Program Files\OTRS\OTRS\
??
________________________________
From: Ralf Hildebrandt
Thanks I tried that and message I get on the command line is
ERROR: /opt/otrs/RELEASE does not exist! This file is needed by central system parts of OTRS. the system will not work without this file. Died at C:\Program Files\Kernel\Config\Defaults.pm line 2143
Why is the file missing? I wonder why it would try Unix Paths on a Windows system... -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 ralf.hildebrandt@charite.de | http://www.charite.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/

Hi Lev,
If you havn't updated the the config.pm to the windows path then do. I
remember having to make the same change when I was setting up the
server here.
Rory
Support my 365 Challenge in aid of the Irish Cancer Society
www.365challenge.ie
2009/9/11 Lev Davidovich
I imported the Defaults.pm file from my Unix system.
It contains definitions of paths as follows
Line 745 $Self->{'Home'} = '/opt/otrs';
Should I change this to a Windows path. Would that be
C:\Program Files\OTRS\OTRS\
??
________________________________ From: Ralf Hildebrandt
To: otrs@otrs.org Sent: Friday, 11 September, 2009 16:34:56 Subject: Re: [otrs] Install OTRS 2.2.5 on Windows XP machine * Lev Davidovich
: Thanks I tried that and message I get on the command line is
ERROR: /opt/otrs/RELEASE does not exist! This file is needed by central system parts of OTRS. the system will not work without this file. Died at C:\Program Files\Kernel\Config\Defaults.pm line 2143
Why is the file missing? I wonder why it would try Unix Paths on a Windows system...
-- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 ralf.hildebrandt@charite.de | http://www.charite.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/

Actually, it might be in the config.pm. Somebody else may correct me
but the setting should be in the config.pm file as the config.pm
values overwrite the default.pm values.
Rory
Support my 365 Challenge in aid of the Irish Cancer Society
www.365challenge.ie
2009/9/11 Rory
Hi Lev,
If you havn't updated the the config.pm to the windows path then do. I remember having to make the same change when I was setting up the server here.
Rory
Support my 365 Challenge in aid of the Irish Cancer Society
www.365challenge.ie
2009/9/11 Lev Davidovich
: I imported the Defaults.pm file from my Unix system.
It contains definitions of paths as follows
Line 745 $Self->{'Home'} = '/opt/otrs';
Should I change this to a Windows path. Would that be
C:\Program Files\OTRS\OTRS\
??
________________________________ From: Ralf Hildebrandt
To: otrs@otrs.org Sent: Friday, 11 September, 2009 16:34:56 Subject: Re: [otrs] Install OTRS 2.2.5 on Windows XP machine * Lev Davidovich
: Thanks I tried that and message I get on the command line is
ERROR: /opt/otrs/RELEASE does not exist! This file is needed by central system parts of OTRS. the system will not work without this file. Died at C:\Program Files\Kernel\Config\Defaults.pm line 2143
Why is the file missing? I wonder why it would try Unix Paths on a Windows system...
-- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 ralf.hildebrandt@charite.de | http://www.charite.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/

Thanks Rory what you say makes perfect sense. I'll try to change the config.pm file on Monday and report back on progress - have a great weekend - over and out
Lev
________________________________
From: Rory
Hi Lev,
If you havn't updated the the config.pm to the windows path then do. I remember having to make the same change when I was setting up the server here.
Rory
Support my 365 Challenge in aid of the Irish Cancer Society
www.365challenge.ie
2009/9/11 Lev Davidovich
: I imported the Defaults.pm file from my Unix system.
It contains definitions of paths as follows
Line 745 $Self->{'Home'} = '/opt/otrs';
Should I change this to a Windows path. Would that be
C:\Program Files\OTRS\OTRS\
??
________________________________ From: Ralf Hildebrandt
To: otrs@otrs.org Sent: Friday, 11 September, 2009 16:34:56 Subject: Re: [otrs] Install OTRS 2.2.5 on Windows XP machine * Lev Davidovich
: Thanks I tried that and message I get on the command line is
ERROR: /opt/otrs/RELEASE does not exist! This file is needed by central system parts of OTRS. the system will not work without this file. Died at C:\Program Files\Kernel\Config\Defaults.pm line 2143
Why is the file missing? I wonder why it would try Unix Paths on a Windows system...
-- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 ralf.hildebrandt@charite.de | http://www.charite.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/
--------------------------------------------------------------------- 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/

Hi I am getting this message on the Windows command prompt when I try to restart OTRS Services
“can’t open directory crontab.txt No such file or directory”
and Apache fails to start.
Below are the steps I have taken to reinstall version 2.2.5 from our live Apache server to the latest Windows installation on our Windows test machine.
i) downloaded the latest version of the Windows installer of OTRS 2.4.4 - DONE
ii) dropped the mysql database - DONE
iii) loaded dumped database from live server – DONE
iv) turned OTRS Services (Cron, Apache, MySQL) off - DONE
v) cleaned the /otrs/otrs directory of 2.4.4 - DONE
vi) replaced with 2.2..5 version of the same directory – DONE
vii) copied Config.pm from the live server to Windows box – DONE.
viii) added the following line toConfig.pm: $Self->{'SendmailModule'} = 'Kernel::System::Email::DoNotSendEmail';
ix) also, on Config.pm, changed paths “$Self->{Home} = '/opt/otrs’” to “$Self->{Home} = 'C:/PROGRA~1/OTRS/OTRS';” and “$Self->{'LogModule::LogFile'} = '/var/log/otrs.log';” to “$Self->{'LogModule::LogFile'} = 'C:/PROGRA~1/OTRS/OTRS/var/log/otrs.log';”
x) try to turn OTRS Services back on – Error message comes up
If I then drop the 2.2.5 live database, reload the 2.4.4 database, turn OTRS Services off, restore the original 2.4.4 otrs/otrs directory, there is then no problem turning OTRS Services back on and logging in to 2.4.4.
Clearly there is something about the database import it doesn't like - any ideas?
Thanks a million
Lev
________________________________
From: Rory
Hi Lev,
If you havn't updated the the config.pm to the windows path then do. I remember having to make the same change when I was setting up the server here.
Rory
Support my 365 Challenge in aid of the Irish Cancer Society
www.365challenge.ie
2009/9/11 Lev Davidovich
: I imported the Defaults.pm file from my Unix system.
It contains definitions of paths as follows
Line 745 $Self->{'Home'} = '/opt/otrs';
Should I change this to a Windows path. Would that be
C:\Program Files\OTRS\OTRS\
??
________________________________ From: Ralf Hildebrandt
To: otrs@otrs.org Sent: Friday, 11 September, 2009 16:34:56 Subject: Re: [otrs] Install OTRS 2.2.5 on Windows XP machine * Lev Davidovich
: Thanks I tried that and message I get on the command line is
ERROR: /opt/otrs/RELEASE does not exist! This file is needed by central system parts of OTRS. the system will not work without this file. Died at C:\Program Files\Kernel\Config\Defaults.pm line 2143
Why is the file missing? I wonder why it would try Unix Paths on a Windows system...
-- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 ralf.hildebrandt@charite.de | http://www.charite.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/
--------------------------------------------------------------------- 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/

Hi I am getting this message on the Windows command prompt when I try to restart OTRS Services “can’t open directory crontab.txt No such file or directory” and Apache fails to start. Below are the steps I have taken to reinstall version 2.2.5 from our live Apache server to the latest Windows installation (2.4.4) on our Windows test machine. i) downloaded the latest version of the Windows installer of OTRS 2.4.4 - DONE ii) dropped the mysql database - DONE iii) loaded dumped database from live server – DONE iv) turned OTRS Services (Cron, Apache, MySQL) off - DONE v) cleaned the /otrs/otrs directory of 2.4.4 - DONE vi) replaced with 2.2.5 version of the same directory – DONE vii) copied Config.pm from the live server to Windows box – DONE. viii) added the following line toConfig.pm: $Self->{'SendmailModule'} = 'Kernel::System::Email::DoNotSendEmail'; ix) also, on Config.pm, changed paths “$Self->{Home} = '/opt/otrs’” to “$Self->{Home} = 'C:/PROGRA~1/OTRS/OTRS';” and “$Self->{'LogModule::LogFile'} = '/var/log/otrs.log';” to “$Self->{'LogModule::LogFile'} = 'C:/PROGRA~1/OTRS/OTRS/var/log/otrs.log';” x) try to turn OTRS Services back on – Error message comes up If I then drop the 2.2.5 live database, reload the 2.4.4 database, turn OTRS Services off, restore the original 2.4.4 otrs/otrs directory, there is then no problem turning OTRS Services back on and logging in to 2.4.4. Clearly there is something about the database import it doesn't like - any ideas? Thanks a million Lev P.S. I originally sent this request under the previous thread I was involved with but it hasn't appeared so I have sent it again under a slightly different thread title. My apologies therefore if this appears twice!!

Hi Lev,
I'm not quite sure exactly why you're having the issue. I guess its
because the config from the unix system is trying to use the crontab
(which is the unix way of scheduling tasks. The Cron service on your
windows system which OTRS installs is not quite the same thing).
I believe its the incoming mail service that uses the crontab
functionality, i.e. check the mail account for new mail every 2
minutes
Its probably also used by the generic agent too.
See if you can find where the crontab.txt file its looking for is. (I
don't use a cron service, I installed each component individually and
use the windows scheduler). It's probably under your "program
files\OTRS" program directory somewhere. Compare the config.pm's (and
maybe the default.pm's) from both the linux and windows machines
looking for entries relating to cron. See how they differ.
Try to make the linux config.pm fit the syntax of the windows config.pm.
I hope that helps,
Rory
Support my 365 Challenge in aid of the Irish Cancer Society
www.365challenge.ie
2009/9/16 Lev Davidovich
Hi I am getting this message on the Windows command prompt when I try to restart OTRS Services
“can’t open directory crontab.txt No such file or directory”
and Apache fails to start.
Below are the steps I have taken to reinstall version 2.2.5 from our live Apache server to the latest Windows installation (2.4.4) on our Windows test machine.
i) downloaded the latest version of the Windows installer of OTRS 2.4.4 - DONE
ii) dropped the mysql database - DONE
iii) loaded dumped database from live server – DONE
iv) turned OTRS Services (Cron, Apache, MySQL) off - DONE
v) cleaned the /otrs/otrs directory of 2.4.4 - DONE
vi) replaced with 2.2.5 version of the same directory – DONE
vii) copied Config.pm from the live server to Windows box – DONE.
viii) added the following line toConfig.pm: $Self->{'SendmailModule'} = 'Kernel::System::Email::DoNotSendEmail';
ix) also, on Config.pm, changed paths “$Self->{Home} = '/opt/otrs’” to “$Self->{Home} = 'C:/PROGRA~1/OTRS/OTRS';” and “$Self->{'LogModule::LogFile'} = '/var/log/otrs.log';” to “$Self->{'LogModule::LogFile'} = 'C:/PROGRA~1/OTRS/OTRS/var/log/otrs.log';”
x) try to turn OTRS Services back on – Error message comes up
If I then drop the 2.2.5 live database, reload the 2.4.4 database, turn OTRS Services off, restore the original 2.4.4 otrs/otrs directory, there is then no problem turning OTRS Services back on and logging in to 2.4.4.
Clearly there is something about the database import it doesn't like - any ideas?
Thanks a million
Lev
P.S. I originally sent this request under the previous thread I was involved with but it hasn't appeared so I have sent it again under a slightly different thread title. My apologies therefore if this appears twice!!
--------------------------------------------------------------------- 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/

Hi Michiel I have tried what you suggested but I am getting errors starting up Apache when I replace the files in the otrs/otrs directory with the 2.2..5 files of the same directory. As I explained in my most recent email I am unable to restart Apache 2.2 whenever I replace any of these directories:
Kernel\System
Kernel\Modules
Kernel\cpan-lib
I thought it might be easier with if I downloaded 2.3 (the earliest windows installer) rather than the latest version but the same problem cropped up.
Is there any way of finding out which files I need to change within these directories in order to be able to restart Apache after replacing the otrs\otrs contents?
A more general question I have is - would it be easier to install on a Unix machine (or a Windows machine running VMWare)? And would the same apply to a Mac OS machine (which is a platform with IT support in our workplace)?
Thanks
________________________________
From: Michiel Beijen
Thanks Michael. I am inclined to go down the VMWare route that both you and Rory and others suggest but I am not having much luck convincing the decision makers here!
The consensus seems to be that it is OK as a long term project but that in the short term what we need is a quick database dump followed by import into a copy of OTRS running on Windows.
Just to be clear about what you are saying -
are you saying it is no longer possible to download versions of OTRS earlier than 2.3 x and install them on Windows? Or is it only AUTOMATIC installers that it is no longer possible to download?
Where can I find an automatic installer for version 2.3 x?
I could still download version 2.2.5 from ftp://ftp.otrs.org/pub/otrs/ and install it manually (using the instructions that Afshar Mohebbi has posted ) - is that correct?
Thank you ________________________________ From: Michiel Beijen
To: User questions and discussions about OTRS. Sent: Wednesday, 9 September, 2009 10:36:46 Subject: Re: [otrs] Install OTRS 2.2.5 on Windows XP machine Hi Lev,
Due to licensing issues there are no longer old Windows installers earlier than 2.3.x available for download..
Afshar Mohebbi has posted instructions for setting up OTRS on Windows; http://afsharm.blogspot.com/2009/03/installing-otrs-active-perl-on-windows.h... (but this is with Microsoft SQL Server, you should just install MySQL instead)
I guess it would be good to also have instructions for manual installation on Windows...
Depending on your situation you could also install VMWare on your XP workstation with linux, just as on your server. Then you would have a real test environment; which you can also use to test out upgrades or so. VMWare Server is available at no charge. VMWare workstation costs a little more but has lots of good features. Myself, I use VMWare server ;-)
Regards,
Michiel.
On Wed, Sep 9, 2009 at 11:18 AM, Lev Davidovich
wrote: Hi I want to install OTRS 2..2.5 on a Windows XP test machine as that is the version we have on the live server.
The automatic installer on the following page
is only for the latest version.
Is there an automatic installer I can find for installing 2.2 on Windows?
Rory was kind enough to point out the following page with downloads of earlier versions
ftp://ftp.otrs.org/pub/otrs/
but downloading 2.2.5 from here would require a manual install on Windows.
I can't seem to find instructions to manually install version 2.2 on Windows.
I have, however, found instructions to manually install version 1.3 on Windows on the following page.
http://doc.otrs.org/1.3/en/html/install-win32.html
Is there a page with similar instructions for version 2.2 or will the instructions for 1.3 be able to do the job for me?
Thanks for your help
Lev
--------------------------------------------------------------------- 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/
--------------------------------------------------------------------- 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/

I’m kind of coming into the conversation a bit late in the game, but if you are running on XP, is there any particular reason to be married to Apache? You could try IIS and see how that works.
If you need some documentation to setup OTRS on Windows (I am run two instances of OTRS on W2K3 / MSSQL 2005 / IIS6) let me know.
Nathan Campbell
Dallas Symphony Orchestra
From: otrs-bounces@otrs.org [mailto:otrs-bounces@otrs.org] On Behalf Of Lev Davidovich
Sent: Thursday, September 17, 2009 4:27 PM
To: User questions and discussions about OTRS.
Subject: Re: [otrs] Install OTRS 2.2.5 on Windows XP machine
Hi Michiel I have tried what you suggested but I am getting errors starting up Apache when I replace the files in the otrs/otrs directory with the 2.2.5 files of the same directory. As I explained in my most recent email I am unable to restart Apache 2.2 whenever I replace any of these directories:
Kernel\System
Kernel\Modules
Kernel\ cpan-lib
I thought it might be easier with if I downloaded 2.3 (the earliest windows installer) rather than the latest version but the same problem cropped up.
Is there any way of finding out which files I need to change within these directories in order to be able to restart Apache after replacing the otrs\otrs contents?
A more general question I have is - would it be easier to install on a Unix machine (or a Windows machine running VMWare)? And would the same apply to a Mac OS machine (which is a platform with IT support in our workplace)?
Thanks
_____
From: Michiel Beijen
Thanks Michael. I am inclined to go down the VMWare route that both you and Rory and others suggest but I am not having much luck convincing the decision makers here!
The consensus seems to be that it is OK as a long term project but that in the short term what we need is a quick database dump followed by import into a copy of OTRS running on Windows.
Just to be clear about what you are saying -
are you saying it is no longer possible to download versions of OTRS earlier than 2.3 x and install them on Windows? Or is it only AUTOMATIC installers that it is no longer possible to download?
Where can I find an automatic installer for version 2.3 x?
I could still download version 2.2.5 from ftp://ftp.otrs.org/pub/otrs/ and ftp://ftp.otrs.org/pub/otrs/%C2%A0and install it manually (using the instructions that Afshar Mohebbi has posted ) - is that correct?
Thank you ________________________________ From: Michiel Beijen
To: User questions and discussions about OTRS. Sent: Wednesday, 9 September, 2009 10:36:46 Subject: Re: [otrs] Install OTRS 2.2.5 on Windows XP machine Hi Lev,
Due to licensing issues there are no longer old Windows installers earlier than 2.3..x available for download.
Afshar Mohebbi has posted instructions for setting up OTRS on Windows; http://afsharm.blogspot.com/2009/03/installing-otrs-active-perl-on-windows.h... (but this is with Microsoft SQL Server, you should just install MySQL instead)
I guess it would be good to also have instructions for manual installation on Windows...
Depending on your situation you could also install VMWare on your XP workstation with linux, just as on your server. Then you would have a real test environment; which you can also use to test out upgrades or so. VMWare Server is available at no charge. VMWare workstation costs a little more but has lots of good features. Myself, I use VMWare server ;-)
Regards,
Michiel.
On Wed, Sep 9, 2009 at 11:18 AM, Lev Davidovich
wrote: Hi I want to install OTRS 2.2.5 on a Windows XP test machine as that is the version we have on the live server.
The automatic installer on the following page
is only for the latest version.
Is there an automatic installer I can find for installing 2.2 on Windows?
Rory was kind enough to point out the following page with downloads of earlier versions
ftp://ftp.otrs.org/pub/otrs/
but downloading 2.2.5 from here would require a manual install on Windows.
I can't seem to find instructions to manually install version 2.2 on Windows.
I have, however, found instructions to manually install version 1.3 on Windows on the following page.
http://doc.otrs.org/1.3/en/html/install-win32.html
Is there a page with similar instructions for version 2.2 or will the instructions for 1.3 be able to do the job for me?
Thanks for your help
Lev
--------------------------------------------------------------------- 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/
--------------------------------------------------------------------- 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/

Thank you Nathan - I appreciate your input - sometimes a late intervention can be the most decisive one! ;-)
You have raised an issue that I must admit I had not considered until now. Thinking about it, the only possible reason would be because our live version runs on Apache (on a Linux platform). However, all we really want to do is have a backup of our tickets on the Windows (or, as I have now realised, a Mac OS) machine and if that can be achieved with IIS rather than Apache I would certainly look into it.
In your opinion, how easy would it be to set up OTRS on a Windows machine which would then be able to import the database dumped from our live version 2.2.5 running on Apache/Linux?
Many thanks again
________________________________
From: Nathan Campbell
Thanks Michael. I am inclined to go down the VMWare route that both you and Rory and others suggest but I am not having much luck convincing the decision makers here!
The consensus seems to be that it is OK as a long term project but that in the short term what we need is a quick database dump followed by import into a copy of OTRS running on Windows.
Just to be clear about what you are saying -
are you saying it is no longer possible to download versions of OTRS earlier than 2.3 x and install them on Windows? Or is it only AUTOMATIC installers that it is no longer possible to download?
Where can I find an automatic installer for version 2.3 x?
I could still download version 2.2..5 from ftp://ftp.otrs.org/pub/otrs/ and install it manually (using the instructions that Afshar Mohebbi has posted ) - is that correct?
Thank you ________________________________ From: Michiel Beijen
To: User questions and discussions about OTRS. Sent: Wednesday, 9 September, 2009 10:36:46 Subject: Re: [otrs] Install OTRS 2.2.5 on Windows XP machine Hi Lev,
Due to licensing issues there are no longer old Windows installers earlier than 2.3..x available for download.
Afshar Mohebbi has posted instructions for setting up OTRS on Windows; http://afsharm.blogspot.com/2009/03/installing-otrs-active-perl-on-windows.h... (but this is with Microsoft SQL Server, you should just install MySQL instead)
I guess it would be good to also have instructions for manual installation on Windows...
Depending on your situation you could also install VMWare on your XP workstation with linux, just as on your server. Then you would have a real test environment; which you can also use to test out upgrades or so. VMWare Server is available at no charge. VMWare workstation costs a little more but has lots of good features. Myself, I use VMWare server ;-)
Regards,
Michiel.
On Wed, Sep 9, 2009 at 11:18 AM, Lev Davidovich
wrote: Hi I want to install OTRS 2.2.5 on a Windows XP test machine as that is the version we have on the live server.
The automatic installer on the following page
is only for the latest version.
Is there an automatic installer I can find for installing 2.2 on Windows?
Rory was kind enough to point out the following page with downloads of earlier versions
ftp://ftp.otrs.org/pub/otrs/
but downloading 2.2.5 from here would require a manual install on Windows.
I can't seem to find instructions to manually install version 2.2 on Windows.
I have, however, found instructions to manually install version 1.3 on Windows on the following page.
http://doc.otrs.org/1.3/en/html/install-win32.html
Is there a page with similar instructions for version 2.2 or will the instructions for 1.3 be able to do the job for me?
Thanks for your help
Lev
--------------------------------------------------------------------- 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/
--------------------------------------------------------------------- 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/

Hi Lev,
I manually installed OTRS on Windows Server 2003 about a month or
maybe 2 ago. It was tricky (Mainly because I used IIS and not apache)
but it works. So I'd recommend that you try the manual install first
to get the same version running on your test machine. Ask whatever
questions you need and you should be able to get the answers here.
Afshar's guide may not be much help to you as he uses Vista, IIS 7 and
MS SQL. I would advise you read it tho as it might help you think of
questions you need answered.
First off, install Mysql on the test machine. Try to get the same
version as the live server.
Second install active state perl (there's also a program called
Strawberry Perl which might work) I think I used active state perl.
Third install Apache, again, same version as your live server. You'll
need apache to recognise the perl interpreter so look up how to add a
perl module to your apache config. This will probably be on both the
activestate website and the apache website.
Thirdly extract the otrs-2.2.5.tar.gz into the htdocs folder of your
apache folder.
Try navigating to the setup file, I think its the /bin/cgi-bin/index.pl file
I had to add a bunch of extra stuff for Perl from CPAN to get it
running so don't be worried when it doesn't run properly at first.
(when you've installed activestate perl and the install directory is
in your path just type ppm at the command line)
.
.
.
Just reading Michiel mail. His approach may be better by using the
installer and then changing the DB and OTRS distributed files.
You will have different versions of apache and mysql is the only difference.
Let us know how you get on.
Rory
Support my 365 Challenge in aid of the Irish Cancer Society
www.365challenge.ie
2009/9/9 Lev Davidovich
Thanks Michael. I am inclined to go down the VMWare route that both you and Rory and others suggest but I am not having much luck convincing the decision makers here!
The consensus seems to be that it is OK as a long term project but that in the short term what we need is a quick database dump followed by import into a copy of OTRS running on Windows.
Just to be clear about what you are saying -
are you saying it is no longer possible to download versions of OTRS earlier than 2.3 x and install them on Windows? Or is it only AUTOMATIC installers that it is no longer possible to download?
Where can I find an automatic installer for version 2.3 x?
I could still download version 2.2.5 from ftp://ftp.otrs.org/pub/otrs/ and install it manually (using the instructions that Afshar Mohebbi has posted ) - is that correct?
Thank you ________________________________ From: Michiel Beijen
To: User questions and discussions about OTRS. Sent: Wednesday, 9 September, 2009 10:36:46 Subject: Re: [otrs] Install OTRS 2.2.5 on Windows XP machine Hi Lev,
Due to licensing issues there are no longer old Windows installers earlier than 2.3.x available for download.
Afshar Mohebbi has posted instructions for setting up OTRS on Windows; http://afsharm.blogspot.com/2009/03/installing-otrs-active-perl-on-windows.h... (but this is with Microsoft SQL Server, you should just install MySQL instead)
I guess it would be good to also have instructions for manual installation on Windows...
Depending on your situation you could also install VMWare on your XP workstation with linux, just as on your server. Then you would have a real test environment; which you can also use to test out upgrades or so. VMWare Server is available at no charge. VMWare workstation costs a little more but has lots of good features. Myself, I use VMWare server ;-)
Regards,
Michiel.
On Wed, Sep 9, 2009 at 11:18 AM, Lev Davidovich
wrote: Hi I want to install OTRS 2.2.5 on a Windows XP test machine as that is the version we have on the live server.
The automatic installer on the following page
is only for the latest version.
Is there an automatic installer I can find for installing 2.2 on Windows?
Rory was kind enough to point out the following page with downloads of earlier versions
ftp://ftp.otrs.org/pub/otrs/
but downloading 2.2.5 from here would require a manual install on Windows.
I can't seem to find instructions to manually install version 2.2 on Windows.
I have, however, found instructions to manually install version 1.3 on Windows on the following page.
http://doc.otrs.org/1.3/en/html/install-win32.html
Is there a page with similar instructions for version 2.2 or will the instructions for 1.3 be able to do the job for me?
Thanks for your help
Lev
--------------------------------------------------------------------- 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/
--------------------------------------------------------------------- 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/

Thanks a lot Rory and Michael! I'll see how I get on by using the installer and then changing the DB and OTRS distributed files.
________________________________
From: Rory
Thanks Michael. I am inclined to go down the VMWare route that both you and Rory and others suggest but I am not having much luck convincing the decision makers here!
The consensus seems to be that it is OK as a long term project but that in the short term what we need is a quick database dump followed by import into a copy of OTRS running on Windows.
Just to be clear about what you are saying -
are you saying it is no longer possible to download versions of OTRS earlier than 2.3 x and install them on Windows? Or is it only AUTOMATIC installers that it is no longer possible to download?
Where can I find an automatic installer for version 2.3 x?
I could still download version 2.2.5 from ftp://ftp.otrs.org/pub/otrs/ and install it manually (using the instructions that Afshar Mohebbi has posted ) - is that correct?
Thank you ________________________________ From: Michiel Beijen
To: User questions and discussions about OTRS. Sent: Wednesday, 9 September, 2009 10:36:46 Subject: Re: [otrs] Install OTRS 2.2.5 on Windows XP machine Hi Lev,
Due to licensing issues there are no longer old Windows installers earlier than 2.3.x available for download.
Afshar Mohebbi has posted instructions for setting up OTRS on Windows; http://afsharm.blogspot.com/2009/03/installing-otrs-active-perl-on-windows.h... (but this is with Microsoft SQL Server, you should just install MySQL instead)
I guess it would be good to also have instructions for manual installation on Windows...
Depending on your situation you could also install VMWare on your XP workstation with linux, just as on your server. Then you would have a real test environment; which you can also use to test out upgrades or so. VMWare Server is available at no charge. VMWare workstation costs a little more but has lots of good features. Myself, I use VMWare server ;-)
Regards,
Michiel.
On Wed, Sep 9, 2009 at 11:18 AM, Lev Davidovich
wrote: Hi I want to install OTRS 2.2.5 on a Windows XP test machine as that is the version we have on the live server.
The automatic installer on the following page
is only for the latest version.
Is there an automatic installer I can find for installing 2.2 on Windows?
Rory was kind enough to point out the following page with downloads of earlier versions
ftp://ftp.otrs.org/pub/otrs/
but downloading 2.2.5 from here would require a manual install on Windows.
I can't seem to find instructions to manually install version 2.2 on Windows.
I have, however, found instructions to manually install version 1.3 on Windows on the following page.
http://doc.otrs.org/1.3/en/html/install-win32.html
Is there a page with similar instructions for version 2.2 or will the instructions for 1.3 be able to do the job for me?
Thanks for your help
Lev
--------------------------------------------------------------------- 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/
--------------------------------------------------------------------- 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/

Hi, On 09.09.2009, at 12:37, Lev Davidovich wrote:
Thanks a lot Rory and Michael! I'll see how I get on by using the installer and then changing the DB and OTRS distributed files.
Try an upgrade! OTRS Upgrade on Windows Final -- Shawn Beasley shawn@otrs.org Computers make work that one would not have without them go faster!

But I am not trying to upgrade - it is a fresh install.
________________________________
From: Shawn Beasley

If anything I am doing a DOWNgrade - from 2.4 to 2.2! ;-)
----- Forwarded Message ----
From: Lev Davidovich
participants (6)
-
Lev Davidovich
-
Michiel Beijen
-
Nathan Campbell
-
Ralf Hildebrandt
-
Rory
-
Shawn Beasley