Server :: FreeRadius - PQexec Blocks Forever Due To Connection Timeout
Jan 5, 2010
I've configured the RADIUS to use a PostgreSQL DB for accounting. Everything works fine if the connection from the RAD to the SQL is OK. If the PostgreSQL service dead, the RAD will skip the failed connection and continue to work. That's OK, too. But if I shutdown the network interface of the SQL (simulating a connection lost - timeout problem), the RAD thread which processes accounting request will be hung up, remains as active and unresponsive forever. So the RAD will not return anything to accounting client (my NAS).
As more accounting requests come, spare threads for processing the requests will reduce and be used up eventually. I've debugged for a while and found it's the problem of PQexec() function. The function blocks the thread eternally till if the connection lost. I know the RAD version is a little outdated, but I cannot replace it right now. I wonder if there's a way to make the RAD reply to the NAS even when the connection between the RAD and the SQL lost.
View 1 Replies
ADVERTISEMENT
Sep 2, 2010
I am using samba 3.0 on rhel-4, it works fine i am getting the share folder in linux and windows xp as well with username and password for first time only then for next time it will not ask me the username and password for samba user. Actually i want to fix idle-timeout and password authentication for user every time the user want to access the samba share folder.
View 2 Replies
View Related
Jan 30, 2011
I have a box running Fedora 14 upstairs and I've been trying to get it to run VNC server, unsuccessfully. I've RTFM, and followed the instructions step-by-step, but it still won't run. I'm getting no error messages. But when I try to connect from either a Window or Mac client, it either get a timeout or connection refused. I've read and tried all the troubleshooting; been working on this for about 12 hours now. Is there something major that I could be overlooking?
View 14 Replies
View Related
Feb 21, 2011
type the command ssh node2@ip the terminal hangs up a bit then an error message stating that connection timeout but here is a thing: i cant ping to node2 but i can terminate the ping manually using ctrl+c when i terminate the ping usual message appears stating 10 packets transmitted, 100% loss ps: when i go to node3 and ssh to node2 it works fine and also i can ping from node3 to node2 very fine. and the firewalls are down at all nodes
View 4 Replies
View Related
Jan 21, 2010
I am trying to stream video from my Fedora 12 server to my XBox 360 via uShare 1.1a. I have opened the port I have specified in the ushare.conf file and in verbose mode, uShare sees every video I want to share. The XBox sees the uShare under "Computer", but I get a connection timeout when trying to connect to it. /var/log/messages shows no errors with uShare. I can connect to the uShare web interface without any problems. Most people seem to be using uShare with Ubuntu,
View 4 Replies
View Related
Feb 21, 2011
im on node1 when i type the command ssh node2@ip the terminal hangs up a bit then an error message stating that connection timeout but here is a thing: i cant ping to node2
but i can terminate the ping manually using ctrl+c when i terminate the ping usual message appears stating 10 packets transmitted, 100% loss
ps: when i go to node3 and ssh to node2 it works fine and also i can ping from node3 to node2 very fine. and the firewalls are down at all nodes -all wired connection over a switch
View 6 Replies
View Related
Nov 16, 2010
Im having a lot of trouble configuring freeradius for Ubuntu. I have freeradius installed but Im having trouble finding any information on how to edit the configuration files to create users and be able to WPA2 Enterprise. The wireless router that I am using is an Linksys WRT54gl.
View 2 Replies
View Related
Oct 15, 2010
I'm running freeradius2-2.1.7-7.el5, on CentOS 5.5. I have gotten all of the authentication setup for active directory and I know that the machine is able to pass requests along to our AD server. However it doesn't appear that freeradius is doing the same. I have been looking at the attached radius -x output for about 2 days now and I have done a ton of searching and have come up relatively empty handed.
View 3 Replies
View Related
Apr 21, 2011
setting up a freeradius server and coovachilli in my ubuntu9.10.. I want software and hardware system requirments needed to install freeradius,coovachilli,mysql and apache.
View 2 Replies
View Related
Feb 6, 2011
I was trying to install and configure freeradius server in centos 5.5 .I installed freeradius 2.1.7. I added a sigle line at the top of the users file like this. bob Cleartext-Password := "hello". when I tried to test using radtest command (radtest bob hello 127.0.0.1 0 testing123).but Igot access-reject mesage from radius server. first I was trying on the same pc with defferent terminal. I serched and tried lot of options but all the time I got the same access reject message. I put debug message in debug site. I can see lot of users posted the same error message in many forums. But I cant find any solutions. I installed ntradping in my laptop and tried but same error. Delaying reject of request 0 for 1 seconds. Going to the next request. Waking up in 0.9 seconds. Sending delayed reject for request 0. Sending Access-Reject of id 16 to 10.10.204.73 port 1619. Waking up in 4.9 seconds. Cleaning up request 0 ID 16 with timestamp +3. Ready to process requests.
View 2 Replies
View Related
Feb 16, 2011
I have a radius server with just one NAS. I requires the following.
1. After authenticating User1 User2 & User 3 can connect to 192.168.1.0 network but rest users User4 User5 User6 wont be able to connect 192.168.1.0
2. User4 User5 User6 will be denied connecting to network 192.168.2.0 after authenticating but rest users which are not specified can connect.
These User1, User2... User6 are system users of the machine.
View 1 Replies
View Related
Mar 6, 2009
how to install freeradius with dialup admin support on CentOS 5. .
View 1 Replies
View Related
Sep 6, 2015
I am running debian 8 stable version (which I starting to think not that "Stable") and when i surf web pages its ok except the fact that I am too often get connection timeouts then i need to press "enter" in the ur box to try again and then its maybe work if not I am going to press another "enter" on the url box until i have connection to the site its important to say its not a isp or hardware problem. I run the web with no problems in that other operating system which I am not getting back to.....
View 14 Replies
View Related
May 6, 2011
I am trying to set up an ssh server on my Debian squeeze box so that I can access it remotely when I'm not at home. I connect to the internet through an at&t 2wire modem/router. First off, I *can* ssh into the machine from inside the local network, e.g.
[Code]...
Nmap done: 1 IP address (1 host up) scanned in 2.12 seconds Playing around with Nmap, I also found that it only sees port 50001 as open.
View 5 Replies
View Related
Nov 7, 2010
Its 2 weeks i'm trying to configure freeradius2 on centos5 64bit after installed it from yum.all seems working, but i cant authenticate unix users.after digging in many sites its simply cant find user name and password ( ++[unix] returns notfound )Also how can i paste here all the radiusd -X log lines? i can't find any
radius.log file.
View 10 Replies
View Related
May 20, 2010
Something is wrong with the networking on this Ubuntu system. It has been assigned the LAN ip address 10.1.10.10 From another Ubuntu desktop, I can: ssh myself@10.1.10.10 ( from 10.1.10.143 ) and I can login without any problems. I can ping 10.1.10.10 ( from 10.1.10.143 )
[code]...
View 1 Replies
View Related
Apr 1, 2011
I have a user using Mac OSX and ssh-ing to a couple of Redhat servers, one running RHEL5 and the other RHEL6. The user's connection seems to be timing out after 60 minutes or so of inactivity. The user is on the same subnet as the servers. Both servers have the same sshd_config files with the following entries with regards to timeout:
TCPKeepAlive yes
ClientAliveInterval 30
ClientAliveCountMax 99999
In a nutshell, his office Mac keeps getting dropped off both machines. Other machines, including the Mac he logs in with from home doesn't get timed out and keep the connection open. The log files are unremarkable and the switch port shows no errors
View 6 Replies
View Related
Sep 15, 2010
nm-applet timeout. I connect to the internet via wifi access. I have this problem that whenever there is a powercut, my wifi router switches off and then nm-applet tries to connect and then after sometime times out i.e. nm-applet gives up on trying to restore the connection.
I want nm-applet to keep trying to restore the connection indefinitely because if the electricity is back lets say after an hour then it should immediately connect without manual intervention.
I did google around trying to search for the configuration parameters but was not able to do so.
View 2 Replies
View Related
Mar 6, 2010
I'm using Kubuntu 9.10, my pppd version is 2.4.5 and pptp is 1.7.2 I'm trying to connect to the iPredator VPN service, but I keep running into problems with LCP. I've tried using knetworkmanager, nm-applet, kvpnc and plain old text-based configuration to no avail. Here's a snippet of pppd's output:
[Code].....
(I've got "defaultroute" in my /etc/ppp/peers/ipred config file.) Any ideas what could be causing this? Could it even be my router? It claims to support PPTP, but considering it claims a lot of other things which aren't true, I wouldn't be surprised if it was the culprit.
View 4 Replies
View Related
Dec 4, 2008
i was able to connect the first time following the instructions here: [URL]
1. first time i was able to connect i used the nx client for Mac OS X. I logged off.
2. then i decided to test this using Windows nx client and i got:
NX> 203 NXSSH running with pid: 604
NX> 285 Enabling check on switch command
NX> 285 Enabling skip of SSH config files
[Code]...
View 10 Replies
View Related
Jan 18, 2011
I have a windows 7 box and a debian 5.0 box connected to a linksys wrt300n router. I can access the linux box from windows 7 through ssh. I used to be able to access the linux box from outside the LAN, but when I was messing with the ssh port configuration (at least I think this was what happened), i lost my ability to connect. I tried writing a new sshd_config file so that it is much simpler:
Protocol 2
PasswordAuthentication no
UsePAM yes
I tried directly connecting the linux box to the internet to rule out a router firewall issue that i was missing. iptables -L yields nothing, as I have since rebooted the machine since messing with iptables rules. But still, when I try to ssh in from outside the LAN, I get a connection timeout error after a 10-15 second hang.
View 14 Replies
View Related
Jul 20, 2010
A few weeks ago, I upgraded one of our machines to the 64-bit server edition of 10.04. All went reasonably well (after some hoops to get it to properly recognize/mount the RAID + LVM partitions), but one of the things that confounded the installation process was login timeouts. From doing some research, I thought I'd gotten it solved by removing the checks for updated packages on login, but I either didn't get it done, or there's something else going on here.The issue is that the machine is headless and is actually a file & application server, but I do need to connect to it via ssh on a regular basis. However, the issue isn't related to SSH, as it also happens when I try and log in through the physical console too.
What happens is that every so often, login attempts will time out for a period of minutes, then they will suddenly start working again, instantly giving me my expected shell. Again, I suspect it is something with the way the motd junk is being generated, but having a server that prevents you from logging in is totally unacceptable. I've no idea how to go about debugging what happens because I don't see anything useful in any of the logs, and I don't have a way to trace the login process from outside. I'd love to hear what the problem actually is and how to prevent this from happening.
View 3 Replies
View Related
Feb 21, 2011
when i type the command ssh node2@ip the terminal hangs up a bit then an error message stating that connection timeout but here is a thing: i cant ping to node2 but i can terminate the ping manually using ctrl+c when i terminate the ping usual message appears stating 10 packets transmitted, 100% loss ps: when i go to node3 and ssh to node2 it works fine and also i can ping from node3 to node2 very fine. and the firewalls are down at all nodes
View 10 Replies
View Related
Apr 19, 2010
I have a Debian VPS running Lenny and I'm trying to setup a way to run remote desktop sessions from it. I went with FreeNX, NX client for windows from nomachine, XDM and xfce4. All seems to have installed well, but I can't start an NX session on my box. I can connect to the server and authenticate, but the client hangs on "Downloading the session information," eventually timing out. The log output is below - I'm not even seeing an error message. Any ideas?
[Code]...
The only thing I noticed during install, which was about 400 packages since this was a barebones VPS, was that I should consider recompiling the kernel with CONFIG_SOFTWARE_SUSPEND=y. I don't know if this has any impact on session information, however, since this is a new session, not one I'm trying to resume.
View 1 Replies
View Related
Jun 20, 2011
I use red hat Es 5.5 64 bit.. I find the item nameserver in resolv.conf cannnot be saved. Everytime ,reboot or restart the netwrok service . The data in resolv.conf will be removed and clear . I need to edit it again . I also try to add DNS1=XX.XX.XX.Xx in ifcfg-eth2 but the same problem. in it , the resolv.conf is still need to edit every network service restart . So, how to save the resolve.conf about nameserver forever ??
[root@vls etc]# cat resolv.conf
# Generated by NetworkManager
# No nameservers found; try putting DNS servers into your
# ifcfg files in /etc/sysconfig/network-scripts like so:
#
# DNS1=xxx.xxx.xxx.xxx
# DNS2=xxx.xxx.xxx.xxx
[Code]...
View 9 Replies
View Related
Feb 4, 2010
My test messages from one mail server to another are getting sent to my spambucket and the only error in the logs is: warning: numeric domain name in resource data of MX record for [URL]: 74.63.64.42
View 1 Replies
View Related
Aug 4, 2011
I set the default os to boot as windows 7 with a timeout of 1 second. I thought that this would be enough time to switch os ubuntu when i need to, but I am unable to. How can i reset the timeout to 3 seconds? I also cannot view the ubuntu partition within windows because of ubuntu's file system.
View 9 Replies
View Related
Aug 17, 2011
I attached a virtual hard disk to one of my Linux boxes.
And after running creating partition on the new disk, I ran the following command:
Code:
While executing that command, it says as below and quits:
Code:
FYI,the output of fdisk is as below:
Code:
Why is this mke2fs reporting such and is not able to create file system ?
View 1 Replies
View Related
Mar 31, 2010
Fsck has been runningfor days. The problem seems to be multiply-claimed blocks. Example:
<filesystem metadata>
... (inode #365429022, mod time Wed Mar 24 08:48:23 2010)
Clone multiply-claimed blocks? yes
[code]....
View 1 Replies
View Related
Apr 11, 2010
I'm running home server on Debian stable with DHCP, DNS, Mail, VDR, Filesharing and my Weatherstation as main services. The filesharing is used to mount homes at clients.
The machine features an Athlon BE-2300, 3GB RAM, GB-LAN, 1TB and 1.5TB SATA HDD plus HDDs for backups. Mainboard has an NVIDIA chipset with
Code:
nVidia Corporation MCP65 SATA Controller (rev a3)
The primary disks are running in RAID1 + LVM.
[code]...
View 2 Replies
View Related