General :: Using SCTP Socket In Red Hat Enterprise?
Mar 12, 2010I want to use SCTP socket in red hat enterprise.
View 9 RepliesI want to use SCTP socket in red hat enterprise.
View 9 RepliesIf I open a raw SCTP socket, am I able to bind to a specific port? (I only want to see SCTP packets from a particular IP address AND port.) Or, any raw SCTP socket, regardless of port binding , will get all SCTP packets received by the OS from that IP address? The port doesn't matter and is ignored.
View 1 Replies View RelatedI create SCTP socket with port number 60011. The SCTP socket descriptor value is 18.
When I try to close the socket with the socket descriptor, sometimes it is not closed without errno.
We Are Using Centos 5 64Bit with Kernel 2.6.18.92 with Amd Athlon ProcessorThe problem when calling setsockopt it return error errno:22 InvalidargumentThis code run on Macos ,Sunsolaris ,But fail to execute on Centos 5 64bit & The SCTP mailing group told me that this problem belongs to centosexample form ibm webside
/*
server
*/
[code]....
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.
We are seeing recv err on socket 31: 0x36. What could be meaning of the error?.
View 1 Replies View RelatedTo run applications compiled for RedHat 4 Enterprise (gcc3.4) on RedHat 5 Enterprise (gcc4.1), what should I do?
View 4 Replies View RelatedI 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.
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....
Have any of the below TCP based applications are implemented over SCTP in Linux ?
1. ftp
2. telnet
3. HTTP
Or any other applications ?
i am using ubuntu 9.10. i am trying to use ubuntu as a test bed for my thesis work on seamless mobility including SCTP and its add ip feature. i have installed lksctp with this command
sudo apt-get install lksctp-tools libsctp-dev
now i have to enable its addip feature and as i have read in other threads i have to change it from sysctl but the problem is that when i enter "sysctl -a" it does not show any sctp options.
Im using SCTP to send streams to my application, but at max i can send 10 streams after that i get error saying "sendmsg() failed(22): Invalid argument".To set sctp outstream and instream value im using structure sctp_initmsg defined in netinet/sctp.h
struct sctp_initmsg {
__u16 sinit_num_ostreams;
__u16 sinit_max_instreams;
[code]....
The three lines in /etc/services for nfs (2049) has UDP, TCP and one I haven't seen before sctp. what is sctp and does iptables block it?
View 3 Replies View RelatedTo run applications compiled for RedHat 4 Enterprise (gcc3.4) on RedHat 5 Enterprise (gcc4.1), what should I do?
View 4 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.
I have one hard disk partitioned into four logical drives.
1.20gb for red hat 5 //installed after installing window xp
2.40gb for Win xp //Installed first
3.40gb not formatted yet
4.more than 50gb for data storage.
After all the installation,I can just boot Red hat 5 but it shows the prompt for window xp also to boot in boot selection screen.When I entered for window to boot,I have this message-
[Code]...
I am trying to compile the Kommander on Red Hat Enterprise Linux 5. But when i try to run the configure, this is what happend:
[root@localhost kommander-1.5.3]# ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
[Code].....
How can i solve the "kde-config was not found?
The solution should be capable to use intranet only (no communication should traverse the inernet). It would be of an advantage if it would support conferencing. And if it's possible it'd be fine if it'd be free.
One solution which comes to my mind is jabber, but I do not have any experience with it... what's your oppinion on that? What other solutions are there?
According to this site, Red Hat Enterprise Linux is based on Fedora. Is this true?
View 2 Replies View RelatedI have two HP servers which have a total of 10 Ethernet ports each, both running RHEL 5.7. I need to make sure that Ethernet ports are mapped to the same devices in Linux on both systems (see below) because these servers must be identical (the second box is a drop-in replacement in case the first system fails).The ethernet ports on the first system are mapped as follows:
Device Port
eth0 Intel Dual Port Card, Port 1 (Rightmost Port)
eth1 Dual, Port 2
[code]....
i am suffering from very strange problem.i am using red hat and my mouse right click is not working in it.my mouse is ok i have checked it on windows system
View 7 Replies View RelatedActually i want to know if i don't want any support or software update from redhat, can i continue to use RHEL after 30 days evaluation ?
View 3 Replies View RelatedI would like to know the difference between redhat enterprise linux 5.4 and redhat linux 9.0. Also, if redhat linux 9.0 could be used as a server os.
View 2 Replies View RelatedI am using a Red Hat enterprise server 5.0 I would like to know if there is a way to extract a single file from inside a war file and display its contents on the screen? For example: I have a file labeled test.war and inside this war there are multiple files/directories. I am interested in seeing the contents of one file labeled MANIFEST.MF without having to unzip the entire war file. does it make sense?
View 6 Replies View RelatedI successfully install vnc server and client in my machine after installation in GUI mode i clicked on service and enable vnc server when i click on start. It says that "This service is being refreshed right now" Then after i use terminal and typed "#service vncserver start"
its display error message "Starting VNC server: no displays configured [FAILED]"
How to install Red Hat Enterprize Linux 5.0 on Hard disk which have xp already install
View 7 Replies View Related