Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Arthur_T_
New Contributor I
168 Views

unable run XDK 3922 on Ubuntu 16.04 64bit

after install xdk_web_linux64_master_3922.tgz to Ubuntu 16.04 64bit, it fail to run with this errors:

LaunchProcess: failed to execvp:
/opt/intel/XDK/bin/nacl_helper
[8835:8835:0507/015120.269326:ERROR:nacl_fork_delegate_linux.cc(315)] Bad NaCl helper startup ack (0 bytes)
[8833:8833:0507/015120.327584:ERROR:process_singleton_posix.cc(451)] readlink failed: Permission denied
[8833:8833:0507/015120.327606:ERROR:process_singleton_posix.cc(283)] readlink(/home/arthur/.config/XDK-Wrapper/SingletonLock) failed: Permission denied
[8833:8833:0507/015120.327618:ERROR:process_singleton_posix.cc(283)] readlink(/home/arthur/.config/XDK-Wrapper/SingletonLock) failed: Permission denied
[8833:8833:0507/015120.327635:ERROR:process_singleton_posix.cc(307)] Failed to create /home/arthur/.config/XDK-Wrapper/SingletonLock: Permission denied
[8833:8833:0507/015120.327655:ERROR:process_singleton_posix.cc(451)] readlink failed: Permission denied
[8833:8833:0507/015120.327664:ERROR:process_singleton_posix.cc(283)] readlink(/home/arthur/.config/XDK-Wrapper/SingletonLock) failed: Permission denied
[8833:8833:0507/015120.327687:ERROR:chrome_browser_main.cc(1555)] Failed to create a ProcessSingleton for your profile directory. This means that running multiple instances would start multiple browser processes rather than opening a new window in the existing process. Aborting now to avoid profile corruption.
[8833:8859:0507/015120.361612:ERROR:cache_util.cc(134)] Unable to move cache folder /home/arthur/.config/XDK-Wrapper/ShaderCache/GPUCache to /home/arthur/.config/XDK-Wrapper/ShaderCache/old_GPUCache_000
[8833:8859:0507/015120.361648:ERROR:disk_cache.cc(132)] Unable to create cache
[8833:8859:0507/015120.361651:ERROR:shader_disk_cache.cc(593)] Shader Cache Creation failed: -2

 

Tags (2)
0 Kudos
11 Replies
PaulF_IntelCorp
Employee
168 Views

Do not install into "/opt/intel/XDK" -- choose the local install which will put the XDK in "~/intel/XDK" (in your home directory).

Arthur_T_
New Contributor I
168 Views

same fail

arthur@Home:~/intel/XDK$ ./bin/nw --file-descriptor-limit=8192 .xdk/xdk-wrapper
LaunchProcess: failed to execvp:
/home/arthur/intel/XDK/bin/nacl_helper
[5574:5574:0510/093721.622198:ERROR:nacl_fork_delegate_linux.cc(315)] Bad NaCl helper startup ack (0 bytes)
[5572:5572:0510/093721.666036:ERROR:process_singleton_posix.cc(451)] readlink failed: Permission denied
[5572:5572:0510/093721.666057:ERROR:process_singleton_posix.cc(283)] readlink(/home/arthur/.config/nwjs/SingletonLock) failed: Permission denied
[5572:5572:0510/093721.666069:ERROR:process_singleton_posix.cc(283)] readlink(/home/arthur/.config/nwjs/SingletonLock) failed: Permission denied
[5572:5572:0510/093721.666074:ERROR:process_singleton_posix.cc(307)] Failed to create /home/arthur/.config/nwjs/SingletonLock: Permission denied
[5572:5572:0510/093721.666080:ERROR:process_singleton_posix.cc(451)] readlink failed: Permission denied
[5572:5572:0510/093721.666084:ERROR:process_singleton_posix.cc(283)] readlink(/home/arthur/.config/nwjs/SingletonLock) failed: Permission denied
[5572:5572:0510/093721.666106:ERROR:chrome_browser_main.cc(1555)] Failed to create a ProcessSingleton for your profile directory. This means that running multiple instances would start multiple browser processes rather than opening a new window in the existing process. Aborting now to avoid profile corruption.
[5572:5598:0510/093721.698985:ERROR:cache_util.cc(134)] Unable to move cache folder /home/arthur/.config/nwjs/ShaderCache/GPUCache to /home/arthur/.config/nwjs/ShaderCache/old_GPUCache_000
[5572:5598:0510/093721.699009:ERROR:disk_cache.cc(132)] Unable to create cache
[5572:5598:0510/093721.699026:ERROR:shader_disk_cache.cc(593)] Shader Cache Creation failed: -2

 

