Report error : Owner of /tmp/.X11-unix should be set to root

522 views
Skip to first unread message

bjornf

unread,
Mar 17, 2014, 11:48:39 AM3/17/14
to th...@googlegroups.com
Hi,

Was running a SLA service report that after a long time ended with the below error message. 

I have added this to thruk_local.conf:

report_max_objects = 25000

Any clue what is wrong?

I don't have either of these:
/usr/lib64/xserver/SecurityPolicy
/usr/share/X11/rgb

drwxrwxrwt 2 apache apache 4096 Mar 17 14:04 /tmp/.X11-unix

report failed: Couldn't open RGB_DB '/usr/share/X11/rgb'
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
error opening security policy file /usr/lib64/xserver/SecurityPolicy
[Mon Mar 17 08:14:04 2014][ERROR] $VAR1 = bless( [
[Mon Mar 17 08:14:04 2014][ERROR] 'undef',
[Mon Mar 17 08:14:04 2014][ERROR] 'too many objects: 19393, maximum 1000, please use more specific filter or raise limit (report_max_objects)! at /usr/share/thruk/lib/Thruk/Utils/Avail.pm line 537.
[Mon Mar 17 08:14:04 2014][ERROR] ',
[Mon Mar 17 08:14:04 2014][ERROR] \'
[Mon Mar 17 08:14:04 2014][ERROR] 
[Mon Mar 17 08:14:04 2014][ERROR] 1'
[Mon Mar 17 08:14:04 2014][ERROR] ], 'Template::Exception' );
[Mon Mar 17 08:14:04 2014][ERROR] internal server error
[Mon Mar 17 08:14:04 2014][ERROR] please have a look at your log file
internal server error at /usr/share/thruk/lib/Thruk/Controller/error.pm line 263
Thruk::Controller::error::index('Thruk::Controller::error=HASH(0x17d6a650)', 'Thruk=HASH(0x2ad4ee994b70)', 13) called at /usr/lib64/thruk/perl5/Catalyst/Action.pm line 65
Catalyst::Action::execute('Catalyst::Action::RenderView=HASH(0x190acf70)', 'Thruk::Controller::error=HASH(0x17d6a650)', 'Thruk=HASH(0x2ad4ee994b70)', 13) called at /usr/lib64/thruk/perl5/Catalyst/Action/RenderView.pm line 18
Catalyst::Action::RenderView::execute('Catalyst::Action::RenderView=HASH(0x190acf70)', 'Thruk::Controller::error=HASH(0x17d6a650)', 'Thruk=HASH(0x2ad4ee994b70)', 13) called at /usr/lib64/thruk/perl5/Catalyst.pm line 1687
eval {...} called at /usr/lib64/thruk/perl5/Catalyst.pm line 1687
Catalyst::execute('Thruk=HASH(0x2ad4ee994b70)', 'Thruk::Controller::error', 'Catalyst::Action::RenderView=HASH(0x190acf70)') called at /usr/lib64/thruk/perl5/Catalyst/Action.pm line 60
Catalyst::Action::dispatch('Catalyst::Action::RenderView=HASH(0x190acf70)', 'Thruk=HASH(0x2ad4ee994b70)') called at /usr/lib64/thruk/perl5/Catalyst/Dispatcher.pm line 257
Catalyst::Dispatcher::_do_forward('Catalyst::Dispatcher=HASH(0x16bfbab0)', 'detach', 'Thruk=HASH(0x2ad4ee994b70)', '/error/index/13') called at /usr/lib64/thruk/perl5/Catalyst/Dispatcher.pm line 270
Catalyst::Dispatcher::detach('Catalyst::Dispatcher=HASH(0x16bfbab0)', 'Thruk=HASH(0x2ad4ee994b70)', '/error/index/13') called at /usr/lib64/thruk/perl5/Catalyst.pm line 388
Catalyst::detach('Thruk=HASH(0x2ad4ee994b70)', '/error/index/13') called at /etc/thruk/plugins//plugins-enabled/reports2/lib/Thruk/Utils/Reports.pm line 409
Thruk::Utils::Reports::generate_report('Thruk=HASH(0x2ad4ee994b70)', 37) called at /usr/share/thruk/lib/Thruk/Utils/CLI.pm line 760
Thruk::Utils::CLI::_cmd_report('Thruk=HASH(0x2ad4ee994b70)', 'undef', 'undef') called at /usr/share/thruk/lib/Thruk/Utils/CLI.pm line 519
Thruk::Utils::CLI::_run_command_action('Thruk=HASH(0x2ad4ee994b70)', 'HASH(0x13f8dfc0)', 'local', 'report=37') called at /usr/share/thruk/lib/Thruk/Utils/CLI.pm line 468
Thruk::Utils::CLI::_run_commands('Thruk=HASH(0x2ad4ee994b70)', 'HASH(0x13f8dfc0)', 'local') called at /usr/share/thruk/lib/Thruk/Utils/CLI.pm line 393
Thruk::Utils::CLI::_from_local('Thruk::Utils::CLI=HASH(0x140d7a90)', 'Thruk=HASH(0x2ad4ee994b70)', 'HASH(0x13f8dfc0)') called at /usr/share/thruk/lib/Thruk/Utils/CLI.pm line 319
Thruk::Utils::CLI::_run('Thruk::Utils::CLI=HASH(0x140d7a90)') called at /usr/bin/thruk line 83
catalyst_detach

Sven Nierlein

unread,
Mar 17, 2014, 12:01:36 PM3/17/14
to th...@googlegroups.com
Hi,

depending on the type of report, the result report would have roughly estimated of 20.000 - 60.000 pages.
I noticed problems with "smaller" reports where wkhtmltopdf segfaulted with reports of 2000 pages size.
Of course that report was never intended to be that huge, so fixing the report options helped here.

Sven

bjornf

unread,
Mar 17, 2014, 3:13:33 PM3/17/14
to th...@googlegroups.com
Yes, I think I now realize that the type of report I was doing was not "appropriate".  So, I guess we can forget about this one. 
Reply all
Reply to author
Forward
0 new messages