Sponsored Content
Top Forums Programming PortInUse Exception in SerialDemo Post 302740103 by rkelly on Wednesday 5th of December 2012 02:02:56 PM
Old 12-05-2012
The problem is that I am not sure what's causing the issue. I can run my app fine when I am logged in as root but not when I am logged in as me.
I was really just running this as a test to see where the permissions issue is.
Apparently, I don't have access to something.

lsof returns nothing for /dev/tty1a

FYI. I did a fresh install of SCO and installed nothing but java. Still got the same error.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How to catch the exception

Dear friends, I am transferring some files to a windows system from Unix m/c thru FTP Script given below. echo "open $host quote USER $userid quote PASS $pwd $verbose $type cd $dir bin put $file close quit"|$ftp... (0 Replies)
Discussion started by: Vijayakumarpc
0 Replies

2. Linux

MMU exception

I hope to post in the right forum, otherwise I apologize for this. if a MMU exception is caused by a process which tries to access to other memory segment (out of its own address space) what the kernel does in this case ? maybe kernel kills the "bad" process ? (2 Replies)
Discussion started by: Puntino
2 Replies

3. Shell Programming and Scripting

Perl Exception - $!,$?,$@

Hi, I am trying to understand the significance of the special variables $!,$@ and $? in perl. I have a code block as follows: eval { Code Segment 1: #authenticating to the remote server $ftpobj -> login($username,$password) or die "Can't login to $remote_host"; ... (12 Replies)
Discussion started by: DILEEP410
12 Replies

4. Shell Programming and Scripting

Exception Handling

Hi, I have written a script to load csv files into a mysql database, however, i would like for the shell script to exit in the event of an error (missing file, load error etc.) - currently if an error is encountered the next statement is processed - This is how i am loading the csv scripts ... (5 Replies)
Discussion started by: bertpereira
5 Replies

5. Shell Programming and Scripting

Exception handling

Sometimes when I try to use curl to upload to an ftp server, I get the message: $curl -T file.wmv ftp.eu.filesonic.com --user user:password curl: (8) Got a 421 ftp-server response when 220 was expected How do I get the script to try again if I get the message curl: (8)? (2 Replies)
Discussion started by: locoroco
2 Replies

6. Programming

Exception Handling C++

Hello All, I have a question ....which I am totally confused about! If I have a fxn foo in a program which returns a logical value. But it has a posssiblity to throw some exception. Now my exception handler returns a value as a string stating why the exception occured. But my... (1 Reply)
Discussion started by: mind@work
1 Replies

7. Solaris

solaris 7 exception

Hi all, An application works well under 2.6 but under 7 it gives TEXT_IO exceptions. (Is_Open, Check_Is_Open, Get_Line procedures). Any idea? Regards (3 Replies)
Discussion started by: endoavour
3 Replies

8. Shell Programming and Scripting

Re: exception using AWK

I have following file: NAME=ora.DG1.svc TYPE=ora.service.type CARDINALITY_ID=1 TARGET=ONLINE STATE=ONLINE NAME=ora.orlene.DG2.svc TYPE=ora.service.type CARDINALITY_ID=1 TARGET=ONLINE STATE=OFFLINE NAME=ora.MN.acfs TYPE=ora.registry.acfs.type TARGET=ONLINE (4 Replies)
Discussion started by: rcc50886
4 Replies

9. SCO

Issue using SCO java SerialDemo

I recently installed the Java Communications API (v2.0Aa) on SCO and I'm having some issues running the SerialDemo application that comes with it. I can open a connection and send text from SCO to a toy windows app I wrote - that works fine. However, when I try and close the connection, I get... (2 Replies)
Discussion started by: jdsnatl
2 Replies

10. Shell Programming and Scripting

Monitor logs for exception and if exception come then sent an email

Hi Folks, please advise , I have logs generated on unix machine at location /ops/opt/aaa/bvg.log , now sometimes there come exception in these logs also, so I want to write such a script such that it should continuously monitor these logs and whenever any exception comes that is it try to find... (3 Replies)
Discussion started by: tuntun27272727
3 Replies
clsetup(1CL)						 Sun Cluster Maintenance Commands					      clsetup(1CL)

NAME
clsetup - configure Sun Cluster interactively SYNOPSIS
/usr/cluster/bin/clsetup -V /usr/cluster/bin/clsetup -? /usr/cluster/bin/clsetup [-f logfile] DESCRIPTION
The clsetup command provides the following configuration capabilities, depending on what state the cluster is in when you issue the com- mand. The user must be superuser to run this command. This command has no short form. o When you run the clsetup command at post-installation time, the command performs initial setup tasks, such as configuring quorum devices and resetting the installmode property. If you deselected automatic Quroum Configuration when you created the cluster using either scinstall or the cluster create command, then you must run the clsetup command immediately after the cluster has been installed. Ensure that all nodes have joined the cluster before you run the clsetup command and reset the installmode prop- erty. If you used automatic quorum configuration when you created the cluster, you do not need to run the clsetup command after clus- ter installation. The automatic quorum configuration feature also resets the installmode property of the cluster. You can issue this form of the clsetup command from any node in the cluster. o When you run the clsetup command during normal cluster operation, the scsetup command provides an interactive, menu-driven util- ity to perform cluster configuration tasks. The following are some of the cluster components which this utility administers: o Quorum o Resource groups o Data services o Cluster interconnect o Device groups and volumes o Private hostnames o New nodes o Other cluster properties You can issue this form of the clsetup command from any node in the cluster. o When you run the clsetup command from a node that is in noncluster mode, the clsetup command provides a menu-driven utility for changing and displaying the private IP address range. You must reboot all nodes into noncluster mode before you start this form of the clsetup utility. OPTIONS
The following options are supported: -? --help Prints help information for the command. -f logfile --file logfile Specifies the name of a log file to which commands can be logged. If this option is specified, most command sets generated by clsetup can br run and logged, or just logged, depending on user responses. -V --version Prints the version of the command set. No command line processing will be performed and the command will not enter into its interactive menu. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWsczu | +-----------------------------+-----------------------------+ |Interface Stability |Evolving | +-----------------------------+-----------------------------+ SEE ALSO
Intro(1CL), cldevicegroup(1CL), clnode(1CL), clquorum(1CL), clreslogicalhostname(1CL), clresourcegroup(1CL), clresourcetype(1CL), clressharedaddress(1CL), cluster(1CL), cltelemetryattribute(1CL) Sun Cluster 3.2 5 May 2006 clsetup(1CL)
All times are GMT -4. The time now is 07:24 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy