Error 10810 when running applescript remotely
So "final" product here. I'm no applescripter so my code is probably inefficient. As such I keep running into a -10810 error and from my googling and research I think it's a runaway process (or a few of them) created by this script. I run it through Casper remote. It's a compiled script for compatibility with Casper Remote. Running as a standalone app (or as a compiled script on the local desktop) it works just fine. It's only through Casper Remote that I get this error and only sometimes. The script works even when no one is logged in. Casper Remote runs as an admin and forces sudo when it needs to.
Any ideas as to what might be causing the failure? The script fails very quickly when it does. It certainly does not get to the point where it gathers all apps on the computer.
TIA!
Andrew
(*This script should be run first on a computer to be upgraded.
It collects the size of the users's homefolder and any folders
common to all users (Workfolder, PAGEFOLDER, etc). Common units get
all users transfered. It also collects apps installed in /Applications. It is to
be run again on the new computer to verify that all data and apps were
copied over correctly. It outputs the data to a log at
/netappv2/MacPackaging/FY12MacDAC-UserMigration titled with the
User's username, old mac name *)
on run argv
-- Define static variables --
---- "\n"
-- Capture the user's name (passed from Casper Remote)
set userName to item 4 of argv
-- if a username was not passed to the script, quit immediately
if userName = "" then
do shell script "echo No username specified! Try again with a valid username"
error number -128
else if userName is in {"Common", "common", "COMMON"} then
do shell script "echo **********THIS IS A COMMON UNIT. ALL USERS WILL BE TRANSFERED! **********"
end if
-- Capture computer name and current date
set computerName to computer name of (system info)
set currentDate to current date
-- Define file access --
-- We first have to create a file so we can reference it via Applescript for writing. We do this via the shell
set shellLogFile to computerName & "-" & userName & ".txt"
do shell script ("mkfile 10k /private/var/root/Desktop/" & shellLogFile)
-- Make a directory on the server particular to this user and computer since two reports will be made: one for the old computer and one for the new
set logFolder to computerName & "-" & userName
do shell script "mkdir -p -m 777 /Volumes/MacPackaging/FY12MacDAC-UserMigration/" & logFolder
-- Open a text file for writing the DAC data collection information. Alias it to the file we just created
-- the file is located on roots desktop, but it is aliased to the current user's desktop (if one is logged in)
set logFile to (((path to desktop) as string) & computerName & "-" & userName & ".txt") as alias
open for access logFile with write permission
set eof of logFile to 0
-- Write log headers --
-- Write relevant user and computer information to the log file
if userName is equal to "common" then
write "**********THIS IS A COMMON UNIT. ALL USERS WILL BE TRANSFERED! **********
" to logFile
write "
" to logFile
end if
write "Report run date: " & currentDate & "
" to logFile
write "User to be migrated: " & userName & "
" to logFile
write "Computer to be migrated: " & computerName & "
" to logFile
write "=========================" & "
" to logFile
write "
" to logFile
-- Begin data collection output --
-- First check for the existence of partition "work"
write "Folders on Work partition to be transfered" & "
" to logFile
write "========================================" & "
" to logFile
set workPath to "Work" --we are only looking for partition "Work"
tell application "System Events"
if workPath is in (get the name of every disk) then -- list all partitions and check for "Work." If found, set folderList to the contents of Work
set folderList to list folder workPath without invisibles
else
set workPath to (get the name of every disk) -- if "Work" is not found, list the mounted partitions and exit
write "No Work partition! Available partitions are: " & workPath & ". Exiting." & "
" to logFile
do shell script "echo No Work partition!"
do shell script "echo Available partitions are: " & workPath
close access logFile
error -128
end if
end tell
-- Next write the root level contents of the Work partition and their sizes. These main folders and their entire contents (except Users) will be transferred. For user folders, only the /Users/username and Users/Shared folder will be transferred
set totalSize to 0 --set a count for the size of each folder found. This will be the total size of all data to be migrated
repeat with aFolder in folderList
if aFolder contains "Users" then
set userFolder to "/" & aFolder & "/" & userName -- rename the folder to the explicit path to the users home folder (name provided when the script was run), since we aren't interested in any other user folder
set sharedFolder to "/" & aFolder & "/Shared" -- create another variable to hold the Shared folder since we need to copy this as well
set UNIXFolder to quoted form of POSIX path of userFolder
set folderSize to (do shell script "du -k /Volumes/Work" & UNIXFolder & " | tail -rn1 | awk '{print \"\" $1}'") as integer -- extract the size of the users home folder
set totalSize to totalSize + folderSize
write userName & " home folder - " & CalcFolderSize(folderSize) & " " & KBMBGB(folderSize) & "
" to logFile
set UNIXFolder to quoted form of POSIX path of sharedFolder
set folderSize to (do shell script "du -k /Volumes/Work" & UNIXFolder & " | tail -rn1 | awk '{print \"\" $1}'") as integer -- extract the size of the Users/Shared folder using the same method as above
set totalSize to totalSize + folderSize
write "Users/Shared - " & CalcFolderSize(folderSize) & " " & KBMBGB(folderSize) & "
" to logFile
else if aFolder does not contain "Users" then
set UNIXFolder to quoted form of POSIX path of aFolder
set folderSize to (do shell script "du -k /Volumes/Work" & UNIXFolder & " | tail -rn1 | awk '{print \"\" $1}'") as integer -- extract the size of aFolder if other than "Users"
set totalSize to totalSize + folderSize
write aFolder & " - " & CalcFolderSize(folderSize) & " " & KBMBGB(folderSize) & "
" to logFile
end if
end repeat
write "____________________" & "
" to logFile
write "Total copy size: " & CalcFolderSize(totalSize) & " " & KBMBGB(totalSize) & "
" to logFile
write "
" to logFile
-- Record all departmental apps that need to be installed on the new mac
write "Departmental apps to install on the new mac" & "
" to logFile
write "===========================================" & "
" to logFile
-- A pre-defined list of departmental apps. These apps are not included in the AG Core image and need to be installed on the new mac. All relevant transferrable apps are in the Applications and Utilities folders. Apps installed elsewhere are not AG standard and do not get transferred
set theApps to {"Adobe Acrobat 7.0 Professional.app", "Adobe After Effects CS4.app", "Adobe After Effects CS3.app", "Adobe Fireworks CS3.app", "Adobe Flash CS4.app", "Adobe Flash CS3.app", "ColorEyes Display Pro.app", "ColorThink 2.2.1b2", "Corel Painter X.app", "DiskTracker 2.3.2", "DiskTracker.app", "Dreamweaver.app", "EPSON Scan.app", "Fetch.app", "formZ RenderZone Plus.app", "Google Earth Pro.app", "Google Earth.app", "iMovie.app", "Keyspan Serial Assistant.app", "Flash 8.app", "Microsoft Excel.app", "Microsoft Excel", "Microsoft Word.app", "Microsoft Word", "Microsoft PowerPoint.app", "Microsoft PowerPoint", "PhotoZoom Pro 2.app", "Product Ingest.app", "Product Tag.app", "Art Ingest.app", "ProfileMaker", "TextWrangler.app", "Toast Titanium.app", "ToolCrib.app", "Winclone.app", "Suitcase Fusion 2.app", "Suitcase Fusion 3.app", "BRASS.app", "Final Cut Pro.app", "Pro Tools LE.app", "LightWave", "VMware Fusion.app"}
set appsPath to (path to applications folder)
tell application "Finder"
set appList to name of every application file of entire contents of folder appsPath
end tell
repeat with anApp in theApps
if appList contains anApp then
set anAppID to id of (application anApp)
if anAppID is not equal to "????" then
tell application "Finder" to tell (application file id anAppID)
set vers to version of application file id anAppID
set parentFolder to name of its container
end tell
if parentFolder is in {"Applications", "Utilities"} then
set parentFolder to ""
end if
write anApp & "
" & "Version: " & vers & "
" & parentFolder & "
" to logFile
write "--------------------------------------" & "
" to logFile
write "
" to logFile
else if anAppID is equal to "????" then
write anApp & "
" to logFile
write "--------------------------------------" & "
" to logFile
write "
" to logFile
end if
end if
end repeat
write "
" to logFile
-- Collect all the printers that need to be installed on the new Mac
write "Printers to install on the new mac" & "
" to logFile
write "===================================" & "
" to logFile
(*tell application "Printer Setup Utility"
set printerList to the name of every printer as list
end tell
repeat with aPrinter in printerList
write aPrinter & "
" to logFile
end repeat*)
set printerList to do shell script "lpstat -a | awk '{print $1}'" as text
write printerList & "
" to logFile
close access logFile
-- edit file permissions so everyone can read it
do shell script "chmod 755 /private/var/root/Desktop/" & shellLogFile
-- copy the file to macpackaging for later use
do shell script "ditto /private/var/root/Desktop/" & shellLogFile & " /Volumes/Macpackaging/FY12MacDAC-UserMigration/" & logFolder
end run
-- subroutine for converting folderSize
on CalcFolderSize(KBParam)
if KBParam ≥ 1048576 then -- convert to GB
return (KBParam / 1024 / 1024)
else if KBParam ≥ 1024 then -- convert to MB
return (KBParam / 1024)
else
return (KBParam)
end if
end CalcFolderSize
-- subroutine for determing KB, MB, or GB
on KBMBGB(paramSize)
if paramSize ≥ 1048576 then -- 1GB
return ("GB")
else if paramSize ≥ 1024 then -- 1MB
return ("MB")
else
return ("KB")
end if
end KBMBGB
So AS can't get the physical size of the folder it finds. I think I know the reason though. The script lists the contents of the Work volume in this snippet:
set workPath to "Work" --we are only looking for partition "Work"
tell application "System Events"
if workPath is in (get the name of every disk) then -- list all partitions and check for "Work." If found, set folderList to the contents of Work
set folderList to list folder workPath without invisibles
else if
... stuff ...
end if
end tell
Then later I have it doing this:
else if aFolder does not contain "Users" then
tell application "System Events"
set folderSize to (physical size of aFolder) div 1024
end tell
set totalSize to totalSize + folderSize
write aFolder & " - " & CalcFolderSize(folderSize) & " " & KBMBGB(folderSize) & "
and I get the following from the AS editor events pane:
tell current application
system info
--> {AppleScript version:"2.1.2", AppleScript Studio version:"1.5.1", system version:"10.6.7", short user name:"acaldwell", long user name:"AC Andrew Caldwell (8318)", user ID:1.092545022E+9, user locale:"en_US", home directory:alias "Work:Users:acaldwell:", boot volume:"AG2025", computer name:"AG2025", host name:"ag2025.amgreetings.com", IPv4 address:"10.104.20.113", primary Ethernet address:"00:17:f2:07:ec:dc", CPU type:"Intel 80486", CPU speed:2660, physical memory:4096}
current date
--> date "Wednesday, June 8, 2011 4:24:49 PM"
path to desktop as string
--> "Work:Users:acaldwell:Desktop:"
open for access "Work:Users:acaldwell:Desktop:AG2025-acaldwell.txt" with write permission
--> 47
set eof 47 to 0
write "Report run date: Wednesday, June 8, 2011 4:24:49 PM
User to be migrated: acaldwell
Computer to be migrated: AG2025
=========================
" to 47
write "Folders on Work partition to be transfered
========================================
" to 47
end tell
tell application "System Events"
get name of every disk
--> {"AG2025", "Work", "home", "net", "Public", "MacPackaging"}
list folder "Work" without invisibles
--> error number -10004
end tell
tell current application
list folder "Work" without invisibles
--> {"Page4 Folder", "PAGE4BUILDER", "Users", "zz_LastFolder"}
Result:
error "Can’t get physical size of \"Page4 Folder\"." number -1728 from «class phys» of "Page4 Folder"
Now I tested the tell system event portion in another editor with this code
set aFolder to path to home folder
tell application "System Events"
set folderSize to (physical size of aFolder) div 1024
end tell
and got the right result. So I think that I can't get the size because it is not showing the path to each of these items, just the name of them. Is there a way to set a variable to the path to each of the items it finds? I think then it'll get the sizes right....
Thanks!
Andrew
Similar Messages
-
PL/SQL: ORA-04052: error occurred when looking up remote object.
Hi All,
I'm getting the following error message while executing a PL/SQL Block.
PL/SQL: ORA-04052: error occurred when looking up remote object UPLDUSER.filestatushistory@FTS
ORA-00604: error occurred at recursive SQL level 1
ORA-03106: fatal two-task communication protocol error
ORA-02063: preceding line from FTSStatement
declare
v_coun number;
begin
select count(*) into v_coun
from updluser.filestatushistory@fts;
end;Back ground of the situation as follows,
My DataBase version 10.2.0.3 DB Name :DB1
Table Owner : UPLDUSER
Table Name : FILESTATUSHISTORY
I have a report user on the same database and I have grant all on the above table to report user
Report User : RPT_FTS
SQL> GRANT ALL ON FILESTATUSHISTORY_V TO RPT_FTS;Now Please find the below database details where I'm getting subjected error.
Database version : 9.2.0.8
DB Name : DB2
User Name : RPT_REPORTS
I Have create a dblink from RPT_REPORTS to RPT_FTS on DB1 and the dblink works fine. But getting the above error while running it.
but When I do the same other 10.2.0.3 db , the above PL/SQL block works fine without any problem.
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Now the strange about this is that I have Created a new table on DB1 db like below;
SQL> CREATE TABLE UPLDUSER.ABC AS SELECT * FROM FILESTATUSHISTORY;and retry my code on DB2 (9.2.0.8) after changing the table to ABC and it worked. Now I don't know whats wrong with a original table(FILESTATUSHISTORY).
To over come the problem and a work-a-round method I create a view on the DB1 (RPT_FTS) like the below
SQL> CREATE VIEW FILESTATUSHISTORY AS SELECT * FROM UPLDUSER.FILESTATUSHISTORY;and was able to run the PL/SQL block Remotely.
Just wants To know what whould have been the cause for this .
Cheers
KanchanaHi Kanchana,
Perhaps following link of google search has answer to your query
ORA-04052. The search result contains some useful articles whose URLs I shan't post in the forums.
HTH!
*009* -
Hello,
I'm trying to import data van 10XE version to new 11XE version over db_link.
When using the method I run into following error:
ORA-04052: error occurred when looking up remote object SYS.DBMS_UTILITY@<<db_link_name>>
This seems to be a bug in 10.2.0.1 fixed in later 10.2 versions, according to the database general forum. "upgrade to newer version"
But how do i fix this bug in 10XE? Or is the only way around to use the 'old-fashioned' way of exporting data from 10XE to a file, transfer the file and import it in 11XE?
Best regards,
Jan.No, you cannot apply a patch to XE. Basically the XE internal code is the same as for any other edition. That means is there a bug, you have it in XE,too. To get patches you need a licence for metalink/My Oracle Support. But even you would have one, it wouldn't help you, because Oracle does not provide patches for XE.
That's the 'price' you have to pay for this free edition.
Werner -
Runtime Error -GETWA_NOT_ASSIGNED when running COI
Hi ALL,
We are getting run time error - GETWA_NOT_ASSIGNED when running COI tasks.
Error analysis
You attempted to access an unassigned field symbol
(data segment 32995).
This error may occur for any of the following reasons:
- You address a typed field symbol before it is set using ASSIGN
- You address a field symbol that points to a line in an internal table
that has been deleted
- You address a field symbol that had previously been reset using
UNASSIGN, or that pointed to a local field that no longer exists
- You address a global function interface parameter, even
though the relevant function module is not active,
that is it is not in the list of active calls. You can get the list
of active calls from the this short dump.
How to correct the error
You may able to find an interim solution to the problem
in the SAP note system. If you have access to the note system yourself,
use the following search criteria:
"GETWA_NOT_ASSIGNED" C
"CL_UC_COI_ACT_PT==============CP" or "CL_UC_COI_ACT_PT==============CM00P"
"REDUCE_GOODWILL_ENTRIES"
If you cannot solve the problem yourself and you wish to send
an error message to SAP, include the following documents:
1. A printout of the problem description (short dump)
To obtain this, select in the current display "System->List->
Save->Local File (unconverted)".
2. A suitable printout of the system log
To obtain this, call the system log through transaction SM21.
Limit the time interval to 10 minutes before and 5 minutes
after the short dump. In the display, then select the function
"System->List->Save->Local File (unconverted)".
3. If the programs are your own programs or modified SAP programs,
supply the source code.
To do this, select the Editor function "Further Utilities->
Upload/Download->Download".
4. Details regarding the conditions under which the error occurred
or which actions and input led to the error.
Information on where terminated
The termination occurred in the ABAP program "CL_UC_COI_ACT_PT==============CP"
in "REDUCE_GOODWILL_ENTRIES".
The main program was "UCUWB000 ".
The termination occurred in line 722 of the source code of the (Include)
program "CL_UC_COI_ACT_PT==============CM00P"
of the source code of program "CL_UC_COI_ACT_PT==============CM00P" (when
calling the editor 7220).
702 call method do_inv_net_change->create_data_reference
703 exporting
704 i_type = cl_uc_coi_inv_net=>gc_ref_pt_block
705 io_model = do_model
706 importing
707 er_data = lr_t_data.
708 assign lr_t_data->* to <lt_share_block>.
709 call method do_inv_net_change->get_block
710 importing
711 et_pt_shares = <lt_share_block>.
712
713 create data lr_s_data like line of <lt_share_block>.
714 assign lr_s_data->* to <ls_share_block>.
715 * change due to selling invor's transaction
716 read table <lt_share_block> into <ls_share_block> index 1.
717
718 * direct shares prior to divestiture
719 assign component 'R_TH_DSH_OLD'
720 of structure <ls_share_block> to <lr_th_dsh_old>.
721 assign <lr_th_dsh_old>->* to <lt_dsh_old>.
>>>> create data lr_s_data like line of <lt_dsh_old>.
723 assign lr_s_data->* to <ls_dsh_old>.
724 assign component ucf6_cs_coi_fld-pcnt1
725 of structure <ls_dsh_old> to <pcnt1_7a>.
726
727 * change of direct shares in divestiture
Please provide your suggestions.
Edited by: VM2727 on Feb 10, 2012 3:27 AMOr even these ones:
SAP Note 1480856 - C/I: Program termination GETWA_NOT_ASSIGNED
Symptom
When you execute the consolidation of investments, a program termination
occurs (short dump GETWA_NOT_ASSIGNED in the method CREATE_OCI_LIST of the
class CL_UC_COI_ACT).
Note 1467924 - Termination GETWA_NOT_ASSIGNED in CL_UC_COI_ACT_PD
Symptom
When you execute the consolidation of investments, the program termination GETWA_NOT_ASSIGNED occurs in the method CALC_NET_INCOME_MEM of the class CL_UC_COI_ACT_PD. -
Error Message when running BI Publisher
Hi-
Getting the following error message when running a custom report, report has been defined but still getting the error message in HCM 9.2 with PeopleTools 8.53
Template definition MAC_CONF_STM not found in the report definition. (235,2012) PSXP_RPTDEFNMANAGER.ReportDefn.OnExecute Name:GetTemplate PCPC:15048 Statement:325
Called from:PSXP_RPTDEFNMANAGER.ReportDefn.OnExecute Name:GetTemplateRuntime Statement:1778
Called from:PSXP_RPTDEFNMANAGER.ReportDefn.OnExecute Name:ProcessReport Statement:1115
Called from:BA_VALIDATION.ConfirmStmtPrint.OnExecute Name:PrintConfirmStmt Statement:53
Called from:W3EB_ENR_SUMMARY.GBL.W3EB_ENR_PB_WRK.ODEM_CONF_STMT_PB.FieldChange Statement:2
Any idea regarding the error message
Regards,
MACDDid your custom report ever ran successfully in the environment you are getting the error.
Most of the time not all the report definition and associated definitions are migrated to the next environment.
Have a look at following doc:
E-BI/XMLP: How To Migrate BI/XML Publisher File Definition Objects? (Doc ID 659919.1) -
A critical program error occured when running a workbook
Some end users get a critical program error occured when running a workbook when they want to make selections.
In the trace they get the following message
System.ArgumentException: Item has already been added. Key in dictionary: "44ABATDK7TYM365CYLQ0VDKU6" Key being added: "44ABATDK7TYM365CYLQ0VDKU6"
This happens only on some PC clients !
Thanks for any help !
IvanHi Vid,
Thanks for your suggestion.
I am using a different patch i.e.
BI AddOn 7.X (based on 7.10), Support Package 5, Revision 1083
and it helps to solve my problem.
Cheers. -
ORA-04052: error occurred when looking up remote obj in mapping execution
Hi,
While executing an OWB mapping, I am getting the following error:
============
Starting Execution UII_D_MAP_SPC_INSTALLATION_SIT
Starting Task UII_D_MAP_SPC_INSTALLATION_SIT
ORA-04052: error occurred when looking up remote object [email protected]
ORA-00604: error occurred at recursive SQL level 1
ORA-02019: connection description for remote database not found
ORA-02063: preceding 3 lines from BIP2S@BIPDRACONN
ORA-06512: at "UII_ODS_OWNER.UII_D_MAP_SPC_INSTALLATION_SIT", line 73
ORA-06512: at "UII_ODS_OWNER.UII_D_MAP_SPC_INSTALLATION_SIT", line 1672
ORA-06512: at "UII_ODS_OWNER.UII_D_MAP_SPC_INSTALLATION_SIT", line 2353
ORA-06512: at "UII_ODS_OWNER.UII_D_MAP_SPC_INSTALLATION_SIT", line 6838
ORA-06512: at line 1
Completing Task UII_D_MAP_SPC_INSTALLATION_SIT
Completing Execution UII_D_MAP_SPC_INSTALLATION_SIT
============
Actually, here UII_ODS_OWNER itself is the target schema and <<UIIVS.DEVENV1.BT.CO.UK>> is the database in which this schema exists. And the mapping "UII_D_MAP_SPC_INSTALLATION_SIT" is being executed in the same target schema UII_ODS_OWNER.
I am not sure why this above error is coming because such a dblink 'UIIVS.DEVENV1.BT.CO.UK' does not exist in the OWB generated package code. And the 2nd dblink 'BIP2S@BIPDRACONN' does not exist in the code, intead it exists as "BIP2S.DEVENV1.BT.CO.UK@BIPDRACONN" in the package code which is correct (as per OWB configuration & database).
Same error also comes when I try to execute the same mapping from the OWB DEPLOYMENT MANAGER.
Thanks & Regards,
leninGood morning Lenin,
Have you checked the implementation of the connectors and are your locations well registered?
Has a similar setup ever worked well?
Can you access the source table using SQL (e.g. with SQL*Plus or TOAD)?
Regards, Patrick -
Error message when running the FSPCCURR - PS/Fin MultiCurrency Process
error message when running the FSPCCURR - PS/Fin MultiCurrency Process
=====================================================
2011-03-21-17.21.39.660000 INFO(5870,1) PI(785156) Program(FSPCGLMC) GL MultiCurrency processing has begun.
2011-03-21-17.21.40.820000 INFO(5870,4) PI(785156) Program(FSPCSTEP) Beginning processing, Step CURPER in Group NONREVAL for Business Unit NAMER.
2011-03-21-17.30.14.520000 INFO(5870,4) PI(785156) Program(FSPCSTEP) Beginning processing, Step USD_USD in Group NONREVAL for Business Unit NAMER.
2011-03-21-17.30.53.000000 SEVERE ERROR IN PGM:(5870,58) PI(785156) Program(FSPCPROC) Edit journal fails for Business Unit NAMER and Step USD_USD.Hi 841037,
We are facing this same issue in our environment. We are on FSCM 9.1 bundle #24.Please let me know how you resolved this issue at your end. Any help or pointers regarding this issue is highly appreciated. Thanks. -
Error message when running form
hi everybody,
im getting this error message when running a simple form.
Positional Parameter after key command line.
Can anyone please help.
thnk uCheck the path to your form. Forms does not like spaces in the path or fmx filename, but the error doesn't explain the problem at all!
-
An error occurred when executing a REMOTE FUNCTION CALL.
Dear all,
We have two syetms called DXD and GRD , we have a remote enabled function module in the DXD system , when i am trying to call this Function module from
GRD system it is going for the short dump, and giving the follwing error,
<b>Error analysis
An error occurred when executing a REMOTE FUNCTION CALL.
It was logged under the name "RFC_NO_AUTHORITY"
on the called page.</b>
But i do have the access for the DXD system also, i am really struggling to solve this problem, if any lights are there to help me , i will be thank full for then,
some body suggested for me that we need to maintain the Trusted system tables in the target system.
Thanks & regards
Satya.first u( user id ) have to get the Authorizations to use RFC ?
object will be like S_RFC or some thing like this.
when u get this kind of error just call /NSU53 then u will come to know which Authorization Object is missing from ur User Profile.
Regards
Prabhu -
I get an error message when running a back-up from my Macbook Pro: The backup disk image Macbook.sparsebundle could not be accessed (error-1) and the backup did not complete? What is the issue?
Try Here > http://pondini.org/TM/C12.html
More Info here > http://pondini.org/TM/Time_Capsule.html -
Receiving Error Message when running sh rep_populate.sh
Following directions at http://www.oracle.com/technology/tech/linux/htdocs/yum-repository-setup.html
Receiving Error Message when running sh rep_populate.sh trying to create local yum repositories and configure up2date and yum to install and update packages from them.
THIS PROGRAM IS DEPRECATED!
You should be generating xml metadata instead.
Please see http://linux.duke.edu/metadata
After executing following instructions and replacing server name with our server name.smmj.com
Client Setup
1. Import the GPG key
rpm --import /usr/share/rhn/RPM-GPG-KEY
2. Configure up2date to use the yum repository. Edit /etc/sysconfig/rhn/sources. Comment out line
up2date default
to
#up2date default
and add the following lines. Replace <repository_server> with the hostname of the machine that is hosting the yum repository. Comment and uncomment individual repositories as needed.
Enterprise Linux 5
(commented uncommented)yum el5_$ARCH_latest http://<repository_server>/yum/EnterpriseLinux/EL5/latest/$ARCH/
(commented uncommented)yum el5_$ARCH_addons http://<repository_server>/yum/EnterpriseLinux/EL5/addons/$ARCH/
#yum el5_$ARCH_oracle http://<repository_server>/yum/EnterpriseLinux/EL5/oracle/$ARCH/
#yum el5_ga_$ARCH_base http://<repository_server>/yum/EnterpriseLinux/EL5/ga/base/$ARCH/
#yum el5_u1_$ARCH_base http://<repository_server>/yum/EnterpriseLinux/EL5/1/base/$ARCH/
#yum el5_u2_$ARCH_base http://<repository_server>/yum/EnterpriseLinux/EL5/2/base/$ARCH/
#yum el5_u3_$ARCH_base http://<repository_server>/yum/EnterpriseLinux/EL5/3/base/$ARCH/
#yum el5_ga_$ARCH_patch http://<repository_server>/yum/EnterpriseLinux/EL5/ga/patch/$ARCH/
#yum el5_u1_$ARCH_patch http://<repository_server>/yum/EnterpriseLinux/EL5/1/patch/$ARCH/
#yum el5_u2_$ARCH_patch http://<repository_server>/yum/EnterpriseLinux/EL5/2/patch/$ARCH/
#yum el5_u3_$ARCH_patch http://<repository_server>/yum/EnterpriseLinux/EL5/3/patch/$ARCH/
and running additional instructions
2. Run up2date to install python-urlgrabber.
up2date -i python-urlgrabber
Receiving following error
There was some sort of I/O error: <urlopen error (-2, 'Name or service not known')>
Further when trying to replace /etc/yum.repos.d/ULN-Base.repo ULN-Base.repo unable to find file, file that is there
is called public-yum-el5.repo
Made following changes in that file
Enterprise Linux 5
[el5_latest]
name=Enterprise Linux $releasever - $basearch - latest
baseurl=http://<repository_server>/yum/EnterpriseLinux/EL5/latest/$basearch/
gpgcheck=1
enabled=1
[el5_addons]
name=Enterprise Linux $releasever - $basearch - addons
baseurl=http://<repository_server>/yum/EnterpriseLinux/EL5/addons/$basearch/
gpgcheck=1
enabled=0
[el5_oracle]
name=Enterprise Linux $releasever - $basearch - oracle
baseurl=http://<repository_server>/yum/EnterpriseLinux/EL5/oracle/$basearch/
gpgcheck=1
enabled=0
[el5_ga_base]
name=Enterprise Linux $releasever GA - $basearch - base
baseurl=http://<repository_server>/yum/EnterpriseLinux/EL5/ga/base/$basearch/
gpgcheck=1
enabled=0
[el5_u1_base]
name=Enterprise Linux $releasever U1 - $basearch - base
baseurl=http://<repository_server>/yum/EnterpriseLinux/EL5/1/base/$basearch/
gpgcheck=1
enabled=0
[el5_u2_base]
name=Enterprise Linux $releasever U2 - $basearch - base
baseurl=http://<repository_server>/yum/EnterpriseLinux/EL5/2/base/$basearch/
gpgcheck=1
enabled=0
[el5_u3_base]
name=Enterprise Linux $releasever U3 - $basearch - base
baseurl=http://<repository_server>/yum/EnterpriseLinux/EL5/3/base/$basearch/
gpgcheck=1
enabled=0
[el5_ga_patch]
name=Enterprise Linux $releasever GA - $basearch - patch
baseurl=http://<repository_server>/yum/EnterpriseLinux/EL5/ga/patch/$basearch/
gpgcheck=1
enabled=0
[el5_u1_patch]
name=Enterprise Linux $releasever U1 - $basearch - patch
baseurl=http://<repository_server>/yum/EnterpriseLinux/EL5/1/patch/$basearch/
gpgcheck=1
enabled=0
[el5_u2_patch]
name=Enterprise Linux $releasever U2 - $basearch - patch
baseurl=http://<repository_server>/yum/EnterpriseLinux/EL5/2/patch/$basearch/
gpgcheck=1
enabled=0
[el5_u3_patch]
name=Enterprise Linux $releasever U3 - $basearch - patch
baseurl=http://<repository_server>/yum/EnterpriseLinux/EL5/3/patch/$basearch/
gpgcheck=1
enabled=0
Then ran following commands
up2date -u
Output
There was some sort of I/O error: <urlopen error (-2, 'Name or service not known')>
yum update
http://<ice.smmj.com>/yum/EnterpriseLinux/EL5/addons/x86_64/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>
Trying other mirror.
http://<ice.smmj.com>/yum/EnterpriseLinux/EL5/latest/x86_64/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: el5_latest. Please verify its path and try again
We would like a simple and correct way of doing this or we will be forced to switch to another os and another provider
Thanks, for your helpWe purchased Licensed version of Red Hat Linux Oracle for our network server. My boss wanted a simple way of installing Samba on it so that the server can be used for file and printer sharing. We have an active directory on our network and couple of other Windows servers as well as other Red Hat servers. He wants to install Samba on that licensed version so that it can primarily be used for file storage and sharing, he wants to be able to connect with gui type interface to this server from windows machines and linux machines and he wants for this Red Hat Linux Oracle machine to show up in active directory.
Aparently when we went to Applications, Add Remove Software in Red Hat Fedora Samba was not in there.
When we go to System, Administration, Server Settings, Services, Samba is also not there.
Nowhere can we find an easy way of installing samba on this Linux OS.
I went to your site, signed in, (previously there was only 1 channel available there, I have just recently found and added all the channels that were aplicable to our system) and downloading them now to another version of the same type of Licensed Red Hat Linux Oracle. Hopefully when I use Software Updater in System Tools it will load the packages we are loking for (from the channels I selected on your website). Once that is done I think I could just go to add remove software and install the packages that I need from there.
I am still not sure why I set out to install repositories on this version of Linux, perhaps I mistakenly thought that once everything is installed (according to directions at http://www.oracle.com/technology/tech/linux/htdocs/yum-repository-setup.html) on the machine in question I would be able to use that same machine to get the packages for that same machine. We were in such a rush and desperate to put the server on to the network it did not dawn on me that this scenario is designed to have one serve on the network that holds repositories and other machines connect to it for packages.
I think I am on the right track in my logic, log in to your site with the CSI number, user name and password, select ALL the channels versus only one, save the search, then from the machine update packages, then add new software and Samba Should be in there. I would like to hear your thoughts on this.
This version of Linux seem like a very reliable version of OS and I would hate to give up on it, especially since we already bought licenses for it, its just that we don't have that much experience with it and I would upreciate all the info that you can give us for it. I am sure that everyone at SMMJ will upreciate you for it. -
Error message when running Transaction Code = ME84
hi,
i am getting an error message when running Transaction Code = ME84
Error is 'No processing (error message P5 017), No data for chosen selection'
can someone please guide me on this ?Hi Mahendra,
There are several reasons for the release not happeneing.
1. The issue could be in the selection of release type
2. Scope of selection
3. Strategy profile
Please check whether the selection parameters are considered are right for release to happen.
Regards,
Harish -
Simple Single-Source Replication(error occurred when looking up remote obj)
Dears
I am following the "Simple Single-Source Replication Example"
(http://download.oracle.com/docs/cd/B19306_01/server.102/b14228/repsimpdemo.htm#g1033597)
In Configure Capture, Propagation, and Apply for Changes to One Table; when I Set the Instantiation SCN for the hr.jobs Table at str2.net by following procedure
SQL> DECLARE
2 iscn NUMBER; -- Variable to hold instantiation SCN value
3 BEGIN
4 iscn := DBMS_FLASHBACK.GET_SYSTEM_CHANGE_NUMBER();
5 [email protected](
6 source_object_name => 'scott.emp',
7 source_database_name => 'str1.net',
8 instantiation_scn => iscn);
9 END;
10 /
DECLARE
ERROR at line 1:
ORA-04052: error occurred when looking up remote object
[email protected]
ORA-00604: error occurred at recursive SQL level 1
ORA-02085: database link STR2.NET connects to
ORCL.REGRESS.RDBMS.DEV.US.ORACLE.COM
Note also advise where should I have to execute above at (STR1.NET or STR2.NET)
regards;Good morning Lenin,
Have you checked the implementation of the connectors and are your locations well registered?
Has a similar setup ever worked well?
Can you access the source table using SQL (e.g. with SQL*Plus or TOAD)?
Regards, Patrick -
ORA-04052: error occurred when looking up remote object SYS.DBMS_SNAPSHOT
Hello everyone,
When I tried to create a materialized view with refresh fast mode, I encountered following error message.
The MV log has been created on my_table like this:
create materialized view log on my_table
tablespace data3
with rowid, sequence
including new values;
The database link has been created like this:
CREATE PUBLIC DATABASE LINK my_db
CONNECT TO myname
IDENTIFIED BY mypassword
USING 'my_db';
Could anybody please let me know why I can not create MV with refresh fast? What I did wrong?
Thanks in advance!!!
MYDB>select count(*) from my_table@my_db;
COUNT(*)
5
Elapsed: 00:00:00.01
MYDB>create materialized view my_mv
2 tablespace data4
3 build immediate
4 refresh fast with rowid
5 as
6 select * from my_table@my_db
select * from my_table@my_db
ERROR at line 6:
ORA-04052: error occurred when looking up remote object SYS.DBMS_SNAPSHOT@my_db
ORA-00604: error occurred at recursive SQL level 2
ORA-06544: PL/SQL: internal error, arguments: [55916], [], [], [], [], [], [], []
ORA-06553: PLS-801: internal error [55916]
ORA-02063: preceding 2 lines from my_db
Elapsed: 00:00:00.29
MYDB>create materialized view my_mv
2 tablespace data4
3 build immediate
4 as
5 select * from my_table@my_db;
Materialized view created.
Elapsed: 00:00:00.20No, you cannot apply a patch to XE. Basically the XE internal code is the same as for any other edition. That means is there a bug, you have it in XE,too. To get patches you need a licence for metalink/My Oracle Support. But even you would have one, it wouldn't help you, because Oracle does not provide patches for XE.
That's the 'price' you have to pay for this free edition.
Werner
Maybe you are looking for
-
MOD_OC4J_0080 and other errors HTTP Server error log
Our portal pages with portlets on it started giving error 503 messages (just some portlets) to clients. I have checked error log and found out that it is full of this errors MOD_OC4J_0080: After calling Apache's ap_bwrite(), got an return value: -1 a
-
hey, i'd like eth0 to try dhcp, and if it doesn't receive an answer within 10s or so, fall back to an address i specify! how do i do this? (i'd like to specify something like eth0="dhcp eth0 192.168...." in rc.conf) thanks
-
New to Leopard and Time Machine I would like to have some opinions as to what hard disk to choose as there are so many on the market at so many prices. For example, are there any specifically made to go well with Time Machine? What about firewire or
-
With one VI open, others do not function
I have a VI that reads voltage from a Baratron gauge, and saves that and the time into a text file for spreadsheet use. If this VI is running then all other VI's either don't run or don't update. For instance, another VI runs 4 different mass flow co
-
What do I have to do with a dreamweaver built app so I can upload it to the android market
I am having trouble with using eclipse to package my dreaweaver app to upload to the android market. Can anyone help? Is there any easier way to do this. Im using Dreamweaver CS5.5