Fedora :: F12: Ten-second 'DNS' Delay For Command-line Apps?
Dec 15, 2009
I'm experiencing a peculiar problem with Fedora 12. There is a ten-second delay when various command-line applications (e.g. ssh, wget) connect to remote machines for the first time. The delay is also seen when the remote machine name does not exist.Subsequent connections to the same remote machine are immediate.This isn't a DNS delay - the host and dig commands return immediately, for both existing and non-existant hostnames. It's not a reverse DNS lookup by the remote machine either: other Fedora 10 machines do not experience this delay and neither did my two Fedora 12 machines when they were running Fedora 10.
time this was something to do with nscd, the name service caching daemon. Stopping nscd changes the delay to five seconds, but subsequent connections are no longer immediate - there is again a 5 second delay. This implies that nscd is caching the names correctly.The delays are always precisely 10 seconds, or 5 seconds when nscd is not running. I have confirmed this with the time command. There appears to be no odd network traffic (tested with tcpdump) and nscd appears to be running normally. I've confirmed this with a Fedora 12 live CD as well - nscd is not started at boot, but once started, the machine behaves in exactly the way described above.
View 8 Replies
ADVERTISEMENT
Sep 8, 2010
Like i'm curious what version of wine i have installed...What are my current ati drivers installed...If wine isn't 1.2 or 1.3 how do i update it from command line?really any insight into this process would help its not absolutely critical to know but i've been looking around and haven't found informationOr some references to good articles to become a command line guru would be cool as well.
View 8 Replies
View Related
Jun 13, 2011
When I open a gtk app from the command line this error pops up:
Code:
Gtk: Unable to locate theme engine in module_path: "clearlooks", and I can not find clearlooks theme engine anywhere as it is supposed to be part of gtk by default?
View 2 Replies
View Related
May 21, 2011
I'm using a java application that runs as an interactive command line (in a terminal). My problem is that it's rather unfriendly as an interaction mode as it's minimalistic: it doesn't allow going to and fro with arrows, there's no history and so on. So I have to type all commands every time and have to retype it if I missed something at the beginning of the line, or I have to copy and paste from a txt editor. The strange thing is that I have seen the same application running on a Windows box and allowing for all the sugar. So I'm not sure if it's because of the shell script I run (as opposed to the .bat) or whether it has to do with system or profile settings in my shell.
For information, the shell script starts with:
Code:
#!bin/sh
I've replaced it with:
Code:
#!bin/bash
In hope I would have something closer to my normal terminal. The app runs but it doesn't change anything to the interactive mode. I'm rather clueless regarding sh/bash and so on. I've seen the manuals but I'm not entirely at home understanding and using their options. I know that there's a .bashrc and perhaps something like a profile somewhere, but I don't really know how to do things with these without risking messing up.
View 9 Replies
View Related
May 29, 2010
i've gotten my fedora 12 to the point where i can run python3 scripts from command line and can call up python 2.6.2 idle with the command 'idle' from command line. what command will call up python3 (3.1.2 to be exact) idle?
View 5 Replies
View Related
Mar 31, 2010
How do I run applications from the Fedora 12 cmd line? Like if I wan to run Twitux (Twitter App) from the cmd line, how would I do it?
View 5 Replies
View Related
Mar 13, 2011
I want to run a command on startup (Via startup applications) that has to wait for another program to run first.I don't seem to be able to use sleep to delay the command as it is stored in a .desktop file.How do I make it run later, preferably without having to create a script just for this one command.Also, how do I make the system start with compiz? Change "/desktop/gnome/session/required_components/windowmanager" ? Or do it the clean way by (Somehow) configuring gnome to use compiz?
View 3 Replies
View Related
Jan 8, 2010
Problem started after installing a new firewall in my network. originally after installing the firewall there would be a 10 second delay after entering a command before it was processed, the command would be executed however there would be an error, i forget what it said, something about not being able to resolve my domain name (and it would give my domain name). i realized this was a problem with my NAT, so i configured DNS forwarding on my firewall so that any attempt to access my server using my domain name from inside the network would point back at my server. after setting up the DNS forwarding i no longer receive the error about my domain name being unreachable, however there is approximately a 30s delay between entering a command and its execution.
the problem is hardly critical i do not see any more serious problems, it is just a pain to do any work when every time i try to do something i have to wait for it to execute.
View 6 Replies
View Related
Mar 20, 2011
I have a script with a command that requires a network connection.
It worked fine with an ethernet connection but on changing to a wireless one, its stopped working.
Question: how can I delay a script command until the network is connected?
View 2 Replies
View Related
Feb 5, 2010
I need some info on this title for class
View 1 Replies
View Related
May 11, 2011
After GRUB 2 comes up (I'm running Ubuntu 10.10) and I choose the OS to boot, there is about a 5 second delay where nothing appears to happen after I make the selection -- no disk activity. It happens consistently every time I boot. Again, this is after I choose the OS to boot, so it shouldn't have anything to do with the standard delay to allow me to choose the appropriate OS.Is there a good way to troubleshoot this and determine what is causing the delay?
View 4 Replies
View Related
Apr 1, 2010
anybody know how to zip a folder with 500mb?i want to create zip files with about 100mb each. please?
how do i do it in rar?whats the commandline ?
View 7 Replies
View Related
May 4, 2011
I may need to handle a Red Hat server soon and thought that has the same command line.Where do I start if I wanted to learn the command line? Especially, how do you connect to a Redhat / Fedora Server using console on windows and do C programming
View 6 Replies
View Related
Jan 31, 2011
How to add user through command line..??i used "useradd" and "passwd" and created an account but i can't login to it...
View 12 Replies
View Related
Dec 10, 2009
How do I update from FC10 to Fedora 12 from the command line.
View 2 Replies
View Related
Feb 9, 2011
i recently did some changes to my hard disk partitonand now linux is in hd0,6when i booted my pc,i got the grub commmand line interfaceso,I think that i need to edit grub.conf in fedora 14then at cmd i did this:
grub> root (hd0,6)
grub> kernel (hd0,6)/vmlinuz
file not found
[code]....
View 4 Replies
View Related
Sep 18, 2009
I decided on a whim to pursue certifications in other operating systems (currently 70-620 and 70-290 certified with Microsoft) and bought a book on Fedora 10 and installed it on my extra PC. First issue I ran into was that due to my graphics card being an ATI I needed to run in text mode (based off posts on these forums) then once I finally got everything under control and installed, it loads directly into Command Prompt (you folks call it GRUB right?) I can log in as root but I can't do anything this way.It won't even allow me to do things like accept the end user license agreement or create new users or see the GUI.
View 2 Replies
View Related
Nov 26, 2009
When I do System > Applications > Update System, it brings up a list of updates, and can tell me what each update is meant to fix (i.e. "fixes a bug in the flux capacitor so time travel works again (CVE-01234)"). How do I get similar info from the command line- I can't get it through yum, can I?
View 3 Replies
View Related
Dec 18, 2009
with that said i burned fedora 8, 10, and 11 checked the sha1 verified everything was fine i had originally installed fedora 8 on an old pc i had from windows XP without any problems messed with it some, upgraded to 10 again no problems. tired to update 11 got a message about ext3 not found ext4 not found, re installed 10 the loader loads up now i have a blank screen with a cursor it the left hand corner
again i had 10 installed fine prior to all this can any one point me in the right direction to solve this issue or am i way over my head trying to figure this stuff out. i have spent 3 days searching these forums.
i'm just not quite sure what i need to do. oh, i tried to install 8 again and it wouldn't take either. i think the 10 problem has something to do with the graphic driver it's a geforce 7400 nvidia and something to do with the grub, but like i said i get a blinking cursor and not quite sure how to access the grub or command line.
View 3 Replies
View Related
Jan 13, 2010
I've been working in a program in BASH and would like to measure its efficiency in different machines. Of course I am able to display the date at the beginning and at the end of its execution, but I'd rather use some sort of timer function to measure in seconds its speed. Is there any timer function available through command line?
View 6 Replies
View Related
May 13, 2010
Any relatively easy user guide for the built in command line ftp program?
View 10 Replies
View Related
Jul 23, 2010
I use F13. How can I control the volume of my desktop ssh'ing into it from my laptop?
I use the laptop like a remote control to control my desktop through vnc while watching movies, but changing volume through this setup is a bit too cumbersome and clumsy. I tried alsamixer but it behaves strangely and doesn't change volume.
View 4 Replies
View Related
Aug 3, 2010
While trying to download themes for fedora 12,I get to the end it ask for my PW (in sudo) then says it is incorrect.When in graphic inter phase all my passwords are excepted.I've been reading the linux manuel. but can't find the anwser.If I am to put anouther password in where do I do that and how.
View 13 Replies
View Related
Jan 15, 2011
I have a list of domains in "domains.txt" , and I wanted to put an "nslookup" in front of each line and run it.. However I could not figure out a command for it.. Any ideas how to do this simple task?
View 7 Replies
View Related
Jan 27, 2011
I have a couple of backup scri ts. I use a rather cumbersome method to backup evolution. I finally realized I can backup evolution easily from its File Menu. Can I do this directly from the command line, so that I can use it in a script?
View 2 Replies
View Related
Mar 12, 2011
My USB ports are not easily accessible from where I use my PC, Sometimes, I eject or unmount some USB device, only to realize that I forgot to copy or delete some file. I don't want to get up, go to the CPU, unplug and replug the USB device, go back to my sit. I don't want to execute some boring mounting command as root just to mount this particular device. What I want is a fast command that just rescan my USB ports and mount everything where it should be, as if I have make the effort of standing up and unplugin and repluggin the USB device. Does this command exists
View 6 Replies
View Related
Mar 13, 2011
Is it possible in Fedora to suspend from the command line as a non-root user?
View 9 Replies
View Related
Mar 23, 2011
I hosed my installation of F14 by installing from some "experimental" repositories. Now I only get XDM at startup and an xterm on login. This would be fine if I could use yum to do some updates, but I have no network connection. I have been over the man page for nmcli dozens of times and none of the options there seems to start anything. I have also tried starting dhclient or using:
ifconfig eth0 up Nothing. So, is there a reliable way I can just connect to the network? This shouldn't be so hard.
View 8 Replies
View Related
May 25, 2011
I just installed new Fedora (F15) and I could not figure out how to suspend or hibernate from command line as user. The method I used in previous versions does not seem to work:
Code:
What is new method of command line suspending and hibernating as user?
View 6 Replies
View Related
Aug 24, 2011
I am using Fedora12 on desktop. I tried to change keymap from systm->preferences->keyboard->layout. This changes my keymap successfully. I want to perform above activity using command line for my powerpc target. My powerpc target environment do not have KDE,GNOME or any x-windowing support. which command and which files to be overlooked for this?
I want to change keyboard layout not keymap from command line.
View 12 Replies
View Related