restoring otrs gives headache

Moderator: crythias

Locked
shivendra
Znuny newbie
Posts: 99
Joined: 26 Nov 2012, 08:27
Znuny Version: 3.1.10
Real Name: shivendra
Company: seml

restoring otrs gives headache

Post by shivendra »

hello team ,

i am using otrs since 3-4 month and restored 3-4 time on desktop server . every time it get restore on puting some effort if any issue arise.
but this time restoration is headache for me.

i am restoring in my IBM server of 64bit, centos6.0 php5.3.
first time while restoring , after it when browsing page doesnot display properly,

no graphic no color just text display like some has created for testing .
submit button is disable login button is disable,and also gives error of browser is too old to user OTRS .


then i again reinstalled OTRS and restored but this time restored properly but it gices error

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, root@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.
Apache/2.2.15 (CentOS) Server at 172.16.0.91 Port 80


--------------------------

i restarted httpd may times but no success same error,
i restarted otrs but same error.

why this happen what is reason.?
--------------------------------

second day got little success while hit n try , got login in to server but it gives error...
in Agent login


1.Can't write '/opt/otrs/var/tmp/CacheFileStorable/CacheInternalGroup/c/0/c08876c3993d1c1b5ed3a7701aff063e': Permission denied

2.Scheduler process is registered but might not be running. ----- at top of page in red color

and in CUstomer login ,

when i click on create ticket it shows -----


Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, root@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.
Apache/2.2.15 (CentOS) Server at 172.16.0.91 Port 80


---------------------------------------------------

Pl sort me out this problem,,,,
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: restoring otrs gives headache

Post by crythias »

server log is /var/log/apache2/error.log or equivalent (what? /var/log/httpd.error.log?) I don't know what it is for your system.
permissions is permissions. run otrs.SetPermissions.pl

Also, disable SELINUX on your CENTOS box.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
shivendra
Znuny newbie
Posts: 99
Joined: 26 Nov 2012, 08:27
Znuny Version: 3.1.10
Real Name: shivendra
Company: seml

Re: restoring otrs gives headache

Post by shivendra »

i did most of option provided in forum and also by google.
i tried your option also but it doesnot resolve problem
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: restoring otrs gives headache

Post by crythias »

Please explain the steps you took to install OTRS at the version you need to restore before restoring it and that the base install of OTRS worked or did not.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
shivendra
Znuny newbie
Posts: 99
Joined: 26 Nov 2012, 08:27
Znuny Version: 3.1.10
Real Name: shivendra
Company: seml

Re: restoring otrs gives headache

Post by shivendra »

simply following the doc of otrs
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: restoring otrs gives headache

Post by crythias »

then it is working perfectly and the results you are achieving are to be expected.

At least, that's what my crystal ball says.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: restoring otrs gives headache

Post by crythias »

READ my Help link in my signature, especially the link on how to ask good questions.

Think about how you are asking your question and if you've given enough information for anyone to replicate what you've done to achieve the results you've experienced.

If someone approached you with YOUR question, what questions would YOU ask to get more information?

"doesn't display properly" and "I've got error messages" are not really helpful.

look at /var/log/syslog or /var/log/messages, your apache error log, etc.

Yeah, I'm not giving you fixes, either, because I'm not psychic. I don't know what version of OTRS you're using or method of installation. I would ASSUME that the base install before restore should work perfectly, but you didn't say anything about that.

I don't know how you restored, but if you did it following instructions, you wouldn't have problems.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
shivendra
Znuny newbie
Posts: 99
Joined: 26 Nov 2012, 08:27
Znuny Version: 3.1.10
Real Name: shivendra
Company: seml

Re: restoring otrs gives headache

Post by shivendra »

i got what your saying and will follow also....

For now i want to say that.i again format the server to test again and rectify all those issue arised suring installation.

as i told i had installed otrs many times but i never failed.

BUt this time dont know why some time permission issue or apache issue are coming .

i formatted server again and installed OS centos 6 , package httpd mysql php perl .
and checkec apache is running or not.for now every thing is fine.
Hope now you are getting what iam saying.

now i installed otrs3.2.4 ver.
and after installing my apacahe stop working
httpd got failed and not going to start.
i restart server then also not started it get failed.

i removed otrs and httpd start running ....

so from this testing i get one point that installing otrs stop apache server...


here are apache log...




