Bonjour vs. DNS mapping to afp server -- huge speed differences
This is my original topic:
http://discussions.apple.com/thread.jspa?threadID=1340637
Initially, I thought the issue was Leopard's Finder sidebar was mapping via smb -- hence the very poor speeds. After several replies with RCR, I'm seeing that both machines were copying via afp, the only difference is the Leopard sidebar mapped the machine via Bounjour vs. DNS.
Here's my setup:
- Leopard iMac (August 2007), 4GB ram, gig-e connection
- Tiger Server Mini (August 2007), 2GB ram, gig-e connection
Using Leopard, mounting the sidebar via Finder will copy a file (located via Bounjour, over afp, confirmed with via Sharepoint and "mount" on cli) roughly 32MB/sec. Disconnect the Bounjour mapping and reconnect to the same machine (command-k) via DNS (full.three.partnaming) and the same transfer will be nearly 78MB/sec.
Has anyone else seen this speed difference? Can anyone else test this speed difference on Leopard?
As requested:
Last login: Thu Jan 24 16:16:51 on console
imac:~ vash$ dns-sd -G v4v6 imini.local
Timestamp A/R Flags if Hostname Address TTL
16:18:39.609 Add 3 4 imini.local. 192.168.1.40 120
16:18:39.609 Add 2 4 imini.local. FE80:0000:0000:0000:0216:CBFF:FEAB:6B84 120
Here is similar for the other full part naming:
imac:~ vash$ dns-sd -G v4v6 imini.fenjikufenji.com
Timestamp A/R Flags if Hostname Address TTL
16:19:56.768 Add 2 0 imini.fenjikufenji.com. 192.168.1.40 108002
16:19:56.777 Add 2 0 imini.fenjikufenji.com. 0000:0000:0000:0000:0000:0000:0000:0000 0 No Such Record
Similar Messages
-
Hi All,
I have just set up a new XServe as a file server. Our Open Directory Master was running AFP Directory Services and DNS.
I have now turned off AFP on the directory server, and connected the new XServe to this and started AFP.
All seems to be working fine, but on checking the system logs there is a load of stuff about servermgrd and no dns.
My question is, do i need to set up DNS on this server also?
Thanks,
Kevin
G4 Quicksilver 733 Mac OS X (10.4.8)
G4 Quicksilver 733 Mac OS X (10.4.8)All seems to be working fine, but on checking the
system logs there is a load of stuff about servermgrd
and no dns.
Posting the actual log entries would be useful. I suspect the DNS ones are the standard one which gets reported every 20 mins (or 30?) if you do not have a dns.
My question is, do i need to set up DNS on this
server also?
No, but if you have a local dns in the other server it would be beneficial to set the System Prefs-> DNS Server to the other servers IP and then add an entry in that DNS for the afp server. The afp server will then be able to resolve its name and will not issue the dns errors.
-david -
Can I use Leopard Server for a few things without a static IP/DNS mapping?
Caveat: I'm pretty capable at setting up and running macs, but not a crack server admin or anything like that. I don't write code and my eyes start to glaze over when you start talking about Kerbos and the like...
Question: I'd like to use Leopard server for a few things on my local network - with some vpn access to the same services:
- iCal server (the most important feature) for 3 users
- File server services for Time Machine (yes, base Leopard can do this)
- vpn access into the iCal server for one user
Do I have to go through the headache of switching over from a dynamic IP to a static IP, setting up DNS mapping, etc? Or is there a simpler way?
Any help appreciated. ThanksCaveat: I'm pretty capable at setting up and running macs, but not a crack server admin or anything like that. I don't write code and my eyes start to glaze over when you start talking about Kerbos and the like...
Question: I'd like to use Leopard server for a few things on my local network - with some vpn access to the same services:
- iCal server (the most important feature) for 3 users
- File server services for Time Machine (yes, base Leopard can do this)
- vpn access into the iCal server for one user
Do I have to go through the headache of switching over from a dynamic IP to a static IP, setting up DNS mapping, etc? Or is there a simpler way?
Any help appreciated. Thanks -
Can connect via VPN, but can't access AFP server on same Xserve
Hi:
I've set up our XServe with MacOS X Server 10.5.2 to do AFP and VPN (L2TP only; PPTP is disabled). The XServe is a standalone server, not connected to any other direstory server.
I can connect to the XServe's AFP server from my Mac over our wired and wireless network. The AFP server shows up in the sidebar of Finder windows. So far, so good.
I am able to successfully connect to our network via the VPN with Mac OS X 10.5.2 client (on two different machines) using L2TP through our network's firewall (on a Netopia T1 router; UDF ports 500 and 4500 and IP Protocol 50 and 51 are open) using a shared secret.
But I cannot connect to the XServe itself to use Server Admin or AFP (using afp://server.company.com or afp://xxx.xxx.xxx.xxx via the Go > Connect to Server command).
The error I get while connecting to the 10.5.2 AFP server is Some data in apf://server.mycompany.com could not be read or written (Error Code -36 ). I saw this error associated with a SMB problem in 10.4.x, but SMB is not running.
Other iChat users in my office also do not automatically show up in the Bonjour list when I connect to the network. Other computers on our network do not appear in the sidebar of a Finder window. (I'm told these are to be expected, as Bonjour isn't supported (in the "local area Bonjour" over a WAN link - it's purely a multicast feature on the network in the office, and won't be routed across the VPN link. True?)
Now, here's the odd part. There is a second server (v10.4.11) on our network running AFP. I can connect to it (using afp://server.company.com via the Go > Connect to Server command) and mount its various sharepoints via the VPN.
The only thing I see in the VPN log that seems amiss is this (but I have no idea what it means):
Tue Mar 11 23:09:27 2008 : Unsupported protocol 0x8057 received
--Both the 10.5.2 and the 10.4.11 servers have DNS properly configured (though our ISP; we're not running our own DNS).
--Both servers and the client have public IP addresses and have the same subnet mask. Network Utility confirms this while connected to the VPN.
--NAT is not running. The ISP is responding with public IPs for the servers.
--The firewall for the 10.5.2 server is not running (but will be once I get this all working).
--The IP address range for the VPN server doesn't overlap our DHCP pool (which also currently uses public IP addresses).
--Any user can access any service.
--No network routing definitions have been set up.
--In essence, I've followed the steps on Pages 141-142 of the Network Services Admin Guide.
One other note: After I connect, the Network Preferences > VPN > Advanced > TCP/IP window shows the IP address for the client just fine (assigned from the VPN pool), but lists the router as having the IP address of the XServe (rather than the router on the network). Is that normal?
I'm hoping I don't need to have the XServe run DNS as an internal LAN DNS server.... And I'm not sure why I would have to if I can already successfully connect to the 10.4.11 AFP server .
What simple step am I missing?
TIA,
mm"I am able to successfully connect to our network via the VPN with Mac OS X 10.5.2 client (on two different machines) using L2TP through our network's firewall (on a Netopia T1 router; UDF ports 500 and 4500 and IP Protocol 50 and 51 are open) using a shared secret."
I suspect you mean UDP ports and you might need UDP port 1701 open too.
You only need IP protocol 50 (ESP), protocol 51 (AH) isn't used. And ESP is only used when client and server isn't behind NAT (when NAT is used only the UDP ports are used).
"Unsupported protocol 0x8057 received"
This is usually seen when you can't get GRE through but since you don't use PPTP I can't be sure why this is registered in the logs. Sometimes when connecting using PPTP you have to disconnect and then reconnect for everything to work - you might try this for L2TP too.
But if you already can reach services on any LAN nodes through the VPN I wouldn't bother with it.
As you have a firewall in front of the server you need a second alias IP on the server that you can use to get at the services running on the server through the VPN. The firewall blocks all ports protocols not opened - that's why you can't use the server main IP even if the VPN is up.
The netmask is used by all nodes to determine how big your subnet is: what part of the IP number is the network number and what range the node number is in => really: should traffic be directed to a node on the same LAN or sent directly to the gw/router for forwarding.
What you can't do is connect from a NATed network to another NATed network that both are using the same network number. (That's why people should stay away from using the "default" 192.168.0.0/24 and 192.168.1.0/24 networks for VPN server LANs).
Try your settings at http://www.jodies.de/ipcalc to see what I mean.
"...lists the router as having the IP address of the XServe (rather than the router on the network). Is that normal?"
Yes. The VPN server is the VPN gw/router.
"The firewall for the 10.5.2 server is not running (but will be once I get this all working)."
If you already have a firewall in front of your servers that is a bit redundant.
"--No network routing definitions have been set up."
"I'm hoping I don't need to have the XServe run DNS as an internal LAN DNS server"
You need routing definitions if you want to setup a split tunnel VPN or all traffic is routed through the VPN when connected. The VPN becomes the default gw.
Without ipforwarding ON in the server you can only reach nodes on the server LAN - not Internet.
DNS is needed for your servers forward and reverse names/IPs for advanced services but doesn't need to run in any of your own servers.
If you decide to do a split tunnel VPN config (adding public and private routing definitions) a reachable DNS IP for VPN clients (in VPN config on server) is needed for VPN clients or they can't use names to find anything. To reach this DNS IP if public/not on your server LAN, you need your server to forward IP DNS lookups and have a routing definition for it.
A split tunnel VPN only send traffic for your server LAN through the VPN and all other traffic directly to the local gw/router (Internet). -
Issue with AFP server dropping connections on 10.8.5 server 2.2.2
We are having issues with users getting dropped from their AFP server shares.
These issues did not start happening until we upgraded to 10.8.5 and server 2.2.2
the first symptoms were an occasional user would lose his / her active connection while copying files. They were unable to disconnect from the network shares without physically disconnecting the LAN or disabling the network on their system. Once the connection was removed they could reconnect to the network and establish their AFP shares again.
However this his escalated to every user losing connections to their AFP shares at the same time.
The server has no AFP error in the AFP error log however we are getting diskutil crash reports at around the same time. (See Below)
The server has
smalltree 1x6 8254 with latest drivers supporting a LACP bonded 6 pair connecting to an edgecore (LACP configured)switch.
small tree 10Gb card directly connected to an edit station.
onboard ethernet connected to switch in support of DHCP & DNS. (previous version of server would not see the bonded pair)
Two Accusys A12S2's
(we did not have this dropping connection issue before the upgrade to server 2.2.2 and OSX 10.8.5)
Users connected to any network connection to the server appear to be affected when the AFP shares are disconnected. Direcet connect, onboard ethernet port and Bonded pair connections)
diskutil verifies all shared drives appear to be ok. (All Green)
SYSTEM LOG
Feb 23 11:15:44 doghouse.local diskutil[1067]: -[__NSCFConstantString getBytes:length:]: unrecognized selector sent to instance 0x7fff7628bbe8
Feb 23 11:15:44 doghouse.local diskutil[1067]: *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFConstantString getBytes:length:]: unrecognized selector sent to instance 0x7fff7628bbe8'
*** First throw call stack:
0 CoreFoundation 0x00007fff91b2bb06 __exceptionPreprocess + 198
1 libobjc.A.dylib 0x00007fff901403f0 objc_exception_throw + 43
2 CoreFoundation 0x00007fff91bc240a -[NSObject(NSObject) doesNotRecognizeSelector:] + 186
3 CoreFoundation 0x00007fff91b1a02e ___forwarding___ + 414
4 CoreFoundation 0x00007fff91b19e18 _CF_forwarding_prep_0 + 232
5 diskutil 0x000000010c1eb550 diskutil + 83280
6 diskutil 0x000000010c1ea0af diskutil + 77999
7 diskutil 0x000000010c1e7abe diskutil + 68286
8 diskutil 0x000000010c1dd0ef diskutil + 24815
9 diskutil 0x000000010c1e5161 diskutil + 57697
10 Foundation 0x00007fff8d29dd05 __NSFireDelayedPerform + 358
11 CoreFoundation 0x00007fff91ae8804 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 20
12 CoreFoundation 0x00007fff91ae831d __CFRunLoopDoTimer + 557
13 CoreFoundation 0x00007fff91acdad9 __CFRunLoopRun + 1529
14 CoreFoundation 0x00007fff91acd0e2 CFRunLoopRunSpecific + 290
15 Foundation 0x00007fff8d2c57ee -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 268
16 Foundation 0x00007fff8d25e1aa -[NSRunLoop(NSRunLoop) run] + 74
17 diskutil 0x000000010c1e5126 diskutil + 57638
18 diskutil 0x000000010c1e51cd diskutil + 57805
19 libdyld.dylib 0x00007fff86bf87e1 start + 0
Feb 23 11:15:44 doghouse.local ReportCrash[1064]: Saved crash report for diskutil[1061] version 680 to /Library/Logs/DiagnosticReports/diskutil_2014-02-23-111544_doghouse.crash
Feb 23 11:15:44 doghouse.local ReportCrash[1064]: Removing excessive log: file://localhost/Library/Logs/DiagnosticReports/diskutil_2014-02-22-164711_dogh ouse.crash
Feb 23 11:15:44 doghouse.local ReportCrash[1064]: failed looking up LS service ( scCreateSystemService returned MACH_PORT_NULL, called from SetupCoreApplicationServicesCommunicationPort, so using client-side NULL calls.
Feb 23 11:15:44 doghouse.local ReportCrash[1064]: LaunchServices/5123589: Unable to lookup coreservices session port for session 0x186a0 uid=0 euid=0
Feb 23 11:15:44 doghouse.local ReportCrash[1064]: failed looking up LS service ( scCreateSystemService returned MACH_PORT_NULL, called from SetupCoreApplicationServicesCommunicationPort, so using client-side NULL calls.
Feb 23 11:15:44 doghouse.local ReportCrash[1064]: LaunchServices/5123589: Unable to lookup coreservices session port for session 0x186a0 uid=0 euid=0
Feb 23 11:15:44 doghouse.local ReportCrash[1064]: failed looking up LS service ( scCreateSystemService returned MACH_PORT_NULL, called from SetupCoreApplicationServicesCommunicationPort, so using client-side NULL calls.
Feb 23 11:15:44 doghouse.local ReportCrash[1064]: LaunchServices/5123589: Unable to lookup coreservices session port for session 0x186a0 uid=0 euid=0
Feb 23 11:15:44 doghouse.local ReportCrash[1064]: failed looking up LS service ( scCreateSystemService returned MACH_PORT_NULL, called from SetupCoreApplicationServicesCommunicationPort, so using client-side NULL calls.
Feb 23 11:15:44 doghouse.local ReportCrash[1064]: LaunchServices/5123589: Unable to lookup coreservices session port for session 0x186a0 uid=0 euid=0
Feb 23 11:15:44 doghouse.local ReportCrash[1064]: failed looking up LS service ( scCreateSystemService returned MACH_PORT_NULL, called from SetupCoreApplicationServicesCommunicationPort, so using client-side NULL calls.
Feb 23 11:15:44 doghouse.local ReportCrash[1064]: LaunchServices/5123589: Unable to lookup coreservices session port for session 0x186a0 uid=0 euid=0
Feb 23 11:15:44 doghouse.local diskutil[1071]: -[__NSCFConstantString getBytes:length:]: unrecognized selector sent to instance 0x7fff7628bbe8
Feb 23 11:15:44 doghouse.local ReportCrash[1064]: Saved crash report for diskutil[1067] version 680 to /Library/Logs/DiagnosticReports/diskutil_2014-02-23-111544-1_doghouse.crash
Feb 23 11:15:44 doghouse.local diskutil[1071]: *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFConstantString getBytes:length:]: unrecognized selector sent to instance 0x7fff7628bbe8'
*** First throw call stack:
0 CoreFoundation 0x00007fff91b2bb06 __exceptionPreprocess + 198
1 libobjc.A.dylib 0x00007fff901403f0 objc_exception_throw + 43
2 CoreFoundation 0x00007fff91bc240a -[NSObject(NSObject) doesNotRecognizeSelector:] + 186
3 CoreFoundation 0x00007fff91b1a02e ___forwarding___ + 414
4 CoreFoundation 0x00007fff91b19e18 _CF_forwarding_prep_0 + 232
5 diskutil 0x0000000100e49550 diskutil + 83280
6 diskutil 0x0000000100e480af diskutil + 77999
7 diskutil 0x0000000100e45abe diskutil + 68286
8 diskutil 0x0000000100e3b0ef diskutil + 24815
9 diskutil 0x0000000100e43161 diskutil + 57697
10 Foundation 0x00007fff8d29dd05 __NSFireDelayedPerform + 358
11 CoreFoundation 0x00007fff91ae8804 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 20
12 CoreFoundation 0x00007fff91ae831d __CFRunLoopDoTimer + 557
13 CoreFoundation 0x00007fff91acdad9 __CFRunLoopRun + 1529
14 CoreFoundation 0x00007fff91acd0e2 CFRunLoopRunSpecific + 290
15 Foundation 0x00007fff8d2c57ee -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 268
16 Foundation 0x00007fff8d25e1aa -[NSRunLoop(NSRunLoop) run] + 74
17 diskutil 0x0000000100e43126 diskutil + 57638
18 diskutil 0x0000000100e431cd diskutil + 57805
19 libdyld.dylib 0x00007fff86bf87e1 start + 0
Feb 23 11:15:44 doghouse.local ReportCrash[1064]: Removing excessive log: file://localhost/Library/Logs/DiagnosticReports/diskutil_2014-02-22-164712_dogh ouse.crash
Feb 23 11:15:44 doghouse.local ReportCrash[1064]: failed looking up LS service ( scCreateSystemService returned MACH_PORT_NULL, called from SetupCoreApplicationServicesCommunicationPort, so using client-side NULL calls.
Feb 23 11:15:44 doghouse.local ReportCrash[1064]: LaunchServices/5123589: Unable to lookup coreservices session port for session 0x186a0 uid=0 euid=0
Feb 23 11:15:44 doghouse.local ReportCrash[1064]: failed looking up LS service ( scCreateSystemService returned MACH_PORT_NULL, called from SetupCoreApplicationServicesCommunicationPort, so using client-side NULL calls.
Feb 23 11:15:44 doghouse.local ReportCrash[1064]: LaunchServices/5123589: Unable to lookup coreservices session port for session 0x186a0 uid=0 euid=0
Feb 23 11:15:44 doghouse.local ReportCrash[1064]: failed looking up LS service ( scCreateSystemService returned MACH_PORT_NULL, called from SetupCoreApplicationServicesCommunicationPort, so using client-side NULL calls.
Feb 23 11:15:44 doghouse.local ReportCrash[1064]: LaunchServices/5123589: Unable to lookup coreservices session port for session 0x186a0 uid=0 euid=0
Feb 23 11:15:44 doghouse.local ReportCrash[1064]: failed looking up LS service ( scCreateSystemService returned MACH_PORT_NULL, called from SetupCoreApplicationServicesCommunicationPort, so using client-side NULL calls.
Feb 23 11:15:44 doghouse.local ReportCrash[1064]: LaunchServices/5123589: Unable to lookup coreservices session port for session 0x186a0 uid=0 euid=0
Feb 23 11:15:44 doghouse.local ReportCrash[1064]: failed looking up LS service ( scCreateSystemService returned MACH_PORT_NULL, called from SetupCoreApplicationServicesCommunicationPort, so using client-side NULL calls.
Feb 23 11:15:44 doghouse.local ReportCrash[1064]: LaunchServices/5123589: Unable to lookup coreservices session port for session 0x186a0 uid=0 euid=0
Feb 23 11:15:44 doghouse.local ReportCrash[1064]: Saved crash report for diskutil[1071] version 680 to /Library/Logs/DiagnosticReports/diskutil_2014-02-23-111544-2_doghouse.crash
Feb 23 11:15:44 doghouse.local ReportCrash[1064]: Removing excessive log: file://localhost/Library/Logs/DiagnosticReports/diskutil_2014-02-23-093307_dogh ouse.crash
diskutil crash report
Process: diskutil [1061]
Path: /usr/sbin/diskutil
Identifier: diskutil
Version: 680
Code Type: X86-64 (Native)
Parent Process: sh [1060]
User ID: 0
Date/Time: 2014-02-23 11:15:43.719 -0800
OS Version: Mac OS X 10.8.5 (12F45)
Report Version: 10
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFConstantString getBytes:length:]: unrecognized selector sent to instance 0x7fff7628bbe8'
terminate called throwing an exception
abort() called
Application Specific Backtrace 1:
0 CoreFoundation 0x00007fff91b2bb06 __exceptionPreprocess + 198
1 libobjc.A.dylib 0x00007fff901403f0 objc_exception_throw + 43
2 CoreFoundation 0x00007fff91bc240a -[NSObject(NSObject) doesNotRecognizeSelector:] + 186
3 CoreFoundation 0x00007fff91b1a02e ___forwarding___ + 414
4 CoreFoundation 0x00007fff91b19e18 _CF_forwarding_prep_0 + 232
5 diskutil 0x000000010124a550 diskutil + 83280
6 diskutil 0x00000001012490af diskutil + 77999
7 diskutil 0x0000000101246abe diskutil + 68286
8 diskutil 0x000000010123c0ef diskutil + 24815
9 diskutil 0x0000000101244161 diskutil + 57697
10 Foundation 0x00007fff8d29dd05 __NSFireDelayedPerform + 358
11 CoreFoundation 0x00007fff91ae8804 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 20
12 CoreFoundation 0x00007fff91ae831d __CFRunLoopDoTimer + 557
13 CoreFoundation 0x00007fff91acdad9 __CFRunLoopRun + 1529
14 CoreFoundation 0x00007fff91acd0e2 CFRunLoopRunSpecific + 290
15 Foundation 0x00007fff8d2c57ee -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 268
16 Foundation 0x00007fff8d25e1aa -[NSRunLoop(NSRunLoop) run] + 74
17 diskutil 0x0000000101244126 diskutil + 57638
18 diskutil 0x00000001012441cd diskutil + 57805
19 libdyld.dylib 0x00007fff86bf87e1 start + 0
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff86519212 __pthread_kill + 10
1 libsystem_c.dylib 0x00007fff8a31ab24 pthread_kill + 90
2 libsystem_c.dylib 0x00007fff8a35ef61 abort + 143
3 libc++abi.dylib 0x00007fff85dc39eb abort_message + 257
4 libc++abi.dylib 0x00007fff85dc139a default_terminate() + 28
5 libobjc.A.dylib 0x00007fff90140873 _objc_terminate() + 91
6 libc++abi.dylib 0x00007fff85dc13c9 safe_handler_caller(void (*)()) + 8
7 libc++abi.dylib 0x00007fff85dc1424 std::terminate() + 16
8 libc++abi.dylib 0x00007fff85dc261b __cxa_rethrow + 85
9 libobjc.A.dylib 0x00007fff90140575 objc_exception_rethrow + 40
10 com.apple.CoreFoundation 0x00007fff91acd146 CFRunLoopRunSpecific + 390
11 com.apple.Foundation 0x00007fff8d2c57ee -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 268
12 com.apple.Foundation 0x00007fff8d25e1aa -[NSRunLoop(NSRunLoop) run] + 74
13 diskutil 0x0000000101244126 0x101236000 + 57638
14 diskutil 0x00000001012441cd 0x101236000 + 57805
15 libdyld.dylib 0x00007fff86bf87e1 start + 1
Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x00007fff86519d16 kevent + 10
1 libdispatch.dylib 0x00007fff8a0dddea _dispatch_mgr_invoke + 883
2 libdispatch.dylib 0x00007fff8a0dd9ee _dispatch_mgr_thread + 54
Thread 2:
0 libsystem_kernel.dylib 0x00007fff865196d6 __workq_kernreturn + 10
1 libsystem_c.dylib 0x00007fff8a31bf1c _pthread_workq_return + 25
2 libsystem_c.dylib 0x00007fff8a31bce3 _pthread_wqthread + 412
3 libsystem_c.dylib 0x00007fff8a306191 start_wqthread + 13
Thread 3:
0 libsystem_kernel.dylib 0x00007fff865196d6 __workq_kernreturn + 10
1 libsystem_c.dylib 0x00007fff8a31bf1c _pthread_workq_return + 25
2 libsystem_c.dylib 0x00007fff8a31bce3 _pthread_wqthread + 412
3 libsystem_c.dylib 0x00007fff8a306191 start_wqthread + 13
Thread 4:
0 libsystem_kernel.dylib 0x00007fff865196d6 __workq_kernreturn + 10
1 libsystem_c.dylib 0x00007fff8a31bf1c _pthread_workq_return + 25
2 libsystem_c.dylib 0x00007fff8a31bce3 _pthread_wqthread + 412
3 libsystem_c.dylib 0x00007fff8a306191 start_wqthread + 13
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x0000000000000006 rcx: 0x00007fff5e9c9ad8 rdx: 0x0000000000000000
rdi: 0x0000000000000707 rsi: 0x0000000000000006 rbp: 0x00007fff5e9c9b00 rsp: 0x00007fff5e9c9ad8
r8: 0x00007fff764be278 r9: 0x00007fff5e9c9ae0 r10: 0x0000000020000000 r11: 0x0000000000000206
r12: 0x00007fff5e9c9c60 r13: 0x0000000000000001 r14: 0x00007fff764bf180 r15: 0x00007fff5e9c9b40
rip: 0x00007fff86519212 rfl: 0x0000000000000206 cr2: 0x00007fff764b7ff0
Logical CPU: 0
Binary Images:
0x101236000 - 0x10126efff diskutil (680) <47174BB8-7EAC-39F7-96F7-99FE93C9CAF3> /usr/sbin/diskutil
0x7fff60e36000 - 0x7fff60e6a93f dyld (210.2.3) <6900F2BA-DB48-3B78-B668-58FC0CF6BCB8> /usr/lib/dyld
0x7fff85d6f000 - 0x7fff85d6ffff libkeymgr.dylib (25) <CC9E3394-BE16-397F-926B-E579B60EE429> /usr/lib/system/libkeymgr.dylib
0x7fff85dc0000 - 0x7fff85de5ff7 libc++abi.dylib (26) <D86169F3-9F31-377A-9AF3-DB17142052E4> /usr/lib/libc++abi.dylib
0x7fff85de6000 - 0x7fff85e4eff7 libc++.1.dylib (65.1) <20E31B90-19B9-3C2A-A9EB-474E08F9FE05> /usr/lib/libc++.1.dylib
0x7fff85e4f000 - 0x7fff85ef5ff7 com.apple.CoreServices.OSServices (557.6 - 557.6) <FFDDD2D8-690D-388F-A48F-4750A792D2CD> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServi ces.framework/Versions/A/OSServices
0x7fff85f54000 - 0x7fff85f62ff7 libkxld.dylib (2050.48.12) <B8F7ED1F-CF84-3777-9183-0A1C513DF81F> /usr/lib/system/libkxld.dylib
0x7fff861de000 - 0x7fff86353ff7 com.apple.CFNetwork (596.5 - 596.5) <22372475-6EF4-3A04-83FC-C061FE4717B3> /System/Library/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
0x7fff86354000 - 0x7fff863d5fff com.apple.Metadata (10.7.0 - 707.12) <69E3EEF7-8B7B-3652-8320-B8E885370E56> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadat a.framework/Versions/A/Metadata
0x7fff86468000 - 0x7fff86470ff7 libsystem_dnssd.dylib (379.38.1) <BDCB8566-0189-34C0-9634-35ABD3EFE25B> /usr/lib/system/libsystem_dnssd.dylib
0x7fff86499000 - 0x7fff86506ff7 com.apple.datadetectorscore (4.1 - 269.3) <5775F0DB-87D6-310D-8B03-E2AD729EFB28> /System/Library/PrivateFrameworks/DataDetectorsCore.framework/Versions/A/DataDe tectorsCore
0x7fff86507000 - 0x7fff86522ff7 libsystem_kernel.dylib (2050.48.12) <4B7993C3-F62D-3AC1-AF92-414A0D6EED5E> /usr/lib/system/libsystem_kernel.dylib
0x7fff865b1000 - 0x7fff865b2ff7 libremovefile.dylib (23.2) <6763BC8E-18B8-3AD9-8FFA-B43713A7264F> /usr/lib/system/libremovefile.dylib
0x7fff86764000 - 0x7fff86769fff libcache.dylib (57) <65187C6E-3FBF-3EB8-A1AA-389445E2984D> /usr/lib/system/libcache.dylib
0x7fff86784000 - 0x7fff86785fff libDiagnosticMessagesClient.dylib (8) <8548E0DC-0D2F-30B6-B045-FE8A038E76D8> /usr/lib/libDiagnosticMessagesClient.dylib
0x7fff86bf6000 - 0x7fff86bf9ff7 libdyld.dylib (210.2.3) <F59367C9-C110-382B-A695-9035A6DD387E> /usr/lib/system/libdyld.dylib
0x7fff8715b000 - 0x7fff8715bfff com.apple.vecLib (3.8 - vecLib 3.8) <6CBBFDC4-415C-3910-9558-B67176447789> /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib
0x7fff871a8000 - 0x7fff87235ff7 com.apple.SearchKit (1.4.0 - 1.4.0) <C7F43889-F8BF-3CB9-AD66-11AEFCBCEDE7> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchK it.framework/Versions/A/SearchKit
0x7fff87236000 - 0x7fff87243fff libbz2.1.0.dylib (29) <CE9785E8-B535-3504-B392-82F0064D9AF2> /usr/lib/libbz2.1.0.dylib
0x7fff872d9000 - 0x7fff87373fff libvMisc.dylib (380.10) <A7F12764-A94C-36EB-88E0-F826F5AF55B4> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libvMisc.dylib
0x7fff87455000 - 0x7fff87455fff com.apple.CoreServices (57 - 57) <9DD44CB0-C644-35C3-8F57-0B41B3EC147D> /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
0x7fff87874000 - 0x7fff87947ff7 com.apple.DiscRecording (7.0 - 7000.2.4) <6DCA9535-E276-3D77-BEB3-296B537AA6BB> /System/Library/Frameworks/DiscRecording.framework/Versions/A/DiscRecording
0x7fff879ab000 - 0x7fff879aefff libutil.dylib (30) <EF3340B2-9A53-3D5E-B9B4-BDB5EEECC178> /usr/lib/libutil.dylib
0x7fff87da3000 - 0x7fff87da5ff7 com.apple.EFILogin (2.0 - 2) <51A470D7-1F72-3369-AF0F-AD2340B42C12> /System/Library/PrivateFrameworks/EFILogin.framework/Versions/A/EFILogin
0x7fff880b1000 - 0x7fff880e9fff libncurses.5.4.dylib (37.3) <68D5B5F5-8252-3F1E-AFF1-C6AFE145DBC1> /usr/lib/libncurses.5.4.dylib
0x7fff881ed000 - 0x7fff881faff7 com.apple.NetAuth (4.0 - 4.0) <F5BC7D7D-AF28-3C83-A674-DADA48FF7810> /System/Library/PrivateFrameworks/NetAuth.framework/Versions/A/NetAuth
0x7fff88571000 - 0x7fff8859fff7 libsystem_m.dylib (3022.6) <B434BE5C-25AB-3EBD-BAA7-5304B34E3441> /usr/lib/system/libsystem_m.dylib
0x7fff887e7000 - 0x7fff887e8ff7 libSystem.B.dylib (169.3) <5ED23C27-47AF-3C93-984A-172751CF745A> /usr/lib/libSystem.B.dylib
0x7fff887e9000 - 0x7fff8883aff7 com.apple.SystemConfiguration (1.12.2 - 1.12.2) <581BF463-C15A-363B-999A-E830222FA925> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfi guration
0x7fff8883b000 - 0x7fff88b52ff7 com.apple.CoreServices.CarbonCore (1037.6 - 1037.6) <1E567A52-677F-3168-979F-5FBB0818D52B> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonC ore.framework/Versions/A/CarbonCore
0x7fff88b53000 - 0x7fff88b54ff7 libsystem_sandbox.dylib (220.3) <B739DA63-B675-387A-AD84-412A651143C0> /usr/lib/system/libsystem_sandbox.dylib
0x7fff88be0000 - 0x7fff88bf3ff7 libbsm.0.dylib (32) <F497D3CE-40D9-3551-84B4-3D5E39600737> /usr/lib/libbsm.0.dylib
0x7fff88dd0000 - 0x7fff88dd1fff libsystem_blocks.dylib (59) <D92DCBC3-541C-37BD-AADE-ACC75A0C59C8> /usr/lib/system/libsystem_blocks.dylib
0x7fff892df000 - 0x7fff892e5fff libmacho.dylib (829) <BF332AD9-E89F-387E-92A4-6E1AB74BD4D9> /usr/lib/system/libmacho.dylib
0x7fff892e6000 - 0x7fff89335ff7 libcorecrypto.dylib (106.2) <CE0C29A3-C420-339B-ADAA-52F4683233CC> /usr/lib/system/libcorecrypto.dylib
0x7fff89336000 - 0x7fff89536fff libicucore.A.dylib (491.11.3) <5783D305-04E8-3D17-94F7-1CEAFA975240> /usr/lib/libicucore.A.dylib
0x7fff89537000 - 0x7fff89537fff libOpenScriptingUtil.dylib (148.3) <F8681222-0969-3B10-8BCE-C55A4B9C520C> /usr/lib/libOpenScriptingUtil.dylib
0x7fff89538000 - 0x7fff89581ff7 com.apple.DiskManagement (5.3.1 - 680) <5438A1FF-B92C-3D28-A8E4-FB41F03144C2> /System/Library/PrivateFrameworks/DiskManagement.framework/Versions/A/DiskManag ement
0x7fff89589000 - 0x7fff895abff7 libxpc.dylib (140.43) <70BC645B-6952-3264-930C-C835010CCEF9> /usr/lib/system/libxpc.dylib
0x7fff895b6000 - 0x7fff895cdfff com.apple.CFOpenDirectory (10.8 - 151.10) <F7AD9844-559A-366E-8192-BB4FCF9EE7A3> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/Frameworks/CFOpen Directory.framework/Versions/A/CFOpenDirectory
0x7fff895ce000 - 0x7fff895d9fff libsystem_notify.dylib (98.5) <C49275CC-835A-3207-AFBA-8C01374927B6> /usr/lib/system/libsystem_notify.dylib
0x7fff8960f000 - 0x7fff89614fff libcompiler_rt.dylib (30) <08F8731D-5961-39F1-AD00-4590321D24A9> /usr/lib/system/libcompiler_rt.dylib
0x7fff899f3000 - 0x7fff89a3fff7 libauto.dylib (185.4) <AD5A4CE7-CB53-313C-9FAE-673303CC2D35> /usr/lib/libauto.dylib
0x7fff89b9a000 - 0x7fff89b9cff7 libunc.dylib (25) <92805328-CD36-34FF-9436-571AB0485072> /usr/lib/system/libunc.dylib
0x7fff89bd8000 - 0x7fff89c09ff7 com.apple.DictionaryServices (1.2 - 184.4) <FB0540FF-5034-3591-A28D-6887FBC220F7> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Diction aryServices.framework/Versions/A/DictionaryServices
0x7fff8a01f000 - 0x7fff8a0afff7 libCoreStorage.dylib (296.18.2) <2FFB6BCA-3033-3AC1-BCE4-ED102DCBECD5> /usr/lib/libCoreStorage.dylib
0x7fff8a0d9000 - 0x7fff8a0eeff7 libdispatch.dylib (228.23) <D26996BF-FC57-39EB-8829-F63585561E09> /usr/lib/system/libdispatch.dylib
0x7fff8a0ef000 - 0x7fff8a11afff libxslt.1.dylib (11.3) <441776B8-9130-3893-956F-39C85FFA644F> /usr/lib/libxslt.1.dylib
0x7fff8a2e9000 - 0x7fff8a2f3fff libcsfde.dylib (296.18.2) <08092C5B-2171-3C1D-A98F-CF499A315DDC> /usr/lib/libcsfde.dylib
0x7fff8a305000 - 0x7fff8a3d1ff7 libsystem_c.dylib (825.40.1) <543B05AE-CFA5-3EFE-8E58-77225411BA6B> /usr/lib/system/libsystem_c.dylib
0x7fff8a5c9000 - 0x7fff8a628fff com.apple.AE (645.6 - 645.6) <44F403C1-660A-3543-AB9C-3902E02F936F> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.fram ework/Versions/A/AE
0x7fff8a679000 - 0x7fff8a776fff libsqlite3.dylib (138.1) <ADE9CB98-D77D-300C-A32A-556B7440769F> /usr/lib/libsqlite3.dylib
0x7fff8a8e3000 - 0x7fff8a9e0ff7 libxml2.2.dylib (22.3) <47B09CB2-C636-3024-8B55-6040F7829B4C> /usr/lib/libxml2.2.dylib
0x7fff8afa9000 - 0x7fff8afdffff libsystem_info.dylib (406.17) <4FFCA242-7F04-365F-87A6-D4EFB89503C1> /usr/lib/system/libsystem_info.dylib
0x7fff8afe6000 - 0x7fff8afeefff liblaunch.dylib (442.26.2) <2F71CAF8-6524-329E-AC56-C506658B4C0C> /usr/lib/system/liblaunch.dylib
0x7fff8b2b7000 - 0x7fff8b368fff com.apple.LaunchServices (539.9 - 539.9) <07FC6766-778E-3479-8F28-D2C9917E1DD1> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchS ervices.framework/Versions/A/LaunchServices
0x7fff8b3bc000 - 0x7fff8b3c0ff7 com.apple.TCC (1.0 - 1) <F2F3B753-FC73-3543-8BBE-859FDBB4D6A6> /System/Library/PrivateFrameworks/TCC.framework/Versions/A/TCC
0x7fff8c051000 - 0x7fff8c0b9fff libvDSP.dylib (380.10) <3CA154A3-1BE5-3CF4-BE48-F0A719A963BB> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libvDSP.dylib
0x7fff8c15b000 - 0x7fff8c17cff7 libCRFSuite.dylib (33) <736ABE58-8DED-3289-A042-C25AF7AE5B23> /usr/lib/libCRFSuite.dylib
0x7fff8c1bc000 - 0x7fff8c1c2ff7 libunwind.dylib (35.1) <21703D36-2DAB-3D8B-8442-EAAB23C060D3> /usr/lib/system/libunwind.dylib
0x7fff8c58d000 - 0x7fff8c984fff libLAPACK.dylib (1073.4) <D632EC8B-2BA0-3853-800A-20DA00A1091C> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libLAPACK.dylib
0x7fff8c985000 - 0x7fff8c993ff7 libsystem_network.dylib (77.10) <0D99F24E-56FE-380F-B81B-4A4C630EE587> /usr/lib/system/libsystem_network.dylib
0x7fff8c994000 - 0x7fff8c99bfff libcopyfile.dylib (89) <876573D0-E907-3566-A108-577EAD1B6182> /usr/lib/system/libcopyfile.dylib
0x7fff8c99c000 - 0x7fff8c9aafff libcommonCrypto.dylib (60027) <BAAFE0C9-BB86-3CA7-88C0-E3CBA98DA06F> /usr/lib/system/libcommonCrypto.dylib
0x7fff8ccbc000 - 0x7fff8cf8dff7 com.apple.security (7.0 - 55179.13) <F428E306-C407-3B55-BA82-E58755E8A76F> /System/Library/Frameworks/Security.framework/Versions/A/Security
0x7fff8d22a000 - 0x7fff8d589fff com.apple.Foundation (6.8 - 945.18) <1D7E58E6-FA3A-3CE8-AC85-B9D06B8C0AA0> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x7fff8d939000 - 0x7fff8d950fff com.apple.GenerationalStorage (1.1 - 132.3) <FD4A84B3-13A8-3C60-A59E-25A361447A17> /System/Library/PrivateFrameworks/GenerationalStorage.framework/Versions/A/Gene rationalStorage
0x7fff8d951000 - 0x7fff8d952fff liblangid.dylib (116) <864C409D-D56B-383E-9B44-A435A47F2346> /usr/lib/liblangid.dylib
0x7fff8d953000 - 0x7fff8d95afff com.apple.NetFS (5.0 - 4.0) <82E24B9A-7742-3DA3-9E99-ED267D98C05E> /System/Library/Frameworks/NetFS.framework/Versions/A/NetFS
0x7fff8d968000 - 0x7fff8d9d1fff libstdc++.6.dylib (56) <EAA2B53E-EADE-39CF-A0EF-FB9D4940672A> /usr/lib/libstdc++.6.dylib
0x7fff8dbde000 - 0x7fff8dc4cff7 com.apple.framework.IOKit (2.0.1 - 755.42.1) <A90038ED-48F2-3CC9-A042-53A3D7985844> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x7fff8e11b000 - 0x7fff8e11dfff libquarantine.dylib (52.1) <143B726E-DF47-37A8-90AA-F059CFD1A2E4> /usr/lib/system/libquarantine.dylib
0x7fff9012f000 - 0x7fff9024792f libobjc.A.dylib (532.2) <90D31928-F48D-3E37-874F-220A51FD9E37> /usr/lib/libobjc.A.dylib
0x7fff91567000 - 0x7fff91568ff7 libdnsinfo.dylib (453.19) <14202FFB-C3CA-3FCC-94B0-14611BF8692D> /usr/lib/system/libdnsinfo.dylib
0x7fff91952000 - 0x7fff919b5fff com.apple.audio.CoreAudio (4.1.2 - 4.1.2) <FEAB83AB-1DE5-3813-BA48-7A7F2374CCF0> /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
0x7fff91a98000 - 0x7fff91c82ff7 com.apple.CoreFoundation (6.8 - 744.19) <0F7403CA-2CB8-3D0A-992B-679701DF27CA> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x7fff91c83000 - 0x7fff91e09fff libBLAS.dylib (1073.4) <C102C0F6-8CB6-3B49-BA6B-2EB61F0B2784> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libBLAS.dylib
0x7fff91e13000 - 0x7fff91e25ff7 libz.1.dylib (43) <2A1551E8-A272-3DE5-B692-955974FE1416> /usr/lib/libz.1.dylib
0x7fff91e76000 - 0x7fff91e7cfff com.apple.DiskArbitration (2.5.2 - 2.5.2) <C713A35A-360E-36CE-AC0A-25C86A3F50CA> /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
0x7fff91f14000 - 0x7fff91f54ff7 com.apple.MediaKit (14 - 687) <8AAA8CC3-3ACD-34A5-9E57-9B24AD8AFD4D> /System/Library/PrivateFrameworks/MediaKit.framework/Versions/A/MediaKit
0x7fff92028000 - 0x7fff92037ff7 libxar.1.dylib (105) <370ED355-E516-311E-BAFD-D80633A84BE1> /usr/lib/libxar.1.dylib
0x7fff921bd000 - 0x7fff921c1fff libpam.2.dylib (20) <C8F45864-5B58-3237-87E1-2C258A1D73B8> /usr/lib/libpam.2.dylib
0x7fff921c2000 - 0x7fff92314fff com.apple.audio.toolbox.AudioToolbox (1.9.2 - 1.9.2) <DC5F3D1B-036A-37DE-BC24-7636DC95EA1C> /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by all processes on this machine:
task_for_pid: 240
thread_create: 0
thread_set_state: 0
VM Region Summary:
ReadOnly portion of Libraries: Total=89.5M resident=64.1M(72%) swapped_out_or_unallocated=25.4M(28%)
Writable regions: Total=82.6M written=784K(1%) resident=1340K(2%) swapped_out=0K(0%) unallocated=81.3M(98%)
REGION TYPE VIRTUAL
=========== =======
MALLOC 72.3M
MALLOC guard page 32K
STACK GUARD 56.0M
Stack 10.0M
VM_ALLOCATE 8K
__DATA 3472K
__LINKEDIT 52.1M
__TEXT 37.4M
__UNICODE 544K
mapped file 18.1M
shared memory 12K
=========== =======
TOTAL 250.0MThat kind of crash is usually caused by system corruption. I suggest you reinstall.
-
Hi guys, this is a OS X / Networking question.
I have 2 websites up and running on my OSX 10.5 server and I have DNS successfully routing to each site (all internal).
My colleague installed a MAMP server and hosted some project software on it. Now I'm a little mixed up on how to point a DNS entry at the separate MAMP server since it's not a part of the Web Site role on the server. Do you think this can be done just on the router?
The addresses of the websites are (these are mock-ups of course. not the actual info)
Site1 - http://www.mysite.com ---> 10.0.0.5(port 80) (Physical ethernet address)
Site2 - http://colaboration.mysite.com ---> 10.0.0.6 (port 80) (virtual Ethernet address)
The MAMP server is currently running at 10.0.0.5:8844
Is it just going to be too difficult to point to 2 different sites even though they run on different ports?
Sorry if this sounds scattered. I haven't done DNS on the apple server in months.
THANKS!There is zero correlation between DNS and ports, or even services. DNS simply maps names to IP addresses (and back).
So, to that end, it doesn't matter whether you have two names pointing to two different IP addresses on the same machine (heck, they could point to the same IP address if that's what you want).
The only thing you cannot do is use DNS to point a hostname to something like '10.0.0.5:8844' since you cannot incorporate a port number in the lookup. You can point it to 10.0.0.5 and the user will need to append the port number in their browser/client.
Does that answer the question. -
AFP Server droping out intermitently
I have a mac LDAP server. The DNS records are correct.. I have a mac server running afp. The AFP server is joined to the OD Master.
User accounts are stored on the AFP server. The attribute was setup properly in WGM.
The funny thing is, if I log in.. most of the time as a normal user, its fine.. If I sometimes I get this error (via ssh).. note.. when this error happins, you can't login though the GUI either.
Could not chdir to home directory /Network/Servers/xserveafp.sunyit.edu/Volumes/XRAIDUSERS/userhome/gibbsj: Operation not permitted
-bash: /Network/Servers/xserveafp.sunyit.edu/Volumes/XRAIDUSERS/user_home/gibbsj/.bashprofile: Operation not permitted
And as root to cd ~gibbsj
xserveafp:~ root# cd ~gibbsj
-sh: cd: /Network/Servers/xserveafp.sunyit.edu/Volumes/XRAIDUSERS/userhome/gibbsj: Not a directory
If I wait a few min, sometimes 10.. I can cd ~gibbsj and login 100% fine. Is there any reason for this?!Was just about to post exactly the same question.
I installed Leopard Server last Friday and have had to restart AFP 3 or 4 times. The last one only lasted 18 hours and right now I cannot log in again until I restart.
I get the following error:
"There was an error connecting to the server. Check the server name or IP address and try again". This is followed by a 'sorry' dialog with unexpected error code -5019.
The AFP logs shows this:
IP 10.0.1.7 - - [07/Nov/2007:11:09:08 0000] "Login james" -5019 0 0
IP 10.0.1.7 - - [07/Nov/2007:11:09:08 0000] "Logout james" -5023 0 0
Other users already logged in appear still to be accessing the same volume without problem (at present) though they have had the same problem in the last couple of days.
If I stop & start AFP service then it will be fine again for a while.
Any ideas? This is a real show stopper. I can't keep disconnecting users every day.
Regards
James -
A CONFUSION:The difference between cluster and multi-IP--DNS mapping??
I have a test about simplest cluster,admin and managed server all told me "start
cluster service"!the two IP address use ONE DomainName,If one down,when I send
request with dn,It first look up admin server,no found and then go dns to search
another server,about one minute then the server send response to me!
But when I do not config a cluster,only start two admin server and give them the
same dns,the same appearance as cluster!
I don't understand the difference between cluster and multi-IP--DNS mapping??
<[email protected]> wrote in message news:3b16f1db$[email protected]..
|
| I have a test about simplest cluster,admin and managed server all told me
"start
| cluster service"!the two IP address use ONE DomainName,If one down,when I
send
| request with dn,It first look up admin server,no found and then go dns to
search
| another server,about one minute then the server send response to me!
|
This is DNS fail-over.
| But when I do not config a cluster,only start two admin server and give
them the
| same dns,the same appearance as cluster!
| I don't understand the difference between cluster and multi-IP--DNS
mapping??
It is totally different. regarding the last failover example you've given,
of course the 2 servers can have identical files maintained under
public_html. DNS will failover requests to "foo.html" to the other one if
the first server is down, but if you have something saved in a session, say
shopping cart example, it's totally lost, but with WLS clustering, the
session is replicated to the other server in the cluster, you may just
check-out, don't have to order again.
This is just a simple example of WLS cluster session-replication. WLS
supports EJB, RMI Objects, JMS (6.0) clustering.. check the doc at
http://www.weblogic.com/docs50/cluster/index.html
-
Problem saving a Photoshop file from an AFP server
Hi All,
Just want to know if some of you guys are experiencing this and how you solved it.
Basically we have an AFP server and OD services. All mac clients are bound to OD and are using the OD account for logging in. Most of the user are using photoshop. However when one edits a file and wanted to save/replace it, photoshop generates an error saying its locked forcing phothsop users to do file SaveAs and rename the file. We have been doing the AFP server and editing photoshop directly through the network for almost 1 and 1/2 years but not experienced this issues until later that we added more users/employees in our network and this issue came up
The error is
Could not save "Photoshop File.psd" because the file is locked. Use the 'Get Info' command in the finder to unlock the file.
We are able to create folders/files to where the photoshop is saving and other applications seems to save/replace files fine except for photoshop.
Has anyone encounter this and how did you solve it?I found the solution here, http://discussions.apple.com/message.jspa?messageID=4644850#4644850 and the steps are as follows,
In Workgroup Manager (OS X Server) select the group you want to apply the setting to, the choose Preferences.
Choose the "Details" tab and add .GlobalPreferences.plist
Clear all the settings, and add a new key called NSUmask, then choose "integer" with a value of 2
Next time your users for that group log in and they save a file it will be rw-rw-r
The default umask for Macs is 022 (rw-r--r--), this changes it to 002. I didn't try manually changing the default umask on the individual workstations, but I assume that would work also.
Kent -
Finder download from afp server failed one file larger than 2Gb
I am using 10.5.1 on iMac.
I guess this shouldn't be a problem.
I download a file from university's afp server, but fails when if has downloaded 2GB (the file is larger than 2GB) with error code 1309.
Does anyone know how to solve this problem? Thank you.the disk format is:
Mac OS Extended (Journal) -
DNS Issues - Can ping server name and IPs but not FQDNs.
Hi All,
Hopefully some one can help me here, I am having an issue where one of my domain attached servers cannot ping any FQDNs in the environment but it can ping the host names and the IPs and look up the host names from a reverse look up.
We have done the following troubleshooting:
Flushed and registered DNS cache.
Restarted the DNS client and net logon services on the effected server
Preformed standard checks and commands such as:
Checked the event logs and found there were warnings for DNS registration.
Compared the DNS settings in the network adapters across the rest of the servers in the environment and found that they were all the same. DNS Suffixes are added in the correct order and are set to register.
Pinging FQDNs which is not giving any results.
Tracert FQDNs which is also not giving any results.
Nslookup which is querying the DNS server directly and giving results as expected
Ran the command which reported successful: dcdiag /test:registerindns /dnsdomain:sub.domain.net /v
Checked and updated the permissions on DNS for the affected server to give the server full control of its own DNS entry.
Replaced the DNS Client service DLL with one from a server that is working as expected.
Also worth noting is that the affected server (as well as every other server in the environment) has 2 NICs, one that communicates with DNS and AD and the other does not have any DNS IPs set.
Not this is not the first time this happened, a reboot fixed the issue before but it seems to be a reoccurring problem now.
If any one can shed some light on this issue I would be grateful.
Regards,
Steve.Hi Steve,
First, we should confirm if this issue is caused by DNS.
When you ping the FQDN, does the server show the correct corresponding IP address?
If no, there should be some error messages. If it is possible, please post the screenshot of this issue.
To check the process about how does server resolve the FQDN, please follow the steps below:
clear local DNS cache with command ipconfig /flushdns
perform the network capture
ping the specified FQDN
Check the DNS traffic
To download Network Monitor, please click the link below:
http://www.microsoft.com/en-hk/download/details.aspx?id=4865
Besides, have you tried to update the NIC driver to the latest version?
Best Regards.
Steven Lee Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected] -
How To Set Up Mountain Lion Server/Point DNS to Mac Mini Server
Hello, First of all I have no experience with setting up servers whatsoever. Below is what I have
- Mac Mini with Mountain Lion Server
- Time Capsule as my router
- Comcast as my service provider
My goal is to set up my MacMini as a sharepoint for files and other data with my other partners.
- I have purchased a domaine name from NetworkSolutions. Does this mean that they are my DNS hosting as well? Not really sure. My biggest question is how to point my DNS to my mac mini server correctly.
1. How do you point the DNS to my mac mini server.
2. I've read somewhere to use the IP address from my mac mini server. The only IP address I see is from my Time Capsule (router). I know what my public IP adress is but I am not sure if that's the one to use. I think once I figure this DNS thing I can figure out the rest.
Thanks - Need lots of help.Here's a detailed write-up on setting up internal (private) DNS on OS X Server, and no, you're probably not going to be setting up external DNS on your servers. Your public DNS service will be hosted on and served from the Network Solutions DNS servers.
-
Huge performance differences between a map listener for a key and filter
Hi all,
I wanted to test different kind of map listener available in Coherence 3.3.1 as I would like to use it as an event bus. The result was that I found huge performance differences between them. In my use case, I have data which are time stamped so the full key of the data is the key which identifies its type and the time stamp. Unfortunately, when I had my map listener to the cache, I only know the type id but not the time stamp, thus I cannot add a listener for a key but for a filter which will test the value of the type id. When I launch my test, I got terrible performance results then I tried a listener for a key which gave me much better results but in my case I cannot use it.
Here are my results with a Dual Core of 2.13 GHz
1) Map Listener for a Filter
a) No Index
Create (data always added, the key is composed by the type id and the time stamp)
Cache.put
Test 1: Total 42094 millis, Avg 1052, Total Tries 40, Cache Size 80000
Cache.putAll
Test 2: Total 43860 millis, Avg 1096, Total Tries 40, Cache Size 80000
Update (data added then updated, the key is only composed by the type id)
Cache.put
Test 3: Total 56390 millis, Avg 1409, Total Tries 40, Cache Size 2000
Cache.putAll
Test 4: Total 51734 millis, Avg 1293, Total Tries 40, Cache Size 2000
b) With Index
Cache.put
Test 5: Total 39594 millis, Avg 989, Total Tries 40, Cache Size 80000
Cache.putAll
Test 6: Total 43313 millis, Avg 1082, Total Tries 40, Cache Size 80000
Update
Cache.put
Test 7: Total 55390 millis, Avg 1384, Total Tries 40, Cache Size 2000
Cache.putAll
Test 8: Total 51328 millis, Avg 1283, Total Tries 40, Cache Size 2000
2) Map Listener for a Key
Update
Cache.put
Test 9: Total 3937 millis, Avg 98, Total Tries 40, Cache Size 2000
Cache.putAll
Test 10: Total 1078 millis, Avg 26, Total Tries 40, Cache Size 2000
Please help me to find what is wrong with my code because for now it is unusable.
Best Regards,
Nicolas
Here is my code
import java.io.DataInput;
import java.io.DataOutput;
import java.io.IOException;
import java.util.HashMap;
import java.util.Map;
import com.tangosol.io.ExternalizableLite;
import com.tangosol.net.CacheFactory;
import com.tangosol.net.NamedCache;
import com.tangosol.util.Filter;
import com.tangosol.util.MapEvent;
import com.tangosol.util.MapListener;
import com.tangosol.util.extractor.ReflectionExtractor;
import com.tangosol.util.filter.EqualsFilter;
import com.tangosol.util.filter.MapEventFilter;
public class TestFilter {
* To run a specific test, just launch the program with one parameter which
* is the test index
public static void main(String[] args) {
if (args.length != 1) {
System.out.println("Usage : java TestFilter 1-10|all");
System.exit(1);
final String arg = args[0];
if (arg.endsWith("all")) {
for (int i = 1; i <= 10; i++) {
test(i);
} else {
final int testIndex = Integer.parseInt(args[0]);
if (testIndex < 1 || testIndex > 10) {
System.out.println("Usage : java TestFilter 1-10|all");
System.exit(1);
test(testIndex);
@SuppressWarnings("unchecked")
private static void test(int testIndex) {
final NamedCache cache = CacheFactory.getCache("test-cache");
final int totalObjects = 2000;
final int totalTries = 40;
if (testIndex >= 5 && testIndex <= 8) {
// Add index
cache.addIndex(new ReflectionExtractor("getKey"), false, null);
// Add listeners
for (int i = 0; i < totalObjects; i++) {
final MapListener listener = new SimpleMapListener();
if (testIndex < 9) {
// Listen to data with a given filter
final Filter filter = new EqualsFilter("getKey", i);
cache.addMapListener(listener, new MapEventFilter(filter), false);
} else {
// Listen to data with a given key
cache.addMapListener(listener, new TestObjectSimple(i), false);
// Load data
long time = System.currentTimeMillis();
for (int iTry = 0; iTry < totalTries; iTry++) {
final long currentTime = System.currentTimeMillis();
final Map<Object, Object> buffer = new HashMap<Object, Object>(totalObjects);
for (int i = 0; i < totalObjects; i++) {
final Object obj;
if (testIndex == 1 || testIndex == 2 || testIndex == 5 || testIndex == 6) {
// Create data with key with time stamp
obj = new TestObjectComplete(i, currentTime);
} else {
// Create data with key without time stamp
obj = new TestObjectSimple(i);
if ((testIndex & 1) == 1) {
// Load data directly into the cache
cache.put(obj, obj);
} else {
// Load data into a buffer first
buffer.put(obj, obj);
if (!buffer.isEmpty()) {
cache.putAll(buffer);
time = System.currentTimeMillis() - time;
System.out.println("Test " + testIndex + ": Total " + time + " millis, Avg " + (time / totalTries) + ", Total Tries " + totalTries + ", Cache Size " + cache.size());
cache.destroy();
public static class SimpleMapListener implements MapListener {
public void entryDeleted(MapEvent evt) {}
public void entryInserted(MapEvent evt) {}
public void entryUpdated(MapEvent evt) {}
public static class TestObjectComplete implements ExternalizableLite {
private static final long serialVersionUID = -400722070328560360L;
private int key;
private long time;
public TestObjectComplete() {}
public TestObjectComplete(int key, long time) {
this.key = key;
this.time = time;
public int getKey() {
return key;
public void readExternal(DataInput in) throws IOException {
this.key = in.readInt();
this.time = in.readLong();
public void writeExternal(DataOutput out) throws IOException {
out.writeInt(key);
out.writeLong(time);
public static class TestObjectSimple implements ExternalizableLite {
private static final long serialVersionUID = 6154040491849669837L;
private int key;
public TestObjectSimple() {}
public TestObjectSimple(int key) {
this.key = key;
public int getKey() {
return key;
public void readExternal(DataInput in) throws IOException {
this.key = in.readInt();
public void writeExternal(DataOutput out) throws IOException {
out.writeInt(key);
public int hashCode() {
return key;
public boolean equals(Object o) {
return o instanceof TestObjectSimple && key == ((TestObjectSimple) o).key;
}Here is my coherence config file
<?xml version="1.0"?>
<!DOCTYPE cache-config SYSTEM "cache-config.dtd">
<cache-config>
<caching-scheme-mapping>
<cache-mapping>
<cache-name>test-cache</cache-name>
<scheme-name>default-distributed</scheme-name>
</cache-mapping>
</caching-scheme-mapping>
<caching-schemes>
<distributed-scheme>
<scheme-name>default-distributed</scheme-name>
<backing-map-scheme>
<class-scheme>
<scheme-ref>default-backing-map</scheme-ref>
</class-scheme>
</backing-map-scheme>
</distributed-scheme>
<class-scheme>
<scheme-name>default-backing-map</scheme-name>
<class-name>com.tangosol.util.SafeHashMap</class-name>
</class-scheme>
</caching-schemes>
</cache-config>Message was edited by:
user620763Hi Robert,
Indeed, only the Filter.evaluate(Object obj)
method is invoked, but the object passed to it is a
MapEvent.<< In fact, I do not need to implement EntryFilter to
get a MapEvent, I could get the same result (in my
last message) by writting
cache.addMapListener(listener, filter,
true)instead of
cache.addMapListener(listener, new
MapEventFilter(filter) filter, true)
I believe, when the MapEventFilter delegates to your filter it always passes a value object to your filter (old or new), meaning a value will be deserialized.
If you instead used your own filter, you could avoid deserializing the value which usually is much larger, and go to only the key object. This would of course only be noticeable if you indeed used a much heavier cached value class.
The hashCode() and equals() does not matter on
the filter class<< I'm not so sure since I noticed that these methods
were implemented in the EqualsFilter class, that they
are called at runtime and that the performance
results are better when you add them
That interests me... In what circumstances did you see them invoked? On the storage node before sending an event, or upon registering a filtered listener?
If the second, then I guess the listeners are stored in a hash-based map of collections keyed by a filter, and indeed that might be relevant as in that case it will cause less passes on the filter for multiple listeners with an equalling filter.
DataOutput.writeInt(int) writes 4 bytes.
ExternalizableHelper.writeInt(DataOutput, int) writes
1-5 bytes (or 1-6?), with numbers with small absolute
values consuming less bytes.Similar differences exist
for the long type as well, but your stamp attribute
probably will be a large number...<< I tried it but in my use case, I got the same
results. I guess that it must be interesting, if I
serialiaze/deserialiaze many more objects.
Also, if Coherence serializes an
ExternalizableLite object, it writes out its
class-name (except if it is a Coherence XmlBean). If
you define your key as an XmlBean, and add your class
into the classname cache configuration in
ExternalizableHelper.xml, then instead of the
classname, only an int will be written. This way you
can spare a large percentage of bandwidth consumed by
transferring your key instance as it has only a small
number of attributes. For the value object, it might
or might not be so relevant, considering that it will
probably contain many more attributes. However, in
case of a lite event, the value is not transferred at
all.<< I tried it too and in my use case, I noticed that
we get objects nearly twice lighter than an
ExternalizableLite object but it's slower to get
them. But it is very intersting to keep in mind, if
we would like to reduce the network traffic.
Yes, these are minor differences at the moment.
As for the performance of XMLBean, it is a hack, but you might try overriding the readExternal/writeExternal method with your own usual ExternalizableLite implementation stuff. That way you get the advantages of the xmlbean classname cache, and avoid its reflection-based operation, at the cost of having to extend XMLBean.
Also, sooner or later the TCMP protocol and the distributed cache storages will also support using PortableObject as a transmission format, which enables using your own classname resolution and allow you to omit the classname from your objects. Unfortunately, I don't know when it will be implemented.
>
But finally, I guess that I found the best solution
for my specific use case which is to use a map
listener for a key which has no time stamp, but since
the time stamp is never null, I had just to check
properly the time stamp in the equals method.
I would still recommend to use a separate key class, use a custom filter which accesses only the key and not the value, and if possible register a lite listener instead of a heavy one. Try it with a much heavier cached value class where the differences are more pronounced.
Best regards,
Robert -
External hard drive not showing up on AFP server
hi
i have successfully connected a couple of times to a firewire external hard drive connected to my dad's iMac over the internet (AFP server) for the purpose of backing up some files, but now it doesn't show up at all as a volume when i connect to his iMac through finder/go/connect to server. i don't believe that any settings were changed, so don't understand why it isn't showing up. currently when i get info on the drive 'shared folder' is checked, everyone has permission to read and write and 'ignore ownership on this volume' is checked, and file sharing is enabled in system preferences/sharing.
does anyone have any ideas of what i can do to get the drive to show up again?
thanks
nickOK, I figured it out (in case anyone else needs to know) with this information from the Western Digital site:
Macintosh Operating System 10.3.x or earlier will only recognize FAT32 partitions that are smaller than 128-gigabytes. Multiple FAT32 partitions smaller than 128-gigabytes will need to be created in order for Macintosh Operating System 10.3.x or earlier to recognize the partitions. You will need to use a Windows based computer to create FAT32 partitions, as Macintosh does not have the ability to create them.
Macintosh Operating System 10.4.x or later can recognize FAT32 partitions over 128-gigabytes. -
Can't delete primary zone in DNS after moving the server
Woe is me!
Our MacMini was hosted at a Colo site and working fine. No firewall in front of the machine, so we turned on the server firewall and only allowed mail, web, ftp, and a couple of other services. This worked great using our external public DNS wired to our domain names and public fixed IP address. Later, we got VPN up a running (the trick was to create a second, local IP address for the ethernet port), but this also required us to turn on the server's DNS to create a split-brained DNS server.
Everything was working swimmingly... and then we had a hard drive crash. Since we were thinking about moving the server onsite anyway (our POS system was accessed through the VPN, but it could be slow and made our tasting room dependent on Internet access in order to run the POS), we ordered Comcast business class internet with a fixed IP address.
We updated the external public DNS to the new public fixed ip. Rather than plug the mini directly to the Comcast router (which is in pass-through mode), we elected to put a AirPort Extreme in front of it, mainly so we could get all of the POS computers on the same local network without using the mini as a DHCP/NAT router. We created a DHCP reservation on the Extreme so that the mini had a fixed local IP address. We port forwarded everything we wanted to expose to the Internet. Email started to work again. However, web services and VPN are nada.
This being Snow Leopard Server and having spent literally hours debugging DNS issues when we first got the server, I knew it wouldn't be straightforward. And it hasn't been. Even changing the IP address of the server has been a chore.
We ran "sudo changeip <old IP address> <new IP address>".
Then we ran "sudo changeip -checkhostname" and received:
"$ sudo changeip -checkhostname
Primary address = 10.0.8.2 <new static internal IP address>
Current HostName = <servername>.<domainname>.com
The DNS hostname is not available, please repair DNS and re-run this tool.
dirserv:success = "success""
Oh no, the black pit of death.
Even though I tried to modify the machine record in the local DNS to reflect the new internal static IP address, Nada.
So, looking back on my previous research from Mr Hoffman and others, I stopped the DNS service, and I deleted the primary zone and reverse lookups in order to rebuild them from scratch. Except that no matter what I do, I can't delete the primary zone - it comes back like Dracula (even though the reverse zone and all of the zone records are gone). I tried rebuilding everything using the undeletable zone, but after a few services (saved each one separately), they would suddenly disappear.
I am leery of messing with the DNS files on the server as I don't want to hose up Server Admin (my command line skills are rudimentary and slow). I have so much installed on the machine now that I am concerned about someone saying "reinstall".
Help!
Related to this is that it is not clear to me in web services which IP address you should use for the sites. The internal IP? The public IP? I thought Apache cared about the external IP address. And I think Apache is hosed at the moment due to my DNS troubles anyway.
Thanks in advance!Morris Zwick wrote:
And does anyone know which IP you enter for your sites in the web service? The public static IP or the internal private static IP?
For the external DNS server I am sure you have already deduced that it should be the static IP issued you by Comcast and this will be forwarded by your router to your server.
For your internal DNS server you could use either the internal LAN IP, or the external IP although the later might be affected by your firewall so this you will need to test.
For the Web Server service in Server admin, if your only running a single website you could avoid the issue by just using the wildcard entry which will respond to any IP address, so this would be an empty host name and an IP address of *
In fact you don't have to specify an IP address you could just use the hostname, so it will listen to traffic arriving at your server addressed to any IP address and as long as the URL that was requested includes the hostname you define for the site it will get responded to. So if as an example you have two websites you want to serve
www.example.com
site2.example.com
then as long as both have the IP address for the site as an * (asterisk) then both should work as separate sites for traffic addressed to either the LAN or WAN IP address of the server.
You will still need to use two IP addresses on the server to enable VPN, you could use a USB Ethernet adapter for the second one. Port forwarding for VPN is not as simple as other traffic as VPN requires traffic different to the standard IP and UDP packets. Routers that support 'VPN Passthrough' are specifically designed to accomodate this but I don't know if the AirPort Extreme does this. I have also found PPTP copes better with this sort of setup than L2TP although PPTP is generally regarded as less secure.
Maybe you are looking for
-
How do i find the code for when someone gifts an app to me?
I was gifted an app and it says code has already been used. I am not trying to redeem a gift card or anything like that i just want to know what to do when itunes says code has already been used while trying to receive an app.
-
Problem with URL File download
Hi every one i am facing a problem with URL File read Technique import java.awt.Color; import java.io.DataOutputStream; import java.io.File; import java.io.FileOutputStream; import java.io.InputStream; import java.net.URL; import java.net.URLConnecti
-
About database incarnations in catalog versus non-catalog
Hi all Listing out the incarnations of my target database when not connected to the recovery catalog : RMAN> list incarnation of database testdb; using target database control file instead of recovery catalog List of Database Incarnations DB Key Inc
-
Does any one know how i can make my iMac detect my usb Alesis mixer 2.0
Help
-
Restoring Old Bookmarks on TenFourFox
I backed up my applications and data, including TenFourFox on my Mac G-4 PPS running OS 105.8 (Tiger). I then installed a new OS and restored backed up applications. Where on my Mac files are my old bookmarks? What is that file called?