Apache/CenTOS white screen error

Moderator: crythias

Locked
flash10010
Znuny newbie
Posts: 5
Joined: 31 Jan 2011, 16:29
Znuny Version: 3.04

Apache/CenTOS white screen error

Post by flash10010 »

Hi All

Can anyone help me, i'm losing my hair over this, I now look like this smilie :( . I use a CenTOS server running Apache and install OTRS onto it but OTRS works perfectly for an hour or so then starts to display the page as a white blank page, i have to stop and start Apache for it to work again.

Any help appreciated, Thanks
keithf4
Znuny newbie
Posts: 23
Joined: 28 Jan 2011, 23:01
Znuny Version: 3.0.5

Re: Apache/CenTOS white screen error

Post by keithf4 »

Have you checked the apache server logs? If you haven't, might also help to configure the otrs site to write to its own log. I have mine set like this:

ErrorLog /var/log/apache2/otrs_error.log
LogLevel warn
CustomLog /var/log/apache2/otrs_access.log combined

Can change the log level to get more details if needed.

Also check the syslog if you've set the cron jobs to run.
OTRS 3.0.7 | Ubuntu 10.04 LTS | Postgresql 8.4.7
flash10010
Znuny newbie
Posts: 5
Joined: 31 Jan 2011, 16:29
Znuny Version: 3.04

Re: Apache/CenTOS white screen error

Post by flash10010 »

Thanks keithf4 for your fast reply.

I have checked Apaches access_log and error_log and can not find any errors that relate to this problem all seems fine with Apache, I have OTRS logging to a file and when i get the white page problem OTRS seems to stop writing to the log file as if it as stopped working.
flash10010
Znuny newbie
Posts: 5
Joined: 31 Jan 2011, 16:29
Znuny Version: 3.04

Re: Apache/CenTOS white screen error

Post by flash10010 »

Update

Just noticed in the error_log when the problem occurs this line shows up:

[Tue Feb 1 16:38:46 2011] -e: print() on closed filehandle LOG at /opt/otrs//Kernel/Output/HTML/Layout.pm line 1540.

Any ideas?.
ferrosti
Znuny superhero
Posts: 723
Joined: 10 Oct 2007, 14:30
Znuny Version: 3.0
Location: Hamburg, Germany

Re: Apache/CenTOS white screen error

Post by ferrosti »

Have a look at this bugreport:
http://bugs.otrs.org/show_bug.cgi?id=5338
openSuSE on ESX
IT-Helpdesk: OTRS 3.0
Customer Service: OTRS 3.0 (upgraded from 2.3)
Customer Service (subsidiary): OTRS 3.0
+additional test and development systems
flash10010
Znuny newbie
Posts: 5
Joined: 31 Jan 2011, 16:29
Znuny Version: 3.04

Re: Apache/CenTOS white screen error

Post by flash10010 »

Thanks ferrosti,

I am also running OCS on my server, looks like they don't like each other. Will have to wait and see if this gets fixed and install OTRS on a windows server and try that.
TitovLab
Znuny newbie
Posts: 7
Joined: 18 Apr 2015, 15:17
Znuny Version: 5.0.17
Real Name: Alexander Titov
Company: IT PC help

Re: Apache/CenTOS white screen error

Post by TitovLab »

The problem is in OCS Inventory.
Just comment two strings in /usr/share/perl5/vendor_perl/Apache/Ocsinventory/Server/System.pm (or another dir there OCS-Server is installed):
# select(LOG);
# $|=1;
And restart web-server.
P.S.: OCS logs will continue work.
Locked