Ubuntu :: Determine Which Process Has /dev/ttyUSB0 Port Open?

Jan 16, 2011

I'm developing a serial port application under Lazarus using the SunaSer code library.

The application reports an error indicating that "the Port is opened by another process".

What command can I execute in a Terminal session to determine what process has the USB-serial port open?

View 4 Replies


ADVERTISEMENT

General :: How To Determine What Process Has A File Open

Jan 19, 2010

I'd like to determine what process has ownership of a lock-file. The lock-files are simply a file with a specific name that has been created.So, how can I determine what process has a particular file open in Linux? Preferably a one-liner type or a particular Linux tool solution would be optimal.

View 3 Replies View Related

OpenSUSE :: Set RxtxSerial - Java App Has Access To A Serial Port (via SiLabs CP210x Driver, Port /dev/ttyUSB0)

May 10, 2010

I'm trying to set rxtxSerial to work so a Java app has access to a serial port (via SiLabs CP210x driver, port /dev/ttyUSB0). When I use update-alternatives --config java, there are 3 alternatives which provide `java'. I have tried openJDK and Sun. Both fail but with completely different messages.

[Code].....

View 9 Replies View Related

Ubuntu Networking :: Wvdial - Cannot Open TtyUSB0 No File Or Direcotory?

Jan 23, 2011

im running a wireless modem under ubuntu (10.10) now, when i first plug in the modem, and run the command wvdial everything is OK. BUT if i plug out the modem and try to plug in again and run the 'wvdial' command i can the error:

Code:
"wvdial: cannot open ttyUSB0: no such file or directory.

View 6 Replies View Related

Networking :: How To Open A Port - Failed To Open The TCP Port Number In The License

Jun 20, 2009

I am running lmgrd on CentOS5, but it returns Failed to open the TCP port number in the license. The port is 27000, how can I open that port?

View 5 Replies View Related

Ubuntu Networking :: How To Determine Which Port Needs Opening

Aug 2, 2011

I am unable to open my webmail on my small business computers (all ubuntu 10.04 LTS using a Billion router) but am able to access it from my home computers (also ubuntu 10.04 LTS but with a different router).

The most likely problem is obviously that the firewall in the router is blocking access. I know how to open ports in the router's firewall, but how do I determine which port or ports need to be opened?

I have asked my email provider, and that have replied that the port can vary and I need to get my technical support people to do it. Obviously they struggle to understand the concept of 'small business"!

View 5 Replies View Related

General :: Determine What Files Are Being Accessed By A Process

Mar 23, 2010

How would I find out all the files a particular process accesses?

I am using Ubuntu 9.04.

View 1 Replies View Related

General :: How To Determine What File Tripped Up Tar Process

Feb 8, 2010

I am writing, well actually enhancing, a script to do a daily backup of important data on my PC to a second hard drive.I wish to tar my home directory to a single file - and will probably use gzip as well.So I decided to work out the correct tar syntax in a terminal first - here is what happened.I opened a terminal window.I cd to a directory not part of my home directory.I issued the command..Quote: tar -cvf mytar.tar /home/ken tar processed a bunch of files, the last being .netrc.I examined the tar file and it contains .netrc.The contents of .netrc are correct.I scrolled back through the list of files in the terminal window and do not see any error messages.I guess the question is... how do I determine what file tripped up the tar process?

View 8 Replies View Related

General :: Determine Which Application Is Using Port 8080?

May 18, 2010

Finding the process that is using a certain port in linux

I have an Ubuntu Server setup, where I'm trying to set up a daemon that wants to have access to port 8080. When I run the command, the error message says it's being used by another process. But which one, it doesn't say. How can I go about finding which program uses this port?

View 1 Replies View Related

General :: Determine What Program Is Listening To Some Port , TCP , UDP In System?

Jan 21, 2010

Is there a way to determine what program is listening to some port, TCP or UDP, in Linux?

View 4 Replies View Related

Fedora :: Determine Which Process Belongs To Which Window In System Monitor?

Feb 26, 2011

I have Fedora Linux 13 64bit system. I use System Monitor to check which process is taking how much memory and cpu. Normally I have dozens of Chrome and Firefox windows open. The Processes tab shows which process is taking how much cpu/ram resources but I unfortunately there is no option like right click and make the window active that matches the PID (the one process that I have currently highlighted). Usually there is a chrome process taking up 30 or 40 percent of CPU while dozens other chrome processes taking much less cpu. I must determine which chrome window ( or any application which has multiple instances running) is taking that much CPU time. So can some one help me to solve this problem?

