Server :: File "named.stats" Exists In Bind9 Under Solaris 5.8?
Sep 17, 2010I want to know if the file "named.stats" exists in bind9 under solaris 5.8?
View 1 RepliesI want to know if the file "named.stats" exists in bind9 under solaris 5.8?
View 1 RepliesI am using Cent OS 5.5 and i want configure DNS, but while configuring bind i am getting below error.
#/etc/init.d/named restart Stopping named: [ OK ]
Starting named:
Error in named configuration:
/etc/named.conf:57: open: /etc/named.root.hints: file not found[FAILED]
Mandriva 2009, BIND 9.5.0-P2. Named will start however I'm getting the above error as well as these:
14-Mar-2009 15:45:37.084 general: error: zone 0.in-addr.arpa/IN: loading from master file /var/lib/named/var/named/reverse/named.zero failed: file not found
14-Mar-2009 15:45:37.084 general: error: zone 0.0.127.in-addr.arpa/IN: loading from master file /var/lib/named/var/named/reverse/named.local failed: file not found
[code].....
Named shows to be running but with the errors above I know it's not running correctly. I also copied the above dir's over to /var/lib/named/var/lib/named which is where I 'believe' it's chroot'd at, though I could be wrong since I'm unfamiliar with chroot.
I am using CentOS 5.6 with Apache 2.2.17. The Apache was compiled from source using RPM build to comply with PCI requirements. Also Plesk 9.3 is used as a control panel, but other than the config files the Apache is pretty standard. When the httpd is started, there are no errors reported in /var/log/messages or in the error_log, and the httpd starts, shows up in ps and the pid file exists in /var/run/httpd.pid.
However when you check the status 'service httpd status' you get 'httpd dead but subsys locked'. You can add websites normally, and the proper config files are generated so I am pretty sure this isn't a control panel issue as I have other servers running the same control panel and Apache 2.2.16 compiled and installed the same way as the 2.2.17 and there are no problems.
I'm running CentOS 5.3 64bit and from the get go I've had problems with the Apache server.More specifically, on what seems to be a random occurance, the apache server stops to respond.The process is still running, but nothing happens with it, and it is not responding.The /var/logs/httpd/error_log is blank for the occurance and only shows an entry after I give it a restart.So I'm a bit confused about what is going on.With that said, I need to make sure the httpd is working one way or another.I don't want to force a restart service every 10 minutes as this seems a bit too much.However, I do want to have the following:
run a crond every minute to do:If it fails, then do service httpd restart (and log the failure and restart to a file and email me a message).Any pointers on how to do that?It ain't the pretty solution, but it will save me from a very angry user until I'll figure what is the real cause for this failure.
status is httpd dead but pid file exists ang logged caught SIGTERM, shutting down.
View 1 Replies View RelatedUbuntu ver 8.04.1 and Bind ver 9.4.2
I've set this up as a primary dns server, Bind is the only thing running on it, no gui, etc. I followed the default settings so I have a named.conf, named.conf.options, and named.conf.local file.
I have a log file I labeled as named.log in this path /var/log/bind. I'm using logrotate to rotate out the file.
My problem is that after syslogd restarts in the morning. My named.log file don't start logging info until I restart Bind. The new named.log file gets created and the old files rotate out and compress. All of the other log files in /var/log, syslog, messages, mail, etc, rotate out and compress like they should, after syslogd restarts.
I know that I could restart Bind using Cron but I shouldn't have to.
Below are snips of the files I'm using.
I named this one 'bind' and it's in the directory /etc/logrotate.d
This is a very trivial thing, but when I SSH into my newly updated 10.04 server, the stats of the server are displayed on the screen twice. How can i fix it to just display once? This is what it is doing.Quote:Linux xxxxx 2.6.32-21-generic-pae #32-Ubuntu SMP Fri Apr 16 09:39:35 UTC 2010 i686 GNU/LinuxUbuntu 10.04 LTS
Welcome to Ubuntu!
* Documentation: https://help.ubuntu.com/
System information as of Tue May 4 08:41:22 EDT 2010
[code]....
I didn't setup our old system but that server has since been retired due to hardware failure, but we have some new webervers, and a new postgtres database server in place which I need monitoring. Some items include database size, transactions per second, io stats, memory monitoring, or as the DBA put "anything I can get". We had used CACTI in the past for these items, but I didn't do the setup and sondering if that is what is recommended, or something else. I am looking at groundwork open source which include nagios, etc. but figured I would consult the uforums since all these servers are running userver 9.x and 10.x .
View 3 Replies View Relatedi've made a big update of almost 300Mb.I'had a working DNS server.Now, when i boot the box, named works and it resolves all the clients.If i make any change (enter a new client for example) and of course i restart named (service named restart), named stop but does not start again !!!In order to get a working named, i 'm obliged to reboot the box?
View 6 Replies View RelatedI am trying to solve a problem where Apache stats aren't displaying correctly in Munin. I've ran through quite a bit of checks and tests regarding Munin setup, but I think my issue is related to Apache, but my skill set there is lacking.
first, system info:
monitored server:
CentOS 5.3 2.6.18-128.1.1.el5
[code]....
especially to ubuntu server 8.04 because it doesnt use a GUI. Now my question is on how to insert IP address in configuring DNS server using bind9. Actually i'm using this guideBut i m not sure on how to insert IP addresses on the primary master and secondary master. Should I insert the Ip address that i found when i type ifconfig ? or Should I assign a new IP address.I have set up a webserver, DNS server, File server and mail server on a virtual box. For now, at first, im working with the DNS server or should I work with the web server first?what should I do?
View 1 Replies View Relatedwhy do I get "Permission denied"?
Code:
[andreas@loony /tmp]$ ls -al
total 40
drwxrwxrwt 4 root root 4096 Jul 14 10:28 .
drwxr-xr-x 28 root root 4096 May 18 10:55 ..
[Code]....
A colleague told me that this does not work for shell scripts (even though apparently it does work for shell scripts under Solaris). However, this is not the problem per se, because I discovered this problem when using a binary program that needs the s-bit feature. I only made the small shell script to make sure that I understand everything that is going on and that it is not the binary program that is behaving badly... but I do believe that the problem is not in the program but in the operating system.
Set uid works. It is only set gid that does not work. That is, setting the s-bit for the owner works, but setting the s-bit for the group does not.
I've tried reading several tutorials on setting up a domain name with bind9, but I've never managed to get one working.
View 7 Replies View RelatedMy server running on RHEL/Solaris went down of its own. I have rebooted the box and now the host is up. what are all the log files do i need to check to find root cause for this issue. I have already checked /var/log/messages and sar logs but not of much help.
View 4 Replies View RelatedI have worked with servers before now, but not DNS nameservers and I would like help setting up Bind9 on my Ubuntu 11.04 Server.
View 7 Replies View RelatedI have a web server on my local network with a couple domains facing the internet. When I visit these domains from within the network I'm directed to my routers configuration page due to hairpin NAT.
So I installed BIND9 on the server and set up my forwarders to Google DNS to act as a Caching Nameserver. Then I set my routers DNS primary and secondary nameservers to the IP of the local BIND server. Everything is working great.
Now I need help configuring BIND so that the domains hosted on the web server within the network are routed to the web server and not the routers configuration page.
This is actually a question regarding RHEL 5.5. rather than CentOS but I understand they are very similar.With Solaris we use SMF to ensure that certain Java process are continuously running.If SMF notices that Java process has stopped it will run a start script, if we want to stop it, it will run a stop script.What could be use in RHEL?
View 2 Replies View RelatedThe thing is, I've created a new local zone here (called "local.lan"), and, aparently, it is working fine, and DHCP3-SERVER is updating DNS info through the controls.But sometimes I get some strange answers from the server, like when I do the "arp" command in one of the clients, and get the server's hostname "mixed" with it's own reverse, like this: "dns.local.lan.2.168. | ether | 00:02:1e:f5:61:74 | C | eth0". Other thing is that sometimes my DNS don't update when a computer "enters" the lan. In the /var/log/syslog the DHCPOFFER appears, but the information about the DNS update isn't there.So, I would like to show you my named.conf file and my local zone db file, and get some feedback from you (what would you change... what is wrong...).
# ------------------- #
* named.conf:
# ------------------- #
[code]....
I have my bind9 DNS server running on Ubuntu with logging on. What's bothering me is that I have log full of localhost queries instead of from IP of the computer which actually asked.DNS queries log:/var/log/named.queries.log
Code:
24-Feb-2011 16:01:19.413 client 127.0.0.1#38022: query: clients4.google.com IN A + (127.0.0.1)
[code]....
I'm running bind9 on Debian 6. I have a primary domain, 44kg.net, fully configured and working dynamically (the server also runs DHCPd and updates the DNS records properly).
[Code]....
To access my externally-facing website, which has a blog and a forum which are keyed to the external domain, I set up the domains in bind so they would resolve to the server's internal IP. This worked great for a few months, then inexplicably ceased working. I didn't touch anything, but it coincided with our router dropping its VLANs. I've moved the server to a different location and it's still not working properly. Whenever I try to lookup the external domains, I get SERVFAILs. This is annoying because the internal domain is fully working and I copied the basic settings.
[Code]....
I followed blindly this how to : [URl].. out of laziness and then for some reason bind9 didn't want to start. So I tried to apt-get remove it, but when I re-install it, it failed because
Code:
chgrp: cannot access `/etc/bind/named.conf*': No such file or directory
so I assume the chrooting stuff I did is in the way, but I know very little about chrooting and permissions ... how can I undo the following things I did :
Code:
/etc/init.d/bind9 stop
[Code]...
I have an application running on a Solaris 10 server and I am getting the display on my Ubuntu notebook (10.04 lucid with kernel 2.6.32-23-generic and GNOME 2.30.2). But the problem is the fonts don't display well. So I tried to connect to the font server running on the Solaris server.
I tried all these variants:
xset fp+ tcp/<hostname>:7100
xset fp+ tcp/<hostip>:7100
xset fp+ tcp/<hostname>:/7100
xset fp+ tcp/<hostip>:/7100
[Code]....
I have scenrio where i have to check first whether the files exists or not then count of records should not be equal to zero and file should be of current day not the previous day then only process my next task.There are three files totally.please let me know how to write script to achieve the same.
View 2 Replies View RelatedI have a rather strange issue I'm attempting to fix here. One of the servers I work with had a log file reach 2GB in size and stopped logging. The software which is logging to said file cannot be stopped or restarted and does not provide a way to rotate log files -- poor design, I know. So in my infinite wisdom (or stupidity, however you want to read that), I truncated the log file in place with:
Code:
>vmsproxy.log
When I realized the log file was not being appended to, I checked lsof output and it
[code]...
Location and syntax of named.conf in Ubuntu's version of BIND 9. I already have an HTTP server (in the form of Apache) along with forum software set up on my Acer netbook. However, the only way I can access the forum software is if I type in my IP address. How do I set up my named.conf to get the IP address to redirect to a domain? I already have my resolv.conf configured to allocate a domain to the IP address, but testing the ping of the site returns a "No such domain" error.
View 1 Replies View RelatedI want to install Samba server to access a shared folder in Solaris box on a windows box
View 1 Replies View RelatedI have a directory called /data In this directory I have some files like abcejb.jar,12_ab_ejb.jar, shejb.jar, test I need a shell script like... 1st I want to check if there is any ejb file exists in the directory using some condition If ejb files exists I want to redirect the ejb files list to a file called list. Now I want to copy all the files in the list file to some remote system.
View 1 Replies View Relatedwe have installed vignette software on the linux box and would like to uninstall it. To uninstall it we need to delete one file named vpd.properties. When we used locate vpd.properties, the file is found in 2 places. But when we used the ls -a in those locations the file is not seen. basically we want to remove that file. If we do rm vpd.properties, this also doesn't work. Also when we used find -H vpd.properties the file is not found. What is wrong here. I am sure the file vpd.properties will be added to file system as part of vignette. Can anyone suggest what could be wrong here.We logged in as root user to remove this file. Installation is done twice using root and vignette user ids. Thats why file is located in 2 places.
View 3 Replies View RelatedI have a script that runs each day at 6am and looks for files created within the last day and outputs the text to a file which it emailed to me. Im wanting to change it so that it would say something like "phone system backup complete" or "websense back complete" and say fail if its not there.
Dec 13 02:27 /mnt/ukwcs-net-config/IPT/Backup12-13-10#2-20.tar
Dec 13 01:00 /mnt/ukwcs-net-config/Websense/wsbackup_2010-12-13_010000.tar.gz
Script:
find /mnt/ukwcs-net-config -mtime -1 -ls | egrep '(.dmp|.tar.gz)' > log.txt
find /mnt/ukwcs-net-config -mtime -1 -ls | egrep '(/IPT/)' > logi.txt
find /mnt/ukwcs-net-config -mtime -1 -ls | egrep '(.agb)' > loga.txt
[Code]....