BUG in Solaris startup scripts
If you try to define either "PRE_CLASSPATH" or "POST_CLASSPATH" in startWebLogic.sh or startPetStor.sh, the script concatenates them with the undefined variable "WEBLOGICCLASSPATH", effectively nulling out the BEA part of the CLASSPATH.
So WebLogic doesn't start as the main classes are not in the path.
Workaround:
Replace "WEBLOGICCLASSPATH" with "CLASSPATH".
Thanks Rafi,
This has already been fixed in the next release.
Jim Rivera
"Rafi Jacoby" <[email protected]> wrote in message
news:3a0c6cd9$[email protected]..
>
If you try to define either "PRE_CLASSPATH" or "POST_CLASSPATH" instartWebLogic.sh or startPetStor.sh, the script concatenates them with the
undefined variable "WEBLOGICCLASSPATH", effectively nulling out the BEA part
of the CLASSPATH.
So WebLogic doesn't start as the main classes are not in the path.
Workaround:
Replace "WEBLOGICCLASSPATH" with "CLASSPATH".
Similar Messages
-
How to setup startup script in Solaris 10
Could anyone point me out how to setup a startup script at run level 3 or 2 in solaris 10 ?
Any previous solaris such as 9, 8, I just write a script and put in /etc/init.d/, then link it to run level 3 or 2. But in solaris 10 is different now.
I could not find any in the manual.
Thanks.Could anyone point me out how to setup a startup
script at run level 3 or 2 in solaris 10 ?
Any previous solaris such as 9, 8, I just write a
script and put in /etc/init.d/, then link it to run
level 3 or 2. You can do the same thing in Solaris 10.
But in solaris 10 is different now.There are alternative methods that are recommended (creating a service via a manifest file), but the old startup stuff still works just fine. You don't get the benefits of monitoring and fine-grained dependencies with the legacy startup scripts.
I could not find any in the manual.An older doc is http://mediacast.sun.com/share/bobn/SMF-migrate.pdf. You might also check the SMF FAQ.
http://opensolaris.org/os/community/smf/faq/ Section 4 is on manifest development.
Darren -
Ssh install on solaris core group installation - startup scripts?
hi all,
i have a fresh "core group" installation of solaris 11/06 now up and running.
I have added the following pkg to get ssh running.
bash-3.00# pkginfo |grep ssh
system SUNWsshcu SSH Common, (Usr)
system SUNWsshdr SSH Server, (Root)
system SUNWsshdu SSH Server, (Usr)
system SUNWsshr SSH Client and utilities, (Root)
system SUNWsshu SSH Client and utilities, (Usr)
so it is installed. I have manually created ssh_host_keys and I can start and use sshd/sftp -server. However I'm in need to find the best way of starting this up at boot. I have followed a link to Sun Blueprints for open ssh startup scripts.
http://www.sun.com/blueprints/tools/ > secureshell-tools.tar.Z
however this relies on prng (psuedo random number generator). my "default installation" of solaris 10 11/06 does not have this installed and ssh works fine, so I am reluctant to go down prng path.
furthermore searching my "default installation" of solaris 10 11/06 i can not see any ssh startup scripts that I could heist
please advise best practicefixed for now
http://www.sun.com/bigadmin/content/selfheal/smf-quickstart.html > Enabling and disabling services
since solaris 10, use "svcadm"
ie
mybox86# svcadm enable network/ssh:default
very nice. -
how to replace the startup scripts from Solaris 9 or 8 to Solaris 10?
how to replace the startup scripts from Solaris 9 or
8 to Solaris 10?Why would you in the first place ?
Solaris 10 is fully backwards compatible so there is no need to replace anything. You can easily put them in their regular directories (/etc/init.d for starters) and thats that. So the SMF difference really doesn't stand in the way of an upgrade from an older Solaris version to 10.
When you're all settled you can always look into SMF, it is worth the effort. -
Wicd works, network startup scripts don't
Title tells the story. Using wicd-1.7 I can connect to wireless networks and the connection remains stable. Using various combinations of rc.conf settings, netcfg, /etc/conf.d/wireless getting a connection is impossible at boot time and problematic after boot. The problem occurs on every system I've tested arch on. Wicd works, network startup scripts don't or only occasionally if some magic spell is properly cast. I'm positive I've configured the settings in rc.conf correctly as I've been able to connect using those by some combination of rmmod WLAN_MODULE, modprobe WLAN_MODULE, /etc/rc.d/network restart or netcfg ESSID. The requirement is that I am willing to go through the sequence multiple times.
I have just started testing arch and don't know if the network scripts worked before, but I assume they must have. Were there changes in the network startup scripts recently? I'm seeing many topics in the forums related to wireless problems.When I say that netcfg ESSID works after startup, I mean that it works sometimes and that net-auto-wireless failed along with all other options that had the wireless start during boot. I'm not sure which version I tried but this was a new install in December or January and I was ready to remove arch by the end of February. A new version of wicd was released with some bug fixes that kept arch on the systems. Had that failed this laptop would likely have a BSD on it. Probably OpenBSD as I haven't tested that yet.
My current settings are configured for wicd and not causing any significant issues, other than having to reload the wireless driver when resuming from suspend. -
Dear All
Can I have a IBM AIX DB Startup Scripts ?
Regards
Lakmalput
Orastart:2:wait:/usr/local/bin/changedbstatus_ora start all FORCE> /dev/console 2>&1
at the end of /etc/inittab
and
/usr/local/bin/changedbstatus_ora stop all FORCE
in /etc/rc.shutdown
where changedbstatus is similar to the following
[haiti]/db_masters $ cat changedbstatus_ora
#!/bin/sh
# usage: changedbstatus_ora start|stop
# This script is used to start or stop ORACLE
# $1 = Start, Stop, or reset_logs
# $2 = SID to start or stop (can be all)
# $3 = FORCE Force a shutdown or startup
# if $2 is not specified it defaults to all. this allows autostart/stop during
# system startup/shutdown
# Written by Graham Myers, Coda plc, (c) 2001
# fn_determine_version
# returns VERSION (7.3.4, 8.1.7, 9.2.0 etc)
fn_determine_version() {
set +x
if [ -f ${ORACLE_HOME}/bin/sqldba ]
then
VERSION=`sqldba command=exit | \
awk '/SQL\*DBA: (Release|Version)/ {split($3, V, ".") ; print V[1]}'`
elif [ -f ${ORACLE_HOME}/bin/svrmgrl ]
then
VERSION=`$ORACLE_HOME/bin/svrmgrl command=exit | awk '
/PL\/SQL (Release|Version)/ { print substr($3,1,5); exit }
/Oracle7 Server (Release|Version)/ { print substr($4,1,5); exit }
/Oracle8i Enterprise Edition (Release|Version)/ { print substr($5,1,5); exit }
/Oracle8i (Release|Version)/ { print substr($3,1,5); exit }'`
else
VERSION=`$ORACLE_HOME/bin/sqlplus -? | awk '/SQL\*Plus: Release/ {print substr($3,1,5); exit }'`
fi
VERSION_MAJOR=`echo ${VERSION} | cut -d. -f1`
# fn_determine_os - determine whioh operating system we're using, returns:
# BITS - no of processor bits 32 or 64
# ORATAB - set to correct path of oratab file
fn_determine_os() {
set +x
ORATAB=/etc/oratab
case `uname` in
SunOS)
BITS=`isainfo -kv | cut -d"-" -f 1`
ORATAB=/var/opt/oracle/oratab;;
HP-UX)
BITS=`/bin/getconf KERNEL_BITS`;;
AIX)
BITS=`/usr/sbin/bootinfo -K`;;
OSF1)
BITS=64;;
esac
# fn_check_status - check instance status
# Returns STATUS (1=running, 0=not running)
fn_check_status() {
set +x
#Check to see if instance shutdown cleanly (or is still running)
STATUS=0
if [ ${VERSION_MAJOR} -ge 8 ]
then
[ "`ps -ef | egrep pmon_${ORACLE_SID} | grep -v grep`" != "" ] && STATUS=1
else
[ -f ${ORACLE_HOME}/dbs/sgadef${ORACLE_SID}.dbf -o \
-f ${ORACLE_HOME}/dbs/sgadef${ORACLE_SID}.ora ] && STATUS=1
fi
# fn_cmd_file - Create a UNIX command script
# inputs $1 command - begin create a new command file
# begin_agent start an angent comamnd file
# command actual comamnds to place in command file
# start_sql run up the relevent SQL processor
# stop_sql exit out of SQL processor
# end finish off command file
fn_cmd_file() {
set +x
case $1 in
begin | begin_agent)
CMD_FILE=/tmp/changedbstatus.tmp$$
RDBMS_HOME=`grep oracle /etc/passwd | awk -F: '{print $6}'`
# Make sure the correct verion of Oracle is defined at login
if [ "$1" = "begin" ]
then
echo "Oracle_${VERSION}(${ORACLE_SID})" > ${RDBMS_HOME}/.rdbms_defaults
else
echo "Oracle_10.1.0(agent)" > ${RDBMS_HOME}/.rdbms_defaults
fi
echo "unset TWO_TASK" >> ${CMD_FILE};;
start_sql)
case "${VERSION}" in
"7") SQL_COMMAND="sqldba";;
"7.3.4"|"8.0.5") SQL_COMMAND="svrmgrl";;
*) SQL_COMMAND="sqlplus /nolog";;
esac
echo "${SQL_COMMAND}<<EOF" >> ${CMD_FILE}
echo "connect / as sysdba" >> ${CMD_FILE};;
command)
shift
echo "$*" >> ${CMD_FILE};;
end_sql)
echo "EOF" >> ${CMD_FILE};;
end)
chmod 755 ${CMD_FILE};;
esac
# fn_execute_cmd_file
# PLEASE NOTE the strange way of eching the session to the display rather than
# using tee. For some reason agentctl does not "let go" of the session and
# tee hangs. This is a documented "non-bug" for tnslsnr on 8i but nobody has
# has reported it for agentctl for 9i
# $1 should be a message to write to the screen prior to execution so the user
# has an indication something is happening
fn_execute_cmd_file() {
set +x
echo $1
su - oracle -c ${CMD_FILE} > ${CMD_FILE}.log 2>&1
RETURN_STATUS=$?
cat ${CMD_FILE}.log
# Scrap the defaults file after the command script has run
rm ${RDBMS_HOME}/.rdbms_defaults ${CMD_FILE}
# fn_reset_logs - rename existing log, create a new one, and purge old ones
# if $1 is non blank then it is assumed to be embedded in another command
# and so will not start a new command file (or execute it)
fn_reset_logs() {
set +x
if [ "$1" = "" ]
then
fn_cmd_file begin
fn_cmd_file command set +x
fi
if [ ${VERSION_MAJOR} -ge 9 ]
then
fn_cmd_file command "dmp_dest=\`grep background_dump_dest $PFILE|awk -F\"'\" '{print \$2}'\`"
else
fn_cmd_file command "dmp_dest=\`grep background_dump_dest $PFILE|awk '{print \$3}'\`"
fi
fn_cmd_file command "cd \${dmp_dest}"
fn_cmd_file command "dmp=alert_\${ORACLE_SID}.log"
fn_cmd_file command "new_dmp=\${dmp}.\`date +%y%m%d\`"
fn_cmd_file command "if [ -f \${new_dmp}.Z ]"
fn_cmd_file command "then"
fn_cmd_file command " zcat \${dmp} >> \${new_dmp}"
fn_cmd_file command " rm \${dmp} \${new_dmp}.Z"
fn_cmd_file command "else"
fn_cmd_file command " mv \${dmp} \${new_dmp}"
fn_cmd_file command "fi"
fn_cmd_file command "compress \${new_dmp}"
fn_cmd_file command "find ./ -name "\${dmp}.*" -mtime +30 -print -exec rm {} \\\+"
fn_cmd_file command "find ./ -name "/tmp/changdbstatus*" -mtime +2 -print -exec rm {} \\\+"
if [ "$1" = "" ]
then
fn_cmd_file end
fn_execute_cmd_file "reseting log files..."
fi
# fn_start_agent - Start the 10g intelligent agent
# This is only done once and only if a 64-bit server
fn_start_agent() {
set +x
fn_cmd_file begin_agent
fn_cmd_file command emctl start agent
fn_cmd_file end
fn_execute_cmd_file "Starting Intelligent Agent..."
# fn_stop_agent - Stop the 9i intelligent agent
# This is only done once and only if 64-bit server
fn_stop_agent() {
set +x
fn_cmd_file begin_agent
fn_cmd_file command emctl stop agent
fn_cmd_file end
fn_execute_cmd_file "Stopping Intelligent Agent..."
# fn_start_database - Start database
fn_start_database() {
set +x
fn_cmd_file begin
fn_cmd_file command set +x
fn_reset_logs include
fn_determine_listener
[ "`ps -ef | egrep ${LISTENER_NAME} | grep -v grep`" = "" ] && fn_cmd_file command lsnrctl start ${LISTENER_NAME}
fn_cmd_file start_sql
fn_cmd_file command startup
fn_cmd_file end_sql
#We now use an Oracle 10g Enterprise manager which does not support Oracle 8i agents so don't start them
# if [ ${VERSION_MAJOR} -lt 9 ]
# then
# # start the intelligent agent and data gatherer
# fn_cmd_file command vppcntl -start
# fn_cmd_file command lsnrctl dbsnmp_start
# fi
fn_cmd_file end
fn_execute_cmd_file "Starting instance ${ORACLE_SID}..."
# fn_stop_database - Stop database $1 passed as abort if required
fn_stop_database() {
set +x
fn_cmd_file begin
if [ "${ALL_DATABASES}" = "Y" ]
then
#We now use an Oracle 10g Enterprise manager which does not support Oracle 8i agents so they haven't been started
# if [ ${VERSION_MAJOR} -lt 9 ]
# then
# # stop the data gatherer and agent
# fn_cmd_file command vppcntl -stop
# fn_cmd_file command lsnrctl dbsnmp_stop
# fi
fn_determine_listener
[ "`ps -ef | egrep ${LISTENER_NAME} | grep -v grep`" != "" ] && fn_cmd_file command lsnrctl stop ${LISTENER_NAME}
fi
fn_cmd_file start_sql
fn_cmd_file command shutdown $1
fn_cmd_file end_sql
fn_cmd_file end
fn_execute_cmd_file "Stopping instance ${ORACLE_SID}..."
# fn_determine_listener - work out listener name
# For 8i it will be listener_817
# For 9i it will be listener_<hostname> as we use MTS
# on 9i and only need the listener for OEM.
fn_determine_listener() {
set +x
LISTENER_NAME=`grep "SID_LIST_" ${TNS_ADMIN:-$ORACLE_HOME/network/admin}/listener.ora | \
cut -d "_" -f 3- | cut -d "=" -f 1`
(trap 'exit' 1 2 3
set +x
fn_determine_os
ORIGINAL_ORACLE_HOME=${ORACLE_HOME}
ORIGINAL_ORACLE_PATH=${ORACLE_PATH}
ORIGINAL_LD_LIBRARY_PATH=${LD_LIBRARY_PATH}
ORIGINAL_PATH=${PATH}
if [ "$3" = "FORCE" ]
then
FORCE=Y
else
FORCE=N
fi
if [ "$2" = "all" -o "$2" = "" ]
then
FILTER="tee /dev/null"
ALL_DATABASES=Y
#if $2 is null then we are in system startup/shutdown - so force db start/stop
# this will get around any rogue files maybe due to a previous crash
[ "$2" = "" ] && FORCE=Y
#if we are starting all databases then assume we are starting everthing fresh
# so start the intelligent agent
if [ \( "$1" = "start" -o "$1" = "START" \) -a "${BITS}" = "64" ]
then
fn_start_agent
fi
else
FILTER="grep ^$2:" #Only apply filter if not all
ALL_DATABASES=N
fi
grep -v "^#" ${ORATAB} | ${FILTER} | awk -F: '{print $1,$2,$3}' | \
while read ORATAB_SID ORATAB_HOME ORATAB_START
do
ORACLE_SID=${ORATAB_SID} ;export ORACLE_SID
ORACLE_HOME=${ORATAB_HOME} ;export ORACLE_HOME
PATH=$ORACLE_HOME/bin:/bin:/usr/bin:/etc ;export PATH
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${ORACLE_HOME}/lib ;export LD_LIBRARY_PATH
fn_determine_version #Work out which version of Oracle is required
if [ ${VERSION_MAJOR} -ge 9 ]
then
PFILE=${ORACLE_HOME}/dbs/spfile${ORACLE_SID}.ora
else
PFILE=${ORACLE_HOME}/dbs/init${ORACLE_SID}.ora
fi
if [ -f ${PFILE} ]
then
fn_check_status #See if instance is already running
case $1 in
start | START )
if [ ${STATUS} -eq 1 ]
then
if [ "${FORCE}" = "Y" ]
then
echo Instance ${ORACLE_SID} already running - forcing shutdown
fn_stop_database abort
else
echo Instance ${ORACLE_SID} already running
continue
fi
fi
if [ "${ALL_DATABASES}" = "Y" -o \( "${ORATAB_START}" = "Y" -a "${ALL_DATABASES}" = "N" \) ]
then
fn_start_database
if [ ${RETURN_STATUS} -eq 0 ]
then
echo "Instance ${ORACLE_SID} started."
else
echo "Instance ${ORACLE_SID} NOT started."
fi
else
echo "Instance ${ORACLE_SID} NOT started."
fi;;
stop | STOP)
if [ ${STATUS} -eq 0 ]
then
if [ "${FORCE}" = "Y" ]
then
echo Instance ${ORACLE_SID} already shutdown - forcing shutdown
fn_stop_database abort
else
echo Instance ${ORACLE_SID} already shutdown
continue
fi
else
fn_stop_database IMMEDIATE
if [ ${RETURN_STATUS} -eq 0 ]
then
echo "Instance ${ORACLE_SID} shutdown."
else
echo "Instance ${ORACLE_SID} NOT shutdown."
fi
fi;;
reset_logs)
fn_reset_logs;;
esac
else
echo ""
echo "Cant find init file for instance ${ORACLE_SID}."
fi
done
#if we are shutting down eveything then close down the agents too
if [ "${ALL_DATABASES}" = "Y" -a \( "$1" = "stop" -o "$1" = "STOP" \) -a ${BITS} = 64 ]
then
fn_stop_agent
fi
ORACLE_HOME=${ORIGINAL_ORACLE_HOME};export ORACLE_HOME
ORACLE_SID=${ORIGINAL_ORACLE_PATH};export ORACLE_SID
LD_LIBRARY_PATH=${ORIGINAL_LD_LIBRARY_PATH};export LD_LIBRARY_PATH
PATH=${ORIGINAL_PATH};export PATH
for VARIABLE in FILTER ORATAB_HOME ORATAB_SID ORATAB_START STATUS ORATAB \
PFILE SQL_COMMAND VERSION RETURN_STATUS RDBMS_HOME \
LISTENER_NAME FORCE ALL_DATABASES VERSION_MAJOR \
BITS LISTENER
do
unset ${VARIABLE}
done
unset VARIABLE) 2>&1 | tee /tmp/changedbstatus_ora.log
regards
Graham -
No startup-script for squid?
why is no startup-script at the squid package? any reason or just a bug?
regards,
moritzonce the maintainer of the package has time the changes in the incoming package will likely be adopted at that time perhaps a startup script will be introduced. i recommend filing a bug report so this is done.
-
GPO with a startup script is not working.
I have a GPO that I have added a ".bat" script to the "Computer Configuration\Windows Settings\scripts\startup/shutdown" section. The batch file is located in the netlogon folder. This script was part of another Old GPO
that I want to consolidate into this new GPO. So I am taking the exact settings from the old GPO and applying it to the new GPO.
The script does not run at startup and when I go into Group Policy Management, highlight the GPO then on the right pane click the settings tab it doesn't display the startup script as being set. It's just not there. If I select edit and go to the
"Computer Configuration\Windows Settings\scripts\startup/shutdown\startup" section the .bat script is present though.
Also if I do a gpresult it also shows that it isn't running the script but all other settings in the GPO are being applied.
This GPO has the User Config. side disabled
Why isn't the GPO applying the script or even acknowledging that it is present in the settings tab?Hi,
I could not see any report in the above link. I would like to know that did you follow the below path:
http://technet.microsoft.com/en-us/magazine/dd630947.aspx
In addition, logon script could only be applied to users. If want to apply to computers, we should use startup script.
Regards,
Yan Li
If you have any feedback on our support, please click
here
Cataleya Li
TechNet Community Support -
Dont work startup script after update windows7 of wsus
hi
i have a domain controller 2008
my clients is windows7 ultimate
i have a file .exe and i create a policy and this file .exe in start up script
this policy is correct
but when update clients. this policy not work .and in task manager, this file .exe with username system show
what happend
please help mehi
i test a way,
i install a windows 7
then in gpedit.msc, in startup script, add this file, when restart windows , this policy ok
now ,i update this windows7, and about get 160 update of microsoft, now when restart windows, this policy not work and in task manager, this file .exe with username system show
this error not happend to my domain
please help me -
Hi,
I have 2 weblogic startup scripts (startWebLogic.sh and
startWebLogic_recovery.sh) for the same domain.
startWebLogic.sh uses config.xml file.
I would like to use config_recovery.xml as the configuration file for startWebLogic_recovery.sh
How would I do this ?
I am using WebLogic Server 6.1 on SunOS 5.8 / HP-UX 11.0.
Appreciate any help.
Regards
Gunaseelan VenkateswaranI guess you're using Weblogic 6.1 with WLCS 3.5. I think you're supposed to work with one config.xml for the same domain, and not have a different config.xml.
To start up different applications or EJBs, use the "target" property to control which applications to start up for the particular instance.
YY -
Check for libraries with a startup script
Is it possible to check for open libraries with a startup script? Currently, i'm trying like this:
try{
app.libraries.item("Marks.indl").name
catch(e){
app.open(File("/Support/InDesign/Lib/Marks.indl"))
If InDesign is already open, this code works correctly (that is, if the library is open, nothing happens, otherwise it opens the library). However, if I place this in the startup script folder, it will open a second (third, fourth, etc.) copy of the library, even if the library is already open.
I think this happens because the library files are opened later in the startup sequence then the startup scripts are run. Is there any way to work around this?
Thanks,
/danIs your script supposed to work in ID CS3, or later?
Anyway, InDesign CS4 seems to reopen the libraries before launching startup scripts, so the following code works for me:
// Startup Script
const libName = "Marks.indl",
libPath = "/Support/InDesign/Lib/";
var libFile = libPath + libName;
if( !app.libraries.itemByName(libName).isValid )
try {app.open(File(libFile))}
catch(_){alert("Unable to open the library:\r"+libFile);}
@+
Marc -
Need to write a startup script for TunTap
Dear community,
I am using 10.10.1, 13" MBPr Late 2013 and I need to be able to access my Work VPN. From what i have been told, the OS X client can't work and that I have been advised to use Shrew Soft VPN. (We initially tried to get the WatchGuard Firewall to build a Mac .dmg and that didn't work). To get ShrewSoft to work, I have had to follow these steps:
http://ulaptech.blogspot.co.uk/2012/11/shrew-soft-vpn-client-for-mac-os-x.html
· Install the qt-mac-opensource-4.7.1.dmg file first
· Install the tuntap20111101.tar.gz file second
· Install the shrew soft client.
But the TunTap download that is above will not work as it is unsigned and Yosemite has now killed off unsigned kexts.I tried turning off the requirement for OS X for signed kexts by using this command:
sudo nvram boot-args="kext-dev-mode=1"
Then rebooting, but it didnt work.
I can get the VPN to work if I open up terminal and enter these two commands:
sudo kextload /library/extensions/tap.kext
sudo kextload /library/extensions/tun.kext
But I have to do this everytime i turn my Mac on.
Could somebody please help me write those two lines into a startup script? As I really have no idea how to do it.
Your help and guidance would be appreciatedChoose Utilities from the Finder’s Go menu, open the AppleScript Editor, and paste in the following:
set thepassword to text returned of (display dialog "Your administrator password is required." default answer "" with hidden answer)
do shell script "kextload /Library/Extensions/tap.kext" with administrator privileges password thepassword
do shell script "kextload /Library/Extensions/tun.kext" with administrator privileges password thepassword
Save it as an application and set it as a login item.
(120186) -
Office 2010 setup thru computer startup script
I am trying to install Office 2010 (sp2 seperate in the updates folder) thru group policy startup script and configured with OCT .msp file. Also try to start Access Runtime 2010 with SP2 update in the updates folder.
In group policy set run scripts asynchronisely disabled and run scripts visible enabled otherwise i could not see what the system was doiing also not when configiguring OCT with full display. The gpo settings lets the screens show during install so the user
can see what happens.
There is another problem that rises however: I have made 2 batchfiles and both are starting as a computer startup script in seperate gpo's (that is in another post). First the Accessruntime is installing, after that Office 2010 is running. Both are installed
after login but only one of the 2 have SP2 installed (7015) in this case Accessruntime has it. When i run only the Office 2010 install and not the Accesruntime 2010 then Office 2010 standard has also SP2 installed (version 7015). When running both only Runtime
has this sp2 and Office has 4763 this is without sp2 i believe.
In both folders (Office en Runtime) are the update files .msp in the updates folder of the installation, so thats ok.
Why is only 1 of the 2 installing the SP2 when running both?
A second thing is when restarting the system and before the login screen appears a message: Upgradepatch cannot be installed by Windows installer becasue the upgraded program does not excist of the upgradepatch is not suitable for this program?
Here is part of the batchfile:
IF EXIST "c:\program files\Microsoft Office\Office14\WINWORD.EXE" (goto mkfile) ELSE (goto DeployOffice)
:mkfile
ECHO Office 2010 is reeds geinstalleerd>c:\temp\office.txt
goto end
:DeployOffice
call cscript \\sharename\office2010\Offscrub03.vbs ALL /bypass 1 /q /s /NoCancel
start /wait %DeployServer%\setup.exe /adminfile %DeployServer%\officeconfig.msp
echo %date% %time% Setup ended with error code %errorlevel%. >> %LogLocation%\%computername%.txt
Another batchfile
start \\sharename\accessruntime2010\setup.exe /config \\share\accessruntime2010\config.xml
REM echo %date% %time% Setup ended with error code %errorlevel%. >> %LogLocation%\%computername%.txt
freddie
after installing both runtime and office both have SP2 in updates folder:
runtime 4763
Office 2010: 7015
So in this example runtme is installed without the SP2. installing runtime alone gives with SP2...
The message is gone. There was a other policy inherited from above that caused the message. The only problem now is that when installing both, runtime 2010 with SP2 files and Office 2010 with SP2 files, then one of the two don't get the Sp2 installed, why
is that?> In the bat file, I have a line that records if the install completes
> successfully or failed. I don't have any other logging in my
> script. Are you referring to something like GPO logging? I know that
> the script runs because when I am looking at one of the PCs, I can
So it is NOT GP related but rather your script fails?!? Put some "echo
%~n0 %date% %time%>>Log-File-Of-Your-Choice.txt" in it to check what's
going on. And put ">>Log-File-Of-Your-Choice.txt 2>&1" at the end of
critical commands to capture their output.
> I ran the gpresult /h command which shows all User Configuration
> policies, but NOTHING appears under the Computer Configuration section.
Admin commandline? If not, you don't see computer settings :)
Martin
Mal ein
GUTES Buch über GPOs lesen?
NO THEY ARE NOT EVIL, if you know what you are doing:
Good or bad GPOs?
And if IT bothers me - coke bottle design refreshment :))
Martin,
I still did not figure out why the installation script did not work for some of the PCs, even though the PCs have the same image. For the ones that don't work, I will install manually. Can you please look at the screenshots of the GPO
settings I am using, and let me know if there is any settings that I need to remove or add?
Thanks -
Missing startup script in bridge cc
I have photoshop cc and bridge cc loaded on my computer. I also had CS6 on the same computer. I deleted photoshop CS6 from my computer. When I try to open a file in bridge cc I get an errer message that cs6 cannot be found. I checked my bridge cc startup scripts folder file and it is empty. Has anyone had the same problem?
Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6
-
Photoshop CS6 Startup Script Missing from Bridge CC
Hi. After downloading a Photoshop CS6 update, Camera Raw unlinked from Bridge CS6. I have a full CC subscription so I downloaded Bridge CC and that solved the problem. Now Photoshop does not appear in the 'tools' menu. It is missing from the Startup Script list in preferences as well. Where can I find or download the photoshop script?
On a mac, using Mavericks.
Thank you!Bump. Any solutions yet?
restart Bridge holding down option (Mac) or ctrl (Win) key ad from the menu choose reset references. Try again. BTW, the start up scripts from the needed applications for Bridge Tool menu are in Bridge preferences / Start up scripts, they should show and have a checkmark in front of them.
Maybe you are looking for
-
Ipad mini no longer able to be used - ios7 glitch?
Hi all, My iPad Mini has now effectively become useless. First I was confronted by pop up messages asking me to pop in a password for imessage, facetime and icloud. I have recently changed my AppleID due to a primary email change. Both my iphone and
-
Download error message when purchasing and downloading itunes music
Error message occuring often in the process of downloading music to the itouch, then it says tap to re-try, which does nothing, eventually have to sync with laptop to complete and get music on itouch.
-
Why do I get items at top level in Import Manager?
Hello all: When trying to import from XML file using XML Schema, from IDoc type /AFS/MATMAS04, I get items that should appear as a table, as fiels of structure E1MARAM instead of as a separated table. I've already reviewed the XML Schema file XSD, an
-
Video audio stops after like 20/30 sec
Hey, I got videos on my ipod video 60 gb I'm sure they work fine because they worked fine when I just put them on. But after a while when I installed the new software the audio stops after 20/30 sec. It likes freezes for half a second and the audio s
-
Setting new Default print settings
I have a HP Photosmart 7525 All-In-One... I would like to know how to set my printer "Default Settings" to 'Fastdraft-Black and White'... I'm using Mac OS X 10.10.4 Yosemite... Help!