| Summary: | Webui can't connect to the WebSocket Server on the first run | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Kristoffer Grundström <lovaren> |
| Component: | RPM Packages | Assignee: | David GEIGER <geiger.david68210> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | major | ||
| Priority: | Normal | CC: | doktor5000, lovaren |
| Version: | 5 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | phoronix-test-suite-5.0.1-4.mga5 | CVE: | |
| Status comment: | |||
| Attachments: |
screenshot of working webgui
Output from trying to start the Phoronix Test Suite GUI |
||
|
Description
Kristoffer Grundström
2015-11-18 15:54:04 CET
Kristoffer Grundström
2015-11-18 15:54:19 CET
Priority:
Normal =>
High Assigning to maintainer. Priority:
High =>
Normal So ok! I have updated phoronix-test-suite to latest upstream 6.0.1 release for Cauldron and mga5 too in 5/Core/Updates_testing repo. Please test if this release fixes issues. Thanks in advance! Source RPM:
phoronix-test-suite =>
phoronix-test-suite-5.0.1-4.mga5 Still the same problem. I even tested with the latest git revision and the same problem still persists. I ran ./phoronix-test-suite start-ws-server and then I ran ./phoronix-test-suite start-ws-server and the WebSocket server still can't connect. I tried running /tmp/tmp.I5rvfX1hjp/web-server-launcher The only error I see is: PHP Fatal error: Call to undefined function pcntl_signal() in /home/kristoffer/Skrivbord/phoronix-test-suite/pts-core/objects/pts_web_socket.php on line 36 If I run PTS in Ubuntu it works just fine. According to a search on the Call to undefined function pcntl_signal() error it seems like the PHP version is the cause. It needs to be compiled with pcntl functions. I installed php-pcntl as the spec didn't have this as a dependancy and starting the ws-server once again from the command line gave me this error: PHP Fatal error: Call to undefined function socket_create_listen() in /usr/share/phoronix-test-suite/pts-core/objects/pts_web_socket.php on line 40 The PHP version seems to be broken. I also checked if the phoronix-test-suite.xml from the description of this report in /etc/ exists, but it doesn't. [kristoffer@localhost Desktop]$locate phoronix-test-suite.xml [kristoffer@localhost Desktop]$ I even used the find command to search for it. [kristoffer@localhost Desktop]$ find phoronix-test-suite.xml find: "phoronix-test-suite.xml": File or directory does not exist https://bbs.archlinux.org/viewtopic.php?id=178693 shows the same error, but the solution to run /home/kristoffer/.phoronix-test-suite/web-server-launcher didn't work as no such file exist in that dir. [kristoffer@localhost ~]$ ls -l .phoronix-test-suite/ totalt 52 -rw------- 1 kristoffer kristoffer 1741 dec 19 05:57 core.pt2so drwxrwxr-x 2 kristoffer kristoffer 4096 dec 19 05:26 download-cache/ -rw-rw-r-- 1 kristoffer kristoffer 955 dec 19 05:57 graph-config.json drwxrwxr-x 2 kristoffer kristoffer 4096 dec 19 05:26 installed-tests/ drwxrwxr-x 2 kristoffer kristoffer 4096 dec 19 05:26 modules/ drwxrwxr-x 2 kristoffer kristoffer 4096 dec 19 05:26 modules-data/ drwxrwxr-x 4 kristoffer kristoffer 4096 dec 19 05:26 openbenchmarking.org/ -rw------- 1 kristoffer kristoffer 2405 dec 19 05:57 temp.pt2so drwxrwxr-x 3 kristoffer kristoffer 4096 dec 19 05:26 test-profiles/ drwxrwxr-x 2 kristoffer kristoffer 4096 dec 19 05:26 test-results/ drwxrwxr-x 3 kristoffer kristoffer 4096 dec 19 05:26 test-suites/ -rw-rw-r-- 1 kristoffer kristoffer 2878 dec 19 05:26 user-config.xml drwxrwxr-x 2 kristoffer kristoffer 4096 dec 19 05:26 xsl/
Florian Hubold
2015-12-29 17:04:40 CET
CC:
(none) =>
doktor5000 Any news on this, David? Created attachment 8453 [details]
screenshot of working webgui
Hi Kristoffer,
So ok, should be fixed now with phoronix-test-suite-6.6.0-1.mga5 and phoronix-test-suite-6.6.0-1.mga6.
I added some missing required packages and also updated to the latest stable upstream release.
I tested here on both mga5 and mga6 and now the GUI Web starts and runs properly.
Created attachment 8460 [details]
Output from trying to start the Phoronix Test Suite GUI
Remove your old config file: mv ~/.phoronix-test-suite ~/.phoronix-test-suite.bak And run: $ phoronix-test-suite gui Should I be worried about seeing this as the GUI starts? [6247:6247:0928/145241:ERROR:whitelist.cc(64)] Component extension with id nmmhkkegccagdldgiimedpiccmgmieda not in whitelist and is not being loaded as a result.
Kristoffer Grundström
2016-09-28 14:56:03 CEST
CC:
(none) =>
hamnisdude Problem seems solved in Mageia 6 (Cauldron) so closing as RESOLVED FIXED. Status:
NEW =>
RESOLVED |