Forum Replies Created
-
AuthorPosts
-
mischa
ParticipantWhacky!
I spent an all-nighter again, relying on my own dumb head.
THEN i google the error-message and find this – duh!Getting quite annoyed with tiger server
dns – a joke
blojsom – a jokewondering if leopard will surprise us with being…er… useful?
mischa
ParticipantI guess my question is:
Rendevouz in an osx server NAT so that server and puters in the NAT can see and talk to eachother AND the server and puters on “the other side” – can one get that to work? If so, how?mischa
Participant[QUOTE BY= bustthis]secure.log is now 10mb, what process controls this? i looked into diskspacemonitor as a option for this, but couldn’t get it to work correctly.
any advice?
[/QUOTE]
I second this. Any answers? My secure.log is now 23 meg. It has only dates (month, day) in it, no year…what gives?And if you have a script or such – – – post!

mischa
Participant[QUOTE BY= ssevenup]…GUI can’t manage it with root password protected. phpmyadmin won’t work without root password protected. If you remove the password the GUI goes right back to working….[/QUOTE]
Just don’t use GUI for mysql. Bad bug imho. Add -YES- in .config and all is well.mischa
Participantand dig -x gave:
; <<>> DiG 8.3 <<>> -x
;; res options: init recurs defnam dnsrch
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 2
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUERY SECTION:
;; 2.0.0.10.in-addr.arpa, type = ANY, class = IN;; AUTHORITY SECTION:
10.in-addr.arpa. 1h44m27s IN SOA prisoner.iana.org. hostmaster.root-servers.org. (
2002040800 ; serial
30M ; refresh
15M ; retry
1W ; expiry
1W ) ; minimum;; Total query time: 67 msec
;; FROM: mischasPB.local. to SERVER: default — 172.17.254.1
;; WHEN: Sun Oct 5 02:03:11 2003
;; MSG SIZE sent: 39 rcvd: 116mischa
Participantoh yes – i must add: i got this from dig:
dig 10.0.0.2 gave:
; <<>> DiG 8.3 <<>> 10.0.0.2
;; res options: init recurs defnam dnsrch
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 2
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; QUERY SECTION:
;; 10.0.0.2, type = A, class = IN;; Total query time: 50 msec
;; FROM: mischasPB.local. to SERVER: default — 172.17.254.1
;; WHEN: Sun Oct 5 02:00:21 2003
;; MSG SIZE sent: 26 rcvd: 26man – all greek to me…
mischa
ParticipantTHANK you – i commented that port54 line back.
DNS now starts without errors, but:
server settings says in overview:
1. zones allocated – 0 (zero)
2. Server is loading config: Off
3. Serrver is priming: Off
Query Logging is: Off
DNS Version: Not available
Start Time: Not availableIn system log after startup:
Oct 5 00:47:31 ServerX named[371]: starting (/etc/named.conf). named 8.3.4-REL Tue Nov 19 03:31:14 PST 2002 root@sting:/private/var/tmp/bind/bind-13.obj~7/bin/named
Oct 5 00:47:32 ServerX named[371]: /etc/named.conf:56: syntax error near zone
Oct 5 00:47:32 ServerX named[371]: master zone “localhost” (IN) loaded (serial 42)
Oct 5 00:47:32 ServerX named[371]: master zone “0.0.127.in-addr.arpa” (IN) loaded (serial 1997022700)
Oct 5 00:47:32 ServerX named[371]: master zone “hammar.mine.nu” (IN) loaded (serial 10)
Oct 5 00:47:32 ServerX named[371]: master zone “0.0.10.in-addr.arpa” (IN) loaded (serial 1)
Oct 5 00:47:32 ServerX named[371]: listening on [127.0.0.1].53 (lo0)
Oct 5 00:47:32 ServerX named[371]: listening on [10.0.0.2].53 (en0)
Oct 5 00:47:32 ServerX named[371]: Forwarding source address is [0.0.0.0].49153
Oct 5 00:47:32 ServerX named[371]: Ready to answer queries.
Oct 5 00:47:32 ServerX named[371]: sysquery: nlookup error on ?
Oct 5 01:17:32 ServerX named[371]: USAGE 1065309452 1065307652 CPU=0.05u/0s CHILDCPU=0u/0s
Oct 5 01:17:32 ServerX named[371]: NSTATS 1065309452 1065307652
Oct 5 01:17:32 ServerX named[371]: XSTATS 1065309452 1065307652 RR=0 RNXD=0 RFwdR=0 RDupR=0 RFail=0 RFErr=0 RErr=0 RAXFR=0 RLame=0 ROpts=0 SSysQ=0 SAns=0 SFwdQ=0 SDupQ=0 SErr=0 RQ=0 RIQ=0 RFwdQ=0 RDupQ=0 RTCP=0 SFwdR=0 SFail=0 SFErr=0 SNaAns=0 SNXD=0 RUQ=0 RURQ=0 RUXFR=0 RUUpd=0i only included things pertaining to “named”
why is this soooooo hard? =)
here is the named.conf: (this will be quite long…)
*****************************
// Sample named.conf file for BIND 8.2, included with Mac OS X and
// Mac OS X Server.
//
// [CAUTION: Users should be aware that the incorrect configuration of DNS
// settings can result in serious system issues. It is recommended that only
// experienced users manipulate these settings.// Declares control channels to be used by the rndc utility.
//
// This must be enabled on Mac OS X Server for Server Status to provide valid
// information! (Remove the leading slashes to enable.)
//
// **** STUFF YOU MIGHT NEED TO ENABLE ****
// mischa: jag tog bort ner till “It is recommended”
controls {
unix “/var/run/ndc” perm 0600 owner 0 group 0;
};
// It is recommended that 127.0.0.1 be the only address used.
// This also allows non-privileged users on the local host to manage
// your name server.// Controls global server configuration options and sets defaults
// for other statements
options {
directory “/var/named”;
notify yes;
statistics-interval 30;
version “Sorry, this information is not available. Mi.”;// **** STUFF YOU NEED TO CHANGE ****
/*
* Replace the 2 “ip_addr” values in the forwarders directive
* with the dotted-decimal IP addresses of the DNS server
* provided by your ISP. (example: 192.168.1.2)
*mischa: satte dit jonys nameservrar
* If you do not have a NAT gateway or router, comment out the
* following line by prepending “//” <no quotes> mischa: from isp
forwarders { 172.17.254.1; 62.13.60.5; };/*
* If there is a firewall between you and nameservers you want
* to talk to, you might need to uncomment the query-source
* directive below. Previous versions of BIND always asked
* questions using port 53, but BIND 8.1 uses an unprivileged
* port by default. Mischa: tog bort dem.
*/
// query-source address * port 53;
// };// These entries are not specific to any zone
// They are required by any DNS serverzone “.” in {
type hint;
file “named.ca”;
};zone “localhost” IN {
type master;
file “localhost.zone”;
allow-update { none; };
};zone “0.0.127.in-addr.arpa” IN {
type master;
file “named.local”;
allow-update { none; };
};//
// The following entries are where your zone information is entered
//// **** STUFF YOU MIGHT NEED TO CHANGE ****
// This file contains the host names and their corresponding IP addresses.
//
// Feel free to change “example.com” to whatever domain name you are using
// behind your NAT. (Don’t forget to change the names in both database files!)zone “hammar.mine.nu” in {
type master;
file “db.hammar.mine.nu”;
};// This file contains IP addresses and their corresponding reverse lookup.
zone “0.0.10.in-addr.arpa” in {
type master;
file “db.10.0.0”;
};
************************************************if you can figure this out, how can i compensate you ?????
send you a mac g5 ? =)regards
mischa
Participantok – it does work for me now, but its a workaround:
1. i do not have a bona fide domain registered to my computer where the sites are hosted. all documentation presumes that.
2. i use dyndns -> static dns -> Webhop -> to the ip:port, on a per site basis.
3. then – believe it or not – the name based stuff start to work!
a – ip:port -> you hit the first site in the config-file, never any other site configuret to the same port.
b – name.with.dyn.dns:port – it goes to site named in config, name.with.dyn.dnsfor me, nice for now – it gives me time to figure out dns – cuz THAT i cannot figure out.
mischa
ParticipantNo – having two sites on the same port# only results in the server serving you the first site with that port# in the config file…
So – I have to ask the question again:How do i enable name based virtual hosts….?
(my o my…it seem that whatever one needs to do that extends the oh so limited scope of what the server settings allow you to do…you end up leaving server settings alltogether – and use a/manual editing or b/webmin…gruesome)
mischa
Participanti think i just found the answer myself…
setting up many sites in osx server primarily utilizes name based virtual hosting, since the sites CAN reside on the same port! it is not necessary to assign them to different ports. Doing so is recommended only in one case, if you run a streaming server on port 80 and do not want that to interfere with your web hosting. so — osx server sites must be name based – i will check this tomorrow and verify here.mischa
ParticipantTHANKs for swift reply…
No, i hav not done any work with the starup items (neither in the machines system prefs, nor anywhere else)
about port53: – i have uncommented this:
[code:1:22b5072ebf] query-source address * port 53;
};[/code:1:22b5072ebf]
because i am behind my (netgear) routeris there anything i should do in startup items (i suspect that may be different from system prefs)?
strangly enough, when the server is started like in the above, commanding “killall named” only returns “No matching processes were found”….
so i still don’t know how to get dns up and running correctly…
note: DNS state in Server Settings says “Indeterminate dns state”.[quote:22b5072ebf=”MacTroll”]You already have an instance of the DNS server running, so when you try to launch it a second time it won’t go. Or at least you already have a service listening on port 53, which may or may not be a dns service.
[code:1:22b5072ebf]sudo killall named[/code:1:22b5072ebf]
will take care of that if you want. Although this seems to be happening at startup. So I wonder if you have done any work with the StartupItems?Joel[/code][/quote:22b5072ebf]
mischa
Participant😕
-
AuthorPosts

Recent Comments