Open Directory Error 13
Contents |
Haines
Filemng
Manager, the process goes through OK to the end and then returns an error with a dialog of something like "could not configure to be an Open Directory Master as an error of 13 occurred.DNS is correctly set up and changeip -checkhostname successfully returns the ip address, host usr local psa bin repair name and dns server details.Anyone know what the error 13 is....?On Jun 2, 2009, at 8:26 PM, David Haines wrote:dserr 13 returns:"-13: Not a known DirStatus"and as such, "13" doesn't appear to be an OD error code, seehttp://developer.apple.com/documentation/Networking/Reference/Open_Directory_Ref/Reference/reference.htmlgrep -w 13 /System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/errno.hshows:#define EACCES 13 /* Permission denied */and probably not applicable to this err. number, butgrep -w 13 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Headers/MacErrors.hshows:sdmPRAMInitErr = 13, /*Slot PRAM could not be initialized.*/dsIrqErr = 13, /*uninstalled interrupt error*/dsExtensionsDisabled = -13, /*say ?Extensions Disabled?*/What do you see in/Library/Logs/slapconfig.log ?Try promoting to OD master via (the Terminal and):slapconfig -createldapmasterandadmin diradmin "Directory Admin" 1000 "dc=HOST,dc=DOMAIN,dc=COM"where of course "diradmin" & "Directory Admin" are the shortname & full name of your OD admin, and HOST.DOMAIN.COMshould (typically) match the FQDN of your server in question.and see what results (or not). _______________________________________________ Do not post admin requests to the list. They will be
& Site Management Integration Options Developers eMail Components CloudLinux Extensions Extension Catalog Submit your Extension Plans & Pricing Support Resources FAQs Forums Knowledge Base Documentation Downloads Plesk University Release notes Blog Become a Partner Russian German French Spanish Chinese Japanese Italian Language English Russian German French Spanish Chinese Japanese Italian any Search System error 13: Permission denied during access to domain logs. Article ID: 119725, created http://lists.apple.com/archives/macos-x-server/2009/Jun/msg00057.html on Jan 18, 2014, last review on Jun 22, 2016 Applies to: Plesk 12.5 for Linux Plesk 12.0 for Linux Plesk 11.5 for Linux Symptoms The following error appears in Plesk web interface when attempting to open domain logs under Plesk > Subscriptions> domain.tld > Logs or https://kb.plesk.com/en/119725 when attempting to open any folder in file manager under Plesk > Subscriptions> domain.tld > Files filemng: opendir failed: Permission denied System error 13: Permission denied The issue occurs with several domains only. The output of '/usr/local/psa/admin/logs/panel.log' contains the below errors: 2013-12-25T11:49:05+04:00 DEBUG (7) [util_exec]: 0, time = 0.12996006011963, errcode = 1; stderr = filemng: opendir failed: Permission denied System error 13: Permission denied ; stdout = filemng: opendir failed: Permission denied System error 13: Permission denied PleskUtilException: '/usr/local/psa/admin/bin/filemng' 'psaadm' 'list' 'files' '/var/www/vhosts/system/domain.tld/logs' '--in-blocks' failed with code 1. stdout: filemng: opendir failed: Permission denied System error 13: Permission denied stderr: filemng: opendir failed: Permission denied System error 13: Permission denied Manual command execution leads to the same result: /usr/local/psa/admin/bin/filemng psaadm list dirs /var/www/vhosts/system/domain.com/logs filemng: opendir failed: Permission denied System error 13: Permission denied filemng: opendir failed: Permission denied
NewestNodes Donate What'sNew on Oct 28, 2009 at 20:05UTC ( #803782=perlquestion: print w/replies, xml ) Need Help?? molson has asked for the wisdom of the Perl Monks concerning the following question: Any ideas why I am getting a "File open error = 13" error http://www.perlmonks.org/?node_id=803782 with my get? The file consists of 20 numbers on each line, with about 1,000 lines in the file. Below is the code, with some of the specifics changed for obvious reasons. use strict; use warnings; use Net::FTP; my $directory = "the directory"; my $ftp; $ftp = Net::FTP->new("1.1.1.1", Debug => 0) || die "Cannot connect to 1.1.1.1: $@"; $ftp->login("user",'pass') || die "Cannot login ", $ftp->message; $ftp->binary(); $ftp->get("$directory.thedir","C:\\temp\\ftp") || die error 13 "get failed ", $ftp->message; $ftp->quit; [download] Comment on File Open Error = 13?Download Code Replies are listed 'Best First'. Re: File Open Error = 13? by BrowserUk (Pope) on Oct 28, 2009 at 20:16UTC You can work out what that error number means easily: C:\test>perl -le"$!=13; print $!" Permission denied [download] Which strongly suggests that the userid you're using doesn't have permission to access the required file. Examine what open directory error is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error. "Science is about questioning the status quo. Questioning authority". In the absence of evidence, opinion is indistinguishable from prejudice. RIP PCW It is as I've been saying!(Audio until 20090817) [reply][d/l] Re^2: File Open Error = 13? by molson (Acolyte) on Oct 28, 2009 at 21:12UTC Thanks!! That is strange as I use that userID/pass in FileZilla without any issues. I'll need to dig deeper.[reply] Re^3: File Open Error = 13? by ikegami (Pope) on Oct 28, 2009 at 21:18UTC It's a *local* permission issue. You don't have permission to overwrite file C:\temp\ftp[reply][d/l] Re^4: File Open Error = 13? by molson (Acolyte) on Oct 28, 2009 at 21:25UTC Re^5: File Open Error = 13? by ikegami (Pope) on Oct 28, 2009 at 21:27UTC Some notes below your chosen depth have not been shown here Re: File Open Error = 13? (remote) by tye (Sage) on Oct 29, 2009 at 01:09UTC It appears that most of the answers in this thread are based on an invalid assumption. Looking at the source for the message() method (in the Net::Cmd source code), it doesn't return a local error and the number 13 doesn't