Unison user not created during install/calendar problems
In the OCS configuration handbook, there is a basic configuration tasks section. I'm trying to configure calendaring and the documentation says to:
su - oracle
su unison
but on my system, user unison doesn't exist, and there is no $ORACLE_HOME/users directory. According to the docs, this is all done by root.sh but during the install. I looked at the root.sh script and there is nothing in it but #!/bin/bash. How can I continue configuring calendar if the unison user wasn't created and the users directory wasn't created and I can't rerun root.sh?
Here are my start and stop scripts....
They are run as the oracle user now (no longer have the unison user in 9.0.4+)
# ----calendar server env begin----
export ORACLE_HOME=/opt/oracle/OraHome1
export LD_LIBRARY_PATH=$ORACLE_HOME/lib
# ----calendar server env end-----
# ----calendar server start begin----
# starting Calendar Server components:
cd $ORACLE_HOME/ocal/bin
./unistart
# ----calendar server start end------
# ----calendar server env begin----
export ORACLE_HOME=/opt/oracle/OraHome1
export LD_LIBRARY_PATH=$ORACLE_HOME/lib
# ----calendar server env end-----
# ----calendar server start begin----
# stopping Calendar Server components:
cd $ORACLE_HOME/ocal/bin
./unistop
# ----calendar server stop end------
Dennis
Similar Messages
-
Holder-Position relationship not created during hiring in PA40
Hi,
I have an issue right now where the holder-position relationship was not created when I hired a new employee thru PA40. We could correct this via RHINTE00. However, we would like to know first before we run the program on what could be the probable cause why the relationship was not created. All infotype records of the employee were added successfully in the system, it is only the SP relationship in HRP1001 that was not created during hiring. I'm still trying to replicate it to find the probable cause but still no luck. It only occurred once (quite rare). Since we can't replicate it, may we know when or how the relationship will not be created?
Your response will be greatly appreciated. Thank you very much.
Regards,
AngeloHi Venkatesh, thanks for the reply.
Yes, the PLOGI - ORGA switch is set to X -
What users are created during Oracle Database installation?
By default, what users are created during Oracle Database installation?
Thanks,
FelipeHi,
All databases created by the Database Configuration Assistant (DBCA) include the SYS, SYSTEM, SYSMAN, and DBSNMP database accounts. In addition, Oracle provides several other administrative accounts. Before using these other accounts, you must unlock them and reset their passwords.
Here you are:
USERNAME
MGMT_VIEW
SYS
SYSTEM
DBSNMP
SYSMAN
SATYAM
OUTLN
MDSYS
ORDSYS
EXFSYS
DMSYS
USERNAME
WMSYS
CTXSYS
ANONYMOUS
XDB
ORDPLUGINS
SI_INFORMTN_SCHEMA
OLAPSYS
SCOTT
TSMSYS
BI
PM
USERNAME
MDDATA
IX
SH
DIP
OE
HR
Regards,
Satyam -
NetInstall - Grey screen after logging in for user created during install
I am creating a NetInstall of 10.8 for mass deployment in my workplace. I am currently having difficulty with a user account that was created by a script that runs in place of the Setup Assistant.
I am trying to skip the Setup Assistant, and as such, the script touches the /var/db/.AppleSetupDone file (which doesn't exist at this point).
This works, with the installation progressing straight on to the login screen where the user 'administrator' has been created, and is available for login.
However, when the user logs in, they are presented with a grey screen & the mouse cursor. No dock, desktop, no finder menu bar.
I am at a loss as to what is going wrong as this had worked perfectly fine in the developer preview.
The script is as below: (certain sections have been removed for security purposes)
Any pointers would be much appreciated.
#!/bin/sh
############# SET VARIABLES ###################
. /etc/rc.common
#set primary network interface
interface=`netstat -r -f inet | awk '/default/{print $6}' | head -1`
#set server address for packages
pkgserver='macimaging.blah.qld.edu.au'
#Get default route's interface's ip address
ip=`ifconfig $interface | grep "inet 10." | sed -e 's/^.*inet 10/10/' -e 's/ netmask.*$//'`
#get version number of Mac OS X
macversion=`sw_vers | awk '/^ProductVersion/{split($2, MINOR, "."); print MINOR[2]}'`
############# CHECK ADMIN PASSWORD ###################
shadow=blah
i=0
# initialise variable
passwd=""
# if machine is set to automatically image
if [ `nvram -p | grep -c reimage-key` -eq 1 ]; then
# remove verbose boot arguments from nvram
nvram -d boot-args
# collect admin password
passwd=`nvram reimage-key | awk '{print $2}' | openssl enc -aes-256-cbc -pass "pass:Aut0mat1cR31mag3" -a -d`
# check it was successfully decrypted
if [ $? -ne 0 ]; then
osascript -e beep
echo "Automatic imaging key failed. Press enter to continue."
read
passwd=""
fi
# remove key from nvram
nvram -d reimage-key
fi
# if the admin password wasn't successfully collected
if [ "$passwd" = "" ]; then
#clear the screen
clear
say -v Victoria "Please enter the Administrator's password"
while [ $i = 0 ]
do
echo "Please enter Administrator's password: (Note: Input is hidden)"
#read password from stin but don't show
stty_orig=`stty -g`
stty -echo
read passwd
stty $stty_orig
hash=`echo $passwd | shasum -a 512 | awk '{print $1}'`
if [ $shadow = $hash ]; then
#password is correct; continue with setup
i=1
else
echo "Incorrect. Please try again"
fi
done
fi
#clear the screen
clear
echo "Log:"
############# SET EFI PASSWORD ###################
echo "Setting EFI password"
#to create a new EFI password, initially set it on a test machine with the GUI utility, then extract its value with: `nvram -p | awk '/security-password/{print $2}'`. Put that value in this command (also replacing our admin password) to generate hash for below: `echo "pass_from_nvram" | openssl enc -aes-256-cbc -pass "pass:ourcurrentadminpassword" -a`
nvshadow=`echo "blah" | openssl enc -aes-256-cbc -pass "pass:$passwd" -a -d`
nvram security-mode=command
nvram security-password=$nvshadow
#reset running variable for security
nvshadow=""
############# GENERATE RC SHADOW FILE ###################
#if you don't know how the following lines work, get a pillow ready for screaming into
#the admin key (which is decrypted below) is used to decrypt publicly distributed packages to change the admin account's password (without having the password in the package in clear text)
decypted_admin_private_key=`echo "blah" | openssl enc -aes-256-cbc -pass "pass:$passwd" -a -d`
admin_private_key_hash=`echo "$decypted_admin_private_key" | shasum -a 512 | awk '{print $1}'`
echo "$admin_private_key_hash $decypted_admin_private_key" >> /var/root/RC_admin_private_key
chmod 600 /var/root/RC_admin_private_key
#this keeps a record of the administrator password set on imaging
RC_admin_pass_hash=`echo "$passwd" | shasum -a 512 | awk '{print $1}'`
RC_admin_pass_encrypted=`echo "$passwd" | openssl enc -aes-256-cbc -pass "pass:$decypted_admin_private_key" -a`
echo "$RC_admin_pass_hash $RC_admin_pass_encrypted" >> /var/root/RC_admin_shadow
#a few security measures
chmod 600 /var/root/RC_admin_shadow
RC_admin_pass_encrypted=""
decypted_admin_private_key=""
############# SETUP PARTITIONS ###################
echo "Updating file system table to mount data partition on boot for user accounts"
#Find if Home or Data partition exists (N.B. If Bootcamp is used the following awk commands need to be modified to only look for [Hh]ome and not [Dd]ata)
partname=`diskutil list | awk '/([Hh]ome)|([Dd]ata)/{print $3}' | head -1`
partdev=`diskutil list | awk '/([Hh]ome)|([Dd]ata)/{print $6}' | head -1`
#If a Data partition exists
if [ "$partdev" ]; then
#Mount it on boot to /Users
echo "LABEL=$partname /Users hfs rw" > /etc/fstab
#mount Data drive to /Users
diskutil umount /dev/$partdev
mount -t hfs /dev/$partdev /Users
fi
############# CREATE ADMIN ACCOUNT ###################
echo "Creating Administrator account"
#create administrator account
dscl . create /Users/administrator
dscl . create /Users/administrator RealName "Administrator"
dscl . create /Users/administrator PrimaryGroupID 20
dscl . create /Users/administrator UniqueID 501
dscl . create /Users/administrator NFSHomeDirectory /Users/administrator
dscl . create /Users/administrator UserShell /bin/bash
dscl . passwd /Users/administrator $passwd
dscl . append /Groups/admin GroupMembership administrator
dscl . append /Groups/_lpadmin GroupMembership administrator
dscl . append /Groups/admin GroupMembership administrator
dscl . create /Users/administrator picture "/Library/User Pictures/Sports/8ball.tif"
dscl . delete /Users/administrator jpegphoto
#reset running variable for security
passwd=""
############# SET blah NETWORK LOCATION ###################
echo "Setting up blah network location"
networksetup -createlocation blah populate
networksetup -switchtolocation blah
echo ""
############# SET HOSTNAME ###################
sleep 10
dhcphostname=`host $ip | sed -e 's/^.* domain name pointer //' -e 's/\..*blah.*$//' -e 's/-wstudent$//' -e 's/-wstaff$//'`
#while [ $? -ne 0 ]
#do
# sleep 5
# dhcphostname=`host $ip | sed -e 's/^.* domain name pointer //' -e 's/\..*blah.*$//' -e 's/-wstudent$//' -e 's/-wstaff$//'`
#done
echo "Setting host name"
#set host name from dhcp
scutil --set HostName "$dhcphostname"
scutil --set LocalHostName "$dhcphostname"
systemsetup -setcomputername "$dhcphostname"
############# SET TIME ###################
echo "Setting time zone"
#set time zone
systemsetup -settimezone Australia/Brisbane
#set system's locale
echo "Setting system's locale"
defaults write "Apple Global Domain" AppleLocale "en_AU"
echo "Syncing with time server"
#sync time with local time server
ntpdate ntp.blah.qld.edu.au
############# INSTALL FTP CLIENT ###################
echo "Downloading and installing ftp client"
curl -O ftp://$pkgserver/install/ncftp.tar.gz
tar -xzf ncftp.tar.gz -C /usr/bin/
rm ncftp.tar.gz
############# INSTALL POLICY MANAGER AND UPDATE POLICY ###################
echo "Downloading and installing Policy Manager"
#download and install policy manager
echo 'get -R "pool/Policy Manager.pkg"' | ncftp $pkgserver; installer -verbose -target / -pkg "Policy Manager.pkg"
rm -R "Policy Manager.pkg"
echo "Downloading and installing Update Policy"
#download and install update policy
echo 'get -R "pool/Update Policy.pkg"' | ncftp $pkgserver; installer -verbose -target / -pkg "Update Policy.pkg"
rm -R "Update Policy.pkg"
############# INSTALL MAC UPDATE COMBO ###################
echo "Downloading and installing most recent Mac update combo package"
#download and install the most recent combo update
echo "get -R pool/MacOSXUpdCombo10.$macversion.Latest.pkg" | ncftp $pkgserver
chmod -R u+x MacOSXUpdCombo10.$macversion.Latest.pkg
installer -verbose -target / -pkg MacOSXUpdCombo10.$macversion.Latest.pkg
rm -R MacOSXUpdCombo10.$macversion.Latest.pkg
############# INSTALL ADDITIONAL PACKAGES ###################
echo "Downloading and installing additional post install packages"
mkdir postinstall
cd postinstall
echo "get -R postinstall/common/*" | ncftp $pkgserver
echo "get -R postinstall/10.$macversion/*" | ncftp $pkgserver
chmod -R u+x *
# save and change IFS
OLDIFS=$IFS
IFS=$'\n'
# read all file names into an array
fileArray=($(ls))
# restore it
IFS=$OLDIFS
# get length of the array
tLen=${#fileArray[@]}
#install each package
for (( i=0; i<${tLen}; i++ )); do
installer -verbose -target / -pkg "${fileArray[$i]}"
done
cd ..
rm -R postinstall
############# FINISH SETUP ASSISTANT ###################
#load Policy Manager LaunchDaemon to run on boot
launchctl load /Library/LaunchDaemons/au.edu.qld.blah.policymanager.plist
#give time for policy to load
sleep 2
#set flag so OS X knows not to run Setup Assistant on next boot
echo "<?xml version="1.0" encoding="UTF-8"?>\n<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">\n<plist version="1.0">\n<dict>\n <key>Address</key>\n <dict>\n <key>CountryName</key>\n <string>Australia</string>\n </dict>\n</dict>\n</plist>" > /var/db/.AppleSetupDone
#set flag so blah Updater knows this machine's just been imaged
echo "setup done" > /var/root/blahSetupDone
#remove self
rm /var/root/setup.sh
echo "\nI will now reboot; please wait"
say -v Victoria "I will now reboot; please wait"
rebootmattn wrote:
(1) You cannot run the installer program while booted into your primary partition; you must boot into the DVD. Restart the computer while holding down the C key until the DVD boots.
This isn't true. The retail Snow Leopard DVD is designed to start the install procedure while started up normally. When you do this, after performing some checks on the target partition it writes some pre-install files to it before restarting automatically from the DVD. This speeds up the install procedure.
(2) You cannot install Snow Leopard on this computer from a DVD that came with another computer; you must use, as it were, a free-standing commercial Snow Leopard installer DVD.
The exception is, as Xian Rinpoche correctly surmised, a Mac model released after the currently available retail Snow Leopard DVD became available. The newest Macs require a later version of the OS than what is included on the retail DVD, which is why it won't work with the new i5 & i7 models. (See Don't install a version of Mac OS X earlier than that which came with your Mac for more about this.)
As a general rule, use either the installer that came with the Mac on its grey system discs or a retail disc released after that Mac model was released. You can also refer to this handy chart of the OS version that ships with each Mac model. -
Notes created in the calendar view
I have notes attached to events in the calendar. They copied over in the original hot-sync. New notes, created in palm desktop are not being attached to the event in the phone view. I use a Centro on Mac.
Post relates to: Centro (Sprint)From my understanding the Lotus Calendar integration is designed to show only events created from the collaboration room on the room calendar 'Appointments' tab. It should use everyone's full Notes calendar when in the 'Availability' view during scheduling of new events. I believe there is a tab called 'My Appointments' on the calendar iview which should show the active user's Notes calendar including all of their events, scheduled through either Notes or the room.
-
Configurations tools ( netca,dbca ,assistants) not started during install
Friends,
I am trying to install Oracle 9iR2 on redhat advanced server.
We copied the files into a staging area.During
install it asked for Oracle.swd.jre file which i checked
not there.
But i ignored the error message and finished the
install.Installation went through successfully but the
configurations tools netca,dbca and agent assistants have
not started. Apache server has started sucessfully.
I have done installs earlier on Redhat 8 but i never
had problems like this.I checked the staging area and i could able to see a directory like oracle.swd.jre in
Disk1/stage/Components/oracle.swd.jre but not the file.
I will be glad if anyone can tell me the work around
for this.
Regards.Friends,
I am trying to install Oracle 9iR2 on redhat advanced server.
We copied the files into a staging area.During
install it asked for Oracle.swd.jre file which i checked
not there.
But i ignored the error message and finished the
install.Installation went through successfully but the
configurations tools netca,dbca and agent assistants have
not started. Apache server has started sucessfully.
I have done installs earlier on Redhat 8 but i never
had problems like this.I checked the staging area and i could able to see a directory like oracle.swd.jre in
Disk1/stage/Components/oracle.swd.jre but not the file.
I will be glad if anyone can tell me the work around
for this.
Regards. -
Inspection Lot not created during GR
Hi All,
I have an issue wherein the QM View is not activated during PO creation. This has caused the succeeding Goods Receipt to move the stock to Unrestricted eventhough I have already activated QM.
How can I rectify this problem that GR for this PO will go to QI and will create inspection lot.
Thanks,
RaymondHi,
Please follow following steps,
I hope you have now activarted inspection type 01 for the material.
1. Go to PO with transcation ME22n,
2. For the matreial , go and change the stock type to Qulaity , instaed of unrestriced.
3. Save and come out.
Go and do GR .. Inspection lot will be generated. -
Delivery cost not created during GRN of PO using BAPI
I have a customized program which use BAPI - BAPI_PO_CREATE1 to create PO, PO was created successully.
then program will use BAPI - BAPI_PO_CHANGE to update condition pricing, which is also executed succesfully. all condition pricing (KONV) updated correctly.
Lastly, the program will use BAPI - BAPI_GOODSMVT_CREATE to create GRN and update delivery cost. However in my case, the delivery cost is not update, EKBZ table record is not created, as well as GRN item line table MSEG table is not updated with delivery cost.
Anyone face this type of problem before?What is the possible causes?
Any help and suggestion is greatly appreciated.Lai,
you should try asking this on ABAP forum thread. You will get a response. May be there is another BAPI u should use or may be you the usage of BAPI is incomplete. Pl confirm with ABAP forum.
Rgds -
OIM Database Connector User not created
I am using OIM 9.1.0.0 with connector pack 9.0.4.1. When I run trusted recon i see the new user appear in the recon manager, but the user is not created. When I open the event and click on Create User the user is created.
But before this the recon event shows data missing.
How can automate it ??The GTC framework will generate the rule for you if you configure the matching only property. Please take another look at the docs.
Or you can follow PInk's suggestion and crate the rule manually.
Best regards
/M -
CUA - Users not created in Central System
Hi - Just put in CUA into a Solution Manager 4.0 client - and have the following issue.
After performing SCUG - the users are brought into the central system BUT not created into the central system.
For example:
Child system is CLNT100
Parent system is CLNT200
In CUA - if I search on the user - I can see it exists in CLNT100, but no entry is created in CLNT200.
This is an issue as I can't use SU10 in CUA - to do mass changes as the users don't exist in this client.
I am pretty experienced with CUA - but have not seen this before - is there some new settitng that I need to make to create the users in the CUA client when performing SCUG?
ThanksHi - you only need to perform SCUG in the central system.
I have brought all the users accross from each child system.
I think I may have incorrectly analysed the error.
What I am trying to do is use SU10 in the Central system to make changes on users in the child systems. Issue is that none of the users that are in the child system only show up in SU10.
I therefore think that this is an issue with SU10 in CUA parent - as it is only picking up uses if they exist in this CUA parent client (i.e. not if they only exist in the child systems)
Is there any way to change the behaviour of SU10? -
Bad file is not created during the external table creation.
Hello Experts,
I have created a script for external table in Oracle 10g DB. Everything is working fine except it does not create the bad file, But it creates the log file. I Cann't figure out what is the issue. Because my shell scripts is failing and the entire program is failing. I am attaching the table creation script and the shell script where it is refering and the error. Kindly let me know if something is missing. Thanks in advance
Table Creation Scripts:_-------------------------------
create table RGIS_TCA_DATA_EXT
guid VARCHAR2(250),
badge VARCHAR2(250),
scheduled_store_id VARCHAR2(250),
parent_event_id VARCHAR2(250),
event_id VARCHAR2(250),
organization_number VARCHAR2(250),
customer_number VARCHAR2(250),
store_number VARCHAR2(250),
inventory_date VARCHAR2(250),
full_name VARCHAR2(250),
punch_type VARCHAR2(250),
punch_start_date_time VARCHAR2(250),
punch_end_date_time VARCHAR2(250),
event_meet_site_id VARCHAR2(250),
vehicle_number VARCHAR2(250),
vehicle_description VARCHAR2(250),
vehicle_type VARCHAR2(250),
is_owner VARCHAR2(250),
driver_passenger VARCHAR2(250),
mileage VARCHAR2(250),
adder_code VARCHAR2(250),
bonus_qualifier_code VARCHAR2(250),
store_accuracy VARCHAR2(250),
store_length VARCHAR2(250),
badge_input_type VARCHAR2(250),
source VARCHAR2(250),
created_by VARCHAR2(250),
created_date_time VARCHAR2(250),
updated_by VARCHAR2(250),
updated_date_time VARCHAR2(250),
approver_badge_id VARCHAR2(250),
approver_name VARCHAR2(250),
orig_guid VARCHAR2(250),
edit_type VARCHAR2(250)
organization external
type ORACLE_LOADER
default directory ETIME_LOAD_DIR
access parameters
RECORDS DELIMITED BY NEWLINE
BADFILE ETIME_LOAD_DIR:'tstlms.bad'
LOGFILE ETIME_LOAD_DIR:'tstlms.log'
READSIZE 1048576
FIELDS TERMINATED BY '|'
MISSING FIELD VALUES ARE NULL(
GUID
,BADGE
,SCHEDULED_STORE_ID
,PARENT_EVENT_ID
,EVENT_ID
,ORGANIZATION_NUMBER
,CUSTOMER_NUMBER
,STORE_NUMBER
,INVENTORY_DATE char date_format date mask "YYYYMMDD HH24:MI:SS"
,FULL_NAME
,PUNCH_TYPE
,PUNCH_START_DATE_TIME char date_format date mask "YYYYMMDD HH24:MI:SS"
,PUNCH_END_DATE_TIME char date_format date mask "YYYYMMDD HH24:MI:SS"
,EVENT_MEET_SITE_ID
,VEHICLE_NUMBER
,VEHICLE_DESCRIPTION
,VEHICLE_TYPE
,IS_OWNER
,DRIVER_PASSENGER
,MILEAGE
,ADDER_CODE
,BONUS_QUALIFIER_CODE
,STORE_ACCURACY
,STORE_LENGTH
,BADGE_INPUT_TYPE
,SOURCE
,CREATED_BY
,CREATED_DATE_TIME char date_format date mask "YYYYMMDD HH24:MI:SS"
,UPDATED_BY
,UPDATED_DATE_TIME char date_format date mask "YYYYMMDD HH24:MI:SS"
,APPROVER_BADGE_ID
,APPROVER_NAME
,ORIG_GUID
,EDIT_TYPE
location (ETIME_LOAD_DIR:'tstlms.dat')
reject limit UNLIMITED;
_***Shell Script*:*----------------_*
version=1.0
umask 000
DATE=`date +%Y%m%d%H%M%S`
TIME=`date +"%H%M%S"`
SOURCE=`hostname`
fcp_login=`echo $1|awk '{print $3}'|sed 's/"//g'|awk -F= '{print $2}'`
fcp_reqid=`echo $1|awk '{print $2}'|sed 's/"//g'|awk -F= '{print $2}'`
TXT1_PATH=/home/ac1/oracle/in/tsdata
TXT2_PATH=/home/ac2/oracle/in/tsdata
ARCH1_PATH=/home/ac1/oracle/in/tsdata
ARCH2_PATH=/home/ac2/oracle/in/tsdata
DEST_PATH=/home/custom/sched/in
PROGLOG=/home/custom/sched/logs/rgis_tca_to_tlms_create.sh.log
PROGNAME=`basename $0`
PROGPATH=/home/custom/sched/scripts
cd $TXT2_PATH
FILELIST2="`ls -lrt tstlmsedits*.dat |awk '{print $9}'`"
NO_OF_FILES2="`ls -lrt tstlmsedits*.dat |awk '{print $9}'|wc -l`"
$DEST_PATH/tstlmsedits.dat for i in $FILELIST2
do
cat $i >> $DEST_PATH/tstlmsedits.dat
printf "\n" >> $DEST_PATH/tstlmsedits.dat
mv $i $i.$DATE
#mv $i $TXT2_PATH/test/.
mv $i.$DATE $TXT2_PATH/test/.
done
if test $NO_OF_FILES2 -eq 0
then
echo " no tstlmsedits.dat file exists " >> $PROGLOG
else
echo "created dat file tstlmsedits.dat at $DATE" >> $PROGLOG
echo "-------------------------------------------" >> $PROGLOG
fi
NO_OF_FILES1="`ls -lrt tstlms*.dat |awk '{print $9}'|wc -l`"
FILELIST1="`ls -lrt tstlms*.dat |awk '{print $9}'`"
$DEST_PATH/tstlms.datfor i in $FILELIST1
do
cat $i >> $DEST_PATH/tstlms.dat
printf "\n" >> $DEST_PATH/tstlms.dat
mv $i $i.$DATE
# mv $i $TXT2_PATH/test/.
mv $i.$DATE $TXT2_PATH/test/.
done
if test $NO_OF_FILES1 -eq 0
then
echo " no tstlms.dat file exists " >> $PROGLOG
else
echo "created dat file tstlms.dat at $DATE" >> $PROGLOG
fi
cd $TXT1_PATH
FILELIST3="`ls -lrt tstlmsedits*.dat |awk '{print $9}'`"
NO_OF_FILES3="`ls -lrt tstlmsedits*.dat |awk '{print $9}'|wc -l`"
$DEST_PATH/tstlmsedits.datfor i in $FILELIST3
do
cat $i >> $DEST_PATH/tstlmsedits.dat
printf "\n" >> $DEST_PATH/tstlmsedits.dat
mv $i $i.$DATE
#mv $i $TXT1_PATH/test/.
mv $i.$DATE $TXT1_PATH/test/.
done
if test $NO_OF_FILES3 -eq 0
then
echo " no tstlmsedits.dat file exists " >> $PROGLOG
else
echo "created dat file tstlmsedits.dat at $DATE" >> $PROGLOG
echo "-------------------------------------------" >> $PROGLOG
fi
NO_OF_FILES4="`ls -lrt tstlms*.dat |awk '{print $9}'|wc -l`"
FILELIST4="`ls -lrt tstlms*.dat |awk '{print $9}'`"
$DEST_PATH/tstlms.datfor i in $FILELIST4
do
cat $i >> $DEST_PATH/tstlms.dat
printf "\n" >> $DEST_PATH/tstlms.dat
mv $i $i.$DATE
# mv $i $TXT1_PATH/test/.
mv $i.$DATE $TXT1_PATH/test/.
done
if test $NO_OF_FILES4 -eq 0
then
echo " no tstlms.dat file exists " >> $PROGLOG
else
echo "created dat file tstlms.dat at $DATE" >> $PROGLOG
fi
#connecting to oracle to generate bad files
sqlplus -s $fcp_login<<EOF
select count(*) from rgis_tca_data_ext;
select count(*) from rgis_tca_data_history_ext;
exit;
EOF
#counting the records in files
tot_rec_in_tstlms=`wc -l $DEST_PATH/tstlms.dat | awk ' { print $1 } '`
tot_rec_in_tstlmsedits=`wc -l $DEST_PATH/tstlmsedits.dat | awk ' { print $1 } '`
tot_rec_in_tstlms_bad=`wc -l $DEST_PATH/tstlms.bad | awk ' { print $1 } '`
tot_rec_in_tstlmsedits_bad=`wc -l $DEST_PATH/tstlmsedits.bad | awk ' { print $1 } '`
#updating log table
echo "pl/sql block started"
sqlplus -s $fcp_login<<EOF
define tot_rec_in_tstlms = '$tot_rec_in_tstlms';
define tot_rec_in_tstlmsedits = '$tot_rec_in_tstlmsedits';
define tot_rec_in_tstlms_bad = '$tot_rec_in_tstlms_bad';
define tot_rec_in_tstlmsedits_bad='$tot_rec_in_tstlmsedits_bad';
define fcp_reqid ='$fcp_reqid';
declare
l_tstlms_file_id number := null;
l_tstlmsedits_file_id number := null;
l_tot_rec_in_tstlms number := 0;
l_tot_rec_in_tstlmsedits number := 0;
l_tot_rec_in_tstlms_bad number := 0;
l_tot_rec_in_tstlmsedits_bad number := 0;
l_request_id fnd_concurrent_requests.request_id%type;
l_start_date fnd_concurrent_requests.actual_start_date%type;
l_end_date fnd_concurrent_requests.actual_completion_date%type;
l_conc_prog_name fnd_concurrent_programs.concurrent_program_name%type;
l_requested_by fnd_concurrent_requests.requested_by%type;
l_requested_date fnd_concurrent_requests.request_date%type;
begin
--getting concurrent request details
begin
SELECT fcp.concurrent_program_name,
fcr.request_id,
fcr.actual_start_date,
fcr.actual_completion_date,
fcr.requested_by,
fcr.request_date
INTO l_conc_prog_name,
l_request_id,
l_start_date,
l_end_date,
l_requested_by,
l_requested_date
FROM fnd_concurrent_requests fcr, fnd_concurrent_programs fcp
WHERE fcp.concurrent_program_id = fcr.concurrent_program_id
AND fcr.request_id = &fcp_reqid; --fnd_global.conc_request_id();
exception
when no_data_found then
fnd_file.put_line(fnd_file.log, 'Error:RGIS_TCA_TO_TLMS_CREATE.sh');
fnd_file.put_line(fnd_file.log, 'No data found for request_id');
fnd_file.put_line(fnd_file.log, sqlerrm);
raise_application_error(-20001,
'Error occured when executing RGIS_TCA_TO_TLMS_CREATE.sh ' ||
sqlerrm);
when others then
fnd_file.put_line(fnd_file.log, 'Error:RGIS_TCA_TO_TLMS_CREATE.sh');
fnd_file.put_line(fnd_file.log,
'Error occured when retrieving request_id request_id');
fnd_file.put_line(fnd_file.log, sqlerrm);
raise_application_error(-20001,
'Error occured when executing RGIS_TCA_TO_TLMS_CREATE.sh ' ||
sqlerrm);
end;
--calling ins_or_upd_tca_process_log to update log table for tstlms.dat file
begin
rgis_tca_to_tlms_process.ins_or_upd_tca_process_log
(l_tstlms_file_id,
'tstlms.dat',
l_conc_prog_name,
l_request_id,
l_start_date,
l_end_date,
&tot_rec_in_tstlms,
&tot_rec_in_tstlms_bad,
null,
null,
null,
null,
null,
null,
null,
l_requested_by,
l_requested_date,
null,
null,
null,
null,
null);
exception
when others then
fnd_file.put_line(fnd_file.log, 'Error:RGIS_TCA_TO_TLMS_CREATE.sh');
fnd_file.put_line(fnd_file.log,
'Error occured when executing rgis_tca_to_tlms_process.ins_or_upd_tca_process_log for tstlms file');
fnd_file.put_line(fnd_file.log, sqlerrm);
end;
--calling ins_or_upd_tca_process_log to update log table for tstlmsedits.dat file
begin
rgis_tca_to_tlms_process.ins_or_upd_tca_process_log
(l_tstlmsedits_file_id,
'tstlmsedits.dat',
l_conc_prog_name,
l_request_id,
l_start_date,
l_end_date,
&tot_rec_in_tstlmsedits,
&tot_rec_in_tstlmsedits_bad,
null,
null,
null,
null,
null,
null,
null,
l_requested_by,
l_requested_date,
null,
null,
null,
null,
null);
exception
when others then
fnd_file.put_line(fnd_file.log, 'Error:RGIS_TCA_TO_TLMS_CREATE.sh');
fnd_file.put_line(fnd_file.log,
'Error occured when executing rgis_tca_to_tlms_process.ins_or_upd_tca_process_log for tstlmsedits file');
fnd_file.put_line(fnd_file.log, sqlerrm);
end;
end;
exit;
EOF
echo "rgis_tca_to_tlms_process.sql started"
sqlplus -s $fcp_login @$SCHED_TOP/sql/rgis_tca_to_tlms_process.sql $fcp_reqid
exit;
echo "rgis_tca_to_tlms_process.sql ended"
_**Error:*----------------------------------*_
RGIS Scheduling: Version : UNKNOWN
Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
TCATLMS module: TCA To TLMS Import Process
Current system time is 18-AUG-2011 06:13:27
COUNT(*)
16
COUNT(*)
25
wc: cannot open /home/custom/sched/in/tstlms.bad
wc: cannot open /home/custom/sched/in/tstlmsedits.bad
pl/sql block started
old 33: AND fcr.request_id = &fcp_reqid; --fnd_global.conc_request_id();
new 33: AND fcr.request_id = 18661823; --fnd_global.conc_request_id();
old 63: &tot_rec_in_tstlms,
new 63: 16,
old 64: &tot_rec_in_tstlms_bad,
new 64: ,
old 97: &tot_rec_in_tstlmsedits,
new 97: 25,
old 98: &tot_rec_in_tstlmsedits_bad,
new 98: ,
ERROR at line 64:
ORA-06550: line 64, column 4:
PLS-00103: Encountered the symbol "," when expecting one of the following:
( - + case mod new not null others <an identifier>
<a double-quoted delimited-identifier> <a bind variable> avg
count current exists max min prior sql stddev sum variance
execute forall merge time timestamp interval date
<a string literal with character set specification>
<a number> <a single-quoted SQL string> pipe
<an alternatively-quoted string literal with character set specification>
<an alternatively-q
ORA-06550: line 98, column 4:
PLS-00103: Encountered the symbol "," when expecting one of the following:
( - + case mod new not null others <an identifier>
<a double-quoted delimited-identifier> <a bind variable> avg
count current exists max min prior sql st
rgis_tca_to_tlms_process.sql started
old 12: and concurrent_request_id = '&1';
new 12: and concurrent_request_id = '18661823';
old 18: and concurrent_request_id = '&1';
new 18: and concurrent_request_id = '18661823';
old 22: rgis_tca_to_tlms_process.run_tca_data(l_tstlms_file_id,&1);
new 22: rgis_tca_to_tlms_process.run_tca_data(l_tstlms_file_id,18661823);
old 33: rgis_tca_to_tlms_process.run_tca_data_history(l_tstlmsedits_file_id,&1);
new 33: rgis_tca_to_tlms_process.run_tca_data_history(l_tstlmsedits_file_id,18661823);
old 44: rgis_tca_to_tlms_process.send_tca_email('TCATLMS',&1);
new 44: rgis_tca_to_tlms_process.send_tca_email('TCATLMS',18661823);
declare
ERROR at line 1:
ORA-20001: Error occured when executing RGIS_TCA_TO_TLMS_PROCESS.sql ORA-01403:
no data found
ORA-06512: at line 59
Executing request completion options...
------------- 1) PRINT -------------
Printing output file.
Request ID : 18661823
Number of copies : 0
Printer : noprint
Finished executing request completion options.
Concurrent request completed successfully
Current system time is 18-AUG-2011 06:13:29
---------------------------------------------------------------------------Hi,
Check the status of the batch in SM35 transaction.
if the batch is locked by mistake or any other error, now you can release it and aslo you can process again.
To Release -Shift+F4.
Also you can analyse the job status through F2 button.
Bye -
Admin users not authorized to install software updates?
A couple of colleagues in my office are having a weird problem. They all have administrative access to their computers, but when Software Update asks them for an administrative password to install the updates, it says they don't have administrative access.
Any ideas?TonyInSF wrote:
They're company computers, but I configured them myself and checked "Allow user to administer this computer".
This is not happening with all computers, just some of them. Most users (of company computers) update their software quite regularly without any problems.
Interesting.
Try creating a new admin account on one of the machines from scratch and see if it allows updating.
If so, it might simply be a corrupted preference file. -
GRC: User not created in backend (CUA client)
Hello expert,
We have GRC 10, SP13.
I have configured the connectors and setting for my CUA client.
I also configured my CUA client in SPRO.
I am able to select my CUA client in ARQ. When submitting, the request is approved.
Audit Log is showing:
Application log is showing:
But there is no user provisioned in my CUA client, not any IDOC or log in showing in my CUA master.
Did I missed something? Any advise is appriciated.
Regards NguyenHi Ameet, thanks for your info.
1) Maintain CUA Settings. Did you maintain CUA system/client as the target client. --> Sorry, I am not sure what you mean? I have configured CUA for my backend and I can create a user via my CUA master, the CUA client is provisioned by sended IDOC from the master. Now I would like GRC provisioning the user to the CUA client instead of the CUA master.
2) Can you see all the child connectors under Maintian CUA settings. Check the tables: GRACCUADIST and GRACCUAMSTR --> yes, my configured CUA client is listed in table GRACCUADIST, table GRACCUAMSTR is empty as I don't want my GRC to use CUA as a global tool.
3) Have you installed CUA plug-ins in CUA system. --> My CUA client and master have the GRC Plugin.
4) Check for the FM: /GRCPI/GRIA_ASSIGN_OBJECT_NH --> FM exist in CUA client/ master and GRC. What is this FM good for?
Thanks for advise, regards Nguyen -
Database folder is not created while installing sap netweaver 7.01
Hello,
i am trying to install sap netweaver on my laptop, but i am facing a problem while installing it.
installation gets completed within few minutes and even no databse folder is being created in the drive.
when i try to start the the application server a error message appears
"service name is invalid,
more help is available by typing NET HELPMSG 2185
start database failed"
suggest me a solution please.
is it so because before running the main setup, i installed the maxdb seprately and then later i uninstalled it before running the main setup??
laptop configuration
ram 1 gb, installing in e:,java version latest.
Regards,
Umeshhello.
thanks you all for replies.
i have installed a fresh window finally to install sap netweaver abap trial version.
windows xp service pack 2.
jre1.4.1_07
and finally i am getting a following error log.
(Sep 18, 2010 3:16:09 PM), Install, com.sap.installshield.CheckServicesAction, err, CheckServicesAction(bean17): Expected service (SAPNSP_00) is not currently running
(Sep 18, 2010 3:16:09 PM), Install, com.sap.installshield.CheckServicesAction, wrn, CheckServicesAction(bean17): Service SAPNSP_00 is not available, retry after 10 s.
(Sep 18, 2010 3:16:19 PM), Install, com.sap.installshield.CheckServicesAction, err, CheckServicesAction(bean17): Expected service (SAPNSP_00) is not currently running
(Sep 18, 2010 3:16:19 PM), Install, com.sap.installshield.CheckServicesAction, wrn, CheckServicesAction(bean17): Service SAPNSP_00 is not available, retry after 10 s.
(Sep 18, 2010 3:16:29 PM), Install, com.sap.installshield.CheckServicesAction, err, CheckServicesAction(bean17): Expected service (SAPNSP_00) is not currently running
(Sep 18, 2010 3:16:29 PM), Install, com.sap.installshield.CheckServicesAction, wrn, CheckServicesAction(bean17): Service SAPNSP_00 is not available, retry after 10 s.
(Sep 18, 2010 3:16:39 PM), Install, com.sap.installshield.CheckServicesAction, err, CheckServicesAction(bean17): Expected service (SAPNSP_00) is not currently running
(Sep 18, 2010 3:16:39 PM), Install, com.sap.installshield.CheckServicesAction, wrn, CheckServicesAction(bean17): Service SAPNSP_00 is not available, retry after 10 s.
(Sep 18, 2010 3:16:49 PM), Install, com.sap.installshield.CheckServicesAction, err, CheckServicesAction(bean17): Expected service (SAPNSP_00) is not currently running
(Sep 18, 2010 3:16:49 PM), Install, com.sap.installshield.CheckServicesAction, wrn, CheckServicesAction(bean17): Service SAPNSP_00 is not available, retry after 10 s.
(Sep 18, 2010 3:16:59 PM), Install, com.sap.installshield.CheckServicesAction, err, CheckServicesAction(bean17): Expected service (SAPNSP_00) is not currently running
(Sep 18, 2010 3:16:59 PM), Install, com.sap.installshield.CheckServicesAction, wrn, CheckServicesAction(bean17): Service SAPNSP_00 is not available, retry after 10 s.
(Sep 18, 2010 3:17:09 PM), Install, com.sap.installshield.CheckServicesAction, err, An error occurred and product installation failed. Look at the log file e:\SAP\NSP\log.txt for details.
(Sep 18, 2010 3:17:09 PM), Install, com.sap.installshield.CheckServicesAction, err, ProductException: (error code = 601; message="Services failed to start (see the log for details)")
STACK_TRACE: 12
ProductException: (error code = 601; message="Services failed to start (see the log for details)")
at com.sap.installshield.CheckServicesAction.install(CheckServicesAction.java:95)
at com.installshield.product.service.product.PureJavaProductServiceImpl.installProductAction(Unknown Source)
at com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct.getResultForProductAction(Unknown Source)
at com.installshield.product.service.product.InstallableObjectVisitor.visitComponent(Unknown Source)
at com.installshield.product.service.product.InstallableObjectVisitor.visitInstallableComponents(Unknown Source)
at com.installshield.product.service.product.InstallableObjectVisitor.visitProductBeans(Unknown Source)
at com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct.install(Unknown Source)
at com.installshield.product.service.product.PureJavaProductServiceImpl$Installer.execute(Unknown Source)
at com.installshield.wizard.service.AsynchronousOperation.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
(Sep 18, 2010 3:17:15 PM), Install, com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct, err, An error occurred and product uninstallation failed. Look at the log file e:\SAP\NSP\log.txt for details.
(Sep 18, 2010 3:17:15 PM), Install, com.sap.installshield.sdcstepswrapper.StepWrapperInstallFiles, err, ProductException: (error code = 200; message="Java error"; exception = [java.lang.Exception])
STACK_TRACE: 15
ProductException: (error code = 200; message="Java error"; exception = [java.lang.Exception])
at com.sap.installshield.sdcstepswrapper.StepWrapperInstallFiles.execute(StepWrapperInstallFiles.java:254)
at com.sap.installshield.sdcstepswrapper.StepWrapperInstallFiles.executeAllSteps(StepWrapperInstallFiles.java:224)
at com.sap.installshield.sdcstepswrapper.StepWrapperInstallFiles.executeAllUninstallationSteps(StepWrapperInstallFiles.java:192)
at com.sap.installshield.sdcstepswrapper.StepWrapperInstallFiles.uninstall(StepWrapperInstallFiles.java:313)
at com.installshield.product.service.product.PureJavaProductServiceImpl.uninstallProductAction(Unknown Source)
at com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct.processActionsFailed(Unknown Source)
at com.installshield.product.service.product.InstallableObjectVisitor.visitComponent(Unknown Source)
at com.installshield.product.service.product.InstallableObjectVisitor.visitInstallableComponents(Unknown Source)
at com.installshield.product.service.product.InstallableObjectVisitor.visitProductBeans(Unknown Source)
at com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct.install(Unknown Source)
at com.installshield.product.service.product.PureJavaProductServiceImpl$Installer.execute(Unknown Source)
at com.installshield.wizard.service.AsynchronousOperation.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
please help. -
"User Not Recognized" when installing UPK with Windows Authentication
Hi all,
When installing UPK Server with Windows Authentification mode, everything work fine until when the installer starts populating the Library. I get an error message saying "User is not recognized. Please enter a valid administrator user name and password. Click OK to enter another name or click Cancel to stop the upgrade process."
I tried using "my current Window account" and different Windows account when asking to give a default Developer admin login during the install but I still get the same message.
I might be forgeting something this time since I have installed UPK tones of times and never got this error.
Many thanks.Hello,
Thank you!! After much testing and environment and OS changes, I found out that I totally forgot my Windows administration from over 7 years ago on a security feature that Microsoft put into their OS's. If you are using a friendly DNS name to publish to your clients (instead of them typing in the server name as the URL) and you want to utilize Windows authentication, a registry entry will need to be entered in order for the OS to be allowed to pass the windows auth through to that URL as well.
Example registry entry:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\MSV1_0]
"BackConnectionHostNames"=hex(7):
KB Article:
http://support.microsoft.com/kb/896861
In Registry Editor, locate and then click the following registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\MSV1_0
Right-click MSV1_0, point to New, and then click Multi-String Value.
Type BackConnectionHostNames, and then press ENTER.
Right-click BackConnectionHostNames, and then click Modify.
In the Value data box, type the host name or the host names for the sites that are on the local computer, and then click OK.
Maybe you are looking for
-
Duplicated events on iCal after moving to iCloud
Hi, i just updated mi iphone 4 to iOS5, then updated iTunes, then updated OSX Lion to 10.7.2, then moved to icloud... Everything seems to be ok, but there's a problem: my events duplicated on iCal in my macbookpro... Every input has cloned itself! Bu
-
How do I upgrade music to DRM free so I can play on my Sonos?
How do I upgrade itune music to DRM free so I can play on my Sonos?
-
Meeting Place 8.5.5.14 to 8.6.1.2 License
Hello, Do I need a new license after I've upgrade my meeting Place from 8.5.5.14 to 8.6.1.2 ? In the upgrade document, there is no mention that we need the license (not yet). Regards,
-
How to define field of number type in ecs file
Hi B2B Experts, I need some help. In the detail record of my ecs file, i need to define a filed as number. Basically the data coming in the data file is a dollar amount. It is a number type. The number length maximum length is 6, The spec file says t
-
With Apple discontinuing support jre 7 on its mountain lion, i am trying to find a way to launch my mac apps with oracle jre7. There are two situations occuring to me. 1. Oracle jre7 could be before hand installed and my app should be able to detect