Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

uustat -p on linux not showing any processes

Posted on 2011-03-07
5
Medium Priority
?
689 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
  • 3
  • 2
5 Comments
 
LVL 68

Assisted Solution

by:woolmilkporc
woolmilkporc earned 2000 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

pc, laptop  monitor connection configurations
This article outlines why you need to choose a backup solution that protects your entire environment – including your VMware ESXi and Microsoft Hyper-V virtualization hosts – not just your virtual machines.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses
Course of the Month13 days, 15 hours left to enroll

581 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