PDA

View Full Version : PowerBook randomly mounts G5 server, then can't be disconnected


vickishome
04-06-2006, 07:58 AM
My PowerBook is connecting to one of the servers on my G5 on its own. The server is G5_Apps which contains nothing but applications that I have installed.

I can't seem to figure out why the PB is loading this server. Even moreover, when I attempt to disconnect it from the PB, I receive the error message:

The disk "G5_Apps" is in use and could not be ejected.
Try quitting applications and try again.

I have quit every application that I know is running on the PB, but I continue to get the same error message. The only way I can disconnect the G5_Apps server is to logout.

I found where the PB connected to the G5_Apps in the PB's system.log which I'll post in a sec. I looked through all of the logs on my G5, and I can't find anything that matches the time stamp to tell me what's going on.

What can I do to figure out what is loading the G5_Apps disk on my PB?

vickishome
04-06-2006, 08:09 AM
Here's where the PB's system.log shows it mounting the G5_Apps server. I honestly don't know what to post as there is a whole bunch of activity going on just before the G5_Apps is mounted, but the time stamp shows it to be about 20 minutes earlier. So I'll post some of what's before and after the line where it's mounted in hopes that will be helpful.

Apr 5 22:46:24 PowerBook configd[29]: AppleTalk startup
Apr 5 22:46:24 PowerBook configd[29]: SecKeychainFindGenericPassword err= -25308 ( =0xffff9d24, secErrStr=User interaction is not allowed. ) (current= Airport Extreme Network)
Apr 5 22:46:27 PowerBook launchd: Server 0 in bootstrap 1103 uid 0: "/usr/sbin/lookupd"[62]: exited abnormally: Hangup
Apr 5 22:46:27 PowerBook configd[29]: executing /System/Library/SystemConfiguration/Kicker.bundle/Contents/Resources/enable-network
Apr 5 22:46:27 PowerBook configd[29]: posting notification com.apple.system.config.network_change
Apr 5 22:46:27 PowerBook lookupd[77]: lookupd (version 369.2) starting - Wed Apr 5 22:46:27 2006
Apr 5 22:46:28 PowerBook configd[29]: target=enable-network: disabled
Apr 5 22:46:30 PowerBook configd[29]: AppleTalk startup complete
aped[56]: Not affecting super-user process open[193]. This is just an informative message. It is not causing your problem.
Apr 5 23:09:33 PowerBook kernel[0]: AFP_VFS afpfs_mount: /Volumes/G5_Apps, pid 309
aped[56]: Not affecting system service user (uid 92). This is just an informative message. It is not causing your problem.
aped[56]: Not affecting system service user (uid 92). This is just an informative message. It is not causing your problem.
aped[56]: Not affecting system service user (uid 92). This is just an informative message. It is not causing your problem.
Apr 6 02:40:22 PowerBook kernel[0]: AFPSleepWakeHandler: going to sleep
Apr 6 02:40:22 PowerBook kernel[0]: AFP_TCP ASP_TCP SendSleepPkt: sending regular sleep
Apr 6 02:40:24 PowerBook kernel[0]: hibernate image path: /var/vm/sleepimage
Apr 6 02:40:24 PowerBook kernel[0]: sizeof(IOHibernateImageHeader) == 512
Apr 6 02:40:24 PowerBook kernel[0]: Opened file /var/vm/sleepimage, size 1073741824, partition base 0x8008000, maxio 100000
Apr 6 02:40:24 PowerBook kernel[0]: hibernate image major 14, minor 2, blocksize 512, pollers 2
Apr 6 02:40:24 PowerBook kernel[0]: hibernate_alloc_pages flags fc14fc21, gobbling 0 pages
Apr 6 02:40:25 PowerBook kernel[0]: AirPort: Link DOWN (Client disAssoc 0)
Apr 6 02:40:25 PowerBook launchd: Server 0 in bootstrap 1103 uid 0: "/usr/sbin/lookupd"[77]: exited abnormally: Hangup
Apr 6 02:40:25 PowerBook configd[29]: posting notification com.apple.system.config.network_change
Apr 6 02:40:25 PowerBook lookupd[1522]: lookupd (version 369.2) starting - Thu Apr 6 02:40:25 2006
Apr 6 02:40:25 PowerBook configd[29]: AppleTalk shutdown
Apr 6 02:40:25 PowerBook configd[29]: AppleTalk shutdown complete

hayne
04-06-2006, 10:32 AM
I can't seem to figure out why the PB is loading this server. Even moreover, when I attempt to disconnect it from the PB, I receive the error message:

The disk "G5_Apps" is in use and could not be ejected.
Try quitting applications and try again.

I have quit every application that I know is running on the PB, but I continue to get the same error message. The only way I can disconnect the G5_Apps server is to logout.

The server's disk might be getting mounted when an app from that disk is started up somehow. Maybe a script that runs periodically or in response to some event?

The following command (in a Terminal window) should show what apps have open files on the server's disk. Any open files would cause that "in use" message.

sudo lsof | grep G5_Apps

vickishome
04-06-2006, 11:14 AM
That is a huge help. Thank you!

Here's what I got:

PowerBook:~ admin$ sudo lsof | grep G5_Apps
MacMinder 194 admin 10r VREG 44,6 1679304 7683 /Volumes/G5_Apps/Applicationx/Fetch/Fetch 4.0.3


I found what may be the trigger. I use DragThing, and had accidentally not changed the icon for "Fetch" to use the copy on my PowerBook so it was using the copy on my G5. So that explains why it was automatically opening the G5_Apps server, and that's very likely why it can't close the files properly.

I also noticed a reference to MacMinder so I'm not sure what that's about. I have it installed on all 3 of my Macs so I can control my daughter's G4 from either my G5 or PB.

For now, I'm going to see if the problem happens again now that I've fixed the old link to Fetch. Hopefully, that's all it was.

Thank you so much, as always. You are such a wonderful help! :)