Solved

uustat -p on linux not showing any processes

Posted on 2011-03-07
5
680 Views
Last Modified: 2012-06-27
Trying to port our production environment from SCO to linux. One key functions of our production server is our modem bank for accessing servers via dialup. I have uucp setup and I am able to make outbound calls without an issue, but need to be able to modify our script to detect if someone is already dialed into a particular server. On SCO we used uustat -p to check the modem number dialed, and the username to display on the screen if another user tried dialing the same number.

Without completely rewriting our script and the uucp locking system, any ideas how to get uustat working?
0
Comment
Question by:redhatmj
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 68

Assisted Solution

by:woolmilkporc
woolmilkporc earned 500 total points
ID: 35058121
Did you try

uustat -q

or

uustat -s systemname

or

uustat -m

?
0
 

Author Comment

by:redhatmj
ID: 35058191
uustat -q shows nothing (same as uustat -p)
uustat -m returns the following error:
uustat: opendir (.Status): No such file or directory
0
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 35058521
Seems that uucp is not correctly installed.

The directories under /var/spool/uucp, like .Status must exist!

wmp
0
 

Accepted Solution

by:
redhatmj earned 0 total points
ID: 35058540
Had to add the uucp lockdir to /etc/uucp/config and it's working now.
0
 

Author Closing Comment

by:redhatmj
ID: 35115248
Had to add the uucp lockdir to /etc/uucp/config and it's working now
0

Featured Post

Learn by Doing. Anytime. Anywhere.

Do you like to learn by doing?
Our labs and exercises give you the chance to do just that: Learn by performing actions on real environments.

Hands-on, scenario-based labs give you experience on real environments provided by us so you don't have to worry about breaking anything.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article you will get to know about pros and cons of storage drives HDD, SSD and SSHD.
I use more than 1 computer in my office for various reasons. Multiple keyboards and mice take up more than just extra space, they make working a little more complicated. Using one mouse and keyboard for all of my computers makes life easier. This co…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

624 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question