Permissions Error initall


#1

I might’ve just screwed up the permissions step of the installation, but I’m getting the following error when trying scidb.py initall SingleInstance:

[code]jfb325@jfb325-MacBookPro:/home$ scidb.py initall SingleInstance
Cleaning up old logs and storage files.
Move/unlink directory (server 0 (localhost) local instance 0 /home/scidb/DB-SingleInstance/000/0 -> /home/scidb/DB-SingleInstance/000/0-20120606-174456)
mv: cannot stat `/home/scidb/DB-SingleInstance/000/0’: No such file or directory
init(server 0 (localhost) local instance 0)
Reinitializing and registering local scidb instance/storage.

mkdir: cannot create directory /home/scidb/DB-SingleInstance': Permission denied mkdir: cannot create directory/home/scidb/DB-SingleInstance’: Permission denied
[Errno 2] No such file or directory: '/home/scidb/DB-SingleInstance/000/0’
Traceback (most recent call last):
File “/opt/scidb/12.3/bin/scidb.py”, line 814, in
initAll()
File “/opt/scidb/12.3/bin/scidb.py”, line 447, in initAll
init(n,0)
File “/opt/scidb/12.3/bin/scidb.py”, line 467, in init
createDirsAndLinks(srv, liid)
File “/opt/scidb/12.3/bin/scidb.py”, line 426, in createDirsAndLinks
relink_binary(srv, liid)
File “/opt/scidb/12.3/bin/scidb.py”, line 430, in relink_binary
executeIt(cmdList, srv, liid, useConnstr=False)
File “/opt/scidb/12.3/bin/scidb.py”, line 322, in executeIt
p = subprocess.Popen(cmdList, env=my_env, cwd=currentDir, stderr=serr, stdout=sout, executable=executable, shell=useShell)
File “/usr/lib/python2.7/subprocess.py”, line 672, in init
errread, errwrite)
File “/usr/lib/python2.7/subprocess.py”, line 1213, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory: '/home/scidb/DB-SingleInstance/000/0[/code]

Here is my sudoers file:

[code]#

This file MUST be edited with the ‘visudo’ command as root.

Please consider adding local content in /etc/sudoers.d/ instead of

directly modifying this file.

See the man page for details on how to write a sudoers file.

Defaults env_reset

Host alias specification

User alias specification

Cmnd alias specification

User privilege specification

root ALL=(ALL:ALL) ALL

Members of the admin group may gain root privileges

%admin ALL=(ALL) ALL

Allow members of group sudo to execute any command

%sudo ALL=(ALL:ALL) ALL

#includedir /etc/sudoers.d
root ALL=(ALL) ALL
scidb ALL=(ALL) NOPASSWD: ALL
[/code]


#2

From your prompt, I suspect you’re on a Mac.

While we do try to build SciDB on the MacOS platform, it’s not an officially sanctioned release, in part because of the way Apple poses (for entirely understandable reasons) a number of configuration and administrative challenges. We build on non-supported platforms because it’s a good way for us to get a gut-check on how portable our code is.

If you want to work on you MacBook, what a lot of us (myself included) do is to use Oracle’s VirtualBox and install Ununtu or Red Hat.