• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1340
  • Last Modified:

There are running jobs

// AIX 5.1.4
When I do newgrp - , the prompt hangs with "There are running jobs" message.
If I do ctrl + c, it releases the hung screen and shows the correct newgrp I was trying to newgrp to.
When I exit from the prompt to another, it always shows "There are running jobs".

How do you find the cause and 'running jobs' and fix?

thx much
0
ethanjohnsons
Asked:
ethanjohnsons
  • 2
  • 2
1 Solution
 
omarfaridCommented:
You have commands that you run in the background.

e.g.

your run

command &

The & will let the job run in the background and return shell prompt to you to run other commands.

If you are running ksh / bash / csh / tsch then you may use the command jobs to see background jobs
You may stop background jobs with kill -9 %jobnumber.

Else, you may use ps to see running processes or jobs.

0
 
ethanjohnsonsAuthor Commented:
The thing is I didn't run cmd & in a few days.
What I am seeing is d_tp account is not getting the right privileges as to it returns permission error, 0403-006 Execute permission denied, when I run some commands I used to able to run.

any thought?

thx
0
 
omarfaridCommented:
What shell do you use?

Were you able to run jobs command?

Any changes to your account?

can you check if there are jobs that run when you login (could be in .profile or .login)?
0
 
ethanjohnsonsAuthor Commented:
The issue was caused by app.
0

Featured Post

2018 Annual Membership Survey

Here at Experts Exchange, we strive to give members the best experience. Help us improve the site by taking this survey today! (Bonus: Be entered to win a great tech prize for participating!)

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now