Cannot Run Program Catalina.sh Error=13 Permission Denied
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies tomcat permission denied mac of this site About Us Learn more about Stack Overflow the company
Catalina.sh Permission Denied Mac
Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges
Cannot Run Program Error 13 Permission Denied Mac
Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a
The Basedir Environment Variable Is Not Defined Correctly
minute: Sign up Tomcat error while running spring mvc web application on intelliJ 14 up vote 0 down vote favorite I have recently set up Spring MVC on intelliJ but whenever I run the project using Tomcat server, it gives the following error: Error running Tomcat 8.0.171: Cannot run program "/Library/Tomcat/bin/catalina.sh" (in directory "/Library/Tomcat/bin"): error=13, Permission denied The error seems to me cannot run program java.io.ioexception error=13 permission denied that it has to do with permission issue. Please help me. Thanks in advance.. spring spring-mvc intellij-idea intellij-14 share|improve this question edited Mar 8 '15 at 0:28 Unheilig 8,660143877 asked Mar 8 '15 at 0:02 princeexpedition 174 Welcome to StackOverflow. Have you tried checking the OS permissions of the catalina.sh file? Is it executable by the user running the server? –mjuarez Mar 8 '15 at 0:16 possible duplicate of IntelliJ says 'cannot run program '/path/to/tomcat/bin/catalina.sh' error=13 permission denied –Xorty Mar 10 '15 at 21:03 add a comment| active oldest votes Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook. Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up using Facebook Sign up using Email and Password Post as a guest Name Email Post as a guest Name Email discard By posting your answer, you agree to the privacy policy and terms of service. Browse other questions tagged spring spring-mvc intellij-idea intellij-14 or ask your own question. asked 1 year ago viewed 570 ti
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring sudo startup.sh command not found developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question bash: ./startup.sh: permission denied x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join unable to ping server at localhost:1099 them; it only takes a minute: Sign up IntelliJ, unable to run catalina.sh up vote 1 down vote favorite 1 I'm running on a mac, 10.8.2. Starting this morning, I am unable to start my tomcat 6.0.18 in debugger mode. http://stackoverflow.com/questions/28921562/tomcat-error-while-running-spring-mvc-web-application-on-intellij-14 "Error running MediaPlanner: Cannot run program "/Volumes/work/apache-tomcat-6.0.18/bin/catalina.sh" (in directory "/Volumes/work/apache-tomcat-6.0.18/bin"): error=1, Operation not permitted I've made sure I have permissions on this file and all files in the tomcat directory (recursively). I've made sure the files are not in apples quarantine list (gatekeeper). I've tried switching to tomcat 7.x. I've installed java 1.6.0_37-b06-434.jdk since i was using an older verison of 6. this has been a stable setup for about a year. I recently ran the java update that http://stackoverflow.com/questions/13146024/intellij-unable-to-run-catalina-sh apple pushed out via updates (not sure if it matters). This morning IntelliJ pushed out an update to 11.1.4. I installed it without error. I am able to use terminal to manually run catalina.sh. I've lost a day of work trying to get this to work. I've scoured this site and others trying everything I find. Thanks! intellij-idea osx-mountain-lion catalina share|improve this question edited Oct 30 '12 at 19:59 CrazyCoder 177k30462415 asked Oct 30 '12 at 19:08 user1786576 263 Did you install 11.1.4 update with a patch? Does it help if you install it again from the .dmg? –CrazyCoder Oct 30 '12 at 19:59 It upgraded inside IntelliJ while it was running –user1786576 Oct 31 '12 at 12:50 Does it help if you install it from the .dmg available at jetbrains.com/idea/download/index.html? Your settings will be preserved. –CrazyCoder Oct 31 '12 at 14:10 I re-downloaded it and it kept my settings. same error :( –user1786576 Oct 31 '12 at 14:25 add a comment| 1 Answer 1 active oldest votes up vote 2 down vote The issue was that the disk image that I keep all of these files in was itself marked as quarantine. This file has been around for years. so while I can't explains why it was suddenly marked as quarantine (and all the files inside of it) that was the issue. share|improve this answer answere
communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed answers to any http://askubuntu.com/questions/414402/installed-tomcat-7-but-cannot-run-apps questions you might have Meta Discuss the workings and policies of https://wolfpaulus.com/jounal/mac/tomcat7/comment-page-1/ this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Ask Ubuntu Questions Tags Users Badges Unanswered Ask Question _ Ask Ubuntu is a question and answer site for Ubuntu users permission denied and developers. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Installed Tomcat 7 but cannot run apps up vote 4 down vote favorite 1 Installed Tomcat7 via repository via Synaptic package cannot run program manager & pasted my app(Beerv1) folder to /var/lib/tomcat7/webapps/ & also to /usr/share/tomcat7-root/ Still gets HTTP Status 404 - /Beerv1/form.html Using: CLASSPATH: /usr/share/tomcat7//bin/bootstrap.jar:/usr/share/tomcat7//bin/tomcat-juli.jar touch: cannot touch ‘/usr/share/tomcat7//logs/catalina.out’: Permission denied ./catalina.sh: 387: ./catalina.sh: cannot create /usr/share/tomcat7//logs/catalina.out: Permission denied This error shows after I uninstalled Tomcat7 & downloaded package manually from apache-tomcat website, extracted it to (/usr/share) & added CATALINA_HOME=
released (Tomcat 8.0.0-RC5 (alpha) is released already), Tomcat 7 was the first Apache Tomcat release to support the Servlet 3.0, JSP 2.2, and EL 2.2 specifications. Please note that Tomcat 7 requires Java 1.6 or better, which shouldn't be a problem, if you are running OS X 10.5 or 10.6. On OS X 10.7, 10.8 (Mnt Lion), and 10.9 (Mavericks) however, Java is not installed anymore, at least not initially. The easiest way to get Java onto your Mac is probably to open the Terminal app and enter java. You will be asked if you want to install it and OS X takes care of the rest - you would end up with Java 6. Read a new version of this post about how to install Tomcat 8 on Mac OS X 10.10 here: https://wolfpaulus.com/journal/mac/tomcat8 Prerequisite: Java On 10.9 (Mavericks), Apple changed this once again, now sending you to Oracle's Java SE web page, where you can download the JDK, (currently 7 jdk-7u45-macosx-x64.dmg). While at Oracle, I usually also download the Java SE Development Kit 7 Documentation, allowing me to stay away from their site for many months. The JDK installer package come in an dmg and installs easily on the Mac; and after opening the Terminal app again, java -version now shows something like this: java version "1.7.0_45" Java(TM) SE Runtime Environment (build 1.7.0_45-b18) Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode) Whatever you do, when opening Terminal and running java -version, you should see something like this, with a version of at least 1.6.x sudo is a program for Unix-like operating systems, allowing you to run programs with the security privileges of another user (normally the superuser, or root). Since we are creating directories, outside of your home folder, administrator right are required. I.e., when executing sudo you will be asked to enter your password; and your Mac User account needs to be an ‘Admin' account. Installing Tomcat Here are the easy to follow steps to get it up and running on your Mac Download a binary distribution of the core module: apache-tomcat-7.0.47.tar.gz from here. I picked the tar.gz in Binary Distributions / Core section. Opening/unarchiving the archive will create a folder structure in your Downloads folder: (btw, this free Unarchiver app is perfect for all kinds of compressed files and superior to the built-in Archive Utility.app) ~/Downloads/apache-tomcat-7.0.47 Open to Terminal app to move the unarchived distribution to /usr/local sudo mkdir -p /usr/local sudo mv ~/Downloads/apache-tomcat-7.0.47 /usr/local To make it easy to replace this release with