General :: Why Bind-mount /var/tmp To /tmp
Jul 5, 2011
I've read in several places that it is recommended to bind-mount /var/tmp to /tmp.This can be done by adding the following line to /etc/fstab:/tmp /var/tmp none rw,noexec,nosuid,nodev,bind 0 0How can this be beneficial? In other words why should we bind-mount /var/tmp to /tmp ?
View 1 Replies
ADVERTISEMENT
May 21, 2010
I'm setting up an ftp server with lucid server. A lot of the folders that should be accessible via the ftp are in different directories (and can't be moved without a LOT of hazzle) and I have to either symlink or mount bind them to the ftp chroot dir. Now I'm wondering which one is the saver variant? My guess is mount bind, but I'm not that familiar with the internal workings of linux and vsftpd (plus for symlinks I wouldn't have to change/create any scripts, just create them once...),
View 1 Replies
View Related
Sep 3, 2009
I am configuring bind9 on fedora 9(sulphur).I have configured /etc/named.conf and created zone file in /var/named/I have started the service but when I am executing the command nslookup mydomain.com it is not able to resolve the name.Another problem I am facing when I do telnet localhost 53,I am able to connect.but when I do telnet myip 53 it does not connect.Seems to be a firewall problem but I ve disabled iptables selinux completely even I ve disabled dnsmasq but still not working.
View 1 Replies
View Related
Jul 8, 2011
what is bind vs bind-chroot vs caching-nameserver ?what is the different between eatch others ?
View 7 Replies
View Related
Jul 28, 2010
I want to bind ip and mac in iptables and the script i gathered and working on is as under:
#!/bin/sh
IPTAB = "/sbin/iptables"
macadds = "xx:xx:xx:xx:xx:xx yy:yy:yy:yy:yy:yy zz:zz:zz:zz:zz:zz"
ipadds = "aaa:aaa:a:a bbb:bbb:b:b ccc:ccc:c:c"
[code]....
When i run the above script, i get an error as "Bad argument yy:yy:yy:yy:yy:yy try iptables --for more information"
View 4 Replies
View Related
Dec 23, 2009
In programming and various terminal programs (Screen, Vim) the [, ], { and } tends to be used a lot. I'm using a Norwegian keyboard where these are placed such that I have to stretch my fingers a bit too long for whats comfortable. To make it easier I though I'd try to make alt+[some key] be one of these characters. Is there a way that I can bind, say alt+� (Norwegian letter) to '{' system wide?Btw, is such thing called binding, mapping or something else? I'm getting a bit confused by the terms...
View 2 Replies
View Related
Feb 12, 2010
I am using RHEL5. I don't know to configure bind. plz give me step by step bind configuration process.
View 4 Replies
View Related
Jul 23, 2010
why but on one of my boxes I am having trouble adding a new zone with the BIND Configuration GUI. When I click New->Zone, it'd pop up a long form for me to fill out various things like .....
Cache Time To Live
Authoritative Name Server
Responsible Person E-mail
etc
I notice that on the working box, it'd populate the output of the "hostname" command onto the "Authoritative Name Server" field. However, on the box that doesn't allow me to add new zones, it uses something like localhost.
View 6 Replies
View Related
Dec 10, 2010
i just installed bind on my fedora 14 machine.and it work perfectly on the local-host, but my others machines can't use it.
by the way,I've already opened the port 53 .
View 7 Replies
View Related
Feb 25, 2011
I've tried setting up BIND from a fresh install. I've followed a few tutorials (all seem to follow a similar routine), but it doesn't appear to work properly.
This is what happens when I query my domain: [URL]
This is my named.conf file:
Code:
//
// named.conf for Red Hat caching-nameserver
//
options {
directory "/var/named";
[Code].....
I've compared both files to examples and they don't appear to be any different - I'm at a loss as to what is wrong or where I should start to troubleshoot it.
View 2 Replies
View Related
May 11, 2010
what is the use of bind & cache Pkg in DNS server is it posssible to configure DNS without cache & how
View 2 Replies
View Related
Aug 5, 2011
I have vps box with debian. I have two ip addresses, but first (default) is currently unavailable. In that case there is many problem. Fortunately wget has --bind-address option so I can download. My question is how can i configure apt-get, aptitude to use specific address?
View 1 Replies
View Related
Oct 31, 2010
I had installed BIND packages but /etc/named.conf file is missing as the packages are shown,
[root@nisserver ~]# yum list bind*
Loaded plugins: rhnplugin, security
This system is not registered with RHN.
[code]...
View 3 Replies
View Related
Oct 14, 2010
I'm new to using a BIND DNS server. I currently have one set as a master zone on my LAN. My question is how can I add a record for my local lan that will resolve without typing in the FQDN? For example I want to be able to type "server" instead of "server.domain.com".
View 6 Replies
View Related
Mar 30, 2010
I just finished configuring my BIND DNS server through the Webmin interface.
When I try to start BIND, I get the following error:
Code:
This is the named.conf configuration file:
Code:
What I need to change in the file?
View 11 Replies
View Related
Mar 16, 2011
Ubuntu was a good choice for free server O/S. I am currently downloading it. My ISP wants to bind my static IP to a MAC address of the device that will be making my connection for me. Should my server be behind my router or in front of it? I kinda wanted it to be the access point and be able to monitor the usage from all the terminals in my house. We have 4 other PC's, a laptop and a PS3. My server is a Acer Altos G530 with 3.2 Xeon Processor, 4 gb of ECC DDR,
View 7 Replies
View Related
Mar 30, 2011
I have installated and configured Bind. But when I restart the named service, I am getting the following error.
31 14:29:16 Server avahi-daemon[2440]: Server startup complete. Host name is Server.local. Local service cookie is 1560939195.
Mar 31 14:29:46 Server named: /etc/named.conf:3: change directory to '/var/lib/named' failed: file not found
Mar 31 14:29:46 Server named:
Mar 31 14:29:46 Server named: /etc/named.conf:3: parsing failed
Mar 31 14:42:34 Server named: /etc/named.conf:3: change directory to '/var/lib/named' failed: file not found
Mar 31 14:42:34 Server named:
Mar 31 14:42:34 Server named: /etc/named.conf:3: parsing failed .....
I have configured forward and reverse zone.
View 4 Replies
View Related
Mar 25, 2011
I need to publish my local webserver from my lan to access outside using internet, I have public ips provided by ISP my local webserver address is 192.168.1.5 and I want to bind this local address to a public ip (Ex: 61.8.153.212) to use it out side my lan through squid.
View 11 Replies
View Related
Dec 5, 2008
From a scan with nmap,I saw that,on my desktop,3 services were visible,ssh(which I don't want to disable),rpc-bind and smtp.As far as I know rpc-bind and smtp aren't needed on a desktop pc(I don't plan on having a mail server,at least on this pc),but before disabling something I need,I am asking it here-do I need them for some vital service?I am running OpenSuse 11.
View 2 Replies
View Related
Sep 14, 2010
I want to let a regular user (not just root) restart apache on my Ubuntu machine.I was using /etc/init.d/apache2 so I figured this is what I have to set permissions for. I set the owner group for this file a group to which that user also belongs. I set the chmod to 775 but it didn't work. I then even set it to 4775 thinking this would totally make it work but it still didn't.I'm obviously giving permissions to the wrong file.
The error says:
Quote:
httpd not running, trying to start (13)Permission denied: make_sock: could not bind to address 0.0.0.0:80 no listening sockets available, shutting down Unable to open logs But I didn't find httpd anywhere on my machine.
View 5 Replies
View Related
Jul 19, 2010
I am using Ubuntu linux, and I want fn + up key and fn + down key to change the brightness instead on fn + F4 and fn + F5. I've tried looking for something in the Keyboard Shortcuts menu, but there is no command or key specified to do that. I could make a custom key shortcut, but I can't find the command to change the brightness. Is there a way to make another key do this? My laptop is a Dell Inspiron 1545.
View 10 Replies
View Related
Jan 11, 2010
I've just configured a bind server for my home domain on Fedora 12. One thing that's buggering me is that Bind tries to do its lookups first with IPv6, which fails and then falls back to IPv4. This seems to me an unnecessary use of resources, so I'd like to turn this off. This is possible by using the option named -4, but there comes the part where. the Named start/stop script is defined in the /etc/rc.d/init.d dir, but how can I get Fedora to start this script with the named -4 option?
View 2 Replies
View Related
Oct 2, 2010
Need Bulk record creating for BIND DNS server. I have information in a file I need to crate a new zone and A-record. I have 10000 domains in a file. Is there any tool available to do this @ one go
View 4 Replies
View Related
May 10, 2011
- I setup port forwarding of openssh :
connect 1: ssh -g -f -p 11111 -i /<path-to-private-key> user1@ip-server1 -L 22222:ip-server1:161
- Then I setup second connection
connect 2: ssh -g -f -p 11111 -i /<path-to-private-key> user1@ip-server1 -L 22223:ip-server1:3306
- Openssh waring to me "bind: address already in use"
- So I think port 22223 have had another program use,I use command:
ps aux | grep ssh /* find process id of second connection */
kill -9 <process-id-second-connection>
netstat -an | grep 22223 /*find which program use port 22223> */
- but I can't find anywhat
- Then I run again command :
connect 2: ssh -g -f -p 11111 -i /<path-to-private-key> user1@ip-server1 -L 22223:ip-server1:3306
- And I receive a error from OpenSSH :" bind: address already in use"
View 2 Replies
View Related
Jul 27, 2011
I configured DNS in my server while That time SELINUX enabled means It show permission denied error and some errors, but i checked all the directory permissions and all its every thing correct only but not worked..At last I just disabled the SELINUX then its working fine.I Heard SELINUX is for security for Linux operating systems, but why i disabled means only its working??
View 3 Replies
View Related
Aug 26, 2009
It it possible to setup a bind server for my internal network at home? Currently, all clients DNS requests go to my Verizon FIOS router, which also acts as a DHCP server. I would like to setup a another DNS server using BIND for studing.
Current setup:
Client --> Router (DNS Server) --> Internet
New BIND server setup:
Client --> BIND Server (2nd DNS) --> Router (Primary DNS) --> Internet
How would I go ab this? Would I have to configure a cache naming DNS server?
View 3 Replies
View Related
May 5, 2011
How do I configure my Debian installation to mount external USB drives to mount points based on the volume names of the drives? For instance, if I have a thumb drive with the volume name of "SWORDFISH," how do I have Linux mount it at /media/SWORDFISH? I'm aware that this can be setup in FSTAB, but that requires that I know the UUID of the device beforehand and that I take the time to set each external device up in FSTAB first. That does nothing for me when I have a thumb drive that has never been plugged into my computer before.
This seems to be setup by default in Ubuntu/Kubuntu, but is not working for me with a fresh installation of Debian Squeeze and KDE4. I've spent the past 2 hours Googling for a solution and have turned up nothing. UPDATE: My results are inconsistent. Sometimes Debian mounts devices to mount points based on the volume names, and other times it gives them generic mount points (e.g. /media/usb1).
View 2 Replies
View Related
Feb 10, 2010
I am trying to setup fstab to automatically mount my NTFS partitions. I have used various Mount managers to create the entries in fstab. The fstab seems fine, but when mounting at boot or even via Nautilus I get the error message that I do not have permission to mount the disk.
1) Can this permission be set in the fstab file? If so what is the syntax of the fstab entry?
2) If not, is there a tool i.e. GUI to set the mount permissions?
View 14 Replies
View Related
Feb 11, 2010
I'm not really sure this is the right category for this post...
I've been thinking and reading but I really don't find a solution, and this is why I decided to post here. I'm not a newbie using Linux but I know absolutely nothing about nfs and related stuff. If explanations are not clear/precise I'm sorry and absolutely open to explain myself better (I'm really desperate, at this point).
I'm running a Debian in a VirtualBox inside a RHEL5. To supply space to the virtual machine I'm trying to mount a disk (? maybe not?) that I created in the RHEL.
In RHEL: I created a directory /some/path/dir and I granted access to it from the VM (edit /etc/exports file and restart the nfs service)
In Debian: I created a directory to be used as mounting point (mkdir /other/nice/path/dir) and I tried to mount (mount -t nfs -v redhat:/some/path/dir /other/nice/path/dir). What happens next is the following:
mount.nfs: timeout set for Thu ...
mount.nfs: text-based options ...
mount.nfs: mount(2): Input/output error
mount.nfs: mount system call failed
Now, this Input/output error is too vague to trace where the problem is, but I really have no idea about how to go more in depth (are there logs somewhere? What should I look for? ... ...).
View 5 Replies
View Related
Mar 17, 2011
this is my first post i have this error in ./configure for bind 9.7.3: checking for OpenSSL library... using OpenSSL from /usr/lib and /usr/includechecking whether linking with OpenSSL works... yeschecking whether linking with OpenSSL requires -ldl... unknown configure: error: OpenSSL has unsupported dynamic loading
View 1 Replies
View Related