Question
Cognizant
IN
Last activity: 12 Dec 2017 10:32 EST
Facing issue while installing PegaPRPC 7.3.1 in AIX server
Doing fresh installation in AIX OS
1. modified database connection parameters according to my environment .set JAVA_HOME path also but while executing ./install.sh getting error
./install.sh[17] : ./bin/ant :cannot execute
Ant process returned a non 0 value
even though i set ANT_HOME path also still facing issue
Could any one please help me
Thanks in advance
***Updated by moderator: Lochan to add Categories***
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Pegasystems Inc.
IN
Hi Praveen,
Logfile with format logs/CLI-Install-log-$(date +'%h-%d-%Y-%H-%M-%S').log would get generated after the process.
That should have ample information to understand what could have gone wrong.
You can also share it here for community to analyse that.
Thanks,
Ujjwal
Cognizant
IN
Logfiles is not generating ,only pega.install.log is generated below is the details
Logger initialized
Ant basedir:/ws_installs/Pega/115631_Pega7.31/pegaGuiInstallerTemp
Filter: org.tp23.antinstaller.runtime.exe.LoadConfigFilter
Config loaded
Filter: org.tp23.antinstaller.runtime.exe.CreateUIFilter
Setting look and feel:com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel
Created UI classes
Filter: org.tp23.antinstaller.runtime.exe.PropertyLoaderFilter
Checking for predefined properties
Loading pre-defined properties from file /ws_installs/Pega/115631_Pega7.31/ant.install.properties
No predefined properties
Filter: org.tp23.antinstaller.runtime.exe.ExecuteRunnerFilter
Pegasystems Inc.
IN
Hi Praveen,
logfile=logs/CLI-Install-log-$(date +'%h-%d-%Y-%H-%M-%S').log
mkdir -p logs
# Run Ant, given the configuration we collected
run "`dirname "$0"`/bin/ant" $ANT_PROPS -f ./setupDatabase.xml install -noclasspath 2>&1 \| tee $logfile
if [ $pipestatus_1 -ne 0 ] ; then
echo "Ant Process returned a non 0 value"
exit 1
else
exit 0
fi
Above is the script that runs
Logfile name variable gets created to store logfile name
mkdir creates folder logs
And because the run command doesnot return success status we get "Ant process returned a non 0 value" as you can see in the code.
Now to check if above code file install.sh works fine you can put loggers in install.sh between lines such as (echo $logfile "is the name of logfile") to check if your execution works fine.
Hope it helps you debug the issue further.
Thanks,
Ujjwal
Cognizant
IN
every thing is same as you mentioned on above snippet , still its not working not only for install for generatddl.sh also getting same error
Pegasystems Inc.
IN
Change last few line after done as below
#logfile=logs/CLI-Install-log-$(date +'%h-%d-%Y-%H-%M-%S').log
pwd
logfile=myLog.log
#mkdir -p logs
echo "Logs Initialized"
echo "Logfile Is Created"
# Run Ant, given the configuration we collected
run "`dirname "$0"`/bin/ant" $ANT_PROPS -f ./setupDatabase.xml install -noclasspath 2>&1 \| tee $logfile
echo "After Run"
if [ $pipestatus_1 -ne 0 ] ; then
echo "Ant Process returned a non 0 value"
exit 1
else
exit 0
fi
Check if myLog.log is getting created.
Your current directory would also show on console due to command pwd which you can use to search your logfile.
Send the output of mylog.log here.
Thanks,
Ujjwal
Cognizant
IN
Now its creating logs files but with zero size not showing anything
Pegasystems Inc.
IN
Hi Praveen,
It is difficult to further debug from here, can you attach the screen shot of step by step of your actions.
It would give us idea on what could be going wrong.
Thanks Ujjwal
JPMorgan Chase & Company
US
Hi,
Can you please attach the log files ?
Cognizant
IN
log file is not opening because it is zero size