MAMP setup will now exit and the existing map installation will not be removed - mamp

I deleted MAMP cause' I needed to free the space on my hard-drive and now I want to install it again, but I can't. I keep getting the mistake 'MAMP setup will now exit and the existing map installation will not be removed'. I thought that I still have some MAMP-files on my PC, but I don't. Can't figure out what's wrong and need some help!

I too had the same problem. I tried this method and it was solved.
Open the control panel>programs>programs and features>there comes the list of programs,find mamp and right click on it and click on 'uninstall'.
After getting uninstalled you can try to install it again. Then it works đź‘Ť.

Related

sql developer hangs on startup - what can I do?

At present I cannot run it (SQL Developer 4.1) because it hangs on "Restoring Editors" while starting. I suppose I've done it by exiting it before by killing sql developer process because it was hanged on fetching objects to Schema Browser so long...
Maybe I would clean some temporary files but can't find any.
Any ideas?
Deleting files from c:\Users\MY_USER\AppData\Roaming\SQL Developer\SQL History
and c:\Users\MY_USER\AppData\Roaming\SQL Developer\System...
Really helped me to resolve the connection issues
Basing on this thread https://community.oracle.com/thread/2564842 I've created own solution.
Extract installation of current version SQL Developer (4.1.0.17.29)
At "c:\Users\MY_USER\AppData\Roaming\SQL Developer\"
I've changed directory name system4.1.0.17.29 to system4.1.0.17.28.
After running newly extracted SQL Developer (4.1.0.17.29) I was prompted to let copy configuration from version 4.1.0.17.28 to 4.1.0.17.29 ;)
Everything works great now. I suppose that running the same (broken) installation after decreasing version could also help.
Remove folders c:\Users\USERNAME\AppData\Roaming\SQL Developer\system4.1.3.20.78\system_cache*. SQLDeveloper will recreate it after launching.
Just execute sqldeveloper as administrator. It works fine!
In my case the problem was because of windows compatibility issue. So I've selected my windows version and it's stop from randomly crash after startup
Our setup:
Windows 10
Sqldeveloper Versions <= 20.4.0
We observed this problem as well. Even worse while working over a VPN connection. I followed a couple of hints with more or less no effect.
To move
C:\Users\<USER>\AppData\Roaming\SQL Developer
to a local directory by adding this line
AddVMOption -Dide.user.dir=c:\temp\sqldev-conf
in the \sqldeveloper\bin\sqldeveloper.conf file gave us some improvement, but the “IndexPreferencesTask” still got stuck several times on startup.
After some more hours on unsuccessful research, we moved back from JDK 11 to JDK 8.
This solved 99% of the problem. The “IndexPreferencesTask” still hangs on startup but for less than a second.
Sounds to me like a problem with JDK 11.
In my case when i changed Tools --> Preferences --> Environment -> Look and Feel to Windows it is solved.
Delete the History files from C:\Users\User\AppData\Roaming\sqldeveloper
Restart the PC
In my case, the solution was kind of weird. After battling to resolve this for 2 days, no luck. Suddenly, on my mac, I searched for sql developer, not sqldeveloper. It popped up a sqldeveloper application (not sure how that is different from what I have been trying to open ), clicked it and boom, it opened. My guess is that there is a copy of that app on my system that I should have been opening rather than trying to open the reinstalled app. Note: I reinstalled the app after it started misbehaving though.
Operating System: Windows 10
Oracle Sqldeveloper Ver: 17.4.0
The problem has been noticed sometime when any network security
patch was installed on your machine. Looks like the patch impacts
your cached data under your user profile folder.
As above Lakh, rtbf and others answered. Removing below folders
will resolve the issue.
C:\Users\<userId>\AppData\Roaming\SQL Developer\SqlHistory
C:\Users\<userId>\AppData\Roaming\SQL Developer\system17.4.0.355.2349
If any one find more approriate reason please feel free to
disagree with my answer.

MAMP Pro won't start even after reinstalling

