Go Back   The macosxhints Forums > OS X Help Requests > System



Reply
 
Thread Tools Rating: Thread Rating: 7 votes, 5.00 average. Display Modes
Old 04-30-2005, 11:29 PM   #41
hayne
Site Admin
 
Join Date: Jan 2002
Location: Montreal
Posts: 32,473
Sulphonate:
I suspect that you may have the problem of one of the earlier posters in this thread - that you have an actual folder/directory at /tmp instead of the symbolic link you are supposed to have.

You can see this by doing the command:
Code:
ls -l /  |  grep tmp
as suggested in the Apple doc I linked to above.
(Please show us the result by copy & paste.)

If so (if you have an actual folder/directory at /tmp) then you will need to remove it as explained in post #6 of this thread.
I don't think Repair Disk Permissions handles this case, but it would be a good idea to try it anyway, before following my instructions from post #6 and subsequent.
hayne is offline   Reply With Quote
Old 05-10-2005, 10:54 PM   #42
Marsh
Major Leaguer
 
Join Date: May 2003
Location: San Diego, CA USA
Posts: 357
here is the terminal result

all copied:

Last login: Tue May 10 18:30:05 on ttyp1
Welcome to Darwin!
[Marshalls-Mac:~] marshall% ls -l / | grep tmp
drwxr-xr-x 99 root wheel 3366 10 May 19:01 tmp
[Marshalls-Mac:~] marshall%
Marsh is offline   Reply With Quote
Old 05-10-2005, 11:42 PM   #43
hayne
Site Admin
 
Join Date: Jan 2002
Location: Montreal
Posts: 32,473
Quote:
Originally Posted by Marsh
[Marshalls-Mac:~] marshall% ls -l / | grep tmp
drwxr-xr-x 99 root wheel 3366 10 May 19:01 tmp

Yep - this shows that you have the same problem as earlier posters in this thread and therefore that you should follow my instructions from post #6.
hayne is offline   Reply With Quote
Old 05-13-2005, 09:10 AM   #44
ehfortin
Registered User
 
Join Date: May 2005
Posts: 1
Firewall/proxy

Hi,

I was having the same issue as a lot of you. As my problem was not related to permissions neither related to the lack of /tmp as a link to /private/tmp, I had to look elsewhere. I started wondering what would be the error message if SoftwareUpdate was unable to fetch the file. Apparently, this is not reported correctly. The tool is trying to fetch the file, fail and then, it tried to untar the non existent file and then complain.

So, the error is not because of permission in this case even if this is what it says. The file is just not there. Here, I have a squid proxy with dansguardian/squidguard over it. I added apple.com as an exclusion to make sure everything from there is accepted. It was still not working. I did some snooping and realized that updates are coming from akamai.net. After adding this to the exclusion list, restarting the SoftwareUpdate worked like a champ.

In short, if you're not having one of the previous reported problem, you may be facing either some kind of filtering (that was my case on multiple extension) or a problem to fetch the file.

I hope this will give to some of you another hint of what can go wrong.

Have a nice day!


Etienne-Hugues
ehfortin is offline   Reply With Quote
Old 11-04-2005, 01:04 PM   #45
nepley
Registered User
 
Join Date: Nov 2005
Posts: 1
Thanks to all who put their time and effort into these instructions. Everything works again. Does anyone have any idea how the bogus tmp file (rather than the symbolic link) gets created in the first place?
nepley is offline   Reply With Quote
Old 07-29-2007, 10:02 AM   #46
NovaScotian
League Commissioner
 
Join Date: Oct 2002
Location: Halifax, Canada
Posts: 5,156
I've followed this thread without doing more than looking as directed after discovering that directories were simply missing.

Problem: Software Update times out [dual core G5/2.3 OS X 10.4.10]

Condition found: /private/tmp/501/ exists, but is empty.

What to do about that?
__________________
17" MBP, OS X; 27" iMac, both OS X 10.10.x (latest)
NovaScotian is online now   Reply With Quote
Old 07-29-2007, 03:38 PM   #47
hayne
Site Admin
 
Join Date: Jan 2002
Location: Montreal
Posts: 32,473
Quote:
Originally Posted by NovaScotian
Condition found: /private/tmp/501/ exists, but is empty.

There is nothing necessarily wrong with that. That folder is empty on my 10.4.10 Mac at the moment.
But do you have the symbolic link from /tmp to /private/tmp ?
Code:
% ls -ld /tmp
lrwxr-xr-x   1 root  admin  11 Aug 16  2006 /tmp -> private/tmp
__________________
hayne.net/macosx.html
hayne is offline   Reply With Quote
Old 07-29-2007, 05:17 PM   #48
NovaScotian
League Commissioner
 
Join Date: Oct 2002
Location: Halifax, Canada
Posts: 5,156
This must be it:

Code:
% ls -ld /tmp
lrwxr-xr-x   1 root  admin  11 Jan  8  2006 /tmp -> private/tmp
__________________
17" MBP, OS X; 27" iMac, both OS X 10.10.x (latest)
NovaScotian is online now   Reply With Quote
Old 07-29-2007, 10:35 PM   #49
hayne
Site Admin
 
Join Date: Jan 2002
Location: Montreal
Posts: 32,473
NovaScotian:
Your symbolic link to /private/tmp looks fine.

So let's start over.
What problems are you experiencing?
Have you done permission repair?
__________________
hayne.net/macosx.html
hayne is offline   Reply With Quote
Old 07-30-2007, 09:04 AM   #50
NovaScotian
League Commissioner
 
Join Date: Oct 2002
Location: Halifax, Canada
Posts: 5,156
If I run Software Update, I get the usual drop down sheet "Checking for new software...", the blue progress bar snaps to about 10% and after a substantial wait, the message:

"A networking error has occurred: timed out (-1001). Make sure you can connect to the internet, then try again."

As far as I can tell, absolutely every other internet-using application I use works perfectly normally, and apps that "phone home" succeed in notifying me of upgrades (GraphicConverter just did). The SU problem dates from the upgrade to 10.4.10.

The console said this when I just ran SU:

Quote:
Software Update[10232]: [FM] FSResolveAliasWithMountFlags() returns #-43 for StructuredText.pdf
Software Update[10232]: [FM] FSResolveAliasWithMountFlags() returns #-43 for SHAREDDOCS
Software Update[10232]: [FM] FSResolveAliasWithMountFlags() returns #-43 for StructuredText.pdf
2007-07-30 09:58:19.946 Software Update[10232] loader:didFailWithError:NSError "timed out" Domain=NSURLErrorDomain Code=-1001 UserInfo={
NSErrorFailingURLKey = http://swscan.apple.com/content/cata...x-1.sucatalog;
NSErrorFailingURLStringKey = "http://swscan.apple.com/content/catalogs/index-1.sucatalog";
NSLocalizedDescription = "timed out";

I had used the Disk Utility to repair permissions just before running SU (plus they are regularly repaired as part of SuperDuper!'s script for backing up my primary volume to an external HD)
__________________
17" MBP, OS X; 27" iMac, both OS X 10.10.x (latest)

Last edited by NovaScotian; 07-30-2007 at 09:06 AM.
NovaScotian is online now   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 03:59 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.