/bin/sh: bad interpreter: Operation not permitted error OS X Lion

I am trying to install omnetpp-4.2.2 on OS X Lion. When I try to configure I get the following error msg:
-bash: ./configure: /bin/sh: bad interpreter: Operation not permitted.
Sudo ./configure didn't help. Highly appreciate your help.

bad interpreter: Operation not...: Apple Support Communities

Similar Messages

  • Bad interpreter: Operation not permitted on Lion 10.7.3

    My unix scripts are now dead, after the upgrade to 10.7.3. A typical error message is   /bin/bash: bad interpreter: Operation not permitted  Googling this issue shows other people are having build scripts fail and are fixing this by renaming links to libraries.  My scripts are simple, they just run an executable, or used to...  something like this:
    #! /bin/bash
    ./myprogram << EOF
    $1
    EOF

    The interpreter is the thing that comes after "#!"; in your case, /bin/bash. Are you able to open a shell in Terminal? If so, what is your shell, and what do you get from
    ls -Oel /bin/bash
    and
    codesign -vv /bin/bash

  • Operation not permitted error when comparing documents

    I get an "operation not permitted" error when trying to compare documents in adobe XI pro.

    They are secured.  I knew I couldn't edit but didn't realize compare wouldn't work.  Thanks.

  • HT1338 Software Update message "Failed to check for updates. The operation couldn't be completed. Operation not permitted" MacBookPro 10.74 Lion

    The problem..
    Software Update message    "Failed to check for updates. The operation couldn’t be completed. Operation not permitted" 
    MacBookPro 10.74 Lion   Computer is online, as you can see by this message.
    Anyone know what is going on?

    Most likely needs to be run under an admin account. What's yours?

  • Open error 1 - Operation not permitted' error when checking permissions

    Hi
    I just installed Snow Leopard on a clean HD, and when checking permissions I get these errors:
    Repairing permissions for “Internal HD”
    Open error 1: "Operation not permitted" on System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/lib-dynlo ad/itertools.so
    Open error 1: "Operation not permitted" on System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/PyObj C/CoreFoundation/_CFRunLoopObserver.so
    Open error 1: "Operation not permitted" on System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/imputil.p yo
    Open error 1: "Operation not permitted" on System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/plat-mac/ Carbon/Appearance.pyc
    Open error 1: "Operation not permitted" on System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/plat-mac/ lib-scriptpackages/StdSuites/_init_.pyo
    Open error 1: "Operation not permitted" on System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/test/test _inspect.pyc
    Open error 1: "Operation not permitted" on System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/PyObj C/AppKit/_appmain.so
    Open error 1: "Operation not permitted" on System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/dateu til/relativedelta.py
    Open error 1: "Operation not permitted" on System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/numpy /ma/mrecords.py
    Open error 1: "Operation not permitted" on System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/zope/ interface/adapter.pyc
    Open error 1: "Operation not permitted" on System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils /msvc9compiler.pyc
    Open error 1: "Operation not permitted" on System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/email/tes t/testemailrenamed.pyo
    Open error 1: "Operation not permitted" on usr/sbin/stdhosts
    Open error 1: "Operation not permitted" on Applications/Utilities/Boot Camp Assistant.app/Contents/Resources/fi.lproj/MainMenu.nib/keyedobjects.nib
    Warning: SUID file "System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/MacOS/ARDAg ent" has been modified and will not be repaired.
    Open error 1: "Operation not permitted" on System/Library/Tcl/tcllib1.11/fileutil/multiop.tcl
    Warning: SUID file "System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/Reso urces/Locum" has been modified and will not be repaired.
    Is there anything to look out for here? What have I done wrong? Did I reformat my drive incorrectly? I chose Mac OS Extended (Journaled).
    Tried also to fix permissions from the install disk but got the same errors.
    Any help would be appreciated. Thanks

    acquiesce wrote:
    Hmm I haven't seen so many errors either.
    the number of errors is not high at all. Leopard would very often produce at least 3 to 4 times as many.
    It could have something to do with me running snow leopard on a Macbook Pro 2.16 core duo and not a core 2 duo... ?
    no, that would not have anything to do with it. as i said, those are most likely just errors in the permissions database. as i said, leopard was notorious for those. snow leopard is not as bad but produces a number of them too. I just haven't seen this particular kind of messages before. reinstalling SL will fix them but it seems like a serious overkill in this case.

  • Creating files in user directory results in "Operation not permitted" error

    Hello everyone,
    I have a FileVault-secured home directory on my PowerBook G4 running OS X 10.4.6 which gives me some headache, as you can see from the following Terminal session:
    arepty-powerbook:~ arepty$ touch fubar
    touch: fubar: Operation not permitted
    I am definitely in the correct directory, logged in as the correct user, have enough free disk space and the directory has the correct permissions, as you can see below:
    arepty-powerbook:~ arepty$ pwd
    /Users/arepty
    arepty-powerbook:~ arepty$ whoami
    arepty
    arepty-powerbook:~ arepty$ id arepty
    uid=501(arepty) gid=501(arepty) groups=501(arepty), 81(appserveradm), 79(appserverusr), 80(admin)
    arepty-powerbook:~ arepty$ df -h | grep '/Users/arepty'
    /dev/disk2s2 74G 64G 11G 86% /Users/arepty
    arepty-powerbook:~ arepty$ ls -l /Users/ | grep arepty
    drwx------ 180 arepty arepty 6222 May 3 12:31 arepty
    Am I missing something here or is my FileVault-directory perhaps fubar? Thanks in advance for any help you guys might be able to give me.
    Cheers,
    Alex
    PowerMac G5 & PowerBook G4   Mac OS X (10.4.6)  

    That is good to know, but it will probably make it ever harder to locate the cause of this problem. In the meantime, I made a backup of my FileVault-enabled user directory on my PowerMac and reinstalled the operating system on my PowerBook. During the backup, I have encountered a couple of I/O errors so I'm guessing either the filesystem was damaged (and could not be completely repaired by Disk Utility, which I have tried) or the hard drive is damaged.
    Just to be on the safe side, I have ordered a new hard drive and exchanged it (wouldn't want to risk data loss with the old hard drive) and everything works perfectly again with a completely new user directory.
    I am still wondering what caused all this trouble though, since I want to avoid another incident like this in the future.

  • Acrobat 8 Form - "This Operation Not Permitted" error when enable user rights and open Reader X

    I have a form which is causing me fits.  It was created from an existing PDF form to which I added data fields using LifeCyele Designer.
    When I enable user rights to the document and try to open it in either Adobe Reader X or Acrobat 8 Pro I get the message "This operation is not permitted" twice.  Once I get rid of the messages the form works fine.
    Is there a way to upload the form to this forum for someone to look at it?
    With my limited knowledge, I did try to investigate embeded font issues and hidden object issues.  But after much work I've not gotten much closer to a resolution.
    Best,
    David

    You cannot upload the file to the forum, but you can use Acrobat.com or Dropbox if you have an account. If you ha e no other options I'd be happy to take a look: acroscript at gmail dot com

  • Operations not permitted

    Hi
    I have a MacBook Pro with a corrupted copy of Snow Leopard 10.6.8 installed on the HD (I say corrupted because if I try selecting the HD as the startup disk I'm locked at the pretty spinning gear screen). The problem started when I went a little OCD on system files and tried to make everything look pretty but accidentily deleted necessary things... IE... the entire utilities folder and what not... anyway I'm using my factory install disk with Snow Leopard 10.6.3 to run Disk Utility and Verify/Repair the permissions but I keep getting "operations not permitted", errors... I'm semi-comfortable in using the Terminal from my OS disk if anyone knows the commands necessary to fix the permission issues.
    Any help is greatly appreciated -- I really don't want to lose my files (Silly me... I never used Time Machine or a external HD to backup anything important) and I'd like to have my Mac running smoothly!
    Thanks so much,
    Timothy

    You should not be getting any kind of error message when trying to install, if you're booted from the DVD. I can't comment further on that without knowing what the message is.
    As for backing up, you can do that within Disk Utility, but you should have done it long before now. If you don't make regular backups, you'll inevitably lose all your data.
    Mac OS X v10.5, v10.6: How to back up and restore your files

  • FSL-04017 Unable to change group. ID: 505. Operation not permitted

    while i'm installing Solution manager 4.0 with oracle 10g in linux enterprise 4,after the 23rd phase which is "install instance basics" i recived the following error
    INFO 2007-06-25 12:02:25
    Working directory changed to /tmp/sapinst_exe.3484.1182753067.
    INFO 2007-06-25 12:02:25
    Working directory changed to /tmp/sapinst_instdir/SOLMAN/SYSTEM/ORA/CENTRAL/AS.
    INFO 2007-06-25 12:02:25
    Working directory changed to /tmp/sapinst_exe.3484.1182753067.
    INFO 2007-06-25 12:02:25
    Working directory changed to /tmp/sapinst_instdir/SOLMAN/SYSTEM/ORA/CENTRAL/AS.
    INFO 2007-06-25 12:02:26
    Working directory changed to /tmp/sapinst_exe.3484.1182753067.
    INFO 2007-06-25 12:02:26
    Working directory changed to /tmp/sapinst_instdir/SOLMAN/SYSTEM/ORA/CENTRAL/AS.
    WARNING[E] 2007-06-25 12:02:26
    FSL-02015 Node /proc/sys/kernel/cad_pid does not exist.
    WARNING[E] 2007-06-25 12:02:26
    FSL-02015 Node /proc/sys/kernel/cap-bound does not exist.
    WARNING[E] 2007-06-25 12:02:26
    FSL-02015 Node /proc/sys/fs/binfmt_misc/register does not exist.
    INFO 2007-06-25 12:02:27
    Copied file '/tmp/sapinst_instdir/SOLMAN/SYSTEM/ORA/CENTRAL/AS/inifile.xml' to '/tmp/sapinst_instdir/SOLMAN/SYSTEM/ORA/CENTRAL/AS/inifile.14.xml'.
    INFO 2007-06-25 12:02:27
    Copied file '/tmp/sapinst_instdir/SOLMAN/SYSTEM/ORA/CENTRAL/AS/inifile.xml' to '/tmp/sapinst_instdir/SOLMAN/SYSTEM/ORA/CENTRAL/AS/inifile.15.xml'.
    INFO 2007-06-25 12:02:40
    Copied file '/tmp/sapinst_instdir/SOLMAN/SYSTEM/ORA/CENTRAL/AS/keydb.xml' to '/tmp/sapinst_instdir/SOLMAN/SYSTEM/ORA/CENTRAL/AS/keydb.8.xml'.
    INFO 2007-06-25 12:02:41
    Execute step createInstanceDirectories of component |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CI_Instance|ind|ind|ind|ind|11|0.
    INFO 2007-06-25 12:02:55
    Working directory changed to /tmp/sapinst_instdir/SOLMAN/SYSTEM/ORA/CENTRAL/AS.
    INFO 2007-06-25 12:02:55
    Working directory changed to /tmp/sapinst_exe.3484.1182753067.
    INFO 2007-06-25 12:02:55
    Working directory changed to /tmp/sapinst_exe.3484.1182753067.
    INFO 2007-06-25 12:02:55
    Working directory changed to /tmp/sapinst_instdir/SOLMAN/SYSTEM/ORA/CENTRAL/AS.
    INFO 2007-06-25 12:02:55
    Creating instance directories for instance IND/DVEBMGS00...
    INFO 2007-06-25 12:02:56
    File system node /usr/sap/ccms/IND_00 exists already. Nothing to do.
    INFO 2007-06-25 12:02:56
    File system node /usr/sap/IND/put exists already. Nothing to do.
    INFO 2007-06-25 12:02:56
    Account indadm already exists.
    INFO 2007-06-25 12:02:56
    Account 507 already exists.
    INFO 2007-06-25 12:02:56
    Account 507 already exists.
    INFO 2007-06-25 12:02:56
    Account sapsys already exists.
    ERROR 2007-06-25 12:02:56
    MUT-03025 Caught ESyException in Modulecall: Could not set effective group. Operation not permitted.
    ERROR 2007-06-25 12:02:56
    FSL-04017 Unable to change group. ID: 505. Operation not permitted
    ERROR 2007-06-25 12:02:56
    FCO-00011 The step createInstanceDirectories with step key |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CI_Instance|ind|ind|ind|ind|11|0|createInstanceDirectories was executed with status ERROR .
    thks & Rgds
    George Varghese

    Hi
    Well, it is not advised to do it manually, the logged in user (sidadm)
    should have the permissions, the reason being it is required at several points of time and with several folders..
    However, for learning purpose, here is the syntax to be given in command line-
    chgrp -R groupname <directoryName> (for all subdirectory - recursive)
    I gave this jsut to cross verify, please assign the access rights (add to admin group) and then continue installation,
    Revert for queries,
    Cheers
    Senthil

  • Mac OS X 10.6.8, receiving error message "Failed to check for updates. The operation couldn't be completed. Operation not permitted." How to fix?

    When I try to update my software, I'm receiving the error message "Failed to check for updates. The operation couldn't be completed. Operation not permitted."
    I'm using Safari 4.0.3. Yes, I know this is an old version of Safari - I can't update it, or any other software on my MacBook. Should I just wait for the Lion OS, or is there any kind of fix a non-technical Mac user like me can attempt without screwing up her laptop?
    I've tried clearing my cache and resetting Safari already - doesn't help. I've also tried to update after disabling my (Norton) antivirus software, thinking that might be interfering. None of these help.
    I don't know if it's a related problem, but also I can't download .pdf files from the internet, although I used to be able to.

    You should use the NortonAV uninstaller to uninstall it. Disabling the dreadful thing in the past hasn't always been sufficient for it to cease creating system havoc. The Mac NortonAV version has a long and well-earned reputation for doing truly seriously nasty things to OS X. Shame on Comcast for inflicting NortonAV on its Mac customers. It's not a matter of if NortonAV will mess up OS X but when and how badly. I can't help but wondering if some setting in your Norton AV has decided that NortonAV, rather than you, will be making executive decisions about what you are allowed to install on your computer and is keeping that fact a secret.
    After you are done uninstalling Norton use the finder to search for any Norton files that the uninstaller might have missed. Add the option to search for invisible files.
    After you have removed all the Norton bits and pieces restart in safe mode by holding down the shift key right after the startup chime. Keep holding down the shift key until you see the Apple logo and spinning gear. Safe mode does some maintenance tasks which means a much longer than normal startup time. Use Disk Utility to repair permission
    If your Mac works normally in safe mode restart. If things still aren't fixed you might want to give another shot at reinstalling Snow Leopard from the install DVD and applying the Mac OS X 10.6.8 Update Combo before taking your Mac to the Apple Store.
    If you feel the need to run AV software on your Mac use ClamXav in manual mode. It's donationware and doesn't seem to cause the litany of weird problems that are associated with other AV software.

  • Changed Ulimits values for the Oracle user and getting error -bash: ulimit: max user processes: cannot modify limit: Operation not permitted when logging in.

    I'm trying to increate the ulimits for max user processes and open files for the oracle user.  I've set the values in limits.conf, /etc/profile and in oracle's environment scripts. Now when I log in as oracle I get the below errors. If I change the ulimits back to the original values errors go away but ulimits aren't changed.
    login as: oracle
    [email protected]'s password:
    Last login: Fri Mar  6 09:56:02 2015 from mtkadmin12
    You are logging onto an Oracle system.
    Kickstarted on: 2014-06-05
    -bash: ulimit: max user processes: cannot modify limit: Operation not permitted
    -bash: ulimit: max user processes: cannot modify limit: Operation not permitted
    [oracle@servername ~]$

    Thanks for the update.
    I modified the /etc/security/limits.d/90-nproc.conf and added a line for oracle and also modifed the oracle.sh file.  The ulimits are setting correctly when I su - oracle but they are still wrong when sshing in as oracle.
    [root@mtkdevorap11d-1 ~]# su - oracle
    [oracle@mtkdevorap11d-1 ~]$ ulimit -Ha
    core file size          (blocks, -c) unlimited
    data seg size           (kbytes, -d) unlimited
    scheduling priority             (-e) 0
    file size               (blocks, -f) unlimited
    pending signals                 (-i) 1030982
    max locked memory       (kbytes, -l) 94371840
    max memory size         (kbytes, -m) unlimited
    open files                      (-n) 65536
    pipe size            (512 bytes, -p) 8
    POSIX message queues     (bytes, -q) 819200
    real-time priority              (-r) 0
    stack size              (kbytes, -s) unlimited
    cpu time               (seconds, -t) unlimited
    max user processes              (-u) 16384
    virtual memory          (kbytes, -v) unlimited
    file locks                      (-x) unlimited
    [oracle@mtkdevorap11d-1 ~]$
    [oracle@mtkdevorap11d-2 ~]$ ssh mtkdevorap11d-1
    Last login: Mon Mar 16 13:04:16 2015 from mtkdevorap11d-2.conveydev.com
    You are logging onto an Oracle system.
    Kickstarted on: 2014-06-05
    [oracle@mtkdevorap11d-1 ~]$ ulimit -Ha
    core file size          (blocks, -c) unlimited
    data seg size           (kbytes, -d) unlimited
    scheduling priority             (-e) 0
    file size               (blocks, -f) unlimited
    pending signals                 (-i) 1030982
    max locked memory       (kbytes, -l) 64
    max memory size         (kbytes, -m) unlimited
    open files                      (-n) 4096
    pipe size            (512 bytes, -p) 8
    POSIX message queues     (bytes, -q) 819200
    real-time priority              (-r) 0
    stack size              (kbytes, -s) unlimited
    cpu time               (seconds, -t) unlimited
    max user processes              (-u) 16384
    virtual memory          (kbytes, -v) unlimited
    file locks                      (-x) unlimited
    [oracle@mtkdevorap11d-1 ~]$

  • Operation not permitted - Permission errors when restoring

    Hi Guys,
    I'm trying to restore some files from a time machine backup from a DIFFERENT machine (i.e. browse other Time Machines) to a different laptop.
    BOth machines run 10.6. When using Time Machine it didn't want to know about it with the graphical restore.
    I tried the browsing via Finder and drag/drop onto the new machine's desktop and no joy - error messages.
    Finally, I used the command line and the even used sudo, but got this error:
    mv: Linwood College//10Bi SS/Global Terrorism/Rainbow warrior comic.comicdoc: Operation not permitted
    The command I used was:
    MacBook:Grad School sam$ sudo mv -f Linwood\ College/ ~/Desktop/
    I did enter my password too, which is an Admin account on the machine.
    Any suggestions on how I can recover these files? I'd really like to get them off the external hard drive before I give up and wipe it.
    Appreciate all help in advance.

    shanachienz wrote:
    Hi Guys,
    I'm trying to restore some files from a time machine backup from a DIFFERENT machine (i.e. browse other Time Machines) to a different laptop.
    BOth machines run 10.6. When using Time Machine it didn't want to know about it with the graphical restore.
    What does that mean? Did you get an error message? If so, what? If not, what happened?
    You should be able to restore to an "alternate location," per #16 in the Frequently Asked Questions *User Tip,* also at the top of this forum.

  • Error mounting NFS share - mount.nfs: Operation not permitted

    I've got an NFS share on a FreeBSD server which I mount via fstab.
    It mounts automatically at boot and everything is fine.
    However, if I unmount it and try to mount it again I get:
    mount.nfs: Operation not permitted
    I have tried vers=3 and nfsvers=3 in fstab, but to no avail.
    rpcbind is allowed in /etc/hosts.allow.
    Does anyone have any ideas?
    fstab entry:
    server:/path/to/files /mnt/files nfs ro,hard,intr,nfsvers=3 0 0

    Tagging along, I have the same problem, although I have a different setup:
    - Server = Arch linux
    - Client1 = Debian Testing linux
    - Client2 = Arch linux
    On client1, I'm unable to mount all NFS-shares. 2 out of 3 mount ok and the third fails with this error (both through fstab and manually):
    # mount -a
    mount.nfs4: access denied by server while mounting (null)
    On Client2 I'm able to connect automatically and manually to all shares.
    Maybe it is Debian-related, but the debian user forums have not been of much help...
    THX for any input!
    Last edited by zenlord (2010-03-04 12:07:04)

  • I have been sent a secure CD of zip folders but double clicking only comes up with the message unable to unarchive, error 1 - operation not permitted, any ideas please?

    I have been sent a secure CD of zip folders but double clicking only comes up with the message unable to unarchive, error 1 - operation not permitted, any ideas please?

    First thing coming to mind:
    do you double-click on the zip files on the CD ?
    Maybe the "unzip" tries to write in-place to the CD which of course is not possible.
    Have you tried to copy one of them to your OSX volume/harddisk and thhen double-click the copy ?
    Stefan

  • LibGL error: open DRM failed (Operation not permitted)

    odf ~ $ glxinfo | grep direct
    libGL error: open DRM failed (Operation not permitted)
    libGL error: reverting to (slow) indirect rendering
    odf ~ $ sudo glxinfo | grep direct
    Password:
    direct rendering: Yes
    Hmmmm ?

    I have the same problem.
    glxinfo | grep rend
    libGL error: open DRM failed (Operation not permitted)
    libGL error: reverting to (slow) indirect rendering
    direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose)
    OpenGL renderer string: ATI Radeon HD 3850
    But if sudo glxinfo | grep rend
    direct rendering: Yes
    ls -al /dev/dri/
    crw-r--r-- 1 root users 226, 0 2009-07-20 13:37 card0
    groups
    wheel dbus network video audio optical storage power users vboxusers anonymous
    in xorg.conf is "Section "DRI"
        Mode 0666
    EndSection"
    #edit:
    I set permissions "sudo chmod 666 /dev/dri/card0" and it's OK. Seems to be libdrm problem.
    Last edited by cinan (2009-07-20 11:58:51)

Maybe you are looking for