My mac froze earlier today and I forced it to reboot (involving several force quits and eventually holding the power button). After it started up, everything worked except MAMP Pro. When it starts, it doesn't report any errors but just hangs on starting MySQL, with a spinner next to it indefinitely.
I've tried uninstalling and reinstalling to no avail. However, regular MAMP works just fine. I've deleted and reinstalled /Library/Application Support/appsolute/MAMP Pro several times, but maybe there's other files I'm missing?
I had this problem tonight.
The reason was that I had created a hostname, but forgot to assign it to a disk location before I clicked Apply.
Amazingly, once you do this, there is no way to actually correct your mistake - it hangs every time you start up, and you never get the option to fix the disk location.
The solution is to remove the entry manually from the MAMP settings plist.
Quit MAMP Pro
Open ~/Library/Application Support/appsolute/MAMP PRO/settings.plist
Find the <dict> entry that contains your incorrect host - you'll see this inside the XML:
<key>serverName</key>
<string>yourhostname</string>
Delete the entire <dict>...</dict> node that contains your hostname missing the disk location and save the file
Re-open MAMP Pro
You should be back in business.
For future avoidance of this, it's best to open MAMP Preferences and uncheck Allow apply when disk location of a host isn't valid
simply run this on terminal
killall -9 mysqld
Fixed it by overwriting /etc/apache2/httpd.conf with /etc/apache2/httpd.conf~original
I added a vhost with an underscore in it's name just before this problem occurred.
After replacing the underscore with a dash by manually editing ~/Library/Application Support/appsolute/MAMP PRO/settings4.plist everything worked again.
Mamp Pro 6 (updated from version 5 in July 2021) had this same boot problem and the following fixed it...
Remove the entire htdocs folder out of /Applications/MAMP/ (moved it to my Documents folder)
Start up MAMP. All working again. Very strange but it worked and none of the other answers here did, so...

Eclipse randomly stopped starting

I've been using Eclipse a lot recently, and haven't had any problems with it. Last night, I was working on it perfectly fine. However, this morning, whenever I load it up, the program stops working half way the loading splash screen (before the actual workspace opens up). The information says "Loading Workbench" and just stays there forever. When I click on it multiple times, I get a message saying that Java(TM) Platform SE binary is not responding.
Google hasn't been a ton of help, and seems to just give a lot of responses about Minecraft. I'm slightly confused as to where I need to start looking, since nothing had changed since I successfully used it last. No updates to Java or Eclipse or anything else. Thanks for the help, and let me know if you need any more information!
I was actually able to fix it by just renaming my WorkSpace to WorkSpace1. Apparently it got corrupted somehow, and with the rename Eclipse was able to recreate a new one. Here's the link that helped me out:
http://spacetech.dk/eclipse-failed-java-was-started-but-returned-exit-code-805306369.html
Two things to check when you have problems with Eclipse:
First, always check the .log file, located in the .metadata directory (<workspace path>/.metadata/.log) of your workspace (not the Eclipse installation directory). Keep in mind that this is a hidden file under Linux or Mac OS. It usually contains the exception that is causing the crash. I usually delete any existing .log file before firing up Eclipse, just to make sure I am looking at the relevant log entries (the file will be recreated at startup).
If #1 does not help, you can try deleting the .metadata directory altogether. It will be recreated on startup (this is basically what you did by changing the workspace). In my experience with Eclipse, I noticed that some files can get corrupted inside .metadata, making Eclipse act weirdly. Keep in mind that this directory contains customizations you made in Eclipse and its plugins for the workspace and you might need to make them again.
Hope this helps.
Eclipse tends to be weird sometimes. If you move stuff around outside of the directories it was initially installed in, it usually won't load. I don't know if that's what you did, but your best bet is to back up your workspace, and reinstall eclipse. I'm sure that will do the trick.
Try a reinstall if possible or else, check the eclipse error log, which would be present at'/.metadata/.plugins/org.eclipse.ui.workbench/log'.
This will help you knowing the problem.

How do you upgrade MAMP's PHP to PHP 5.3 ?