View 1 Replies View Related

General :: Fedora - Determine Which Process Belongs To Which Window In Monitor?

Feb 26, 2011

I have Fedora Linux 13 64bit system. I use System Monitor to check which process is taking how much memory and cpu. Normally I have dozens of Chrome and Firefox windows open. The Processes tab shows which process is taking how much cpu/ram resources but I unfortunately there is no option like right click and make the window active that matches the PID (the one process that I have currently highlighted). Usually there is a chrome process taking up 30 or 40 percent of CPU while dozens other chrome processes taking much less cpu. I must determine which chrome window ( or any application which has multiple instances running) is taking that much CPU time.

View 1 Replies View Related

General :: Determine On System Where Process Substitution Creates FIFO Files?

Aug 16, 2011

I'm writing a C++ application and need to work with process substitution in the Bash shell. I'm trying to find a way to validate the paths passed as arguments to my program, some of which point to FIFO files created by process substitution.

Is there a shell (or C++) way that I can check if the system creates these files in /dev/fd or if they are created somewhere else?

View 2 Replies View Related

Server :: If Forward A Port In Iptables, Does The Port Have To Be Open On The Firewall

Aug 5, 2009

If I forward port 80 to port 3128 for squid with an iptable rule, does port 3128 have to be open on the firewall or is this all routed behind the firewall?

View 4 Replies View Related

Ubuntu :: Determine The Time Of Last Reboot And Open All Sessions?

Sep 1, 2011

Is there a way to determine the time of last reboot and open all sessions and/or files that were open with a BASH script?

Oh also on this topic, does anyone know where a good repository of BASH, PERL and other Linux System Scripts are?

View 3 Replies View Related

Server :: Open SMTP Port On Router (which Connects LAN To Internet) Also Needs To Open?

Apr 14, 2010

I have sendmail running on my centOS 4.6. My lamp server also runs on it. I want to send mail through php mail function. when i execute php page, which fires the mail function, it takes so much long tim1 say even 1 minute, and at last displays that message sent successfully. Suppose, destination address is [URL].... I did not get any mail there. My server is running in LAN. I checked the status of sendmail, it shows me that it ios running. when i issue "nmap localhost" it shows me that SMTP port 25 is open, but when i issue "nmap myserver" (192.168.1.20 myserver ( written in hostfile)), it does not show that SMTP port is open.

I checked the /var/log/maillog, one person in my previous post advice me to see that. There it shows that message is accepted for delivery...but i do not get any mail in my destination, even not in spam folder. One more confusion is that, in my case my server is in LAN and if I am at all enable to open the SMTP port on it, does i need to open SMTP port on my router (which connects my LAN to internet) also needs to open? I think no, because SMTP is application layer protocol, it will wrap my mail in IP packet, which router just need to forward. am i right?

View 1 Replies View Related

CentOS 5 :: Open Port 7001 But It Doesn't Show That Its Open?

Sep 26, 2010

Ok For some reason I open my ports in security and firewall. I open ssh and other ports and port 7001 for example but when I go to check to see if they are open or try to connect to them. It shows that they are still closed. I am using - [URL] Also yes my ports are open on my router. I know my router works fine with opening ports because I have shoutcast setup on another computer with xp that is currently running. I am willing to pay for who can ever get this fixed for me...

I open the ports in graphical mode.

View 15 Replies View Related

Ubuntu Security :: Mystery Process Keeps Using Trying Port 1900

Mar 19, 2010

According to firestarter, there's some process on my machine that keeps trying to access port 1900, every two minutes exactly. I don't know what it is. I've tried netstat -tnlp, but it doesn't show up. Presumably I have to do it at the exact second the process is trying to access the port. Does anyone know of a bash subroutine that will keep doing netstat -pl until it finds a process on port 1900?

View 4 Replies View Related

Ubuntu :: Any Command Line Tools That Can Tell What Process Is Using Ethernet Port?

Jul 14, 2011

The download bar on my conky overlay (${downspeedgraph eth0}) seems to be maxed out constantly. This is when everything should be idle with no downloads happening in the background (at least non that I know about).Are there any command line tools that can tell me what process is using my ethernet port?

View 7 Replies View Related

General :: Kill Process Hogging Tcp Port?

Feb 25, 2010

