Server :: Autofs Hostname Lookup Failed: Name Or Service Not Known
Oct 25, 2010
I am running a debian squeeze server, and have autofs 5.0.4 installed. One of my scripts (autofs executable files) is trying to mount some of my LAN hosts.The host mount fine at start, but when unmounted automatically, it will not mount again. (At least unless I wait for 2-3 minutes).The problem is, maybe, that I get these messages in the log:
add_host_addrs: hostname lookup failed: Name or service not known
mount(nfs): no hosts available
failed to mount {myshare}
If I wait a couple of minutes, the share is mounting fine, but that is not an option.The mount command issued by my script is mounting just fine on the command line after all these error messages, but autofs seems to have a problem with it anyhow.I have searched all over the web trying to get a reasonable explanation to any of these messages without luck.I don't think that I can upgrade automount, since this is an embedded device (SheevaPlug), so what is my options?
View 2 Replies
ADVERTISEMENT
Mar 31, 2010
i am using RHEL5 at VirtualBox,at the time of installation i did create two partition one for / and another for swap.Now my /var directory is taking too much space and i decided to create a new partition with required size and mount that partition to /var.Now http service wont start and i did not reboot yet.
View 8 Replies
View Related
May 5, 2010
on F12 (2.6.32.11-99.fc12.i686.PAE) autofs/udev generates the following messages at every boot:
Code:
May 5 00:28:30 foo udevd-work[679]: setfilecon /dev/autofs failed: No such file or directory
May 5 00:28:30 foo udevd-work[679]: chmod(/dev/autofs, 020660) failed: No such file or directory
May 5 00:28:55 foo automount[1131]: failed to mount /media/.hal-mtab
The configuration is fairly simple:
Code:
#/etc/auto.master
/media file:/etc/auto.media -browse --timeout=10
#/etc/auto.media
[code]...
View 1 Replies
View Related
Oct 12, 2010
I meet this problem after i reformat the CentOS 5...I havent do any configuration, the named service start failed ? why ....
View 2 Replies
View Related
Jun 22, 2011
I am trying to set up a web server, i have put in a hostname.In terminal command: hostname shows 'promisedland, but hostname -F gives me name or service not known.How do I associate hostname properly, I have registered a hostname through DynDNS.I can access the page in my browser so I know it is there, I see the blank "u made it page".I just want to host a web server w/ a directory to my shared files (movies, music etc) that are on my server.
View 2 Replies
View Related
Apr 2, 2011
[root@itsupport ~]# service httpd restart Stopping httpd: [FAILED] Starting httpd: (98)Address already in use: make_sock: could not bind to address [::]:80 (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down Unable to open logs [FAILED] Iam facing the above error when i restart the service httpd
View 9 Replies
View Related
May 27, 2011
I'm setting up an automatic mount point on one of my servers. However, for this file I only want certain people (permissions) to access it once it is mounted. I'm figuring I need to place this either on an ACL (via setfacl) or by configuring this in my mount point config file (auto.misc) . Has anyone done this before, restrict use of an auto mounted directory?
[Code]...
View 3 Replies
View Related
Apr 12, 2010
Ok, for some reason I can't get autofs to work on /home. I setup a NIS server and wanted to map the /home on the client to the /home on the server with NFS. But I want to use autofs to mount the users' home directories. BUT I get an error every time. Here is my configuration:Turned off firewall and SELinux on both system to rule those out. It works if I use /tmp/home as the autofs mount, but no with /home.
View 4 Replies
View Related
Dec 12, 2010
I got this error for two days.back then I googled this error and i got some information about log file in /var/log/syslog but i couldn't find it in google at all. this is all i got from syslog . look at the red paragraph
[Code]....
View 1 Replies
View Related
Sep 20, 2010
I'm trying to set autofs up to wake a samba file server whenever I want to use it. I found this page which apparently demonstrates how to do it with NFS. With a bit of modification I've managed to come up with this:
Code:
/etc/auto.wake
#!/bin/sh
hostsrv=<server ip address>
hostmac=<server mac address>
opts="-fstype=cifs,rw,credentials=/etc/samba/.creds"
netcat -w 5 -z $hostsrv 445
status=$?
if [ $status -ne 0 ]
then
/usr/sbin/etherwake -i $hostsrv $hostmac
sleep 60
fi
/bin/echo -n "share"
/bin/echo -n -e " "
/bin/echo -n "$opts"
/bin/echo -n -e " "
/bin/echo "://$hostsrv/share"
Now, I've added this line to auto.master
Code:
/server /etc/auto.wake --timeout=60 --ghost
and restarted autofs
Code:
sudo service autofs restart
It wakes up the server successfully but then when I wait 60 seconds and browse the /server directory on the client the share doesn't appear at all.
View 1 Replies
View Related
Apr 29, 2010
We have a homegrown process that runs on a windows box and produces a csv file. We mount the directory these are output to using autofs/cifs and then process them using a program on our linux database servers.
Is there a way from linux, looking at the cifs share, to tell if the target file is currently in use by a process on the windows box? We are having issues where an incomplete file is being processed occasionally.
View 5 Replies
View Related
Apr 1, 2010
I'm having this problem that's driving me nuts.Basically I've set up 2 virtual DNS servers.1. Master on fictive domain "domain.xx". 2.ster of fictive domain "sub.domain.xx"NS 1 delegated sub. zone-space to the DNS 2.Everything works except for reverse lookup on sub-domain.For instance. 172.16.0.101 should resolve to my fictive mail.sub.domain.xxIf I try to resolve it with 'host 172.16.0.101' from domain.xx I get:Host 101.0.16.172.in-addr.arpa not found: 2(SERVFAIL)If I do the same from the actual sub.domain.xx I get:Host 101.0.16.172.in-addr.arpa. not found: 3(NXDOMAIN).
If I, on the other hand, try to resolve a hostname both from domain.xx or sub.domain.xx with 'host mail.sub.domain.xx' I get the proper address as the answer: 172.16.0.101I've delegated the in-addr.arpa space to sub.domain.xx dns-server according to RFC 2317 specification, at least I think...Please note this is a virtual network address 172.16.0.0/24Here are the excerpts of the in-arpa-files on both domain.xx and the sub.domain.xx server.
Code:
$TTL 12h
$ORIGIN 0.16.172.IN-ADDR.ARPA.
[code]...
View 14 Replies
View Related
Jul 23, 2011
I configured POSTFIX with DOVECOT, LDAP & Squirrel mail on RHEL 5.5. Iam able to login using LDAP authentication. Now i want to deliver mails locally using LDAP. I configured to query LDAP using transport lookup table (ie.transport_maps=ldap:ldaptransport). it shows the following errors:
warning:dict_ldap_lookup:ldaptransport : search base not found-no such object..
Temporary lookup failure.
ldaptransport Configuration:
server_host=hostname of server
[code]....
(But same search_base is configure in Dovecot, it is authenticating) I have searched in net, they are telling that some ASCII encoding problem in postfix to LDAP.
View 1 Replies
View Related
Mar 23, 2010
I have installed opensuse 11.2 64 bit on my pc. But I have some troubles with nepomuk and desktop search. I, in system settings pannel, have tried to enable nepomuk and strigi. But strigi show me this error message:
Code: Strigi service inizialization failed, maybe for an installation error. This is strange becouse during my installation I have not seen error messages....
View 1 Replies
View Related
May 7, 2010
Just completed the upgrade to 10.04 from 8.04, and ironing out the wrinkles. Since the upgrade, I'm not able to establish a VPN connection to my institute (a problem since outgoing mail REQUIRES a VPN connection) The pull down menu shows the connection as an option, but clicking on it brings up a separate window that simply says "The VPN connection CfA failed because the VPN Service failed to start." Never had this issue under Hardy, so not sure what's going on. Under "Configure VPN" the settings look the same as they always did.
View 7 Replies
View Related
Mar 16, 2011
I configured vpn successfully as per [URL]
when I start it i get a message "The VPN connection bestfreevpn.com failed because the vpn service failed to start'
What needs to be done. My net is working normal. Just wanted to try VPN.
View 3 Replies
View Related
Jun 1, 2011
F15 x86_64
I can start this from the command line and it shows no errors.
httpd -t --- syntax ok.
no entry in the httpd error logs.
chkconfig reports it as on.
service --status-all shows this --
httpd.service - LSB: start and stop Apache HTTP Server
Loaded: loaded (/etc/rc.d/init.d/httpd)
Active: failed since Wed, 01 Jun 2011 07:06:18 +0100; 58min ago
Process: 1152 ExecStart=/etc/rc.d/init.d/httpd start (code=exited, status=1/FAILURE)
CGroup: name=systemd:/system/httpd.service
After a reinstall I finally caught this in /var/log/messages
systemd[1]: Unit httpd.service entered failed state
The httpd.service file does not exist on the system. Where can I get a copy?
View 14 Replies
View Related
May 23, 2010
whenever i try to update or install a new software this problem shows up Resolving ftp.3drealms.com... failed: Name or service not known. wget: unable to resolve host address `ftp.3drealms.com' --2010-05-23 12:20:14-- ftp://ftp.3drealms.com/pub/share/1rott13.zip => `/usr/share/games/rott/1rott13.zip'
View 3 Replies
View Related
Jan 6, 2010
I am using RHEL 5.0. I am having problem with postgresql service it is not starting, not stopping, not restarting.
View 5 Replies
View Related
May 9, 2009
I have CentOS 5.2 just installed and massively updated with yum -update command. Than I tried to configure firewall. After changes via system_config_securitylevel_tui (open ssh, http, ftp, and 3306:TCP ports) iptables service can't start with message
> /sbin/service iptables start
Flushing firewall rules: [OK]
Setting chains to policy ACCEPT: mangle filter nat [OK]
Unloading iptables modules: [OK]
Applying iptables firewall rules: iptables-restore v1.3.5: Couldn't load match `TCP':/lib64/iptables/libipt_TCP.so: cannot open shared object file: No such file or directory
Error occurred at line: 18
Try `iptables-restore -h' or 'iptables-restore --help' for more information.
[FAILED]
I erased the iptables service and installed it again with yum. How can I make this service work?
View 7 Replies
View Related
Jul 17, 2010
I have written a init.d script but, when do '/sbin/service scriptd start' it does not indicate OK or FAILEDWhat could I be missing?
View 2 Replies
View Related
Jan 3, 2010
I have a network of 2 WinXP machines and one linux box. I have fiddled around with the settings as you do when learning. The network is working. The network neighbourhood on the WinXP machines recognise the linux box and vice versa, (the linux Places|Network recognises the 2 WinXP). I can Ping the linux box using its hostname from a WinXp. But I cannot do the reverse. I get an 'unknown host' response. I can ping the linux to itself using its hostname.
View 7 Replies
View Related
Jul 29, 2010
I'm having an issue on two Fedora Core 13 machines where I can ping others by hostname, but the hostname resolution fails whenever I use ssh/scp/vnc/etc. I can still do these things by IP address, just not by hostname. RHEL5.3 machines on the same network with the same configuration do not seem to have this problem.
Here's the not-so-quick-and-dirty description of the situation:
I know that there is a virtual router at 192.168.31.1 and another at 192.168.30.1. I also know that there is another network (let's call it 90.90.90.0) and on that network lies a number of resources. By nature of this configuration, any machine on 90.90.90.0 can be accessed by any 192.168.x.x, but not the other way around. Beyond that is out of my hands and currently out of my scope of knowledge.
I have a dnsmasq server on 90.90.90.10 that operates as a secondary nameserver, another machine out of my sphere of influence is the primary nameserver (90.90.90.31).
The secondary nameserver on 90.90.90.10 holds the hostnames of our development machines. The problem is that in some cases, while I can ping by hostname all day long, services such as ssh, scp, vncviewer, etc all fail to resolve the hostname. In other cases I can do all of these things.
Every machine has an equivalent resolv.conf:
As an example, I will show the output of a handful of my development machines:
I also included columbia as a one-way test -- even though it cannot access 30.x or 31.x, they can access it:
columbia -- physical machine, Red Hat Enterprise 5.3, IP 192.168.100.200
Okay, so here are the various outputs. Remember, nibbler, discovery, and atlantis can ALL:
- Ping by IP address
- Ping by hostname
- ssh, scp, vnc, etc by IP addess
Additionally, the SERVFAIL reply from 90.90.90.31 is expected since my dnsmasq server is on the secondary server.
Note that the only machine that can both ping and ssh/scp/etc by hostname is nibbler, which also happens to be the only one of the three running RHEL5.3 instead of FC13. Other virtual and physical machines running on the 192.168.31.0 and 192.168.30.0 networks (all running RHEL5.3) work just like nibbler does. So the problem seems to only affect machines running FC13.
Final note: selinux is disabled, iptables is disabled, ip6tables is disabled.
Other than that, discovery is a brand-spanking-new install straight off of the FC13 DVD. atlantis has been around longer, but its just a file server so I haven't done anything too crazy to it.
View 3 Replies
View Related
Dec 25, 2010
On Slackware 13.1, I am trying to connect to another computer using:
X :1.0 -query <hostname>
but I get a black screen and then the following error:
$ X :1.0 -query slackserver
X.Org X Server 1.7.7
Release Date: 2010-05-04
X Protocol Version 11, Revision 0
[code].....
I tried to connect to both another Slackware 13.1 computer and a Debian computer. I also edited the /etc/X11/xdm/Xaccess file on the remote host to enable the graphical login access. I always get the same error.
View 4 Replies
View Related
Dec 11, 2010
wonder if anyone might have a clue with this. i installed filezilla because i wanted a nice ftp client, but when i tried connecting to the server with filezilla, i get this:
Quote:Connection attempt failed with "EAI_NONAME - Neither nodename nor servname provided, or not known".
yet when i googled that, i mostly found hints that said "your hostname's invalid" or "check the spelling of your hostname". well, those aren't it. i can login to this ftp server successfully through both firefox and by using a gigolo-gvfs-thunar combo.i even uploaded a file with the thunar route. and nslookup is able to see it. so what's with filezilla? by the way, this ftp account of mine is very old....i've had it for probably 10 years, and haven't logged in for 5. i'm surprised it still works.
also, why am i trying to work with filezilla when i have gigolo-gvfs-thunar? because thunar locks up and becomes completely unresponsive for a couple of minutes whenever i try to do any ftp'ing with it, even though it works. if i even so much as click on a file in my ftp directory, i have to wait two minutes before the window comes back and highlights the file i clicked.
UPDATE: just tried connecting via ftp in the command line, and no luck. so apparently it's not just filezilla. maybe i just can't ftp directly to that host anymore? but if so, then why are firefox and gigolo able to connect? networking is not one of my strong points, so this is confusing to me.
update again whaddya know, maybe i'm slowly starting to get some brains when it comes to networking. though i won't say i "figured it out"....but i did make it work. i just used the ip address nslookup reported and was able to ftp to it with both filezilla and the ftp command line. i forgot to mention that i'm behind a firewall (my router), and i guess the hostname is not in the router's DNS, if my tiny understanding of routers is correct. but connecting to the ip address directly is apparently not a problem.
View 4 Replies
View Related
Apr 6, 2010
How do I set $HOSTNAME to dynamically update with the hostname that is specified for the ip in DNS?
View 3 Replies
View Related
May 24, 2010
I'm trying to ping another Ubuntu computer on my local network. If I try doing,ping <hostname>then I get the messageping: unknown host <hostname>however, if I doping <hostname>.localthen I get a response back. I was wondering how I can change it so that I can ping without having to append .localI've installed winbind and modified my /etc/nsswitch.conf file but this has made no difference.
View 2 Replies
View Related
May 22, 2011
I have an ubuntu 10.04 server with hostname "abc.domain.com". However, due to migration, we had to change to hostname to something else, "xyz".
I have done changing /etc/hosts and /etc/hostname and run /etc/init.d/hostname start.
Checking the hostname and all shows it is now using hostsname of xyz. However, email sending out is still using old hostname. We have some scripts that will send out alerts like failed rsync or hdd space full to my email account. But I see the sender is still "root@abc.domain.com".
How do change that to xyz? I am using postfix. I have edited main.cf and restarted postfix but no go.
View 1 Replies
View Related
Aug 20, 2011
hi, first i'd like to say that i'm totally new to linux, i was allways using windows.
as i was allways unable to install a good and stable ssh-server on windows, i thought it is time to change to linux. i was able to set up and configure a ssh-server on debian but found out, that fedora 15 looks more userfriendly in first place for me. but now i unfortunately experience problems..
the ssh server was already installed, i changed the service setting to that it starts automatically but after i succesfully connected to the LAN, i cannot access the shh via putty for instance. when i type "service sshd status" it says beside other things: active (running). but when i look at the /var/log/messages, it says those two lines:
sshd.service: main process exited, code=exited, status=255
Unit sshd.service entered failed state.
i searched on google without success, the only thing i found was that someone had the same problem with a bad sshd_config file, but i'm pretty sure that everything is alright with my config-file (i checked it several times).
beside this i cant login on the gui, after the firefox update (??) it always says: a problem has occured and the system can't recover bla bla... so i can only use fedora right now commandline-based.. but with this problem i will deal later on...
View 3 Replies
View Related
Jul 28, 2011
Here what I want to achieve. I have iso file images that I do not want to expand permanently via /etc/fstab, but instead via autofs. Then I want them to be exposed by HTTP and FTP. I am using CentOS 5.5 and below are the relevant part of configuration files.
/etc/auto.master:
/expanded /etc/auto.iso --ghost
/etc/auto.iso:
centos -fstype=iso9660,loop,ro,context=system_ubject_rublic_content_t:s0 :/isofiles/CentOS-5.5-i386-LiveDVD.iso
[code]....
View 3 Replies
View Related