I haven't been able to find any resources on how to do this.. Anyone have any ideas or resources?!
I've tried changing the ./configure options and I'm solving things one at a time but it seems like this method could take forever.. My current error is..
checking for jpeg_read_header in -ljpeg... no
configure: error: Problem with libjpeg.(a|so). Please check config.log for more information.
I'm running Snow Leopard.
Any help would be great,
Matt Mueller
I know this is an old question- but still relevant.
I'm updating my MAMP and am keeping up to date on PHP's stable releases by using a guide I found at davidgolding.net
The Guide goes as follows:
First, run the
phpinfo()
function in a PHP script on your localhost or go to PHPMyAdmin and hunt down the configuration page. You should see a large chunk of configuration markup at or near the top:
'./configure' '--with-mysql=/Applications/MAMP/Library'
'--with-apxs2=/Applications/MAMP/Library/bin/apxs'
'--with-gd' '--with-jpeg-dir=/Applications/MAMP/Library'
'--with-png-dir=/Applications/MAMP/Library' '--with-zlib'
'--with-freetype-dir=/Applications/MAMP/Library'
'--prefix=/Applications/MAMP/bin/php5' '--exec-prefix=/Applications/MAMP/bin/php5'
'--sysconfdir=/Applications/MAMP/conf/php5' '--with-soap'
'--with-config-file-path=/Applications/MAMP/conf/php5'
'--enable-track-vars' '--enable-bcmath' '--enable-ftp' '--enable-gd-native-ttf'
'--with-bz2=/usr' '--with-ldap' '--with-mysqli=/Applications/MAMP/Library/bin/mysql_config'
'--with-sqlite' '--with-ttf' '--with-t1lib=/Applications/MAMP/Library'
'--enable-mbstring=all' '--with-curl=/Applications/MAMP/Library' '--enable-dbx'
'--enable-sockets' '--enable-bcmath' '--with-imap=shared,/Applications/MAMP/Library/lib/imap-2006i'
'--enable-soap' '--with-kerberos' '--enable-calendar'
'--with-pgsql=shared,/Applications/MAMP/Library/pg' '--enable-dbase'
'--enable-exif' '--with-libxml-dir=/Applications/MAMP/Library'
'--with-gettext=shared,/Applications/MAMP/Library' '--with-xsl=/Applications/MAMP/Library'
'--with-pdo-mysql=shared,/Applications/MAMP/Library' '--with-pdo-pgsql=shared,/Applications/MAMP/Library/pg'
'--with-mcrypt=shared,/Applications/MAMP/Library' '--with-openssl'
Copy and paste this whole chunk into your text editor and remove the single quotes (search and replace should do it). Look for the flag
--with-pdo-mysql=shared,/Applications/MAMP/Library
and replace it with:
--with-pdo-mysql=/Applications/MAMP/Library
If you don’t do this, you might end up with an error.
ld: symbol(s) not found
Finally, add the following flag to the end:
--without-iconv
After you have downloaded the latest PHP release of your choosing from PHP Sources Snapshots,
cd
to the downloaded directory in Terminal. Paste your reformatted configuration string (all of it, including the beginning ./configure command) and run it.
After the configuration phase is finished, run:
$ make
$ sudo make install
Relaunch MAMP, and you’re good to go.
The current version (1.9) of MAMP / MAMP PRO includes PHP 5.3 and is available on the MAMP download page.
This is bound to cause a lot of headaches. The simplest solution is to navigate over to the mamp website and grab the latest version of the application. Download it, hit the install button and you will find your php version has been updated to the latest version...
Hope this helps, I spent quite a bit of time fiddling about with upgrading PHP before I actually looked :S
I don't know if MAMP has changed its configuration in the last few years but none of the solutions here helped me. What I did, and what worked right away was:
Download the PHP version you want from MAMP
Unzip it and move the new PHP folder into the MAMP/bin/php folder where you will see other subfolders with names like php5.3.7
Restart MAMP
Go to the PHP panel under Server in MAMP and choose the new verion of PHP from the drop menu
Start MAMP.
reinstall whole MAMP is very safe. You dont even need to take a copy of old MAMP. the new install does it on its own. just feel free to download new MAMP and click install. only care u need to take is this
Edit httpd.conf and open up line to include vhosts.conf and copy old vhosts.conf from old MAMP folder.
Goto MAMP Download page
then choose
an update from the Heading
"Additional PHP versions for MAMP PRO 2.2"

Netbeans Resolve missing server

I've encountered a problem with my Netbeans 6.1 IDE.
After an unsuccessful update, Netbeans stopped recognizing Apache and Glassfish servers and requested me to resolve a missing server error, after which I opened a window to add a server, except there were none listed. Trying to add servers in the list yields no results as there isn't even a single server type to be chosen.
Reinstalling Netbeans didn't fix the problem. Does anyone have any idea how to fix this?
When you reinstalled did you manually delete the "C:\Documents and Settings\omuhammed.netbeans" directory? apart from deleting the folder in "Program Files"? before reinstalling? This usually works for me.
After reinstaling i didn`t done that, and the result was the same. More people had complains about this but i found no direct answer. I have done it the "hard" way and downloaded 6.5 version and everything is ok after instalation.
The same thing happened with me also. As I opened one project which was created by some other user. But here it says, server is missing and I need to resolve it. When select Resolve server missing problem, window with blank list of servers is shown. When I opened 'Server Manager' window, there it is showing Bundled Tomcat. but there is noway to add the same server to the required project. At the same time, some projects, created in the same machine is running properly.
I could not see any proper reason and solution for the problem even in the net resources also.
any and all suggestion are highly appreciated.
Sajan
After uninstalled the netbeans, then i delete the "C:\Documents and Settings.netbeans", "C:\Documents and Settings.nbi", "C:\Documents and Settings.netbeans-derby", and "C:\Documents and Settings.netbeans-registration" directories. After that i reinstall the netbeans. It works! Thank you omer mohammed!
Right click your project and next click resolve missing server. Open dialog box so you will add server in current glash fish server next solve your problem.
While installing select customize button. Select only tomcat, un-check glass fish and then proceed installation. It will work like charm.