ail -f /var/log/httpd/error_log
[Fri Apr 05 17:53:55 2013] [error] Can't locate Kernel/Config.pm in @INC (@INC contains: /opt/otrs/Custom /opt/otrs/Kernel/cpan-lib /opt/otrs/ /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at /opt/otrs/scripts/apache2-perl-startup.pl line 68.\nBEGIN failed--compilation aborted at /opt/otrs/scripts/apache2-perl-startup.pl line 68.\nCompilation failed in require at (eval 2) line 1.\n
[Fri Apr 05 17:53:55 2013] [error] Can't load Perl file: /opt/otrs/scripts/apache2-perl-startup.pl for server 172.16.0.91:80, exiting...
[Sat Apr 06 10:32:03 2013] [error] Can't locate Kernel/Config.pm in @INC (@INC contains: /opt/otrs/Custom /opt/otrs/Kernel/cpan-lib /opt/otrs/ /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at /opt/otrs/scripts/apache2-perl-startup.pl line 68.\nBEGIN failed--compilation aborted at /opt/otrs/scripts/apache2-perl-startup.pl line 68.\nCompilation failed in require at (eval 2) line 1.\n
[Sat Apr 06 10:32:03 2013] [error] Can't load Perl file: /opt/otrs/scripts/apache2-perl-startup.pl for server 172.16.0.91:80, exiting...
[Sat Apr 06 10:38:19 2013] [error] Can't locate Kernel/Config.pm in @INC (@INC contains: /opt/otrs/Custom /opt/otrs/Kernel/cpan-lib /opt/otrs/ /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at /opt/otrs/scripts/apache2-perl-startup.pl line 68.\nBEGIN failed--compilation aborted at /opt/otrs/scripts/apache2-perl-startup.pl line 68.\nCompilation failed in require at (eval 2) line 1.\n
[Sat Apr 06 10:38:19 2013] [error] Can't load Perl file: /opt/otrs/scripts/apache2-perl-startup.pl for server 172.16.0.91:80, exiting...
[Sat Apr 06 10:42:08 2013] [error] Can't locate Kernel/Config.pm in @INC (@INC contains: /opt/otrs/Custom /opt/otrs/Kernel/cpan-lib /opt/otrs/ /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at /opt/otrs/scripts/apache2-perl-startup.pl line 68.\nBEGIN failed--compilation aborted at /opt/otrs/scripts/apache2-perl-startup.pl line 68.\nCompilation failed in require at (eval 2) line 1.\n
[Sat Apr 06 10:42:08 2013] [error] Can't load Perl file: /opt/otrs/scripts/apache2-perl-startup.pl for server 172.16.0.91:80, exiting...
[Sat Apr 06 10:42:13 2013] [error] Can't locate Kernel/Config.pm in @INC (@INC contains: /opt/otrs/Custom /opt/otrs/Kernel/cpan-lib /opt/otrs/ /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at /opt/otrs/scripts/apache2-perl-startup.pl line 68.\nBEGIN failed--compilation aborted at /opt/otrs/scripts/apache2-perl-startup.pl line 68.\nCompilation failed in require at (eval 2) line 1.\n
[Sat Apr 06 10:42:13 2013] [error] Can't load Perl file: /opt/otrs/scripts/apache2-perl-startup.pl for server 172.16.0.91:80, exiting...


------------------------------------


i uninstalled otrs rpm and and apache start running...strange

now what you say about this issue and solution for that........
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: restoring otrs gives headache

Post by jojo »

Read the errorr meessages you posted and read the INSTALL file!
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
shivendra
Znuny newbie
Posts: 99
Joined: 26 Nov 2012, 08:27
Znuny Version: 3.1.10
Real Name: shivendra
Company: seml

Re: restoring otrs gives headache

Post by shivendra »

i think there is some issue in installing otrs.3.2.4 .

whenever i tried to install this ver. i never got success.infact always httpd got failed and then never got start.

i removed this ver. and install 3.2.2 ver. it work fine.

pls check is there is any bug in this 2.4 ver.
shivendra
Znuny newbie
Posts: 99
Joined: 26 Nov 2012, 08:27
Znuny Version: 3.1.10
Real Name: shivendra
Company: seml

Re: restoring otrs gives headache

Post by shivendra »

i got one solution from this link

http://ownlinuxnotes.wordpress.com/2012 ... in-ubuntu/

but i dont now how to link coz iam using centos 6 and it tell about ubuntu
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: restoring otrs gives headache

Post by crythias »

shivendra wrote:now i installed otrs3.2.4 ver.
You didn't follow the instructions in INSTALL/INSTALL.md, because you wouldn't get
shivendra wrote:Can't locate Kernel/Config.pm in @INC (@INC contains: /opt/otrs/Custom /opt/otrs/Kernel/cpan-lib /opt/otrs/ /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd)
"I don't understand... I followed the instructions ..."
No, you didn't. Because you missed this:

Code: Select all

4) Activate Default Config Files:
   ------------------------------
    There are two OTRS config files bundled in $OTRS_HOME/Kernel/*.dist
    and $OTRS_HOME/Kernel/Config/*.dist. You must activate them by copying
    them without the ".dist" filename extension.

      shell> cd /opt/otrs/
      shell> cp Kernel/Config.pm.dist Kernel/Config.pm
      shell> cp Kernel/Config/GenericAgent.pm.dist Kernel/Config/GenericAgent.pm

    Or if you are installing OTRS an a Windows system:

      shell> copy Kernel/Config.pm.dist Kernel/Config.pm
      shell> copy Kernel/Config/GenericAgent.pm.dist Kernel/Config/GenericAgent.pm
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
shivendra
Znuny newbie
Posts: 99
Joined: 26 Nov 2012, 08:27
Znuny Version: 3.1.10
Real Name: shivendra
Company: seml

Re: restoring otrs gives headache

Post by shivendra »

i installed .
thier is some version issue with server.
Locked