Fedora Servers :: Slave Dns Fails W/o Primary Dns?
Mar 23, 2011
setup - one primary dns and one slave dns. zone transfer works, internet works, dig lookup works. if i bring down the primary, everything stops working. should'nt the slave dns pick up the slack when the primary dns goes down.
zone "2.168.192.in-addr.arpa." IN {
type slave;
file "slaves/192.168.2.db";
[code]...
I'm having some issues upgrading my F9 to F12 using 'preupgrade' so I'm looking for anybody who has ever been able to complete a preupgrade from F9 x86_64 to F12. The error message I receive is TypeError: Parsing primary.xml error: attributes construct error. To my knowledge this has been reported as a bug in F10 which was resolved by a yum update to version 3.2.24.
For F9 the latest yum version is 3.2.21 which has this Parsing error bug that prevents the preupgarde to continue. Interesting enough that the preupgarde lets me select Fedora 12 and progresses with all the preupgrade steps properly until the parsing error occur. How to fix this Parsing error on a F9 x86_64 system.
I have 2 nameservers setup, a master and a slave. when I first setup the slave, I restarted bind9 and all of the zone records propagated just fine. Today, I updated one of the records on the master (no problems), but when I restarted bind9 on the slave it gave me a FAILED message. I checked the log and it was trying to receive notify's from my gateway address (192.168.10.1), and got "Failed to update from non-master". I did some research and found several people having a similar problem, but their slaves were trying to update from their own IP, not from the gateway IP. I tried their solution (allow-notify { 192.168.10.1; }) but all that did was allow the slave to restart bind without errors, it still doesn't update the records. It says "zone is up to date" but it's not.
I have a device that is only accessible using wireless. By default it starts an ad-hoc wireless I can connect to. The problem is there is no internet access on the ad-hoc. So I'm connecting it to my router using the commands (its a gnu/linux):
I want to add it to start up script but I don't want to get locked out of the device forever if something happens to the router (its really old). Is there any way to check if the connection failed and create an ad-hoc instead if it failed?
I setup 2 servers for DHCP and DDNS failover. But I see only Master DNS can update to db. file. When I disconnect Master, the Slave can release new IP to client but can't update record to db. file.
I need to perform instant filecopy between a pair of servers. Its loosely based on a master slave setup as we have ucarp floating a virtual IP between the two. services are on both boxes (tftp, apache). I'm happy with that, I now need a way to instantly sync files from set directories, as we could see problems if files have changed should the system fail over without being in sync
I know I could cron *1 but I don't want it running EVERY minute, in any case, if the change was within the last minute, then it wouldn't have the change anyway. I think it can be done with rsync daemons on box boxes, but I can't find a guide to to this. ATM the slave has been setup to accept rsync from the master, so I just need the config to have all changes on the master instantly replicated.
I am running fedora 10 and webmin squid proxy server, after power failure the squid fails to start. i have tried to start it from command line but failed
I'm trying to move an existing webserver from an old machine to a machine with Fedora 12 installed on it. ThSince the version available in the repository is version 2.X I downloaded the source from apache.org and tried to compile it. I ran configure using the default options and it an without any warnings or errors. However when I run make it fails with the following error:
We are trying to consolidate some servers to run as virtual machines on our F13 host.After booting into SystemRescueCD, we take a dd of /dev/sda (we initially did a dd of sda1 before realizing our error)We transferred this image (EDI.img) to our F13 VM host. and created a new virtual machine using the graphical Virtual Machine Manager using "import an existing disk image" and the same EDI.img file as the storage volume.
Unable to boot, I've done much googling to find the registry entries of MigrateIDE.reg - which I've manually added to the image's registry via chntpw -e /mnt/windows/WINDOWS/system32/config/system.Another forum's posting advised to boot from the XP iso and allow this installation process to "repair" the existing installation. I'm still sitting at a blank screen with minimal CPU activity. Can anyone point me in the right direction on how to migrate a physical XP machine to be a virtual machine running under F13?
I am using ubuntu server 9.04 version and trying to configure a primary master DNS on my server as followed the ubuntu official documentation [URL]. The files named.conf.local, db.example.com & db.192 are almost same as the documentation. And I can restart DNS. But when I followed the troublshooting page to ping example.com
thomas@UServer:~$ ping -c 4 example.com PING example.com (127.0.0.1) 56(84) bytes of data. 64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.047 ms 64 bytes from localhost (127.0.0.1): icmp_seq=2 ttl=64 time=0.067 ms 64 bytes from localhost (127.0.0.1): icmp_seq=3 ttl=64 time=0.058 ms 64 bytes from localhost (127.0.0.1): icmp_seq=4 ttl=64 time=0.061 ms
I have a freshly installed, updated Fedora 11 installation for which the VMWare Tools fails. It can't compile what it needs, either. It's running under ESXi 3.x.
Ejabberd fails to start in f-12. ejabberd-2.0.5-9.fc12.i686. This ran fine in f-10 and f-11. Getting a large number of strange error messages from the ejabberd log code...
Looks like it may be a permissions problem.
Anybody from the ejabberd community here that has gotten ejabberd to work on f-12?
I'm completely stumped by a problem with httpd in Fedora 13. It fails to start on boot: I can see: Starting htpd: FAILED, in /var/log/boot.log, but I can't find anything else in messages, audit.log or anywhere else that gives me any clue why. The weird thing is that running: run_init service httpd start after boot _works_ and the server runs fine, but even when it's running OK, service httpd status reports httpd dead but subsys locked
I'm guessing that the problem somehow relates to selinux, but I can't find anything in the audit logs that gives me a clue. How to turn on more logging so that I can get closer to the problem. I finally discovered the cause. This system was originally configured to use network services directly, without NetworkManager. It had been upgraded a number of times since installation. It seems that over time, if you have turned off NetworkManager, the defaults have changed. Used to be that the network services was 'enabled' by default (hence started at run time). Now, the default is 'disabled'. Httpd couldn't start because there was no network to start on. Enabling network services at boot time fixed this. I guess I should have noticed this. But one might think that httpd failing to start because of the lack of a network might at least give a warning message in the logs about the reason.
I have a desktop running on Fedora 14. I installed LAMP by using scripts for package installation. That works fine. Also, I have a virtual environment (Virtual Machine Manager), in which I installed Fedora 14 as well. I tried to install LAMP by the same scripts and the same packages as on my desktop, but strangely - it does not work.
I figured out that in both cases two instances of httpd.conf are installed, one residing in /etc/httpd/conf/, the other one in /usr/local/apache2/conf. The first one seems to belong to the server that is by default installed together with Fedora 14. The second one is the result from the package installation.
For a reason unknown to me, the second one (/etc/httpd/conf/httpd.conf) is always activated on my desktop, while the first one (/usr/local/apache2/conf/httpd.conf) is activated by default in my virtual computer. I have been able to change the DocumentRoot with succes.
I know how to install LAMP with yum, I have a second virtual computer with LAMP installed by yum, and the whole question is not an urgent one, but... I am just curious... what could have caused the difference? And what would I have to do whenever I would like to use the package installation or vice versa?
I am trying to build my second home file server after building an experimental x386 unit.
Gigabyte x64 Motherboard with 3core processor and 4GB RAM 10 1.5TB SATA HDD (Mostly WD15EARS and W15EADS) 2 2TB SATA2 HDD (WD20EARS) I want to create a RAID 6 Array of the 10 1.5TB drives and (1.5 TB partitons of the 2 TB drives) the remaining 0.5TB of the 2 TB drives will be used for RAID 1 arrays (SWAP, root and usr)
When i partition the drives the 1.5 TB drives can be Primary or Logical. The 2 TB drives do not give me this option.
For the 2 TB drives: - i can partition into 8GB Swap, 20 GB root, 474GB usr and 1.5TB RAID6. - When i select (Physical partition for RAID) I CANNOT change the Bootable FLag to ON. It always stay OFF. If i use other file systems such as exf4 it can be changed to ON. - when i continue with the installation it fails while installing GRUB.
Questions: Why does my 2TB drive not allow me the choice of Primary or Logical? Is the Bootable Flag = Off the reason GRUB will not install? How can I achieve my goal of using the 2TB drives for RAID 1 and RAID 6
Here's the deal: I had a nice little fileserver running under 2.6.27.21-170.2.56.fc10.x86_64.
3 disks in raid 5 ext4fs, then I thought..."hey I'm a greedy bastard..I want another drive!!
So I get it..do a normal mdadm --grow...after around 1100 minutes .. FINISHED!..whee..happy...
I decide to do a upgrade to 2.6.29.2-52.fc10.x86_64 to get the fix for growing the ext4..
reboot...
Code: md: bind<sda3> md: sdc3 has same UUID but different superblock to sda3 md: sdc3 has different UUID to sda3 md: export_rdev(sdc3) md: sdd3 has same UUID but different superblock to sda3
I have no idea what is going on here and this is the second time it has done this but. I just installed Lucid Lynx Desktop Edition for my Server. I have installed apache php5 mysql binarys. I have 3 ips on the machine 10.0.1.30, 10.0.1.37, 10.0.1.38. .30 is the main ip 10/100 the rest are 10,100,1000 ports. I can only access Apache 2.2 over .37 or .38 but not .30
I have not used Ubuntu alot but I am starting to and this really pisses me off since all my computer have aliases to the machine through .30
I have the Samba server & users configured, I can access between Linux/Windows shares and both SMB & NMB services are set to be enabled at boot.Everything working.But when I restart the computer, I notice in services configuration that "This service is dead." for NMB. Therefore I have to enable it manually upon boot so that it works.I'm using Fedora 10, fresh installed and updated. I've noticed through search that others have had this issue as well throughout other versions of Fedora, yet I have not found a conclusive solution to this.
This is the scenario: Active Directory Server = 192.168.0.1 Squid/Dansguardian Proxy Server w/NTLM Auth = 192.168.0.10 The Linux box has been integrated with AD and works fine. Users can authenticate automatically when login the AD or when they access the web through Basic authentication. That part is just fine.
But, when I add a new user, or change a users' primary group, I have to change the 'filtergroups' file in Dansguardian. I tried to make auto this process using the USERMAP and USERMAP2 scripts in [URL].. at the "Extras and Add Ons" section, but both scripts doesn't run properly in Ubuntu if they are not changed. I tried, following the instructions, but got a lot of syntax errors. So, I wrote a very simple script using 'net rpc' to retrieve all users according to the AD Security and Domain Groups. I created an output folder in dansguardian to dump the rpc outputs into files. And read the files to apply filtering groups.
I am studying RHEL myself, not clear with following topics How to configure DNS slave server in RHEL 5 Whether named.rfc1912.zones file entry can be included in named.conf itslef,if not What is following entry means inside named.conf file
so i used to have my harddrive mounted in fstab, to /mnt/diskS. than i decided to change the permissions to 766 global i believe i read somewhere with chmod. anyways so after that i checked to see if it worked and to my dis believe all my files are gone. or just arnt showing, the space taken up hasnt decreased but i just cant see any of my files. so i decided to take the harddrive out of fstab and restart my computer. and after restart when i click on the folder the harddrive is mounted in it says permissions belong to 1000?
Is there a method of changing the Primary DNS other than system-config-network?When using system-config-network the new settings are always over written with the original settings after re-boot.
I have Installed Fedora12(and also Vista and XP). When I switch on, a screen appears telling "Enter any key to Enter Boot Menu"(as I can remember)for about 3 seconds and then starts Fedora12 automatically.I want to change it and make Windows 7 as my primary OS or I want to see directly the bootloader first(not the 3 seconds message).
I used Acronis' Disk Director Suite 10.0 ["DDS"] to create 7 logical partitions of 23GB each, into one of which I asked Fedora 11 to install. Fedora 11 completely ignored me and created 2 primary partitions of its own: a 217.4GB, a 2GB and a 2GB "unallocated." I will likely delete this installation for a number of reasons. How can I force fedora to install into a 23GB logical partition that I created for just that purpose? If I can't use DDS-created partitions then why do I need DDS-created partitions?
I have been using Fedora since almost 1 week by now, and I'm really impressed by its features but there is one very small problem that I face everyday.At the first place, I had setup a profile settings for Network so all my static IP, Hosts, DNS servers were all configured in that profile.Now I had filled in something in the Primary DNS Server and then I had saved it. The internet works after that but when I reboot, that Primary DNS server gets deleted. I have to type it all the time and then click on save and then start using the internet again.
I have two network interfaces on my computer but only one of them is connected to an Ethernet cable. Until now on every Fedora release, the activated primary interface has been named as eth0 and everything has always worked well without any problem. Recently I switched to Fedora Core 12 and surprisingly I observed that for the first time, my primary interface has been considered by the system to be eth1 instead of eth0. I tried to replace the content of ifcfg-eth0 by ifcfg-eth1, yet system gave me an error that there was MAC address mismatching. I conserved their MAC addresses in their files and just replaced other connection parameters ( such as IP ADDR, NETWORK, NETMASK, etc.) but it did't work. When I do "server network restart", the command blocks.
As I try to install oracle on this system, regarding the fact that oracle requires static network configuration on the primary network interface, I don't know how to proceed in order to set eth0 as my primary interface (or rather set the current eth1 to eth0 because it is actually eth1 that refers to my activated primary network card).Just one more time, I would like to remark, that with previous versions of the Fedora Core, on the same computer (with the very same two network cards) I never had problem and I had installed oracle on the system with success, having the statically configured eth0 correctly detected by the system.