- CheckMates
- :
- Products
- :
- Quantum
- :
- Management
- :
- Re: Web SmartConsole is not available after R81.10...
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Are you a member of CheckMates?
×- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Web SmartConsole is not available after R81.10 Upgrade
Hello all,
after an management upgrade from R81 to R81.10 we noticed that the Web SmartConsole is not longer working.
We receive the error message: "Web SmartConsole service is not available.".
Following the troubleshooting guides linked below had no success:
Troubleshooting SmartConsole Web Components and Extensions (checkpoint.com)
Web SmartConsole Troubleshooting (checkpoint.com)
We did some further troubleshooting and checked the Docker container that is running the Web Smart Console Application:
The container is stucking in restarting mode. (I wrote this post 2 hours after this screenshot and the container is still stuck in restarting)
Checking the container logs shows the following error:
Error reading file EACCES: permission denied, open '/app/storage/crs_MGMT.xml'
node:fs:594
handleErrorFromBinding(ctx);
^
Error: EACCES: permission denied, open '/app/storage/crs_MGMT.xml'
at Object.openSync (node:fs:594:3)
at Object.readFileSync (node:fs:462:35)
at readRelativeFile$1 (file:///app/dist/index.mjs:3736:22)
at readStorageFile$5 (file:///app/dist/index.mjs:3821:9)
at Object.234 (file:///app/dist/index.mjs:3833:18)
at __webpack_require__ (file:///app/dist/index.mjs:132470:41)
at Object.47096 (file:///app/dist/index.mjs:129692:12)
at __webpack_require__ (file:///app/dist/index.mjs:132470:41)
at file:///app/dist/index.mjs:132557:36
at ModuleJob.run (node:internal/modules/esm/module_job:193:25) {
errno: -13,
syscall: 'open',
code: 'EACCES',
path: '/app/storage/crs_MGMT.xml'
Looks like a file permission problem inside the docker storage itself. ( I don't know how to troubleshoot docker at all so please dont call me on that).
I digged a litle bit deeper inside and checked the docker setup script "mwc.sh" and found the following line:
# Since we use Wylis's Image, the default user in the docker is not root anymore, so we need to set the new user (1000)
# permissions to edit our backend storage
set_permission_to_docker_user(){
echo "Giving permission to user 1000 for edit WSC storage folder"
chown -R 1000 "${MWC_BACKEND_STORAGE_DIR}"
}
I don't know who Wylis is but maybe he reads this forum and can tell why the file permissions are not working correctly anymore.
Maybe somebody has already encountered this problem in the past?
Best regards
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @ProxyOps ,
sorry for the inconvenience.
we are familiar with this issue and working on releasing a new Web SmartConsolewith a fix.
for now, I will send you a new mwc.sh that will solve this issue for you.
Thanks,
Ofir.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@the_rock @KamilZet @henryd111 Thank you for your feedback.
an SK with the information will be updated soon, I will update here when it will be available.
until then you can follow these steps to fix it:
1) Connect to the command line on the Management Server.
2) Log in to the Expert mode.
3) Check Web SmartConsole version:
3.1) run: cpinfo -y CPUpdates
3.2) Search for: “BUNDLE_WEBCONSOLE_AUTOUPDATE Take: 76”
3.3) if the take is 76 replace the mwc.sh file in $MDS_FWDIR/webconsole with this file (see attached file)
4) Restart Web SmartConsole with this command:
wsc restart
5) In a web browser, connect to Web SmartConsole:
https://<IP Address of Management Server>/smartconsole
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Just curious, is it only web smart console or regular one as well? Can you run below from expert mode and send the output please?
Andy
cd $FWDIR/scripts
./cpm_status.sh
api_status
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Andy,
only the Web SmartConsole is effected. The regular console works as expected.
[Expert@Management:0]# ./cpm_status.sh
Check Point Security Management Server is running and ready
[Expert@Management:0]# api status
API Settings:
---------------------
Accessibility: Require all granted
Automatic Start: Enabled
Processes:
Name State PID More Information
-------------------------------------------------
API Started 8334
CPM Started 8334 Check Point Security Management Server is running and ready
FWM Started 7815
APACHE Started 10914
Port Details:
-------------------
JETTY Internal Port: 53696
JETTY Documentation Internal Port: 51894
APACHE Gaia Port: 443
Profile:
-------------------
Machine profile: Medium env resources profile
CPM heap size: 1280m
--------------------------------------------
Overall API Status: Started
--------------------------------------------
API readiness test SUCCESSFUL. The server is up and ready to receive connections
Notes:
------------
To collect troubleshooting data, please run 'api status -s <comment>'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Gotcha. Yea, those outputs would indicate regular smart console services would be up and running. So, you get exact same issue even after running below step from the sk?
Cause
The required Docker service is not running on the Management Server.
Solution:
Follow these steps:
1) Connect to the command line on the Management Server.
2) Log in to the Expert mode.
3) Restart Web SmartConsole with this command:$MDS_FWDIR/webconsole/mwc.sh restart
4) In a web browser, connect to Web SmartConsole:https://<IP Address of Management Server>/smartconsole
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes correct. The problem is still there after running the "mwc.sh restart" command.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Not sure if you tried below? Found it from a different post.
https://community.checkpoint.com/t5/General-Topics/Web-SmartConsole/td-p/105271
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes I also tried to script already.
[Expert@Management:0]# /opt/CPsuite-R81.10/fw1/webconsole/docker_reconf.sh
MWC reconf has been successful
[Expert@Management:0]# /opt/CPsuite-R81.10/fw1/webconsole/mwc.sh -d restart
Stopping WSC services...
No process to kill
Docker daemon is currently running, PID 28475...
stopping mwc container...
mwc
removing mwc container...
mwc
removing mwc image...
Untagged: mwc:latest Deleted: sha256:e519b6a4100d7158e61c1832601e7652a0a1dbb5419a106b93ca0cb114c77d55 Deleted: sha256:33560bf797a37c1ea8c239c6e34a21e78311ee4f6aa796901bb35d2f161f5406 Deleted: sha256:d7ddd7a50b0a9960ddb696be5f467568a36c54d78ce7da6c1c74880ce86bd0e5
WSC services stopped successfully
Starting WSC services...
Copying crs MGMT file to docker storage
Configuring management api
Docker daemon is currently running, PID 28475...
Giving permission to user 1000 for edit WSC storage folder
loading docker image: /opt/CPsuite-R81.10/fw1/webconsole/mwc.tgz
Loaded image: mwc:latest
removing mwc container...
No container to remove
starting container
0c9ee700f8c7726d3f38c4b0d6ca3c0cfead9fe577440a3d16c7cb51bdf1886d
Enable GUI clients
MWC reconf has been successful
WSC services started successfully. Login to https://MY.IP/smartconsole
[Expert@Management:0]# docker logs mwc
Error reading file EACCES: permission denied, open '/app/storage/crs_MGMT.xml'
node:fs:594
handleErrorFromBinding(ctx);
^
Error: EACCES: permission denied, open '/app/storage/crs_MGMT.xml'
at Object.openSync (node:fs:594:3)
at Object.readFileSync (node:fs:462:35)
at readRelativeFile$1 (file:///app/dist/index.mjs:3736:22)
at readStorageFile$5 (file:///app/dist/index.mjs:3821:9)
at Object.234 (file:///app/dist/index.mjs:3833:18)
at __webpack_require__ (file:///app/dist/index.mjs:132470:41)
at Object.47096 (file:///app/dist/index.mjs:129692:12)
at __webpack_require__ (file:///app/dist/index.mjs:132470:41)
at file:///app/dist/index.mjs:132557:36
at ModuleJob.run (node:internal/modules/esm/module_job:193:25) {
errno: -13,
syscall: 'open',
code: 'EACCES',
path: '/app/storage/crs_MGMT.xml'
}
Error reading file EACCES: permission denied, open '/app/storage/crs_MGMT.xml'
node:fs:594
handleErrorFromBinding(ctx);
^
Error: EACCES: permission denied, open '/app/storage/crs_MGMT.xml'
at Object.openSync (node:fs:594:3)
at Object.readFileSync (node:fs:462:35)
at readRelativeFile$1 (file:///app/dist/index.mjs:3736:22)
at readStorageFile$5 (file:///app/dist/index.mjs:3821:9)
at Object.234 (file:///app/dist/index.mjs:3833:18)
at __webpack_require__ (file:///app/dist/index.mjs:132470:41)
at Object.47096 (file:///app/dist/index.mjs:129692:12)
at __webpack_require__ (file:///app/dist/index.mjs:132470:41)
at file:///app/dist/index.mjs:132557:36
at ModuleJob.run (node:internal/modules/esm/module_job:193:25) {
errno: -13,
syscall: 'open',
code: 'EACCES',
path: '/app/storage/crs_MGMT.xml'
}
Error reading file EACCES: permission denied, open '/app/storage/crs_MGMT.xml'
node:fs:594
handleErrorFromBinding(ctx);
^
Error: EACCES: permission denied, open '/app/storage/crs_MGMT.xml'
at Object.openSync (node:fs:594:3)
at Object.readFileSync (node:fs:462:35)
at readRelativeFile$1 (file:///app/dist/index.mjs:3736:22)
at readStorageFile$5 (file:///app/dist/index.mjs:3821:9)
at Object.234 (file:///app/dist/index.mjs:3833:18)
at __webpack_require__ (file:///app/dist/index.mjs:132470:41)
at Object.47096 (file:///app/dist/index.mjs:129692:12)
at __webpack_require__ (file:///app/dist/index.mjs:132470:41)
at file:///app/dist/index.mjs:132557:36
at ModuleJob.run (node:internal/modules/esm/module_job:193:25) {
errno: -13,
syscall: 'open',
code: 'EACCES',
path: '/app/storage/crs_MGMT.xml'
}
Error reading file EACCES: permission denied, open '/app/storage/crs_MGMT.xml'
node:fs:594
handleErrorFromBinding(ctx);
^
Error: EACCES: permission denied, open '/app/storage/crs_MGMT.xml'
at Object.openSync (node:fs:594:3)
at Object.readFileSync (node:fs:462:35)
at readRelativeFile$1 (file:///app/dist/index.mjs:3736:22)
at readStorageFile$5 (file:///app/dist/index.mjs:3821:9)
at Object.234 (file:///app/dist/index.mjs:3833:18)
at __webpack_require__ (file:///app/dist/index.mjs:132470:41)
at Object.47096 (file:///app/dist/index.mjs:129692:12)
at __webpack_require__ (file:///app/dist/index.mjs:132470:41)
at file:///app/dist/index.mjs:132557:36
at ModuleJob.run (node:internal/modules/esm/module_job:193:25) {
errno: -13,
syscall: 'open',
code: 'EACCES',
path: '/app/storage/crs_MGMT.xml'
}
Error reading file EACCES: permission denied, open '/app/storage/crs_MGMT.xml'
node:fs:594
handleErrorFromBinding(ctx);
^
Error: EACCES: permission denied, open '/app/storage/crs_MGMT.xml'
at Object.openSync (node:fs:594:3)
at Object.readFileSync (node:fs:462:35)
at readRelativeFile$1 (file:///app/dist/index.mjs:3736:22)
at readStorageFile$5 (file:///app/dist/index.mjs:3821:9)
at Object.234 (file:///app/dist/index.mjs:3833:18)
at __webpack_require__ (file:///app/dist/index.mjs:132470:41)
at Object.47096 (file:///app/dist/index.mjs:129692:12)
at __webpack_require__ (file:///app/dist/index.mjs:132470:41)
at file:///app/dist/index.mjs:132557:36
at ModuleJob.run (node:internal/modules/esm/module_job:193:25) {
errno: -13,
syscall: 'open',
code: 'EACCES',
path: '/app/storage/crs_MGMT.xml'
}
Error reading file EACCES: permission denied, open '/app/storage/crs_MGMT.xml'
node:fs:594
handleErrorFromBinding(ctx);
^
Error: EACCES: permission denied, open '/app/storage/crs_MGMT.xml'
at Object.openSync (node:fs:594:3)
at Object.readFileSync (node:fs:462:35)
at readRelativeFile$1 (file:///app/dist/index.mjs:3736:22)
at readStorageFile$5 (file:///app/dist/index.mjs:3821:9)
at Object.234 (file:///app/dist/index.mjs:3833:18)
at __webpack_require__ (file:///app/dist/index.mjs:132470:41)
at Object.47096 (file:///app/dist/index.mjs:129692:12)
at __webpack_require__ (file:///app/dist/index.mjs:132470:41)
at file:///app/dist/index.mjs:132557:36
at ModuleJob.run (node:internal/modules/esm/module_job:193:25) {
errno: -13,
syscall: 'open',
code: 'EACCES',
path: '/app/storage/crs_MGMT.xml'
}
Error reading file EACCES: permission denied, open '/app/storage/crs_MGMT.xml'
node:fs:594
handleErrorFromBinding(ctx);
^
Error: EACCES: permission denied, open '/app/storage/crs_MGMT.xml'
at Object.openSync (node:fs:594:3)
at Object.readFileSync (node:fs:462:35)
at readRelativeFile$1 (file:///app/dist/index.mjs:3736:22)
at readStorageFile$5 (file:///app/dist/index.mjs:3821:9)
at Object.234 (file:///app/dist/index.mjs:3833:18)
at __webpack_require__ (file:///app/dist/index.mjs:132470:41)
at Object.47096 (file:///app/dist/index.mjs:129692:12)
at __webpack_require__ (file:///app/dist/index.mjs:132470:41)
at file:///app/dist/index.mjs:132557:36
at ModuleJob.run (node:internal/modules/esm/module_job:193:25) {
errno: -13,
syscall: 'open',
code: 'EACCES',
path: '/app/storage/crs_MGMT.xml'
}
[Expert@Management:0]#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Happy to send you docker_reconf.sh and mwc.sh files from my working R81.20 lab, though small disclaimer, dont shoot the messenger if something happens : - )
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Would be awesome if you could send them 🙂 !
I also already compared both .sh files from a working R81 Management with the not working R81.10 Management and they were 1:1 the same files.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There ya go, good luck! 🙂
Andy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I really hope files I sent you do the trick, let us know. I even gave them highest permissions BEFORE sending them over, just to be sure.
Andy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you very much for the files! I compared both files to the r81.10 files and they are exactly the same (done via notepad++ Compare Plugin)
I will take a another fresh look with my Check Point Wizzard and if he also don't find a solution I will contact TAC.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No worries! I would also use maybe compare it tool just to be positive, but if they are the same, then best I can suggest is try maybe cpstop; cpstart or reboot quick, but if it fails, then TAC support may be needed.
Andy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @ProxyOps ,
sorry for the inconvenience.
we are familiar with this issue and working on releasing a new Web SmartConsolewith a fix.
for now, I will send you a new mwc.sh that will solve this issue for you.
Thanks,
Ofir.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hello, can you send it to me also? Have the same issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
sure, i sent you a message in private.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
for me too, please.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
HI, Same on my side, could you also send it to me ?
p.s. why it cannot be put somehwere and treated as workarround until fix will be avaliable?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Good point @KamilZet ...hey @Ofir_Calif , just to make it easier for other customers that may encounter this issue, any way SK can be updated with the file that fixes the problem?
Just an idea...
Andy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@the_rock @KamilZet @henryd111 Thank you for your feedback.
an SK with the information will be updated soon, I will update here when it will be available.
until then you can follow these steps to fix it:
1) Connect to the command line on the Management Server.
2) Log in to the Expert mode.
3) Check Web SmartConsole version:
3.1) run: cpinfo -y CPUpdates
3.2) Search for: “BUNDLE_WEBCONSOLE_AUTOUPDATE Take: 76”
3.3) if the take is 76 replace the mwc.sh file in $MDS_FWDIR/webconsole with this file (see attached file)
4) Restart Web SmartConsole with this command:
wsc restart
5) In a web browser, connect to Web SmartConsole:
https://<IP Address of Management Server>/smartconsole
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thats super helpful @Ofir_Calif
THANK YOU 🙌🙌
