APC UPS Data Center & Enterprise Solutions Forum
Schneider, APC support forum to share knowledge about installation and configuration for Data Center and Business Power UPSs, Accessories, Software, Services.
Posted: 2021-07-01 02:09 AM . Last Modified: 2024-03-05 11:52 PM
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-07-01 02:09 AM . Last Modified: 2024-03-05 11:52 PM
Several years ago I purchased a PC UPS and it came with Powerchute. That machine was running 10.4 and has since been upgraded to 10.5.8.
I just now purchased a new imac and ran Migration Assistant to copy everything over from the old Mac.
Now I have Powerchute running on both machines and I would like it de-installed. I intend to use the native software on the new imac.
My problem is that the original CD had a de-install script on it and when i attempt to run that I get a volume not found error.
Any suggestions?
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-07-01 02:09 AM . Last Modified: 2024-03-05 11:52 PM
Based on the error message, it seems like the copy you have on your new iMac is corrupted. The error message shows that there's text before what's supposed to be the beginning of the script.
Try copying the file from your older iMac. You could try re-downloading too, but I'd have greater faith in the copy we know works.
edit It works for you? Great!
Message was edited by: voidstar
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-07-01 02:09 AM . Last Modified: 2024-03-05 11:52 PM
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-07-01 02:09 AM . Last Modified: 2024-03-05 11:52 PM
I failed to say that i have PowerchutePersonal. It apears that the script you sent was for server. I tried running it anyway and it beeped three or four timesand Powerchute is still there.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-07-01 02:09 AM . Last Modified: 2024-03-05 11:52 PM
>
I failed to say that i have PowerchutePersonal. It apears that the script you sent was for server. I tried running it anyway and it beeped three or four timesand Powerchute is still there.
>
The script in the message above is for Powerchute Personal Edition. It should have asked "Are you sure you want to remove APC PowerChute Personal Edition (y/n)?" Did you receive that prompt?
Also, could you copy and paste the contents of the terminal window from your attempt to run it?
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-07-01 02:09 AM . Last Modified: 2024-03-05 11:52 PM
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-07-01 02:09 AM . Last Modified: 2024-03-05 11:52 PM
I tried to open it and received the message that I do not have the appropriate access privileges. This confused me because the account is and admin account. I then opened it and copied the text and pasted it into Terminal. The following is what I see in Terminal:
Last login: Mon Feb 18 18:16:23 on console
new-host-2:~ stephenpolkinghorn$ #!/bin/sh
new-host-2:~ stephenpolkinghorn$ #
new-host-2:~ stephenpolkinghorn$ ##
new-host-2:~ stephenpolkinghorn$ ## Copyright © 2001-2006 American Power Conversion Corp. All rights reserved.
new-host-2:~ stephenpolkinghorn$ ##
new-host-2:~ stephenpolkinghorn$ # APC PowerChute Personal Edition un-install script.
new-host-2:~ stephenpolkinghorn$ #
new-host-2:~ stephenpolkinghorn$ # This shell script completely removes APC PowerChute Personal Edition
new-host-2:~ stephenpolkinghorn$ # from the system.
new-host-2:~ stephenpolkinghorn$ #
new-host-2:~ stephenpolkinghorn$ ##
new-host-2:~ stephenpolkinghorn$ ##
new-host-2:~ stephenpolkinghorn$ TRUE=1
new-host-2:~ stephenpolkinghorn$ readonly TRUE
new-host-2:~ stephenpolkinghorn$ FALSE=0
new-host-2:~ stephenpolkinghorn$ readonly FALSE
new-host-2:~ stephenpolkinghorn$
new-host-2:~ stephenpolkinghorn$ stop_daemon()
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-07-01 02:09 AM . Last Modified: 2024-03-05 11:52 PM
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-07-01 02:09 AM . Last Modified: 2024-03-05 11:52 PM
I just noticed that I didn't copy all of the text. This time I did andthe following is the response I had:
Last login: Mon Feb 18 18:17:50 on ttys000
new-host-2:~ stephenpolkinghorn$ #!/bin/sh
new-host-2:~ stephenpolkinghorn$ #
new-host-2:~ stephenpolkinghorn$ ##
new-host-2:~ stephenpolkinghorn$ ## Copyright © 2001-2006 American Power Conversion Corp. All rights reserved.
new-host-2:~ stephenpolkinghorn$ ##
new-host-2:~ stephenpolkinghorn$ # APC PowerChute Personal Edition un-install script.
#
# This shell script completely removes APC PowerChute Personal Edition
# from the system.
#
##
##
TRUE=1
readonly TRUE
FALSE=0
readonly FALSE
stop_daemon()
{
ps -awx | grep 'comapcpowerchute.app/Contents/MacOS/' | grep -v grep | awk '{print $1}' | xargs sudo kill
sleep 1
}
stop_preferences()
{
ps -awx | grep 'System Preferences.app/Contents/MacOS/' | grep -v grep | awk '{print $1}' | xargs sudo kill
sleep 1
}
SERVER_MODELS="RackMac"
readonly SERVER_MODELS
SYSTEM_STARTER_FILE="/sbin/SystemStarter" # NO trailing slash
SUPPORT_FILE_PATH="/System/Library/StartupItems/SerialTerminalSupport" # NO trailing slash
SUPPORT_FILE="$SUPPORT_FILE_PATH/SerialTerminalSupport" # NO trailing slash
TEMP="/tmp/tempDel$$.txt"
checkModel()
{
myModel=`sysctl hw.model`
for model in $SERVER_MODELS
do
echo $myModel | grep -q "$model"
if [ $? -eq 0 ] ; then
isServer=$TRUE
else
isServer=$FALSE
fi
done
}
doRemoveEdoRemovenew-host-2:~ stephenpolkinghorn$ #
# This shell script completely removes APC PowerChute Personal Edition
# from the system.
#
##
##
TRUE=1
readonly TRUE
FALSE=0
readonly FALSE
stop_daemon()
{
ps -awx | grep 'comapcpowerchute.app/Contents/MacOS/' | grep -v grep | awk '{print $1}' | xargs sudo kill
sleep 1
}
stop_preferences()
{
ps -awx | grep 'System Preferences.app/Contents/MacOS/' | grep -v grep | awk '{print $1}' | xargs sudo kill
sleep 1
}
SERVER_MODELS="RackMac"
readonly SERVER_MODELS
SYSTEM_STARTER_FILE="/sbin/SystemStarter" # NO trailing slash
SUPPORT_FILE_PATH="/System/Library/StartupItems/SerialTerminalSupport" # NO trailing slash
SUPPORT_FILE="$SUPPORT_FILE_PATH/SerialTerminalSupport" # NO trailing slash
TEMP="/tmp/tempDel$$.txt"
checkModel()
{
myModel=`sysctl hw.model`
for model in $SERVER_MODELS
do
echo $myModel | grep -q "$model"
if [ $? -eq 0 ] ; then
isServer=$TRUE
else
isServer=$FALSE
fi
done
}
doRemoveEdoRemoveEdonew-host-2:~ stephenpolkinghorn$ # This shell script completely removes APC PowerChute Personal Edition
# from the system.
#
##
##
TRUE=1
readonly TRUE
FALSE=0
readonly FALSE
stop_daemon()
{
ps -awx | grep 'comapcpowerchute.app/Contents/MacOS/' | grep -v grep | awk '{print $1}' | xargs sudo kill
sleep 1
}
stop_preferences()
{
ps -awx | grep 'System Preferences.app/Contents/MacOS/' | grep -v grep | awk '{print $1}' | xargs sudo kill
sleep 1
}
SERVER_MODELS="RackMac"
readonly SERVER_MODELS
SYSTEM_STARTER_FILE="/sbin/SystemStarter" # NO trailing slash
SUPPORT_FILE_PATH="/System/Library/StartupItems/SerialTerminalSupport" # NO trailing slash
SUPPORT_FILE="$SUPPORT_FILE_PATH/SerialTerminalSupport" # NO trailing slash
TEMP="/tmp/tempDel$$.txt"
checkModel()
{
myModel=`sysctl hw.model`
for model in $SERVER_MODELS
do
echo $myModel | grep -q "$model"
if [ $? -eq 0 ] ; then
isServer=$TRUE
else
isServer=$FALSE
fi
done
}
doRemoveEdoRemoveEdoRemoveEdoRemoveEdoRemoveEdoRemoveEdoRemoitiondoRemoveEdoRemoveEdoRemoveEdnew-host-2:~ stephenpolkinghorn$ # from the system.
#
##
##
TRUE=1
readonly TRUE
FALSE=0
readonly FALSE
stop_daemon()
{
ps -awx | grep 'comapcpowerchute.app/Contents/MacOS/' | grep -v grep | awk '{print $1}' | xargs sudo kill
sleep 1
}
stop_preferences()
{
ps -awx | grep 'System Preferences.app/Contents/MacOS/' | grep -v grep | awk '{print $1}' | xargs sudo kill
sleep 1
}
SERVER_MODELS="RackMac"
readonly SERVER_MODELS
SYSTEM_STARTER_FILE="/sbin/SystemStarter" # NO trailing slash
SUPPORT_FILE_PATH="/System/Library/StartupItems/SerialTerminalSupport" # NO trailing slash
SUPPORT_FILE="$SUPPORT_FILE_PATH/SerialTerminalSupport" # NO trailing slash
TEMP="/tmp/tempDel$$.txt"
checkModel()
{
myModel=`sysctl hw.model`
for model in $SERVER_MODELS
do
echo $myModel | grep -q "$model"
if [ $? -eq 0 ] ; then
isServer=$TRUE
else
isServer=$FALSE
fi
done
}
doRemoveEdoRemoveEdoRemoveEdoRemoveEdoRemoveEdoRemoveEdoRemoitiondoRemoveEdoRemoveEdoRemoveEdoRemoveEdoRemoveEdoRemnew-host-2:~ stephenpolkinghorn$ #
##
##
TRUE=1
readonly TRUE
FALSE=0
readonly FALSE
stop_daemon()
{
ps -awx | grep 'comapcpowerchute.app/Contents/MacOS/' | grep -v grep | awk '{print $1}' | xargs sudo kill
sleep 1
}
stop_preferences()
{
ps -awx | grep 'System Preferences.app/Contents/MacOS/' | grep -v grep | awk '{print $1}' | xargs sudo kill
sleep 1
}
SERVER_MODELS="RackMac"
readonly SERVER_MODELS
SYSTEM_STARTER_FILE="/sbin/SystemStarter" # NO trailing slash
SUPPORT_FILE_PATH="/System/Library/StartupItems/SerialTerminalSupport" # NO trailing slash
SUPPORT_FILE="$SUPPORT_FILE_PATH/SerialTerminalSupport" # NO trailing slash
TEMP="/tmp/tempDel$$.txt"
checkModel()
{
myModel=`sysctl hw.model`
for model in $SERVER_MODELS
do
echo $myModel | grep -q "$model"
if [ $? -eq 0 ] ; then
isServer=$TRUE
else
isServer=$FALSE
fi
done
}
doRemoveEdoRemoveEdoRemoveEdoRemoveEdoRemoveEdoRemoveEdoRemoitiondoRemoveEdoRemoveEdoRemoveEdoRemoveEdoRemoveEdoRemovenew-host-2:~ stephenpolkinghorn$ ##
new-host-2:~ stephenpolkinghorn$ ##
new-host-2:~ stephenpolkinghorn$ TRUE=1
new-host-2:~ stephenpolkinghorn$ readonly TRUE
new-host-2:~ stephenpolkinghorn$ FALSE=0
new-host-2:~ stephenpolkinghorn$ readonly FALSE
new-host-2:~ stephenpolkinghorn$
stop_daemon()
{
ps -awx | grep 'comapcpowerchute.app/Contents/MacOS/' | grep -v grep | awk '{print $1}' | xargs sudo kill
sleep 1
}
stop_preferences()
{
ps -awx | grep 'System Preferences.app/Contents/MacOS/' | grep -v grep | awk '{print $1}' | xargs sudo kill
sleep 1
}
SERVER_MODELS="RackMac"
readonly SERVER_MODELS
SYSTEM_STARTER_FILE="/sbin/SystemStarter" # NO trailing slash
SUPPORT_FILE_PATH="/System/Library/StartupItems/SerialTerminalSupport" # NO trailing slash
SUPPORT_FILE="$SUPPORT_FILE_PATH/SerialTerminalSupport" # NO trailing slash
TEMP="/tmp/tempDel$$.txt"
checkModel()
{
myModel=`sysctl hw.model`
for model in $SERVER_MODELS
do
echo $myModel | grep -q "$model"
if [ $? -eq 0 ] ; then
isServer=$TRUE
else
isServer=$FALSE
fi
done
}
doRemoveEdoRemoveEdoRemoveEdoRemoveEdoRemoveEdoRemoveEdoRemoitiondoRemoveEdoRemoveEdoRemoveEdoRemoveEdoRemoveEdoRemoveEdoRemoitiondoRe."
doRemoveEdoRemoveEring that identifiesnew-host-2:~ stephenpolkinghorn$ stop_daemon()
{
ps -awx | grep 'comapcpowerchute.app/Contents/MacOS/' | grep -v grep | awk '{print $1}' | xargs sudo kill
sleep 1
}
stop_preferences()
{
ps -awx | grep 'System Preferences.app/Contents/MacOS/' | grep -v grep | awk '{print $1}' | xargs sudo kill
sleep 1
}
SERVER_MODELS="RackMac"
readonly SERVER_MODELS
SYSTEM_STARTER_FILE="/sbin/SystemStarter" # NO trailing slash
SUPPORT_FILE_PATH="/System/Library/StartupItems/SerialTerminalSupport" # NO trailing slash
SUPPORT_FILE="$SUPPORT_FILE_PATH/SerialTerminalSupport" # NO trailing slash
TEMP="/tmp/tempDel$$.txt"
checkModel()
{
myModel=`sysctl hw.model`
for model in $SERVER_MODELS
do
echo $myModel | grep -q "$model"
if [ $? -eq 0 ] ; then
isServer=$TRUE
else
isServer=$FALSE
fi
done
}
doRemoveEdoRemoveEdoRemoveEdoRemoveEdoRemoveEdoRemoveEdoRemoitiondoRemoveEdoRemoveEdoRemoveEdoRemoveEdoRemoveEdoRemoveEdoRemoitiondoRe."
doRemoveEdoRemoveEring that identifies that we change> {
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-07-01 02:09 AM . Last Modified: 2024-03-05 11:52 PM
>
I tried to open it and received the message that I do not have the appropriate access privileges. This confused me because the account is and admin account.
>
Unfortunately you have to set the right permissions on the file to be able to run it. The one on the CD already has the right permissions, but downloaded scripts from here have no permissions set. Here's the steps I take to run the script on my computer:
First, open a new terminal window. We need to set the permissions on "uninstall_pcpe.command" correctly and this part only has to be done once. First, type "chmod u+rwx " (note the space at the end, don't type the quotes) and then drag the "uninstall_pcpe.command" onto the terminal window.
!http://www.apc-forums.com/servlet/JiveServlet/download/10-11592-43963-2897/Step_1_chmod.png!
Then press the return key.
!http://www.apc-forums.com/servlet/JiveServlet/download/10-11592-43963-2896/Step_2_chmod.png!
Now that we've changed the permissions, we can run the uninstall script. Drag "uninstall_pcpe.command" to the terminal window. Then press the return key.
!http://www.apc-forums.com/servlet/JiveServlet/download/10-11592-43963-2895/Step_3_Run.png!
Type 'y' and the return key to uninstall. Type in your administrative password and the return key when prompted.
!http://www.apc-forums.com/servlet/JiveServlet/download/10-11592-43963-2894/Step_4_Success.png!
If you're successful, let us know. If not, you can copy into a text file and attach it to a response. The forum software seems to mess up the formatting if copied directly into a message.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-07-01 02:09 AM . Last Modified: 2024-03-05 11:52 PM
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-07-01 02:09 AM . Last Modified: 2024-03-05 11:52 PM
It didn't work the first two times on the new mac but it worked the third time. Thanks again.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-07-01 02:09 AM . Last Modified: 2024-03-05 11:52 PM
Based on the error message, it seems like the copy you have on your new iMac is corrupted. The error message shows that there's text before what's supposed to be the beginning of the script.
Try copying the file from your older iMac. You could try re-downloading too, but I'd have greater faith in the copy we know works.
edit It works for you? Great!
Message was edited by: voidstar
Link copied. Please paste this link to share this article on your social media post.
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.