ttymon cannot create log file


 
Thread Tools Search this Thread
Operating Systems Solaris ttymon cannot create log file
# 1  
Old 08-30-2010
ttymon cannot create log file

Hi all.

My box run Solaris 10. When I reboot the machine I have the message " ttymon cannot create logfile".
Anyone know that's going on?
How to prevent this message?

Thanks in advance.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Problem - create log file

I need to create shell script (check system ) to display the output to the console and write these output to a log file at the same time. My shell script is like that Main() { .... .... } MainIt takes about 30s to display all the output to the console. Then I put this command to the... (4 Replies)
Discussion started by: bobochacha29
4 Replies

2. Shell Programming and Scripting

How to create a log file that simply shows the name of a file and what directory it was moved to.

Newbie...Thank you for your help. I am creating my first script that simply generates subdirectories to organize video, music, and text files within those subdirectories from my current working directory. PROBLEM: I am trying to write a log file that contains, for each file, the original file... (0 Replies)
Discussion started by: BartleDoo
0 Replies

3. Shell Programming and Scripting

Create Log File in ksh itself

Hi, I want to create a log file for a running ksh , and the log file absolute path I want to give in ksh itself. To elaborate this - Say I have a ksh - timer.ksh and I want to create a log timer_log.log when I run, to trace this. I am aware of the fact that this can be done using redirection... (4 Replies)
Discussion started by: vinay4889
4 Replies

4. Shell Programming and Scripting

How to create a log file of a script?

hi, How to create a log file of a script. Like spool does . I want to create a log file of whatever the script is doing step wise. like -xvf does or something better then that. thanks ... (3 Replies)
Discussion started by: madfox
3 Replies

5. Shell Programming and Scripting

Rename a log file to old, then create a new log file.

Hi all, I have about 15 directories all with exactly the same structure. I have a file in each of them called log.txt. This file sits in /home/ftp/*usernamehere*/ftptransfer/log/ Username here is the only change in each of the 15 directories. I want to create a SIMPLE shell script that... (5 Replies)
Discussion started by: mokachoka
5 Replies

6. Shell Programming and Scripting

Create log file in NFS via SSH

OS: Sun Solaris ver 9 From server1: as root userid ssh server2 /export/home/user1/.ssh/s2.sh logtest=/export/home/user1/test.log log1=/u03/user2/comn/admin/log/ uname -a >> $logtest --> log file able to generate uname -a >> $log1 --> not able to as /u03/user2/comn/admin/log is NFS from... (3 Replies)
Discussion started by: KhawHL
3 Replies

7. Shell Programming and Scripting

permissions to create log file from script

hi all, have a script which i am using to generate a log file. i use "touch out.log" command to create the file and later on i want to echo lines to this file. for some reason it keeps giving me this error when i try and create the file ; touch: out.log cannot create i have... (3 Replies)
Discussion started by: cesarNZ
3 Replies

8. UNIX for Dummies Questions & Answers

create log file

Accept command line input of a directory keep a .logfile of the contents of the directory inputed if a .logfile does not exist create one for the file that is missing a .logfile and create a message stating .logfile was updated if all .logfiles are there display message stating all files are... (1 Reply)
Discussion started by: knc9233
1 Replies

9. UNIX for Dummies Questions & Answers

Need to create .bat file to store log file

Hi guys. Can someone point me to a resource that explains this? Basically these are websphere logs that need to be stored daily, I'm on sunOS 5.8. Each new file stored could have the current time as its filename. The script could be run on a cron which I can set up. I'm just not sure how to write... (0 Replies)
Discussion started by: dirtybrown
0 Replies

10. IP Networking

ttymon error and console login

I have a Solaris 8 server and when I try to log into the console, after I enter the username and password, I get the message "ttymon cannot allocate controlling tty on /dev/console. There may be another session active on this port". Then when I try to log in again on the console or any of... (6 Replies)
Discussion started by: csross
6 Replies
Login or Register to Ask a Question
ttyadm(1M)                                                System Administration Commands                                                ttyadm(1M)

NAME
ttyadm - format and output port monitor-specific information SYNOPSIS
/usr/sbin/ttyadm [-b] [-c] [-h] [-I] [-r count] [-i msg] [-m modules] [-p prompt] [-t timeout] [-S y | n] [-T termtype] -d device -l tty- label -s service /usr/sbin/ttyadm -V DESCRIPTION
The ttyadm command is an administrative command that formats ttymon(1M)-specific information and writes it to standard output. The Service Access Facility (SAF) requires each port monitor to provide such a command. Note that the port monitor administrative file is updated by the Service Access Controller's administrative commands, sacadm(1M) and pmadm(1M). ttyadm provides a means of presenting formatted port monitor-specific (ttymon-specific) data to these commands. OPTIONS
The following options are supported: -b Set the ``bi-directional port'' flag. When this flag is set, the line can be used in both directions. ttymon will allow users to connect to the service associated with the port, but if the port is free, uucico(1M), cu(1C), or ct(1C) can use it for dialing out. -c Set the connect-on-carrier flag for the port. If the -c flag is set, ttymon will invoke the port's associated service imme- diately when a connect indication is received (that is, no prompt is printed and no baud-rate searching is done). -d device device is the full pathname of the device file for the TTY port. -h Set the hangup flag for the port. If the -h flag is not set, ttymon will force a hangup on the line by setting the speed to 0 before setting the speed to the default or specified value. -i message Specify the inactive (disabled) response message. This message will be sent to the TTY port if the port is disabled or the ttymon monitoring the port is disabled. -I Initialize only. If the -I option is used, ttymon will invoke the service only once. This can be used to configure a par- ticular device without actually monitoring it, as with software carrier. -l ttylabel Specify which ttylabel in the /etc/ttydefs file to use as the starting point when searching for the proper baud rate. -m modules Specify a list of pushable STREAMS modules. The modules will be pushed in the order in which they are specified before the service is invoked. modules must be a comma-separated list of modules, with no white space included. Any modules currently on the stream will be popped before these modules are pushed. -p prompt Specify the prompt message, for example, ``login:''. -r count When the -r option is invoked, ttymon will wait until it receives data from the port before it displays a prompt. If count is 0, ttymon will wait until it receives any character. If count is greater than 0, ttymon will wait until count newlines have been received. -s service service is the full pathname of the service to be invoked when a connection request is received. If arguments are required, the command and its arguments must be enclosed in double quotes (" "). -S y|n Set the software carrier value. y will turn software carrier on. n will turn software carrier off. -t timeout Specify that ttymon should close a port if the open on the port succeeds, and no input data is received in timeout seconds. -T termtype Set the terminal type. The TERM environment variable will be set to termtype. -V Display the version number of the current /usr/lib/saf/ttymon command. OUTPUT
If successful, ttyadm will generate the requested information, write it to standard output, and exit with a status of 0. If ttyadm is invoked with an invalid number of arguments or invalid arguments, or if an incomplete option is specified, an error message will be written to standard error and ttymon will exit with a non-zero status. FILES
/etc/ttydefs ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ SEE ALSO
ct(1C), cu(1C), pmadm(1M), sacadm(1M), ttymon(1M), uucico(1M), attributes(5) System Administration Guide: Basic Administration SunOS 5.10 14 Sep 1992 ttyadm(1M)