My Oracle Support Banner

Oracle Linux: Batch at(1) Job Fails To Run With Notice Email Error: "sh: line 34: `"}; export BASH_FUNC_module()'" (Doc ID 2419816.1)

Last updated on AUGUST 08, 2018

Applies to:

Linux OS - Version Oracle Linux 6.7 with Unbreakable Enterprise Kernel [2.6.39] and later
Oracle Cloud Infrastructure - Version N/A and later
Linux x86-64

Symptoms

Attempt to run a simple at(1) script:

$ echo 'ls >/tmp/a1.out' | at now
job 1234 at YYYY-MM-DD HH:MM

The user is returned an email status message:

Subject: Output from your job 471
To: user@localhost
Message-Id: <nnnnnnnn@localhost>
Date: Wed, 25 Apr 2018 19:22:00 +0530 (IST)
From: user@localhost (User Name)
sh: line 34: syntax error near unexpected token '=\(\)\ {\ \ eval\ \'/usr/bin/modulecmd\ bash\ \$\*\'"
"}'
sh: line 34: '"}; export BASH_FUNC_module()'

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.