PaulF_IntelCorp
Employee
168 Views

I wonder if it has to do with how you are starting the XDK. See this thread for instructions on how to start it > https://software.intel.com/en-us/forums/intel-xdk/topic/721074#comment-1900858 <

Arthur_T_
New Contributor I
168 Views

It is not the problem of the version/installation settings as I can run XDK3922 in a new installation of ubuntu 16.04 64-bit using virtualbox. Seems somehow is the problem of my current ubuntu installation as it fail to run old version too.

Do you have any clue on that or anything I can do?
 

PaulF_IntelCorp
Employee
168 Views

Did you try starting the XDK using the instructions I provided?

Arthur_T_
New Contributor I
168 Views

yes but same error
 

PaulF_IntelCorp
Employee
168 Views

I wonder if it's related to this post > https://superuser.com/a/1005289 < the XDK is running Node and Chromium under the hood, and the error messages you are seeing are definitely related to one or both of those. According to the post, the problem is a missing library. I found that post using this Google search. If that solution does not work, there may be others in that search that apply to your system.

ari_a_1
Beginner
168 Views

After update 3922, intelxdk doesn't work again.

LaunchProcess: failed to execvp:
~/intel/XDK/bin/nacl_helper
[15032:15032:0524/112509.168652:ERROR:nacl_fork_delegate_linux.cc(315)] Bad NaCl helper startup ack (0 bytes)
Created new window in existing browser session.

Using Ubuntu 16.04 64 bit. 

The old version work well but not 3900 and up... 

 

PaulF_IntelCorp
Employee
168 Views

Did you try the solution in this post > https://software.intel.com/en-us/forums/intel-xdk/topic/721074 <

Arthur_T_
New Contributor I
168 Views

I finally able to run XDK. If anyone with this error:

[5572:5572:0510/093721.666036:ERROR:process_singleton_posix.cc(451)] readlink failed: Permission denied

when start XDK in terminal. Then you can solve it by:

 

Correct the ownership, assuming pipi is your username:

chown -R pipi:pipi /home/pipi

and the permissions for all folders:

find /home/pipi -type d -print0 | xargs -0 chmod 775

775 - These are the default permissions when you create a new folder.

Then XDK will start. I haven't dig into what really make that fault. But it is not required to reinstall XDK. Also, it is not required to install nodejs or chromium before install XDK even though it is required it.

Also, I found these errors

LaunchProcess: failed to execvp:
/home/arthur/intel/XDK/bin/nacl_helper
[5574:5574:0510/093721.622198:ERROR:nacl_fork_delegate_linux.cc(315)] Bad NaCl helper startup ack (0 bytes)

before

[5572:5572:0510/093721.666036:ERROR:process_singleton_posix.cc(451)] readlink failed: Permission denied

occur in the ok env too (reminder: I installed a fresh ubuntu 16.04 in virtualbox and it is ok to install XDK 3922 and start it). That's why I look for the second error from internet and get the solution.

PaulF_IntelCorp
Employee
168 Views

Arthur T. wrote:

But it is not required to reinstall XDK. Also, it is not required to install nodejs or chromium before install XDK even though it is required it.

For clarification, the XDK does use Node.js and Chromium, but those components are built into the XDK and are part of the XDK installation. The XDK does not use any Node.js or Chromium that you have installed on your system, outside of the XDK, it maintains its own private copy of those components.

Reply