Afpmounturl Error Codes
Contents |
$ sudo mount_afp afp://afpserver.local/Subdirectory/ /Volumes/MountPoint
mount_afp: AFPMountURL returned error -5002, errno is -5002
Or
Mount_afp Error 2
maybe a -5023 error:
$ sudo afp://user:password@afpserver.local/Subdirectory/ /Volumes/MountPoint
mount_afp error "-1069" mount_afp: AFPMountURL returned error -5023, errno is -5023
Or some other negative value; some obscure constant. afpmounturl returned error 2 errno is 2 What's it mean? How do you translate these error codes? …
afpBadUAM = -5002, /* Unknown user authentication method specified */
…
afpUserNotAuth = -5023, /*
Afpmounturl Returned Error 22, Errno Is 3
No AFPLogin call has successfully been made for this session */
…
These two codes usually mean something like omitted login user and password settings, or you did and there's a problem with the user or the password you've specified. mount_afp uses Mac error code constants; you can find these codes by a web search for
Afpmounturl Returned Error 2 Errno Is 0
MacErrors.h file in the Apple open-source pool. There's a copy of MacErrors.h at www.opensource.apple.com (buried in a CarbonHeaders subdirectory, yes, Carbon is still around), and the values for these errors tend not to change all that often. Looking through the MacErrors.h text file, you'll see MacErrors.h is used for many other tools on OS X; it's the OS X rough equivalent of the OpenVMS SSDEF.H and a number of other C preprocessor include files that contain condition value constants. To reply to this, are you a returning or new visitor Home Hoff's Blog HL Custom Services About HL Contact Menu HoffmanLabs Info Support Portal Staff Portal Legal, Privacy Links Photo Gallery VMS Hobbyist Info Mac OS X Networking Topic Indexes Site Map Site Conventions, Searching HL Forums Recent Posts Get Help! Navigation Custom Services Recent posts HL Home Search Site map User login Username: * Password: * Create new account Request new password Search Search this site: © 2004, 2016 HoffmanLabs LLC | +1-603-566-2811 ET | OpenVMS and Mac OS X Services, Support, Programming
Support Search GitHub This repository Watch 74 Star 216 Fork 25 mount_afp: afpmounturl returned error 2, errno is 0 lindegroup/autopkgr Code Issues 70 Pull requests 1 Projects 0 Wiki
Afpmounturl Returned Error 5019
Pulse Graphs New issue mount_afp: AFPMountURL returned error -1069 #176 Closed have-blue opened this Issue mount afp terminal Oct 29, 2014 · 17 comments Projects None yet Labels None yet Milestone 1.1.1 Assignees No one assigned 4 participants have-blue commented Oct 29, http://labs.hoffmanlabs.com/node/1841 2014 This app looks so great, I look forward to putting it to work. However I am running into an issue that I am not able to figure out. Been digging around for a solution. Could I get some help please? Thanks, Ed The err. . . . Error https://github.com/lindegroup/autopkgr/issues/176 running recipes mount_afp: AFPMountURL returned error -1069, errno is -1069 Traceback (most recent call last): File "/usr/local/bin/autopkg", line 1334, in sys.exit(main(sys.argv)) File "/usr/local/bin/autopkg", line 1328, in main exit(subcommands[verb]'function') File "/usr/local/bin/autopkg", line 1152, in run_recipes autopackager.process(recipe) File "/Library/AutoPkg/autopkglib/init.py", line 466, in process self.env = processor.process() File "/Library/AutoPkg/autopkglib/init.py", line 295, in process self.main() File "/Library/AutoPkg/autopkglib/JSSImporter.py", line 591, in main self.package = self.handle_package() File "/Library/AutoPkg/autopkglib/JSSImporter.py", line 295, in handle_package self.j.distribution_points.mount() File "/Library/Python/2.7/site-packages/jss/distribution_points.py", line 117, in mount child.mount() File "/Library/Python/2.7/site-packages/jss/distribution_points.py", line 206, in mount subprocess.check_call(args) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 542, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['mount', '-t', 'afp', u'afp://User:Pass@ServerAddress:548/Mac Server Distribution Point', '/Volumes/MacCasperShareMacServerDistributionPoint']' returned non-zero exit status 211 eahrold commented Oct 29, 2014 First, If possible get the spaces out of your DP. If you can do that and it doesn't work try this and see if you get any errors... heck your /Volumes/ folder and see if there
Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies http://apple.stackexchange.com/questions/33015/how-should-i-debug-afp-issues of this site About Us Learn more about Stack Overflow the company https://docs.oracle.com/cd/E51711_01/TSG/Error%20Help/Documaker%20Standard%20Edition/Docupresentment%20or%20IDS%20errors/AFP%20Errors.html Business Learn more about hiring developers or posting ads with us Ask Different Questions Tags Users Badges Unanswered Ask Question _ Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute: Sign up Here's how it works: Anybody error 2 can ask a question Anybody can answer The best answers are voted up and rise to the top How should I debug AFP issues? up vote 2 down vote favorite I'm having some problems connecting to a Time Capsule's shared drive from a Macbook Air running OS X 10.7.2 Lion. I can connect to the share without problem from a Macbook Pro running afpmounturl returned error OS X 10.6 Snow Leopard. I do not have any other fileservers to attempt connecting against for comparison. Disabling both the Macbook Air's inbound firewall and its outbound application firewall, Little Snitch, yields no improvement (no other firewall, such as ipfw, is in use). However, it is possible that some other (perhaps overly paranoid) security configuration is interfering with AFP. The Time Capsule appears in Finder's sidebar, but reads "Connection Failed" when selected. Clicking "Connect As..." immediately brings up the following message: There was a problem connecting to the server "Time-Capsule". Check the server name or IP address, and then try again. If you continue to have problems, contact your system administrator. Neither Little Snitch's network monitor nor tcpdump show any network activity during the above interactions. The same message appears (again, without network activity) after specifying "afp://1.2.3.4/share" (where 1.2.3.4 is the correct IP address of the Time Capsule and "share" is the correct name of the AFP share) in Finder's "Connect to Server..." dialog. In syslog, the following entries appear: Dec 5 22:41:17 MacbookAir Finder[123]: SharePointBrowser::handleOpenCallBack returned 22 From the command line: $ mount_afp afp://username:password@1.2.3.4/share /Volumes/mount
print streams. Character set xxxxx not found Error opening overlay: xxxxxxxx Error opening page segment: xxxxxxxx Error opening logo: xxxxxxxx Character set xxxxx not found If you receive this error message, the AFP print stream uses a character set and code page file name instead of coded font file name to specify an AFP font to be used. In this case, you will need to create an additional file called IBMXREF.TBL to provide additional AFP font information. IBMXREF.TBL is a text file that contains pairs of coded font names and character set names. This file should be placed in the directory specified by the FORMLIB INI setting. What you are doing is specifying the coded font file name to use when a reference to the character set file is encountered in the AFP print stream. The system searches in the FXR file for the coded font file name to determine font information it needs during the PDF conversion. When entering the coded font and character set names in IBMXREF.TBL, do not use the first two letters (X0, X1, C0, C1, and so on). The coded font and character set names need to be written in UPPER CASE and separated by at least one space. Each pair of coded font and character set names should be written on separate lines. For example, if you receive an error stating…Character set C0AR111 not found… Add a line of coded font and character set names to the IBMXREF.TBL. If a coded font file named X0AR11P contained a reference to the character set file C0AR111, you would add the following line to IBMXREF.TBL:AR11P AR111 Notice the first two letters of X0AR11P and C0AR111 are omitted from the line added to IBMXREF.TBL. You should have inserted the coded font file, X0AR11P, into the FXR file previously. If you have character set files but do not have any coded font files, you can insert a character file into the FXR. However, you must edit the font inserted into the FXR and specify a coded font file name on the Printers page. In this case, use the character set name as the coded font name and change the first letter from C to X. In this case, the pair of names stored in the IBMXREF.TBL will be the same. If you have a character set file that is used by more than one code page file, you can map each character set/code page file combination to a coded font file named in the FXR. To do this, add a third column to the IBMXREF.TBL. The third column contains the name of code page file. For example, to map the coded font file, X0AR11P, to the character set and code page files, C0AR111, and T1ISI121, you would add this line to IBMXREF.TBL:AR11P AR11