The tag has no usage guidance.

learn more… | top users | synonyms

1
vote
0answers
18 views

exclude socket files during diff -r

diff has an option --recursive (-r) to do a comparison between two directories (the files inside them). Is there a way to make diff ignore all socket files and only socket files? I am using diff --...
1
vote
0answers
24 views

/var/run/postgres keeps being deleted, preventing postgres from starting

By default, my PostgreSQL installation was creating a socket in /tmp but my psql command-line client was looking in /var/run/postgresql/.s.PGSQL.5432. To remedy this, I edited postgresql.conf and ...
0
votes
0answers
37 views

How to use lsof with SSH ControlPath?

I am extensively using SSH ControlPath and would like to use the lsof tool in order to check which process is keeping a ControlPath socket up and running. I am using OpenSSH_7.2p2 Ubuntu-4ubuntu1, ...
1
vote
0answers
29 views

Java Applet on Ubuntu Web Server

I have an java applet to sign documents digitally: http://www.pki.sanluis.gov.ar/PkiAsp/Paginas/Pagina.asp?PaginaId=54 I have a middleware to do this from a smart card. I can't export the private key ...
0
votes
0answers
17 views

Sockets for Ubuntu

I am familiar with Sockets programming in Windows. Does Ubuntu have any kind of Sockets programming API or SDK that is built into the system or that I can download?
0
votes
0answers
127 views

Mariadb Plugin 'unix socket' is not loaded

After installing Mariadb on Ubuntu 15.10 I was unable to use mysql. The following error was reported: Plugin 'unix socket' is not loaded. It seems that plugin table in the mysql db was empty. Why ...
0
votes
0answers
140 views

stream_socket_client - php_network_getaddresses: getaddrinfo failed: Name or service not known

if (empty($options['context'])) { $fp = @stream_socket_client($socket, $errno, $errstr, $options['timeout']); } else { // Create a stream with context. Allows verification of a SSL certificate....
-1
votes
1answer
619 views

error while starting drbd service

I am trying to make server mirroring through heartbeat and drbd. The problem is that while starting drbd i get this error : error creating netlink socket. the full message of the error is given here ...
0
votes
1answer
214 views

How can I change Maximum segment lifetime in Ubuntu 14.04

How can I change maximum segment lifetime in Ubuntu 14.04? there is no net.inet.tcp.msl there The problem is that I need my TCPsockets to live more than 240 seconds..
0
votes
0answers
59 views

Trouble with apt-get closing socket prematurely

When running apt-get update the command seem to run without errors, but still the package manager then still can't find packages I want to install, specifically those in the universe part. The same ...
0
votes
1answer
104 views

TCP IP Socket Client - Available Options?

I deal with a lot of socket programming and I need a client that can connect to a listening server and be able to send both JSON and XML. Is there any software that is capable of that? I tried ...
0
votes
1answer
152 views

What is the relationship between sockets and ports?

I am trying to understand the relationship between sockets and ports. I found that a socket is part of a port and it handles communication for that port. However, on another blog I read Os does ...
2
votes
1answer
53 views

what is the path start with @

What is the @ character in beginning section of sockets's path in output of "netstat -a" command? unix 3 [ ] STREAM CONNECTED 10868 1261/X @/tmp/.X11-unix/X0 unix 3 ...
1
vote
0answers
505 views

Bluetooth Socket Program: connect: Host is down

I am trying to test rfcomm_server.c and rfcomm_client.c (from the link https://github.com/balle/bluetooth-snippets) on my new Bluetooth dongle. When I run rfcomm_client, it exits on connect giving ...
0
votes
1answer
197 views

How to Measure the Bandwidth Utilization of a Link

I have written a Socket program which uses read and write command to send and receive data . I am running it on two server .Both Servers are connected with a 10 Gbps link . Now How I can measure that ...
3
votes
0answers
371 views

Launching programs after hostname change returns error _IceTransSocketUNIXConnect: could not connect to local-host

After changing the hostname on 14.04 I cannot launch unetbootin, attempting to launch the application from bash returns: _IceTransSocketUNIXConnect: Cannot connect to non-local host OLDHOSTNAME ...
0
votes
1answer
390 views

What exactly is a connection through socket or what does the output of lsof tell us?

I'm streaming some files from S3 to an EC2 instance to get summary data from the headers. I use key.close(fast=True) for all the keys I get from boto.s3.bucket.Bucket.list() (python library to access ...
-1
votes
1answer
59 views

how to list all the PID's associated with certain application?

While reading about unix socket programming, I got a statement A socket is one end of an inter-process communication channel now I am just curious to know that -Is there any way to list all the PID's ...
1
vote
1answer
693 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
359 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 ...
1
vote
0answers
71 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
237 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
3k views

postgresql broken after 14.04 despite succesful pg_upgrade

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
1k 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
55 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
1answer
338 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
1k 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 ...
4
votes
2answers
2k 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
1k 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
723 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 ...
4
votes
1answer
16k 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
880 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
3k 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
1k 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
261 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 ...
133
votes
6answers
240k 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
579 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
163 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 ...
7
votes
1answer
20k 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 ...
5
votes
3answers
24k 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: michal@...
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 ...
2
votes
1answer
892 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 ...
8
votes
3answers
15k 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?