Sponsored Content
Full Discussion: losing /usr/bin directory
Operating Systems AIX losing /usr/bin directory Post 302321742 by otheus on Tuesday 2nd of June 2009 04:03:14 AM
Old 06-02-2009
Output the /var/spool/cron/crontabs/root file here, please, as this is the only one to have been changed recently. (It's possible to modify a file and then to reset it's modification date, but let's try first for the obvious.)

Also, here are the processes I am most worried about. There may be nothing to them, but it might be a good idea to investigate them further. If it will do no harm, kill them (the -ksh should be killed with -1 signal):
Code:
    root 1085514  389334   0 11:30:23 pts/10  0:00 -ksh
ssfactor  372750  950456   0 10:54:00  pts/7  0:00 wsmenu.4ge wsmenu
ssfactor 1024094       1 112 06:39:53      - 290:08 wseinvce.4ge wsrprtiv MENU:
    root  315558  254088   0   May 06      -  2:34 /usr/bin/perl /usr/factor/r

These are probably harmless, but I don't know enough about AIX to be sure
Code:
    root  237684  106644   0   May 06      -  0:05 /usr/sbin/aixmibd
    root  151688  106644   0   May 06      -  0:00 /usr/sbin/biod 6
    root  233586  106644   0   May 06      -  0:00 /usr/sbin/hostmibd
    root  163968  106644   0   May 06      -  0:00 /usr/sbin/muxatmd
    root  290968  106644   0   May 06      -  0:00 /usr/sbin/writesrv
    root  262276       1   0   May 06      - 14:39 /usr/bin/xmwlm -L
    root  168056       1   0   May 06      -  0:00 /usr/ccs/bin/shlap64
    root  118874       1   0   May 06      -  0:00 /usr/lib/errdemon
    root  106644       1   0   May 06      -  0:00 /usr/sbin/srcmstr
    root  286878       1   0   May 06      -  0:00 /usr/sbin/uprintfd

 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

/bin/sh: /usr/bin/vi: No such file or directory when doing crontab

I just set up an ftp server with Red Hat 5.2. I am doing the work, I'm baby stepping, but it seems like every step I get stuck. Currently, I'm trying to set up a crontab job, but I'm getting the following message: /bin/sh: /usr/bin/vi: No such file or directory. I see that vi exists in /bin/vi,... (3 Replies)
Discussion started by: kwalter
3 Replies

2. UNIX for Dummies Questions & Answers

Difference between /bin, /usr/bin, /sbin ?

Hi All, Can somebody tell me the difference between /bin, /usr/bin, /sbin ? Thanx in advance, Saneesh Joseph (3 Replies)
Discussion started by: saneeshjose
3 Replies

3. Solaris

How do I link ld in /usr/ucb/ to /usr/ccs/bin?

Hi all, below is the problem details: ora10g@CNORACLE1>which ld /usr/ucb/ld ora10g@CNORACLE1>cd /usr/ccs/bin ora10g@CNORACLE1>ln -s /usr/ucb/ld ld ln: cannot create ld: File exists ora10g@CNORACLE1> how to link it to /usr/ccs/bin? (6 Replies)
Discussion started by: SmartAntz
6 Replies

4. UNIX for Advanced & Expert Users

#!/usr/bin/env : perl no such file or directory

hi i have some perl scripts with shebang line as (#! /usr/bin/env perl ) instead of actual absolute path of perl ( i know why its that way ) everything works fine from command line , the problem is when i am trying to run those scripts from web ( local web tool ) it throws error as /usr/bin/env :... (6 Replies)
Discussion started by: zedex
6 Replies

5. UNIX for Dummies Questions & Answers

Alias /usr/bin to /bin in profile

Hi! All the basic linux commands, ie. echo, find, etc, are located in /bin. I have a couple of programs that have these commands pointed towards /usr/bin, ie, /usr/bin/echo (even though the actual 'echo' command is in /bin). How can I alias or redirect or link the /usr/bin to /bin just for this... (6 Replies)
Discussion started by: dancerat
6 Replies

6. OS X (Apple)

When to use /Users/m/bin instead of /usr/local/bin (& whats the diff?)?

Q1. I understand that /usr/local/bin means I can install/uninstall stuff in here and have any chance of messing up my original system files or effecting any other users. I created this directory myself. But what about the directory I didn't create, namely /Users/m/bin? How is that directory... (1 Reply)
Discussion started by: michellepace
1 Replies

7. Solaris

What is the difference between xpg4/bin and usr/bin?

Hi Experts, I found that the same commands(sort, du, df, find, grep etc.) exists in both dir. What is the difference to use them? i.e: to use xpg4/bin/grep and usr/bin/grep My OS version is SunOS 5.10 Regards, Saps (7 Replies)
Discussion started by: saps19
7 Replies

8. BSD

FreeBSD: /usr/bin/ld not looking in /usr/local/lib

I'm not sure if this is the default behavior for the ld command, but it does not seem to be looking in /usr/local/lib for shared libraries. I was trying to compile the latest version of Kanatest from svn. The autorgen.sh script seems to exit without too much trouble: $ ./autogen.sh checking... (2 Replies)
Discussion started by: AntumDeluge
2 Replies

9. Shell Programming and Scripting

Getting error: /usr/bin/env: ruby: No such file or directory

Hi, I installed ruby using rvm with root user on Linux. Now i m trying the below command as a non root user with sudo privileges. sudo /usr/local/rvm/rubies/ruby-2.2.5/bin/gem install passenger I get the below error: I had even reset the path for both gem as well as ruby as you... (8 Replies)
Discussion started by: mohtashims
8 Replies
CONSOLEHELPER(8)					      System Manager's Manual						  CONSOLEHELPER(8)

NAME
consolehelper - A wrapper that helps console users run system programs SYNOPSIS
progname [ options ] DESCRIPTION
consolehelper is a tool that makes it easy for console users to run system programs, doing authentication via PAM (which can be set up to trust all console users or to ask for a password at the system administrator's discretion). When possible, the authentication is done graphically; otherwise, it is done within the text console from which consolehelper was started. It is intended to be completely transparent. This means that the user will never run the consolehelper program directly. Instead, pro- grams like /sbin/shutdown are paired with a link from /usr/bin/shutdown to /usr/bin/consolehelper. Then when non-root users (specifically, users without /sbin in their path, or /sbin after /usr/bin) call the "shutdown" program, consolehelper will be invoked to authenticate the action and then invoke /sbin/shutdown. (consolehelper itself has no priviledges; it calls the userhelper(8) program do the real work.) consolehelper requires that a PAM configuration for every managed program exist. So to make /sbin/foo or /usr/sbin/foo managed, you need to create a link from /usr/bin/foo to /usr/bin/consolehelper and create the file /etc/pam.d/foo, normally using the pam_console(8) PAM mod- ule. OPTIONS
This program has no command line options of its own; it passes all command line options on to the program it is calling. SEE ALSO
userhelper(8) AUTHOR
Michael K. Johnson <johnsonm@redhat.com> Red Hat Software 18 March 1999 CONSOLEHELPER(8)
All times are GMT -4. The time now is 09:38 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy