Koozali.org: home of the SME Server

Contribs.org Forums => Koozali SME Server 10.x => Topic started by: Mouse on April 19, 2024, 12:22:04 PM

Title: BASH
Post by: Mouse on April 19, 2024, 12:22:04 PM
Hi

After upgrade from older SME to SME10 starts coming to admin e-mail such text:
/bin/bash: /usr/local/unjunkmgr/spamchanger.pl: No such file or directory

I understand that this is from some old contrib.

How to delete this from BASH
Title: Re: BASH
Post by: bunkobugsy on April 19, 2024, 12:36:57 PM
https://wiki.koozali.org/Unjunkmgr#Uninstall

you might need to install then remove
Title: Re: BASH
Post by: mmccarn on April 19, 2024, 01:32:14 PM
If the contrib is not installed you may need to use the audit tools to locate unexpected or leftover rpms, templates, or events:

Code: [Select]
# /sbin/e-smith/audittools/newrpms
Loaded plugins: fastestmirror, post-transaction-actions, priorities, smeserver
Loading mirror speeds from cached hostfile
 * base: mirror.facebook.net
 * smeaddons: mirror.canada.pialasse.com
 * smeos: mirror.canada.pialasse.com
 * smeupdates: mirror.canada.pialasse.com
 * updates: centos.mirror.constant.com
Extra Packages

(extra packages listed here)

#

Code: [Select]
# /sbin/e-smith/audittools/templates
/etc/e-smith/templates-custom/etc/systemd/system-preset/05config: MANUALLY_ADDED, ADDITION
/etc/e-smith/templates-custom/etc/systemd/system-preset/49-koozali.preset/99-wazuh-agent: MANUALLY_ADDED, ADDITION
/etc/e-smith/templates-custom/etc/wireguard/10interface: MANUALLY_ADDED, ADDITION
/etc/e-smith/templates-custom/etc/wireguard/wg0.conf/10interface: MANUALLY_ADDED, OVERRIDE
/etc/e-smith/templates-custom/usr/share/horde/config/conf.php/100ConfHordePHP: MANUALLY_ADDED, OVERRIDE
/etc/e-smith/templates/etc/httpd/conf/85HordeAccess-: MANUALLY_ADDED
#

 
Code: [Select]
# /sbin/e-smith/audittools/events
#

Title: Re: BASH
Post by: Mouse on July 29, 2024, 12:15:00 PM
Hi

Install /uninstall not helping

I coment out all from these contribs in Crontab.

At least not coming these e-mails

Title: Re: BASH
Post by: ReetP on July 29, 2024, 12:28:58 PM
Run the audit tools as shown above and post the output.

You probably have a template for /etc/crontab still there.