Ubuntu :: No Cpufreqd Socket Found
Aug 10, 2011I think it doesn't work because sudo lsmod | grep cpufreq give me: No cpufreqd socket found. Is this say me that cpufreqd doesn't work? Is there a solution to this?
View 1 RepliesI think it doesn't work because sudo lsmod | grep cpufreq give me: No cpufreqd socket found. Is this say me that cpufreqd doesn't work? Is there a solution to this?
View 1 RepliesI want to configure socket timer to release socket(port) once the connection is terminated. Do we have something in Linux OS to configure this delay to release socket?.
Any command, link or man-page anything will be helpful.
I browsed a lot but unable to find it.
Anyone knows the difference between a socket and TCP connection for connecting to an external system?
View 1 Replies View RelatedI had installed Fedora 10
Below is the output of uname -a
Linux 2.6.27.5-117.fc10.i686.PAE #1 SMP Tue Nov 18 12:08:10 EST 2008 i686 i686 i386 GNU/Linux
I need to enable telnet service on it, then found xinetd and telnet-server not installed,
Then I had installed below
First I had installed Xinetd: xinetd-2.3.14-21.fc10.i386.rpm
then I had installed telnet-server: xinetd-2.3.14-21.fc10.i386.rpm
After installation I executed below commands
Service xinetd start
Chkconfig xinetd on
Chkconfig telnet on
Service iptables stop
Chkconfig iptables off
Iptables �F
After I had tried telnet localhost ----IT FAILED
when I run telnet server manually by issuing the below command
/usr/sbin/in.telnetd, I get below error
[COLOR="Red"]/usr/sbin/in.telnetd: getpeername: Socket operation on non-socket[/COLOR]
I have other system running same OS, I had followed the same steps discussed above to enable telnet, It works fine on it.
i'm writing a simple program of client socket program. Here below is the code sample which i'm writing...
Code:
//tcp_client.c
#include <stdio.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netdb.h>
#include<string.h>
#include<stdlib.h>
[Code].....
the above code works fine.if we copmile and run ./a.exe 192.xx.xx.xxx 1111 and press enter it works fine..everytime it asks "Please enter the message: " and if give that will be displayed in server. but my problem is i dont want to print everytime "Please enter the message: " i just want to feed some words one by one to the socket.
im getting that error in my code for some reason. I compiled my code, and when i try to run this server it throws me an error on my call to setsocketopt(). The only way it can reach that part of my loop is if it succeeds when it calls sock() so I dont understand why the error says its an operation on a non-socket. Im just trying to set up a server to pass messages from a client to it a viceversa. Here is the code:
Code:
int main()
{
int socket_fd, new_socket_fd, k;
struct addrinfo hints, *server_info, *p;
struct sockaddr_storage peer_address;
code....
We are seeing recv err on socket 31: 0x36. What could be meaning of the error?.
View 1 Replies View RelatedI am pragmatically trying to upload a list of files from my client machine to a proFTPd server I have running on Ubuntu. Every time I get several (around fifty) files into the transfer, I get the following error: Quote: Connection reset by peer: socket write error
I am able to remotely upload 25,000 small files of ~ 1K in size, but when I go to upload hundreds of 2-4 Mb files, I get a socket write error. Am I using up all available sockets before they can be released? If so, how do I release the sockets? If not, what does this error mean and why am I getting it?
iam just trying to connect to server which accepts one client and server will read(blocking operation) infinitely, but After closing the client socket the server "read operation" is returning zero and "errno variable(in errno.h)" value is also zero. how can i detect whether a client socket is closed/active..?
client.c
Serv_Addr.sin_family = AF_INET;
Serv_Addr.sin_addr.s_addr = inet_addr("127.0.0.1");
Serv_Addr.sin_port = htons(26553);
if( 0 > connect (Serv_Fds,&Serv_Addr,sizeof(Serv_Addr)) )
{
perror("connect");
return 0;
[Code]....
In looking at the release notes, I saw the comment File locations changes:
* MySQL socket file and pid file were moved from /var/lib/mysql to more reasonable location /var/run/mysql by default.
* MySQL log files are in /var/log/mysql. Not sure what I was supposed to do with that information. So I ignored it. Now, I am finding some issues with it. The web server works, but any connection to the database fails with 2002: Can't connect to local MySQL server through socket '/var/run/mysql/mysql.sock' (2)The thought dawned on me that maybe all my databases were erased and none set up. Going in to the terminal, I could connect and list and query the databases. So even though I backed them up, they still are there!
phpMyAdmin gives the same error message.
However, when I go into MySQL Administrator, it works fine.
I forgot where I saw it, but the socket is still set to var/lib/mysql. I could not find any mysql install log and would say what was in my cnf.my, but it still doesn't exist just as it has not in the past. Not sure if I should allow the MySQL Administrator to create it since I always ignored the prompt in the past and it worked. (Just wishing to keep the defaults)
At first I thought the upgrade upgraded the MySQL, but it's still 5.1.39 as I believe before. I've un-installed mysql-server and re-installed it with no change.
Can anyone can tell me how to get the socket to /var/run/mysql or what else is wrong? I read one place where mysql is supposed to set it up.
My friend bought an old hard drive. He noticed something with the hard drive that it was just replaced with a SATA socket. So meaning, the SATA socket was soldered to the PATA hard disk to replace the PATA socket to SATA socket to make it a SATA.
Now the question is:
1. Does the Transfer Rate of the harddisk (that has been replaced from PATA socket to SATA socket) would be SATA transfer rate? OR would still be PATA transfer rate?
My question is quite simple:What are type of applications where socket in blocking mode can be used ?
And where non-blocking mode to be used ??
TCP is blocking by default.
I have been trying to get this web cam working for a long time. lsusb:
Code:
Bus 004 Device 003: ID 06a2:0003 Topro Technology, Inc.
dmesg
Code:
[ 1990.570050] usb 4-1: new full speed USB device using uhci_hcd and address 3
[ 1990.751460] usb 4-1: configuration #1 chosen from 1 choice
Kernel patch: [URL]
Driver project: [URL]
Cheese simply says no camera found. Skryba says no devices found. Since this kernel patch was 2009-04-07 which is nearly a year ago it should be in latest kernel?
[Code]...
During install of 9.10 server, both ethernet adapters were found. One is built-in to the motherboard, the second is on a PCIe slot. Selected the on-board adapter for eth0 during install, set fixed IP on the web, connected, updated, etc. w/ no problems. The second adapter is for the LAN.BUT, on first and subsequent reboots after installation complete the second adapter is not detected at all, as if it were not even plugged into the PCI or the driver not loaded. This happens on either of two slots, with two different adapters, Intel or Netgear, both pretty recent, and both of which are detected and work in a different box. 'Ethtool eth1' says device not found.This is a fairly recent motherboard 3N78EM).Since the adapter was found during installation I'm assuming that the problem is not with not the board. I've built several server systems with two or three ethernet adapters and have never run into this situation.
View 3 Replies View RelatedI need a code for a multi client and server
where a client need to login to server after a connection has been established if login is not sucessfull connection should be terminated I need it in c language
server asks client name and password if authenticated , a connection is established . and if client is new can also register its name
I have done it using files but its not working when asks for user name it searches a file with that username if a file is found and password with same as username it opens the username file check for the string if it matches with the string login is ok
I installed a program with Yast (Kmess), but when I try to run it, bash gives me back this message:
Code: kmess: command not found I checked into Yast and it seems to be installed correctly!
I am in the process of installing a genome brower on an ubuntu 10.04 (lucid). I achieved to see the browser once. Then, the mysql.sock disappeared and to solve this I tried first, to reboot the server with no results. Then I removed and reinstalled the MySQL server installing mysql-server-5.1. Now, I have a socket and MySQL is running (checked these out) but when I try to see the browser that is what I obtain:
Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (13)
The DVD is mounted. From the console, I input "mplayer dvd://", and I receive the following output:
MPlayer SVN-r29237-4.4.1 (C) 2000-2009 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
[code].....
I am trying to connect with Winsock Windows sockets from a PC running Windows XP with a utility program that enables a dialogue over sockets. I have the listener running on Ubuntu on Port 6330. I can telnet to the listener and interact from both the Ubuntu desktop and the XP PC. But my utility program using Winsock is unable to connect. I have no firewalls impeding this. Maybe there is a better vehicle than the Windows Winsock.dll? I dont need network file access, just TCP ports/.sockets.
View 1 Replies View Relatedafter i upgrade to ubuntu 11.04, sound from headphone front socket is not working anymore though if i plug it in back socket is still working. before i upgraded my system, i was using ubuntu 10.1 with Linux Kernel 2.6.32.x and everything worked (back and front).my question is:1. what is causing this problem? 2. know how to fix it?[URL]
View 2 Replies View RelatedI'm writing a client-server program. There are more than 500 clients. I start a thread to process and response to each client and the processing needs some MySQL query. I'm looking for any possible hazards on my server!
1- Any limitation on "Maximum Simultaneous Socket Connection"?
2- Any limitation on using mysql?
3- As socket on Linux are file, Any limitation on number of sockets or threads?
I'm using a Linux server (Centos or Fedora or Ubuntu) and clients are both Linux and Windows.
I have a new install of Ubuntu 10.04.1 LTS server. But I get errormessages trying to start samba.
caesar@klem:/etc/samba$ restart smbd
restart: Unable to connect to system bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
I have tride to remove an install samba. And deleted smb.conf. And startet with the original.
smb.conf:
workgroup = Easyways
server string = %h server (Samba, Ubuntu)
log file = /var/log/samba/log.%m
max log size = 1000
[Code]....
I have Ubuntu 10.10 running on a laptop.When I connect the laptop to an external amp and speakers I can play ogg/mp3 files and hear system audio.When I just Jack (midi keyboard plugged in) I get the sound via the laptop speakers but when I try connecting to the amp as described above I don't get any sound.
View 3 Replies View RelatedIs there an alternate tar package for Ubuntu that supports sockets and such? I know there is in Slackware, which I use when I'm doing stuff on Slackware.
View 2 Replies View RelatedCan we open TCP and UDP socket on same port number?
View 1 Replies View RelatedHas anyone had an issue with gdb not being able to send a UDP msg across a socket?
I have ComponentA sending a msg to ComponentB utilizing gdb. ComponentB gets the msg. ComponentB sends a msg to ComponentC. ComponentC does stuff to the msg and sends a msg back to ComponentB using gdb.
ComponentB never seems to receive the 2nd message.
If I don't use gdb the messages Tx and Rx without an issue.
I'm flying blind without gdb to figure out a different bug.
How does bind system call names a socket.Code:bind(server_sockfd, (struct sockaddr *)&server_address, server_len);I see use of bind in majority of programms as above.But any of the arguments is not the name of socket.
View 1 Replies View RelatedI can't seem to get on my Twinkle SIP Phone, it says: "Failed to create a UDP Socket (SIP) on port 5060 Address already in use" after that message it brings me back to the window were I'm supposed to run my profile, how do I fix this?
View 6 Replies View RelatedWhen I type mysql,
vignesh@vignesh:~$ mysql
I get this error.
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
So, I checked whether the file mysqld.sock is there in its respective folder, but I could not find that file. How to create the file and start mysql server.
I'm pretty new to Linux and this is my first post here.
Whenever I try to connect to MySQL, I get the following message:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
It worked just fine the other day, then are I ran some updates and setup port forwarding to this computer [Ubuntu Server 10.04 LTS].