The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
1answer
159 views

How do I discover my socket type?

I want to upgrade my CPU, but Ubuntu's "About This Computer" window only gives me "Intel® Core™ i3 CPU 530 @ 2.93GHz × 4", so no information on the connector/socket type. So far, I've tried the ...
1
vote
0answers
39 views

TCP hash tables in Linux Kernel

I have implemented a solution to migrate sockets between servers running Linux OS. The migration mechanism works very well and the client is capable of continuing receiving his service from the new ...
0
votes
0answers
5 views

commoncache.socket

I am very new to Ubuntu and am copying a USB thumb drive to another. I have changed permissions and copied everything except a commoncache.socket file. I have read and write permission but when I try ...
0
votes
0answers
20 views

How would you tail a file then pass the data to a socket?

I don't want to re-invent the wheel. I need a program or series of commands to tail a log file, then send the lines to a socket on another machine. It's for centralized log monitoring. Something that ...
0
votes
0answers
41 views

How to set environmental variables for LuaSocket in Ubuntu?

I have installed the LuaSocket(luasocket-2.0.2.tar.gz) using this manual. But while performing the commands to require function to gain access to whatever module you need as below: socket = ...
1
vote
0answers
49 views

Concurrent Multipath Transfer over SCTP

I'm trying to run Concurrent Multipath Transfer over SCTP. I have two machines running Ubuntu Server 10.04 LTS, and they have lksctp-tools 1.0.11+dfsg-1 installed Does this version support CMT? if ...
2
votes
0answers
71 views

Tiger: `rtm` is listening on socket XXXX

On my Ubuntu serve 12.04 LTS, Tiger is reporting a lot of stuffs like this: OLD: --WARN-- [lin002i] The process `rtm' is listening on socket 60404 (UDP) on every interface. NEW: --WARN-- [lin002i] ...
3
votes
2answers
2k views

postgresql broken after 14.04 despite succesful pg_upgrade [SOLVED]

I'm running an Ubuntu VPS where i'm am upgrading to 14.04. everything has gone smoothly so far. Except the PostgreSQL migration from 9.1 to 9.3. The server hosts a Django 1.6 site and the traceback ...
1
vote
1answer
258 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
40 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
283 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
41 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
254 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
44 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
113 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
314 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
307 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
293 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 ...
1
vote
1answer
2k 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
269 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
745 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
467 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
137 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 ...
21
votes
5answers
31k 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
254 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
143 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
10k 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
601 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
9k 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
2k 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
518 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
6k 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?