The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
1answer
57 views

Unable to connect to running ssh-agent

I connect to a long-running screen session on Ubuntu 12.04 server, and use that as a jump box for other things I connect to. As a result, I want a long-running ssh-agent on that machine. To that end, ...
1
vote
1answer
34 views

Socket communiction in absence of wired network connection

I am facing a strange issue on my Ubuntu (12.04.3 64 bit). I have a couple of C programs communicating (let's call them sender and receiver programs) through sockets. These work as expected when the ...
0
votes
0answers
106 views

Sending and reading HTTP request through socket for USB connected ethernet device

I'm writing a simple C program to send a HTTP request to a USB modem device, which is loaded(cdc_ether) and has the 192.168.0.144 ip address with ethx interface up on a Ubuntu machine. I am able to ...
0
votes
1answer
22 views

How to know if socket server is working

I am creating a socket server using c, but the client will be an arduino board so i would like to know if there is a way to be testing my code without the client since the arduino is yet to arrive.
0
votes
1answer
128 views

How does 'telnet localhost' work?

I created a simple server program and connects a client to it using terminal. In the terminal window, the command telnet localhost [port number] was used. Can anyone please tell me how this command ...
0
votes
0answers
34 views

Socket program didn't recognize client connections

I'm coding a socket program in C++ on ubuntu server. It will grab packet from client, process, and send back new packet (both via port 23101). It works fine when I tested on local computer, but it ...
0
votes
0answers
74 views

Sockstat not working on 13.10 — anyone know a fix?

Fresh install of 13.10. I installed sockstat application. I went to Terminal and ran sudo watch sockstat Sockstat opens in terminal but there are no connections listed even though I know connections ...
2
votes
2answers
111 views

What are socket files?

Recently, I started using tmux; I'm trying to use the pair programming feature in that software. During the process a socket file was created. My question is: what are socket files, how am I to open ...
0
votes
2answers
180 views

determine if udp socket can be accessed via external client

I don't have access to company firewall server. but supposedly the port 1720 is open on my one ubuntu server. So I want to test it with netcat: sudo nc -ul 1720 The port is listening on the ...
0
votes
1answer
218 views

IndexError: list index out of range

#!/usr/bin/env python import httplib import sys #get http server ip http_server = sys.argv[0] #create a connection conn = httplib.HTTPConnection(http_server) while 1: cmd = raw_input('input ...
0
votes
0answers
100 views

apache error: cannot send comm socket (connection refused)

I use a tool that multicast video and audio in a multicast address. This tool have a control tool to remotely control streaming. I want to use these tools together in PHP program but I can't use ...
1
vote
1answer
713 views

how to stop socket with linux command?

how to stop socket in linux : socket ==> root@root:/home/aa/test# netstat | grep 3966 tcp 0 0 server:3966 server:57004 TIME_WAIT thank
2
votes
1answer
207 views

Pipe an infinite stream to internal loop?

I've seen a lot of things about redirecting stdout to a TCP socket, but no real example of how to do it in practice, specifically when the output stream generated by the first "command" never ends. ...
1
vote
1answer
539 views

Make an accesible Python server

I'm using the Python library socket to create a program, and I want to be able to allow my friends to connect from their homes. I have the rest of the program running and it works great on the ...
0
votes
1answer
335 views

pptpd not starting

I am working on Ubuntu 11.10. I am getting a error message while starting PPTP VPN server: pptpd[6779] :MGR: Couldn't create host socket pptpd[6779]: createHostSocket: Address already in use
0
votes
1answer
110 views

Having a script run constantly

I have both a ruby script and a qt executable. Both of them pretty much accomplish same task but listen on different ports. Basically, they are UDP socket servers listening for incoming connections on ...
9
votes
4answers
11k views

How to know what program is listening on a given port?

I suspect a program is listening on port 8000 on my machine. When I run the following command, I get that error: > python -m SimpleHTTPServer # Lots of python error socket.error: [Errno 98] ...
0
votes
1answer
224 views

Inter process Communication with asynchronous notification [closed]

I trying to set up two daemons, a client and a server, the server profiles some system statistics, and waits in a non blocking manner for a SIGIO to be received, upon which it will read the data sent ...
1
vote
1answer
136 views

How to use wired and wireless interfaces simultaneously?

When creating any socket, we don't provide a device name (like eth0, or wlan0). On my laptop, I have a wired interface (eth) and a wireless interface (wlan). I want to run one process on each ...
1
vote
1answer
8k views

Can't start MySQL server if the .sock file is changed in /etc/mysql/my.cnf

I have installed MySQL server 5.5 on Ubuntu 12.04. I am trying to start MySQL server on a different sock file. By default MySQL runs on /var/run/mysqld/mysqld.sock. I am trying to run the same server ...
1
vote
1answer
547 views

Help with error: ‘struct sockaddr_storage’ has no member named ‘s_addr’ [closed]

I just installed Ubuntu 12.10 on my new machine, and I'm trying to install Ushare from the source from the website. I would just install it through the terminal using 'sudo apt-get install ushare' but ...
3
votes
3answers
6k views

Unable to start Apache on Ubuntu 12.10: no listening sockets available

I'm unable to start apache2 installed using apt-get. I'm getting the very same error on 2 separate Ubuntu 12.10 installations, one on my desktop PC, the other one running in VirtualBox: ...
0
votes
1answer
1k views

MySql #2002 problem [duplicate]

Possible Duplicate: My MySQL installation is broken. How to completely reconfigure it? When i try to login in apache i get a #2002 error. When i try to login in MySQL via terminal it ask my ...
1
vote
1answer
444 views

How would I know if my OS is compromised?

I had opened a php folder from a friend's web host. I run it on mine to fix some bugs. Then I tried attaching the code to be emailed and GMAIL stated that the attachment was infected by a virus. Now ...
4
votes
2answers
4k views

How can I create a new socket in /dev?

I want to create a new socket file in /dev. Does the way to get it is adding a new rule to udev?