[firebird-support] Re: How do I uninstall Firebird on Mac Yosemite?
Thanks... I'm terrible at this. Must I type "vi remove.sh" into the Terminal window first?
[firebird-support] Re: How do I uninstall Firebird on Mac Yosemite?
And then do I hit Enter/Return when I have pasted that info into the Terminal window?
[firebird-support] Re: How do I uninstall Firebird on Mac Yosemite?
> Must I type "vi remove.sh" into the Terminal window first? yes, you are in effect creating a shell file that can be excuted later. before you paste the commands you will probably need to change vi into insert mode :i should do it. Regards Paul
[firebird-support] Re: How do I uninstall Firebird on Mac Yosemite?
> And then do I hit Enter/Return when I have pasted that info into the Terminal > window? No, you exit vi using the command :wq Regards Paul
[firebird-support] Re: How do I uninstall Firebird on Mac Yosemite?
Okay, so I did the following: 1) Opened a Terminal window 2) Typed 'vi remove.sh' [Enter] 3) Typed ':i' [Enter] 3) Pasted the text as above 4) Typed ':wq' [Enter] 5) Closed the Terminal window. When I closed the window, a dialog box popped up saying 'Do you want to close this Terminal window? Closing this window will terminate the running processes: vim.' I didn't know what to do, so I closed the window anyway. Nothing seems to happen. I really need an idiots guide here. I can do other things - play guitar, write music, DJ - but this Terminal stuff is really not my thing. I didn't know what I was getting myself into just by installing Firebird.
[firebird-support] Re: How do I uninstall Firebird on Mac Yosemite?
Thanks Mark, You're being very helpful... So my Terminal window looks like this after I quite (no dialog this time). Ryans-MBP:~ ryanashton1$ vi remove.sh Ryans-MBP:~ ryanashton1$ chmod 777 remove.sh Ryans-MBP:~ ryanashton1$ sudo remove.sh Password: sudo: remove.sh: command not found Ryans-MBP:~ ryanashton1$ sudo remove.sh sudo: remove.sh: command not found Ryans-MBP:~ ryanashton1$ sudo ./remove.sh Launchctl /Library/LaunchDaemons/org.firebird.gds.plist: Could not find specified service Remove Framework Remove Receipt Remove /tmp/firebird Ryans-MBP:~ ryanashton1$ Is that correct? Did it all work? Also, under Users and Groups in Preferences, there is a 'Firebird Database' User - that has login ability when I start my computer. Do I just delete this from the Preferences, or will it be deleted when I uninstall Firebird?
[firebird-support] Re: How do I uninstall Firebird on Mac Yosemite?
Helen, That's really not very helpful. I joined this group because I needed help uninstalling Firebird - after accidentally installing it - all the steps for uninstall - not just some of the steps. I don't know about you, but I got a ton of other things that I'm involved in, and while Firebird-related stuff might be high on your list of things to learn, it's waaayy down on my list of priorities - after improving my guitar, programming in Reaktor and Max 4 Live, traveling the world and about 5000 other things. I hope you can appreciate that. Regards, Ryan
[firebird-support] Re: How do I uninstall Firebird on Mac Yosemite?
<> > Is that correct? Did it all work? Yes. > Also, under Users and Groups in Preferences, there is a 'Firebird Database' > User - that has login ability when I start my computer. > Do I just delete this from the Preferences, or will it be deleted when I > uninstall Firebird? The script has also removed the Firebird user and group. Firebird is no longer installed on your Mac. Regards Paul
[firebird-support] Re: How do I uninstall Firebird on Mac Yosemite?
I obviously am still doing something wrong as the 'Firebird' User is still on my startup screen. Here are the exact steps I took and there results: 1) Opened Terminal. 2) Typed 'vi remove.sh'. [Enter] 3) Terminal changes it's 'view' from 'bash' at the top to 'vim' and the following text is in the new window: #!/bin/sh echo "Launchctl" launchctl unload /Library/LaunchDaemons/org.firebird.gds.plist #echo "Clean User" #dscl localhost -delete /Local/Default/Users/firebird #echo "Clean Group" #dscl localhost -delete /Local/Default/Groups/firebird if [ -f "/Library/StartupItems/Firebird" ]; then echo "Remove Superserver StartupItem" rm -fr /Library/StartupItems/Firebird fi if [ -f "/Library/LaunchDemons/org.firebird.gds.plist" ]; then echo "Remove Launchd" launchctl unload /Library/LaunchDemons/org.firebird.gds.plist rm /Library/LaunchDemons/org.firebird.gds.plist fi echo "Remove Framework" rm -fr /Library/Frameworks/Firebird.framework echo "Remove Receipt" rm -fr /Library/Receipts/Firebird*.pkg echo "Remove /tmp/firebird" rm -fr /tmp/firebird ~ ~ ~ ~ ~ ~ ~ ~ It seems that that is the correct text that should be in that window. Correct? If that is the case, then I shouldn't (didn't) paste the text again. 5) Typed ':wq' to exit vim. [Enter] 6) Typed 'chmod 777 remove.sh' [Enter] Ryans-MacBook-Pro:~ ryanashton1$ chmod 777 remove.sh Ryans-MacBook-Pro:~ ryanashton1$ 7) Typed 'sudo remove.sh' [Enter] It asks for a password. I presume this is the password I use to login to my Mac? 8) Typed my password. [Enter] Then the window says this: Ryans-MacBook-Pro:~ ryanashton1$ sudo remove.sh Password: sudo: remove.sh: command not found Ryans-MacBook-Pro:~ ryanashton1$ Clearly that is the reason it is not uninstalling.
[firebird-support] Re: How do I uninstall Firebird on Mac Yosemite?
Type 'sudo ./remove.sh' [Enter] If you are in the same directory as the shell file. Regards Paul
[firebird-support] Re: How do I uninstall Firebird on Mac Yosemite?
How do I know which directory the remove.sh file is in? Can I find it from within the Finder? How do I find it using Terminal? How do I change directories to get into the directory that the file is in?
[firebird-support] Re: How do I uninstall Firebird on Mac Yosemite?
I tried it out and it said the following: Ryans-MacBook-Pro:~ ryanashton1$ ./remove.sh Launchctl /Library/LaunchDaemons/org.firebird.gds.plist: Could not find specified service Remove Framework Remove Receipt Remove /tmp/firebird
[firebird-support] Re: How do I uninstall Firebird on Mac Yosemite?
I tried it out and it said the following: Ryans-MacBook-Pro:~ ryanashton1$ ./remove.sh Launchctl /Library/LaunchDaemons/org.firebird.gds.plist: Could not find specified service Remove Framework Remove Receipt Remove /tmp/firebird Then the sh file has done nearly all its job... the comments you see above refer to the echo commands in the shell script But I have just seen a small problem with why you still have a firebird user... The original had the remove user/group commands commented out. Apologies. just type the following into the terminal and hit return sudo dscl localhost -delete /Local/Default/Users/firebird sudo dscl localhost -delete /Local/Default/Groups/firebird The following script is now complete. #!/bin/sh echo "Launchctl" launchctl unload /Library/LaunchDaemons/org.firebird.gds.plist echo "Clean User" dscl localhost -delete /Local/Default/Users/firebird echo "Clean Group" dscl localhost -delete /Local/Default/Groups/firebird if [ -f "/Library/StartupItems/Firebird" ]; then echo "Remove Superserver StartupItem" rm -fr /Library/StartupItems/Firebird fi if [ -f "/Library/LaunchDemons/org.firebird.gds.plist" ]; then echo "Remove Launchd" launchctl unload /Library/LaunchDemons/org.firebird.gds.plist rm /Library/LaunchDemons/org.firebird.gds.plist fi echo "Remove Framework" rm -fr /Library/Frameworks/Firebird.framework echo "Remove Receipt" rm -fr /Library/Receipts/Firebird*.pkg echo "Remove /tmp/firebird" rm -fr /tmp/firebird Paul
Re: [firebird-support] Re: How do I uninstall Firebird on Mac Yosemite?
At 02:59 p.m. 4/04/2015, ryanash...@hotmail.com [firebird-support] wrote: >Okay, so I did the following: > >1) Opened a Terminal window >2) Typed 'vi remove.sh' [Enter] >3) Typed ':i' [Enter] >3) Pasted the text as above >4) Typed ':wq' [Enter] >5) Closed the Terminal window. When I closed the window, a dialog box popped >up saying 'Do you want to close this Terminal window? Closing this window will >terminate the running processes: vim.' > >I didn't know what to do, so I closed the window anyway. Right, so you terminated the running process. >Nothing seems to happen. Yep, that sounds about right. ;-) . >I really need an idiots guide here. I can do other things - play guitar, >write music, DJ - but this Terminal stuff is really not my thing. I didn't >know what I was getting myself into just by installing Firebird. Have you heard of Google? Just enter "vim for Dummies" or "macosx terminal for Dummies" in the search key and you'll have your choice of tutorials for both. Helen Borrie, Support Consultant, IBPhoenix (Pacific) Author of "The Firebird Book" and "The Firebird Book Second Edition" http://www.firebird-books.net __
Re: [firebird-support] Re: How do I uninstall Firebird on Mac Yosemite?
On 4-4-2015 03:59, ryanash...@hotmail.com [firebird-support] wrote: > Okay, so I did the following: > > 1) Opened a Terminal window > 2) Typed 'vi remove.sh' [Enter] > 3) Typed ':i' [Enter] > 3) Pasted the text as above Before step you need to press [Esc] to return to command mode. > 4) Typed ':wq' [Enter] > 5) Closed the Terminal window. When I closed the window, a dialog box > popped up saying 'Do you want to close this Terminal window? Closing > this window will terminate the running processes: vim.' You shouldn't quit the terminal yet, you still need to do (in the terminal window: chmod 777 remove.sh [Enter] sudo remove.sh [Enter] This last command may need to be executed as: sudo ./remove.sh [Enter] Mark -- Mark Rotteveel
Re: [firebird-support] Re: How do I uninstall Firebird on Mac Yosemite?
Seems to have worked. Thanks for you help - and patience.