Koozali.org: home of the SME Server

BASH

Offline Mouse

  • 13
  • +0/-0
BASH
« 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

Offline bunkobugsy

  • *
  • 289
  • +4/-0
Re: BASH
« Reply #1 on: April 19, 2024, 12:36:57 PM »
https://wiki.koozali.org/Unjunkmgr#Uninstall

you might need to install then remove

Offline mmccarn

  • *
  • 2,647
  • +10/-0
Re: BASH
« Reply #2 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
#


Offline Mouse

  • 13
  • +0/-0
Re: BASH
« Reply #3 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


Offline ReetP

  • *
  • 3,853
  • +5/-0
Re: BASH
« Reply #4 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.
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation