Operating System - HP-UX
1833024 Members
2373 Online
110049 Solutions
New Discussion

wall message not reaching to all the users

 
T G Manikandan
Honored Contributor

wall message not reaching to all the users

Hello,
Whenever I send a wall message to the users it is not sent to all the users.
It gives the following

Cannot send to inrltt
open: Resource temporarily unavailable
Cannot send to axfrtt
open: Resource temporarily unavailable

Thanks
G Manikandan

4 REPLIES 4
Wilfred Chau_1
Respected Contributor

Re: wall message not reaching to all the users

Those 2 user must have used "mesg" to disallow others to write to their terminal.
Jayesh shah
Frequent Advisor

Re: wall message not reaching to all the users

Hi,

I assume you are superuser on the system.
This would mean you have appropriate privileges to override any protections the users may have invoked using 'mesg n'.

The problem lies in the open call failing.

Wall tries to do an open on
/dev/tty* device files.
Check the permission of these files.

For eg:
On my system there is a dedicated tty for a particular user and no wall meesages from me would reach him:
=========================
crw------- 2 vsagar users 17 0x00001d Feb 21 2001 /dev/ttyqd
========================

T. M. Louah
Esteemed Contributor

Re: wall message not reaching to all the users

.. there may be some zombie logins
Check this discussion:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xe2dd35067c18d6118ff40090279cd0f9,00.html

.. also verify that PHCO_21596 PhNE_21822 & their Dependencies are in CONFIGURED State on ur system:
# swlist -l fileset -a state |grep -v \# |grep -v config

G`d Luck
T??
Remember PAP !(a.k.a. Please Assign Points) !
Little learning is dangerous!
harry d brown jr
Honored Contributor

Re: wall message not reaching to all the users

G,

The "wall" command will send messages to everyone with a tty session, and as stated if you have zombies or "phantom users", you'll receive that "warning/error" message. Try rebuilding the wtmp and utmp:

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x5fe0ff77de2bd611abd50090277a778c,00.html

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xf47250011d20d6118ff40090279cd0f9,00.html

then try your "wall" again.

Another issue, is how do you send messages to users that aren't even logged in, ie applications that are client<->server?? Unfortunately you don't any options, but to ignore them.

live free or die
harry
Live Free or Die