16
Zenarmor (Sensei) / SWAP
« on: April 05, 2022, 04:45:01 pm »
Does anyone know how to remove the SWAP created by Sensei?
Thank you and best regards
k0ns0l3
Thank you and best regards

k0ns0l3
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Hi,
da gibt es im OPNsense Zenarmor (Sensei) board einen Beitrag. Der ist da zwar nur 50 MB groß, aber erklärt ein bisschen.
https://forum.opnsense.org/index.php?topic=25424.0.
KH
Das ist wahrscheinlich kein Swap sondern eine RAM-Disk. Gibt's da bei Sensei vielleicht eine Option, dass eine solche benutzt werden soll?
Was sagt denn `mdconfig -lv`?
mdconfig -lv
md98 vnode 2048M /usr/swap0
swapinfo
Device 1K-blocks Used Avail Capacity
/dev/gpt/swapfs 8388608 0 8388608 0%
/dev/md98 2097152 0 2097152 0%
Total 10485760 0 10485760 0%
# Device Mountpoint FStype Options Dump Pass#
/dev/gpt/rootfs / ufs rw 1 1
/dev/gpt/swapfs none swap sw 0 0
fdesc /dev/fd fdescfs rw 0 0
proc /proc procfs rw 0 0
root@OPNsense:~ # hw-probe -all -upload
Probe for hardware ... Ok
Reading logs ... Ok
Can't connect to bsd-hardware.info:80 (Permission denied)
Permission denied at /usr/local/lib/perl5/site_perl/LWP/Protocol/http.pm line 50.
ERROR: failed to upload data
***GOT REQUEST TO INSTALL: MONGODB***
Stoped deamon...
mongod does not exist in /etc/rc.d or the local startup
directories (/usr/local/etc/rc.d), or is not executable
Auto removing...
No packages matched for pattern 'mongodb40'
Checking integrity... done (0 conflicting)
1 packages requested for removal: 0 locked, 1 missing
Cleaning packages...
The following package files will be deleted:
/var/cache/pkg/elasticsearch5-5.6.8_5~75aff409c7.txz
/var/cache/pkg/libXt-1.2.1,1~dee74dc267.txz
/var/cache/pkg/elasticsearch5-5.6.8_5.txz
/var/cache/pkg/xorgproto-2020.1.txz
/var/cache/pkg/libXt-1.2.1,1.txz
/var/cache/pkg/libX11-1.6.12,1~3d32c6efa0.txz
/var/cache/pkg/libX11-1.6.12,1.txz
/var/cache/pkg/libxcb-1.14_1~bfcc2b5e85.txz
/var/cache/pkg/libxcb-1.14_1.txz
/var/cache/pkg/libXdmcp-1.1.3~d17ee69e2f.txz
/var/cache/pkg/libXdmcp-1.1.3.txz
/var/cache/pkg/xorgproto-2020.1~e2652ffffc.txz
/var/cache/pkg/libXau-1.0.9~97ff4552fd.txz
/var/cache/pkg/jna-5.7.0.txz
/var/cache/pkg/openjdk8-8.282.08.1.txz
/var/cache/pkg/libXau-1.0.9.txz
/var/cache/pkg/libpthread-stubs-0.4~0b4bf9ec59.txz
/var/cache/pkg/libSM-1.2.3,1~8b69da1d12.txz
/var/cache/pkg/libpthread-stubs-0.4.txz
/var/cache/pkg/libSM-1.2.3,1.txz
/var/cache/pkg/libICE-1.0.10,1~dc8ae909b4.txz
/var/cache/pkg/libICE-1.0.10,1.txz
/var/cache/pkg/openjdk8-8.282.08.1~c181e7e997.txz
/var/cache/pkg/fontconfig-2.13.93,1~3ac7ce2283.txz
/var/cache/pkg/freetype2-2.10.4~f15c3b0d14.txz
/var/cache/pkg/fontconfig-2.13.93,1.txz
/var/cache/pkg/png-1.6.37_1~5f2e4280ed.txz
/var/cache/pkg/freetype2-2.10.4.txz
/var/cache/pkg/mkfontscale-1.2.1.txz
/var/cache/pkg/png-1.6.37_1.txz
/var/cache/pkg/dejavu-2.37_1~1b1d3f8b9f.txz
/var/cache/pkg/dejavu-2.37_1.txz
/var/cache/pkg/mkfontscale-1.2.1~09eaaf88af.txz
/var/cache/pkg/libfontenc-1.1.4~96a35466ef.txz
/var/cache/pkg/java-zoneinfo-2021.a.txz
/var/cache/pkg/libfontenc-1.1.4.txz
/var/cache/pkg/javavmwrapper-2.7.7~a098437f20.txz
/var/cache/pkg/javavmwrapper-2.7.7.txz
/var/cache/pkg/java-zoneinfo-2021.a~93a240d0f8.txz
/var/cache/pkg/libinotify-20180201_2~ec00521198.txz
/var/cache/pkg/alsa-lib-1.1.2_2~98a2812d35.txz
/var/cache/pkg/libinotify-20180201_2.txz
/var/cache/pkg/jna-5.7.0~a9bc6d0e64.txz
/var/cache/pkg/alsa-lib-1.1.2_2.txz
The cleanup will free 152 MiB
Deleting files: .......... done
All done
Update repository...
Updating OPNsense repository catalogue...
Fetching meta.conf: . done
Fetching packagesite.txz: .......... done
Processing entries: .......... done
OPNsense repository update completed. 727 packages processed.
Updating SunnyValley repository catalogue...
Fetching meta.conf: . done
Fetching packagesite.txz: .. done
Processing entries: .... done
SunnyValley repository update completed. 31 packages processed.
All repositories are up to date.
Installing database...
Updating OPNsense repository catalogue...
OPNsense repository is up to date.
Updating SunnyValley repository catalogue...
SunnyValley repository is up to date.
All repositories are up to date.
The following 3 package(s) will be affected (of 0 checked):
New packages to be INSTALLED:
boost-libs: 1.72.0_3 [OPNsense]
mongodb40: 4.0.21 [SunnyValley]
snappy: 1.1.8 [OPNsense]
Number of packages to be installed: 3
The process will require 272 MiB more space.
39 MiB to be downloaded.
[1/3] Fetching mongodb40-4.0.21.txz: .......... done
[2/3] Fetching boost-libs-1.72.0_3.txz: .......... done
[3/3] Fetching snappy-1.1.8.txz: ... done
Checking integrity... done (0 conflicting)
[1/3] Installing boost-libs-1.72.0_3...
[1/3] Extracting boost-libs-1.72.0_3: .......... done
[2/3] Installing snappy-1.1.8...
[2/3] Extracting snappy-1.1.8: .......... done
[3/3] Installing mongodb40-4.0.21...
===> Creating groups.
Creating group 'mongodb' with gid '922'.
===> Creating users
Creating user 'mongodb' with uid '922'.
===> Creating homedir(s)
[3/3] Extracting mongodb40-4.0.21: .......... done
=====
Message from boost-libs-1.72.0_3:
--
You have built the Boost library with thread support.
Don't forget to add -pthread to your linker options when
linking your code.
Installing Python Mongodb module...
Updating OPNsense repository catalogue...
OPNsense repository is up to date.
Updating SunnyValley repository catalogue...
SunnyValley repository is up to date.
All repositories are up to date.
The following 1 package(s) will be affected (of 0 checked):
New packages to be INSTALLED:
py37-pymongo: 3.11.3_1 [OPNsense]
Number of packages to be installed: 1
The process will require 3 MiB more space.
448 KiB to be downloaded.
[1/1] Fetching py37-pymongo-3.11.3_1.txz: .......... done
Checking integrity... done (0 conflicting)
[1/1] Installing py37-pymongo-3.11.3_1...
[1/1] Extracting py37-pymongo-3.11.3_1: .......... done
Installing Php Mongodb module...
php73-pecl-mongodb module...
Updating OPNsense repository catalogue...
OPNsense repository is up to date.
Updating SunnyValley repository catalogue...
SunnyValley repository is up to date.
All repositories are up to date.
The following 1 package(s) will be affected (of 0 checked):
New packages to be INSTALLED:
php73-pecl-mongodb: 1.9.0 [OPNsense]
Number of packages to be installed: 1
The process will require 2 MiB more space.
478 KiB to be downloaded.
[1/1] Fetching php73-pecl-mongodb-1.9.0.txz: .......... done
Checking integrity... done (0 conflicting)
[1/1] Installing php73-pecl-mongodb-1.9.0...
[1/1] Extracting php73-pecl-mongodb-1.9.0: .......... done
=====
Message from php73-pecl-mongodb-1.9.0:
--
This file has been added to automatically load the installed extension:
/usr/local/etc/php/ext-30-mongodb.ini
Restart webgui ....
OK
Starting mongodb service...
Starting mongod.
Setting mongodb autostart...
Create Indexes...
***DONE***