I just bought an SSL cert and installed on my Apache server. When I restarted something went wrong so I had to change some config stuff and when I tried to restart apache for the second time I got this:

$ sudo apache2ctl start
(98)Address already in use: make_sock: could not bind to address [::]:80
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs

Problem is that apache isn't running. For some reason there is something hogging my tcp 80 port, preventing apache from starting properly. How do I fix this? Is there a way to "free" a port?

View 1 Replies View Related

Fedora :: Make Apache And Another Process Share Port 80?

Nov 11, 2009

I have made out a little software as to talk with my friends through network . there are two parts : one is listening to receive messages ,the other will send messages. but the firewall is bothering .so I want to know if I can make my software listen to port 80 while apache is also running .

View 11 Replies View Related

General :: Http - Find Out Which Process Is Listening On A Port?

Mar 16, 2011

How can I find out which process is listening on a port on linux?

View 5 Replies View Related

General :: How To Find (and Kill) Process Running On A Certain Port

Aug 12, 2011

Possible Duplicate: Finding the process that is using a certain port in Linux I'm using Ubuntu Linux 11.04. How do I write a shell script expression that will find the process running on port 4444 and then kill the process?

View 4 Replies View Related

Ubuntu :: Write/Read On /dev/ttyUSB0 Using C Or C++

May 31, 2011

Recently i acquired an electroencephalograph (EEG) and started to experiment with it, and i need some way to write or send a couple of Hex numbers to the EEG so it will start working, and then to save the data on text file, or at the very least see the output on the terminal using C or C++, i found some programs around the forums but none seem to work properly and more often than not, The EEG is recognized as /dev/ttyUSB0 has a baud rate of 921600.

View 2 Replies View Related

Server :: TtyUSB0 Not Showing Up In /dev?

Aug 20, 2010

RHEL 4.4Kern 2.6.9-42.ELsmpAttached USB-device, kernel output (dmesg):

Code:
usb 3-2: new full speed USB device using address 2
drivers/usb/serial/usb-serial.c: USB Serial support registered for Generic

[code]...

View 1 Replies View Related

Hardware :: Cannot Access /dev/ttyUSB0 For Garmin Gps

Nov 2, 2010

I need to acces my garmin 305 to use Viking or Gpsman. I can't access the gps, :cannot open device.

dmesg:
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
usbcore: registered new interface driver usbserial_generic

[Code].....

I've found My Tourbook which works really well with my garmin forerunner 305, just run it as root.

View 4 Replies View Related

Software :: Using Piklab And Trying To Burn Through /dev/ttyUSB0?

Feb 3, 2011

How can I program my PIC micro controller through the USB port using Piklab or Ktechlab IDE? I have already installed gputils,SDCC and Piklab!!

how to interface with the PIC boards ICSP through the USB port??( Db9 is not a choice for me as I have a Db15 pin in my laptop hence the need to work thru the USB)

I have been thinking of a USB to Serial along with a serial to ICSP converter but it turns out to be very slow!

View 4 Replies View Related

Ubuntu :: What Is Child Process - GE Cannot Open

Aug 4, 2010

what is child process - GE cannot open

View 1 Replies View Related

Software :: Add Group Uucp Permanently To /dev/ttyUSB0

Apr 8, 2010

I currently have something like

Code:
crw-rw---- 1 root dialout 188, 0 Nov 14 15:00 /dev/ttyUSB0
How can I get permanently
Code:
crw-rw---- 1 root uucp,dialout 188, 0 Nov 14 15:00 /dev/ttyUSB0

My home banking software needs uucp there...

View 11 Replies View Related

Ubuntu Networking :: Cannot Open Port 80

May 23, 2010

I just installed apache. I didn't change the configuration files at all except add Quote: # added servername to avoid the could not determine fqdn error ServerName myname.homelinux.org to apache2.conf. Apache is working locally (I get the `it's working' screen at [URL]). However, I cannot access my computer from an external computer by going to [URL], which is equivalent to [URL] -- [IP address changed slightly for privacy] Here is a screenshot to my router settings. I disabled the filter for port 80 on the router. here shouldn't be a firewall, unless it's automatically installed with ubuntu 10.4. (sudo ufw status says `inactive'.)

I checked my ports from [URL] and indeed port 22 is open (ssh-ing into my computer externally is not a problem), whereas port 80 is closed. What step in opening up port 80 am I missing? (I also made sure my ISP isn't blocking port 80.)

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved