Re: [otrs] Unicode encoding problems in the agent frontend

2014-11-25 Thread Tim Schumacher
At Tue, 25 Nov 2014 08:26:01 +0100,
Renee B wrote:
> 
> Vielleicht liefert
> http://stackoverflow.com/questions/7285215/nginx-fastcgi-utf-8-encoding-output-iso-8859-1-instead-of-utf8
> die Lösung

Thanks, figured it out! Thanks to your link I dumped the env to a file and
then checked variable for variable[1] which was the culprit. If
„FCGI_ROLE="RESPONDER"“ is set, all the umlauts are garbled. I then
grepd the source for FCGI_ROLE and then discovered
Layout.pm[2] and then comented the encoding stuff
and now all the umlauts work.

What should I do? Should I comment in the tickets that this change
breaks stuff for me? 

greetings

Tim

[1] http://pastebin.geany.org/2HTNv/
[2] https://github.com/OTRS/otrs/blob/rel-4_0/Kernel/Output/HTML/Layout.pm#L1440
-
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

Re: [otrs] Unicode encoding problems in the agent frontend

2014-11-25 Thread Renee B
On 25.11.2014 09:22, Tim Schumacher wrote:
> What should I do? Should I comment in the tickets that this change
> breaks stuff for me?

Yes, please do so. But provide some details:

* OTRS version
* Perl version
* FCGI, CGI::Fast version ( "perl -MFCGI\ 999 -e 1" and "perl
-MCGI::Fast\ 999 -e 1")
* nginx version
* nginx configuration

- Renée

-- 
Perl / OTRS development: http://perl-services.de
OTRS AddOn repository: http://opar.perl-services.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

[otrs] How to shut down OTRS on Debina 7

2014-11-25 Thread amatijasec
Hi,


What is the proper way to shut down/start OTRS 3.3.x system (installed from 
source) on Debian 7.


Example of what I am trying to accomplish:


"
linux:~ # rcotrs restart-force
Shutting down OTRS
Disable /opt/otrs/bin/otrs.PostMaster.pl ... done.
no crontab for otrs
Shutting down cronjobs ... failed!
Shutting down OTRS (completely)
Shutting down Apache ... done.
Shutting down MySQL ... done.
 done
Starting OTRS (completely)
Starting Apache ... done.
Starting MySQL ... done.
Starting OTRS
Checking Apache ... done.
Checking MySQL ... done.
Checking database connect... (It looks Ok!).
Enable /opt/otrs/bin/otrs.PostMaster.pl ... done.
Checking otrs spool dir...  done.
Creating cronjobs (source /opt/otrs/var/cron/*) ... done.



  -->> http://linux.example.com/otrs/index.pl <<--
 done
 done
linux:~ #
"


Thank you.-
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

Re: [otrs] How to shut down OTRS on Debina 7

2014-11-25 Thread Gerald Young
It's not really a case of proper order of shutdown as much as properly
shutting down.

In theory, you'll want to stop or allow to complete any email fetching that
is ongoing, and stop all cron jobs, and OTRS scheduler, then apache, then
MySQL (if you really must stop MySQL or apache).

It's a web app, so much of what is happening happens within a few seconds,
as transactions to the SQL database and web lookups. Since MySQL is the
most important part of the data equation, but doesn't *generally* need to
ever shut down, aside from upgrades/reboot, you'll simply find that the app
won't work if mysql and apache aren't working, and apache may not work
(well) if mysql isn't working/on. The OTRS scheduler and scripts are not
constantly running, so they can be stopped or started at whim, and they
themselves don't stop or start their components when they are reloaded.
(That is, a mail fetch will happen as scheduled and will continue to
finish, if it's already started, even if the cron job is deleted. The mail
fetch won't happen again until the cron job's criteria is met.)

On Tue, Nov 25, 2014 at 12:10 PM,  wrote:

>  Hi,
>
> What is the *proper* way to *shut down/start *OTRS 3.3.x system
> (installed from source) on *Debian* 7.
>
> Example of what I am trying to accomplish:
>
> "
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> *linux:~ # rcotrs restart-forceShutting down OTRSDisable
> /opt/otrs/bin/otrs.PostMaster.pl  ... done.no
> crontab for otrsShutting down cronjobs ... failed!Shutting down OTRS
> (completely)Shutting down Apache ... done.Shutting down MySQL ...
> done.
> doneStarting OTRS (completely)Starting Apache ... done.Starting MySQL ...
> done.Starting OTRSChecking Apache ... done.Checking MySQL ... done.Checking
> database connect... (It looks Ok!).Enable /opt/otrs/bin/otrs.PostMaster.pl
>  ... done.Checking otrs spool dir...
> done.Creating cronjobs (source /opt/otrs/var/cron/*) ... done.*
>
> *  -->> **http://linux.example.com/otrs/index.pl
> *
>
>
> * <<--
> done
> donelinux:~ #*
> "
>
> Thank you.
>
>
> -
> 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
>
-
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

Re: [otrs] How to shut down OTRS on Debina 7

2014-11-25 Thread amatijasec
Gerald,


Thank you for your answer.


Double checking my self, sry. This is my understanding of shut down process, is 
this ok?



# Stop cron job.
root@myserver:/# /etc/init.d/cron stop



# Check cron job status.
root@myserver:/# /etc/init.d/cron status
[FAIL] cron is not running ... failed!



# Stop OTRS Scheduler.
root@myserver:/# /opt/otrs/bin/otrs.Scheduler.pl -a stop



# Check OTRS status.
root@myserver:/# /opt/otrs/bin/otrs.Scheduler.pl -a status
Not Running!



# Stop Apache Web server.
root@myserver:/# service apache2 graceful-stop
[ ok ] Stopping web server: apache2.



# Check Apache Web server status.
root@myserver:/# service apache2 status
Apache2 is NOT running.



# Stop MySQL.
root@myserver:/# service mysql stop
[ ok ] Stopping MySQL database server: mysqld.



# Check MySQL status.
root@myserver:/# service mysql status
[info] MySQL is stopped..



# Proceed with Debian shut down or restart.









Pošiljatelj: Gerald Young
Poslano: ‎utorak‎, ‎25‎. ‎studenog‎ ‎2014‎. ‎19‎:‎20
Primatelj: otrs@otrs.org





It's not really a case of proper order of shutdown as much as properly shutting 
down. 



In theory, you'll want to stop or allow to complete any email fetching that is 
ongoing, and stop all cron jobs, and OTRS scheduler, then apache, then MySQL 
(if you really must stop MySQL or apache).




It's a web app, so much of what is happening happens within a few seconds, as 
transactions to the SQL database and web lookups. Since MySQL is the most 
important part of the data equation, but doesn't *generally* need to ever shut 
down, aside from upgrades/reboot, you'll simply find that the app won't work if 
mysql and apache aren't working, and apache may not work (well) if mysql isn't 
working/on. The OTRS scheduler and scripts are not constantly running, so they 
can be stopped or started at whim, and they themselves don't stop or start 
their components when they are reloaded. (That is, a mail fetch will happen as 
scheduled and will continue to finish, if it's already started, even if the 
cron job is deleted. The mail fetch won't happen again until the cron job's 
criteria is met.)



On Tue, Nov 25, 2014 at 12:10 PM,  wrote:




Hi,




What is the proper way to shut down/start OTRS 3.3.x system (installed from 
source) on Debian 7.




Example of what I am trying to accomplish:




"
linux:~ # rcotrs restart-force
Shutting down OTRS
Disable /opt/otrs/bin/otrs.PostMaster.pl ... done.
no crontab for otrs
Shutting down cronjobs ... failed!
Shutting down OTRS (completely)
Shutting down Apache ... done.
Shutting down MySQL ... done.
 done
Starting OTRS (completely)
Starting Apache ... done.
Starting MySQL ... done.
Starting OTRS
Checking Apache ... done.
Checking MySQL ... done.
Checking database connect... (It looks Ok!).
Enable /opt/otrs/bin/otrs.PostMaster.pl ... done.
Checking otrs spool dir...  done.
Creating cronjobs (source /opt/otrs/var/cron/*) ... done.




  -->> http://linux.example.com/otrs/index.pl <<--
 done
 done
linux:~ #
"




Thank you.





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