View Issue Details

IDProjectCategoryView StatusLast Update
0008762Kali LinuxKali Package Bugpublic2024-06-17 12:36
ReporterAnnouncer2173 Assigned Tosbrun  
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
Fixed in Version2024.2 
Summary0008762: Juice-shop error after fresh install
Description

I just did a fresh install added nvidia drivers then the Kali-Tweaks adding the learning metapackage Kali-linux-labs I am getting this error upon attempting to start it.

Activities

Announcer2173

Announcer2173

2024-05-20 03:14

reporter   ~0019305

] Please wait for the Juice-shop service to start.
[
]
[] You might need to refresh your browser once it opens.
[
]
[*] Web UI: http://127.0.0.1:42000

× juice-shop.service - juice-shop web application
Loaded: loaded (/usr/lib/systemd/system/juice-shop.service; disabled; preset: disabled)
Active: failed (Result: exit-code) since Sun 2024-05-19 22:59:31 EDT; 4s ago
Duration: 741ms
Process: 43231 ExecStart=npm start (code=exited, status=1/FAILURE)
Main PID: 43231 (code=exited, status=1/FAILURE)
CPU: 944ms

May 19 22:59:31 kali npm[43248]: at Module.require (node:internal/modules/cjs/loader:1231:19)
May 19 22:59:31 kali npm[43248]: at require (node:internal/modules/helpers:177:18)
May 19 22:59:31 kali npm[43248]: at Object.<anonymous> (/var/lib/juice-shop/node_modules/libxmljs2/index.js:4:18)
May 19 22:59:31 kali npm[43248]: at Module._compile (node:internal/modules/cjs/loader:1364:14)
May 19 22:59:31 kali npm[43248]: at Module._extensions..js (node:internal/modules/cjs/loader:1422:10) {
May 19 22:59:31 kali npm[43248]: code: 'ERR_DLOPEN_FAILED'
May 19 22:59:31 kali npm[43248]: }
May 19 22:59:31 kali npm[43248]: Node.js v18.20.1
May 19 22:59:31 kali systemd[1]: juice-shop.service: Main process exited, code=exited, status=1/FAILURE
May 19 22:59:31 kali systemd[1]: juice-shop.service: Failed with result 'exit-code'.

kali-bugreport

kali-bugreport

2024-05-20 06:40

reporter   ~0019307

Could be an issue in Juice Shop and not in Kali:

https://github.com/juice-shop/juice-shop/issues/1750

Announcer2173

Announcer2173

2024-05-23 05:52

reporter   ~0019331

Thanks though it runs on my wsl install on the same machine though the bare metal one is the issue. This is an X86 machine. I was thinking it may be something in the recent updates of the clean install vs the older existing though updated install. I will post the issue on there Git as well. I am just starting to learn nodejs so I do not know enough to troubleshoot this one.

Thank you

sbrun

sbrun

2024-05-24 14:04

manager   ~0019333

We use the compiled upstream tarball to create the package in Kali.
Upstream compiled it with libnode108 but we have libnode109 in Kali. That's why the service fails to start.

I don't see any workaround to fix this quickly... I'm working on this issue.

sbrun

sbrun

2024-05-27 12:08

manager   ~0019335

I have uploaded a fixed version 0.6.9-0kali1. Please test it and let us know if everything is OK.

Issue History

Date Modified Username Field Change
2024-05-20 03:13 Announcer2173 New Issue
2024-05-20 03:14 Announcer2173 Note Added: 0019305
2024-05-20 06:40 kali-bugreport Note Added: 0019307
2024-05-21 08:08 daniruiz Assigned To => sbrun
2024-05-21 08:08 daniruiz Status new => assigned
2024-05-23 05:52 Announcer2173 Note Added: 0019331
2024-05-24 14:04 sbrun Note Added: 0019333
2024-05-27 12:08 sbrun Note Added: 0019335
2024-06-17 12:36 sbrun Status assigned => resolved
2024-06-17 12:36 sbrun Resolution open => fixed
2024-06-17 12:36 sbrun Fixed in Version => 2024.2