Archive with Secure Copy
Hi all,
I have been using automatic archive configurations with TFTP and it works great. However, I'd like to switch to SCP as the file transfer mechanism to improve security on the router and for the file server. I have a test router configured with:
archive
path scp://user:pwd@host/file
time-period 5
This should automatically archive every five minutes with the specified username and password. However, it does not automatically archive, but I can manually archive by typing archive config. I visually watch the router successfully log in to the SCP server and put the file in the correct directory. Is SCP not supported for automatic archive or am I missing something?
thanks,
think since ssh is working and scp is not, in order to avoid fragmentation issues, you can try to set the mss to 1300 and clear the df bit (replace with the internal interface of each router and set the right ip address for the client/server). For example, on the spoke:
access-list 199 permit ip host host
route-map DF_CLEAR permit 10
match address 199
set ip df 0
exit
int
ip policy route-map DF_CLEAR
ip tcp adjust-mss 1300
exit
I dont think there is a way to exchange keys and signature so that SSH session can be established automatically.
Similar Messages
-
Issue with secure store key phrase during system copy export
Hi,
We recently upgraded our all production portals to SAP NW 7.31 SP7
(Migrated them from windows to Linux).
While taking the export in production portals, we are stuck at a stage
while defining parameters.
We did not move further if we tried the all the passwords at this stage.
We ran the key phrase check tool and found the key phrase we are
supplying is correct with the below command that tells us on the
sapinst screen
'<global directory>/sltools/checkKeyPhrase(.sh) -f <global
directory>/security/data/SecStore.properties'.
so the problem is not with the key phrase
We are stuck with system copy export as our refresh is halted because
of this issue.Screenshot is attached.
sapinst.log
'/usr/sap/put/usages_data_P0P.1.xml'.
INFO 2014-03-21 12:29:01.742
Copied file '/usr/sap/put/usages_data_P0P.xml' to '/usr/sap/put/usages_data_P0P.2.xml'.
INFO 2014-03-21 12:29:04.919
Working directory changed to /usr/sap/put.
INFO 2014-03-21 12:29:05.10
Execute step getUsageTypes of component |NW_Export|ind|ind|ind|ind|0|0|NW_Java_Export_Dialog|ind|ind|ind|ind|javaUnload|0|NW_JAVA_Export_PREPARE|ind|ind|ind|ind|prep|0
INFO 2014-03-21 12:29:05.757
Working directory changed to /usr/sap/put.
INFO 2014-03-21 12:29:05.777
Execute step dss_checkForPI of component |NW_Export|ind|ind|ind|ind|0|0|NW_Java_Export_Dialog|ind|ind|ind|ind|javaUnload|0|NW_JAVA_Export_PREPARE|ind|ind|ind|ind|prep|0
INFO 2014-03-21 12:29:05.887
Working directory changed to /usr/sap/put.
INFO 2014-03-21 12:29:05.907
Execute step checkKeyPhrase of component |NW_Export|ind|ind|ind|ind|0|0|NW_Java_Export_Dialog|ind|ind|ind|ind|javaUnload|0|NW_JAVA_Export_PREPARE|ind|ind|ind|ind|prep|0
INFO 2014-03-21 12:29:26.291
Effective group id set to 202.
WARNING 2014-03-21 12:29:26.310
Execution of the command "/bin/csh -c "source /home/p0padm/.cshrc; env"" finished with return code 100. Output:
INFO 2014-03-21 12:29:26.291 [syuxccuren.cpp:285]
CSyCurrentProcessEnvironmentImpl::setEffectiveGroup(PSyGroupInt)
lib=syslib module=syslib
Effective group id set to 202.
INFO 2014-03-21 12:29:26.318
Creating file /usr/sap/put/checkKeyPhrase.log.
INFO 2014-03-21 12:29:26.409
Output of /usr/sap/P0P/J00/exe/sapjvm_6/bin/java -classpath /usr/sap/P0P/SYS/global/sltools/sharedlib/sap.com~tc~bl~offline_launcher~impl.jar com.sap.engine.offline.OfflineToolStart com.sap.inst.checkKeyPhrase.CheckKeyPhrase /usr/sap/P0P/SYS/global/sltools/sharedlib:/usr/sap/P0P/SYS/global/security/lib/tools -f /usr/sap/P0P/SYS/global/security/data/SecStore.properties -nomask is written to the logfile /usr/sap/put/checkKeyPhrase.log.
INFO 2014-03-21 12:29:26.414
Effective group id set to 202.
WARNING 2014-03-21 12:29:26.434
Execution of the command "/usr/sap/P0P/J00/exe/sapjvm_6/bin/java -classpath /usr/sap/P0P/SYS/global/sltools/sharedlib/sap.com~tc~bl~offline_launcher~impl.jar com.sap.engine.offline.OfflineToolStart com.sap.inst.checkKeyPhrase.CheckKeyPhrase /usr/sap/P0P/SYS/global/sltools/sharedlib:/usr/sap/P0P/SYS/global/security/lib/tools -f /usr/sap/P0P/SYS/global/security/data/SecStore.properties -nomask" finished with return code 100. Output:
INFO 2014-03-21 12:29:26.414 [syuxccuren.cpp:285]
CSyCurrentProcessEnvironmentImpl::setEffectiveGroup(PSyGroupInt)
lib=syslib module=syslib
Effective group id set to 202.
INFO 2014-03-21 12:38:17.491
Effective group id set to 202.
WARNING 2014-03-21 12:38:17.512
Execution of the command "/bin/csh -c "source /home/p0padm/.cshrc; env"" finished with return code 100. Output:
INFO 2014-03-21 12:38:17.491 [syuxccuren.cpp:285]
CSyCurrentProcessEnvironmentImpl::setEffectiveGroup(PSyGroupInt)
lib=syslib module=syslib
Effective group id set to 202.
INFO 2014-03-21 12:38:17.527
Creating file /usr/sap/put/checkKeyPhrase.log.
INFO 2014-03-21 12:38:17.618
Output of /usr/sap/P0P/J00/exe/sapjvm_6/bin/java -classpath /usr/sap/P0P/SYS/global/sltools/sharedlib/sap.com~tc~bl~offline_launcher~impl.jar com.sap.engine.offline.OfflineToolStart com.sap.inst.checkKeyPhrase.CheckKeyPhrase /usr/sap/P0P/SYS/global/sltools/sharedlib:/usr/sap/P0P/SYS/global/security/lib/tools -f /usr/sap/P0P/SYS/global/security/data/SecStore.properties -nomask is written to the logfile /usr/sap/put/checkKeyPhrase.log.
INFO 2014-03-21 12:38:17.626
Effective group id set to 202.
WARNING 2014-03-21 12:38:17.647
Execution of the command "/usr/sap/P0P/J00/exe/sapjvm_6/bin/java -classpath /usr/sap/P0P/SYS/global/sltools/sharedlib/sap.com~tc~bl~offline_launcher~impl.jar com.sap.engine.offline.OfflineToolStart com.sap.inst.checkKeyPhrase.CheckKeyPhrase /usr/sap/P0P/SYS/global/sltools/sharedlib:/usr/sap/P0P/SYS/global/security/lib/tools -f /usr/sap/P0P/SYS/global/security/data/SecStore.properties -nomask" finished with return code 100. Output:
INFO 2014-03-21 12:38:17.626 [syuxccuren.cpp:285]
CSyCurrentProcessEnvironmentImpl::setEffectiveGroup(PSyGroupInt)
lib=syslib module=syslib
Effective group id set to 202.
INFO 2014-03-21 12:43:38.969
Effective group id set to 202.
WARNING 2014-03-21 12:43:38.992
Execution of the command "/bin/csh -c "source /home/p0padm/.cshrc; env"" finished with return code 100. Output:
INFO 2014-03-21 12:43:38.969 [syuxccuren.cpp:285]
CSyCurrentProcessEnvironmentImpl::setEffectiveGroup(PSyGroupInt)
lib=syslib module=syslib
Effective group id set to 202.
INFO 2014-03-21 12:43:39.6
Creating file /usr/sap/put/checkKeyPhrase.log.
INFO 2014-03-21 12:43:39.101
Output of /usr/sap/P0P/J00/exe/sapjvm_6/bin/java -classpath /usr/sap/P0P/SYS/global/sltools/sharedlib/sap.com~tc~bl~offline_launcher~impl.jar com.sap.engine.offline.OfflineToolStart com.sap.inst.checkKeyPhrase.CheckKeyPhrase /usr/sap/P0P/SYS/global/sltools/sharedlib:/usr/sap/P0P/SYS/global/security/lib/tools -f /usr/sap/P0P/SYS/global/security/data/SecStore.properties -nomask is written to the logfile /usr/sap/put/checkKeyPhrase.log.
INFO 2014-03-21 12:43:39.113
Effective group id set to 202.
WARNING 2014-03-21 12:43:39.140
Execution of the command "/usr/sap/P0P/J00/exe/sapjvm_6/bin/java -classpath /usr/sap/P0P/SYS/global/sltools/sharedlib/sap.com~tc~bl~offline_launcher~impl.jar com.sap.engine.offline.OfflineToolStart com.sap.inst.checkKeyPhrase.CheckKeyPhrase /usr/sap/P0P/SYS/global/sltools/sharedlib:/usr/sap/P0P/SYS/global/security/lib/tools -f /usr/sap/P0P/SYS/global/security/data/SecStore.properties -nomask" finished with return code 100. Output:
INFO 2014-03-21 12:43:39.113 [syuxccuren.cpp:285]
CSyCurrentProcessEnvironmentImpl::setEffectiveGroup(PSyGroupInt)
lib=syslib module=syslib
Effective group id set to 202.
sapinst_dev.log
TRACE
2014-03-21 12:43:39.67 [syuxcuser.cpp:643]
PSyGroupImpl CSyUserImpl::getPrimaryGroup()const
lib=syslib module=syslib
account user="p0padm" uid="390" exists with parameter gid="301"
TRACE
2014-03-21 12:43:39.87 [syuxcuser.cpp:643]
PSyGroupImpl CSyUserImpl::getPrimaryGroup()const
lib=syslib module=syslib
account user="p0padm" uid="390" exists with parameter gid="301"
TRACE
2014-03-21 12:43:39.97 [syuxctask.cpp:270]
CChildApplicationImpl::doStart() lib=syslib module=syslib
A child process has been started. Pid = 20950
INFO
2014-03-21 12:43:39.101
CJSlibModule::writeInfo_impl()
Output of /usr/sap/P0P/J00/exe/sapjvm_6/bin/java -classpath /usr/sap/P0P/SYS/global/sltools/sharedlib/sap.com~tc~bl~offline_launcher~impl.jar com.sap.engine.offline.OfflineToolStart com.sap.inst.checkKeyPhrase.CheckKeyPhrase /usr/sap/P0P/SYS/global/sltools/sharedlib:/usr/sap/P0P/SYS/global/security/lib/tools -f /usr/sap/P0P/SYS/global/security/data/SecStore.properties -nomask is written to the logfile /usr/sap/put/checkKeyPhrase.log.
INFO
2014-03-21 12:43:39.113 [syuxccuren.cpp:285]
CSyCurrentProcessEnvironmentImpl::setEffectiveGroup(PSyGroupInt)
lib=syslib module=syslib
Effective group id set to 202.
TRACE
2014-03-21 12:43:39.137 [syuxctask.cpp:880]
CUnixProcessManager::sap_waitpid(pid_t pid, int * pStatus, int options)
lib=syslib module=syslib
Child process 20950 returned 100
WARNING
2014-03-21 12:43:39.140
CJSlibModule::writeWarning_impl()
Execution of the command "/usr/sap/P0P/J00/exe/sapjvm_6/bin/java -classpath /usr/sap/P0P/SYS/global/sltools/sharedlib/sap.com~tc~bl~offline_launcher~impl.jar com.sap.engine.offline.OfflineToolStart com.sap.inst.checkKeyPhrase.CheckKeyPhrase /usr/sap/P0P/SYS/global/sltools/sharedlib:/usr/sap/P0P/SYS/global/security/lib/tools -f /usr/sap/P0P/SYS/global/security/data/SecStore.properties -nomask" finished with return code 100. Output:
INFO
2014-03-21 12:43:39.113 [syuxccuren.cpp:285]
CSyCurrentProcessEnvironmentImpl::setEffectiveGroup(PSyGroupInt)
lib=syslib module=syslib
Effective group id set to 202.
TRACE
2014-03-21 12:43:39.140
check key phrase returns: 100
TRACE
2014-03-21 12:43:39.141
NWException thrown: nw.syscopy.java.secStoreFSException:
Error checking key phrase, see output of log file '/usr/sap/put/checkKeyPhrase.log'.
TRACE
2014-03-21 12:43:39.142
Function setMessageIdOfExceptionMessage: nw.syscopy.java.secStoreFSException but already set to nw.syscopy.java.secStoreFSException
TRACE
2014-03-21 12:43:39.269 [iaxxgenimp.cpp:660]
CGuiEngineImp::showMessageBox
Error checking key phrase, see output of log file '/usr/sap/put/checkKeyPhrase.log'.
TRACE
2014-03-21 12:43:39.270 [iaxxgenimp.cpp:1137]
CGuiEngineImp::acceptAnswerForBlockingRequest
Waiting for an answer from GUI
TRACE
2014-03-21 12:43:42.489 [iaxxdlghnd.cpp:165]
CDialogHandler::doHandleDoc()
CDialogHandler: ACTION_ERROR received
TRACE
2014-03-21 12:43:42.490 [iaxxcnclhd.cpp:158]
CCancelHandler::doHandleDoc(IDialogDocument * pDoc )
CCancelHandler: ACTION_ERROR received
TRACE
2014-03-21 12:43:42.490 [iaxxgenimp.cpp:1137]
CGuiEngineImp::acceptAnswerForBlockingRequest
Waiting for an answer from GUI
CheckKeyPhrase.log
INFO
2014-03-21 12:43:39.113 [syuxccuren.cpp:285]
CSyCurrentProcessEnvironmentImpl::setEffectiveGroup(PSyGroupInt)
lib=syslib module=syslib
Effective group id set to 202.
Logs are attached.Request you to please have a look on this with priority.
Regards,
Sudheer.Hi Sudheer,
You need to provide the keyphrase correctly.
<global directory>/sltools/checkKeyPhrase(.sh) -f <global
directory>/security/data/SecStore.properties'.
If you don't know the keyphrase...ten change it in configtool and take a restart of the system since you have the downtime with you.
Activating Secure Storage in the File System (SAP Library - System Security)
With Regards
Ashutosh Chaturvedi -
Q10, problem with making a Security Copy
Two weeks ago, I haven't been able to make a Security Copy. A frame with "An error has been produced while making a security copy" (translated from Spanish) appears every time I try to make one.
It also says "It might have occurred a problem with the smartphone or the connection during the security copy. Verify that the smartphone is turned-on and is connected".
CAN YOU PLEASE HELP ME???
Thanks. Regards,
JAre you Spanish speaking?
Estimado Usuario, lamentablemente este foro es solo para el idioma Ingles, sin embargo lo podemos ayudar en el foro especializado en Español, esta es la dirección donde gustosamente lo podemos atender:
http://foros.blackberry.com/t5/Foros-de-Soporte-General/ct-p/bscf_es
Muchas gracias
1. If any post helps you please click the below the post(s) that helped you.
2. Please resolve your thread by marking the post "Solution?" which solved it for you!
3. Install free BlackBerry Protect today for backups of contacts and data.
4. Guide to Unlocking your BlackBerry & Unlock Codes
Join our BBM Channels (Beta)
BlackBerry Support Forums Channel
PIN: C0001B7B4 Display/Scan Bar Code
Knowledge Base Updates
PIN: C0005A9AA Display/Scan Bar Code -
Replacement DVD Mac 10.4.1.1 Security copy
My Mac had issues with ejecting My DVD and now it is scratched, I need to find a download Security copy.
If anyone can help, please let me know.
This disk will install Mac 10.4.1.1 version.You can call Apple Customer Support 1-800-767-2775, provide the Serial Number and specifications of the Mac, and for a fee, a replacement set of system discs (if available), can be ordered. However, the discs will be for the original version of OS, that was pre-installed, when the Mac was manufactured.
You can't download OS X systems. Tiger install DVDs (black color) originally came with versions 10.4.6, 10.4.3, and 10.4. After you install the base 10.4.x, update to the final Tiger version 10.4.11. Here's the link for the 10.4.11 combo update http://support.apple.com/kb/TA24901?viewlocale=en_US You can't use a gray color DVD from another model Mac.
Look at this link Mac OS X v10.4 Tiger Installing Software Support Page
http://www.apple.com/support/tiger/install/
You can also download the Tiger Installation and Setup Guide
http://manuals.info.apple.com/en/TigerInstall_SetupGuide.pdf
When you upgrade the OS, do it via Archive & Install. See About the Archive and Install feature http://support.apple.com/kb/HT1710
Be sure to select Preserve Users & Settings. Also, repair permissions before and after the install.
Cheers, Tom -
I need help with Secure Erase 7-pass in the utility disk. It keeps getting stuck at 25% and a pop up comes out saying not enough memory in the start up disk. Can someone tell me whats going on? After the pop up come on the erase will not proceed.
Hello,
moving files from your computer
You can delete files, folders, and other items on your disk that you no longer need.
You may want to store a backup copy or an archive of important items if you are trying to clear space on your hard disk for other things.
Drag the items to the Trash (at the end of the Dock).
Any files or folders you drag to the Trash remain there until you empty the Trash. If you change your mind about something, you can still retrieve it from the Trash if you haven't emptied it yet. Click the Trash icon to open the Trash window, then drag items back to your home folder.
Choose Finder > Empty Trash.
Even after you empty the Trash, deleted files may still be recovered by using special data-recovery software. To delete files so that they cannot be recovered, choose Finder > Secure Empty Trash. Files deleted in this way are completely overwritten by meaningless data. This may take some time, depending on the size of the file. To prevent the recovery of files you deleted previously, open Disk Utility (in Applications/Utilities), choose Help > Disk Utility Help, and search for help on erasing free disk space.
If an item is locked, you cannot put it in the Trash. Select the item and choose File > Get Info, then deselect the Locked checkbox in the General pane. If you do not own the item, you may need to provide an administrator's name and password to put the item in the Trash.
Press the Option key when you choose Empty Trash to prevent the warning message from appearing. You can also turn off the warning in the Advanced pane of Finder Preferences.
Also... using the Erase Free Disk Space button:
Erasing free disk space
When you delete files by emptying the Trash, Mac OS X deletes the information used to access the files but doesn't actually delete the files. Although the disk space used by deleted files is marked as free space, deleted files remain intact until new data is written over them. Because of this, deleted files can be recovered.
You can use Disk Utility to erase the "free" space used by deleted files by having zeros written over the space once, seven times, or 35 times. If you have a lot of free space on your disk, overwriting the free space several times can take a long time.
Erasing free disk space does not erase the other files on your disk.
In Disk Utility, select the disk or volume in the list with the free space you want to erase.
Click Erase, then click the Erase Free Space button.
Select an option, then click Erase.
After the process begins, you can interrupt it without harming your data.
You might see a message saying that you are running out of disk space, but you can ignore that warning. When this operation is complete, you will have the same amount of free space as you did when it started.
You can also erase free space when you empty the Trash in the Finder. Choose Finder > Secure Empty Trash.
Carolyn
Message was edited by: Carolyn Samit -
My i pad is not responding. I have a security copy in my iTunes. But my iTunes is not updated. Will i lose my Security copy?
I have an iPad 1 as well that I updated when the iOS was first released a few weeks ago and I think that the new update really sparked my iPad into "new life" again. It's so hard to tell what will happen when you update - ideally the performance of the device should improve - and not fall off.
Have you tried closing any/all open/running apps in the recents tray? Close them all and restart - see what happens.
Go to the home screen first by tapping the home button. Quit/close open apps by double tapping the home button and the task bar will appear with all of you recent/open apps displayed at the bottom. Tap and hold down on any app icon until it begins to wiggle. Tap the minus sign in the upper left corner to close the apps. Restart the iPad. Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button. -
UnZipping an archive with folders inside
Hello, everyone.
A friend of mine asked me to create him an "auto-downloader" type of program, to download a ZIP archive, then extract the information to the user's computer (no, it is not harmful).
Anyways, I've been trying mutliple ways, and I've come pretty far with the one I'm currently using. The only problem is, I'm using user.home as the file location for the zip, and creating a folder in there seems to just not want to work. This is the only way I could think of doing it, but I'm sure there are easier ways.. here's what I'm using:
import java.awt.BorderLayout;
import java.awt.Dimension;
import java.io.BufferedInputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.net.URL;
import java.net.URLConnection;
import java.util.zip.ZipEntry;
import java.util.zip.ZipInputStream;
import javax.swing.JFrame;
import javax.swing.JProgressBar;
public class Updater extends Thread {
private String name;
public void get(String url, String fileName) {
name = fileName;
JFrame frame = new JFrame(name.replaceAll(".zip", "") + " update");
frame.setLocationRelativeTo(null);
frame.setLayout(new BorderLayout());
frame.setPreferredSize(new Dimension(500, 80));
frame.setResizable(false);
frame.setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE);
Client client = new Client();
ClassLoader cl = getClass().getClassLoader();
try {
URLConnection connection = (new URL(url)).openConnection();
String f[] = url.split("/");
File file = new File(f[f.length - 1]);
int length = connection.getContentLength();
InputStream instream = connection.getInputStream();
try {
new File(updatedDirectory()).mkdir();
} catch (Exception e) {
e.printStackTrace();
FileOutputStream outstream = new FileOutputStream(updatedDirectory() + file);
int size = 0;
int copy = 0;
JProgressBar bar = new JProgressBar();
bar.setStringPainted(true);
bar.setMaximum(length);
frame.add(bar, "Center");
frame.pack();
frame.setVisible(true);
while ((copy = instream.read()) != -1) {
outstream.write(copy);
size++;
int percentage = (int) (((double) size / (double) length) * 100D);
bar.setValue(size);
bar.setString("Updating your " + name.replaceAll(".zip", "") + " - " + percentage + "% complete");
if (length != size) {
instream.close();
outstream.close();
} else {
instream.close();
outstream.close();
unzip();
//System.exit(0);
frame.setVisible(false);
} catch (Exception e) {
System.err.println("Error connecting to update server.");
e.printStackTrace();
private void unzip() {
try {
System.out.println(updatedDirectory() + "animations\\raw");
InputStream in = new BufferedInputStream(new FileInputStream(updatedDirectory() + name));
ZipInputStream zin = new ZipInputStream(in);
ZipEntry e;
//new File(updatedDirectory() + name.replaceAll(".zip", "")).mkdir();
if (!new File(updatedDirectory() + "animations\\raw").exists()) {
if (new File(updatedDirectory() + "animations\\raw").mkdir()) {
System.out.println("worked");
} else {
System.out.println("nope");
while ((e = zin.getNextEntry()) != null) {
unzip(zin, updatedDirectory() + e.getName());
zin.close();
} catch (Exception e) {
e.printStackTrace();
private void unzip(ZipInputStream zin, String s) throws IOException {
FileOutputStream out = new FileOutputStream(s);
byte[] b = new byte[1024];
int len = 0;
while ((len = zin.read(b)) != -1) {
out.write(b, 0, len);
out.close();
public final String updatedDirectory() {
//File file = new File(System.getProperty("user.home") + "\\info\\");
File file = new File("..\\");
if (file.exists() || file.mkdir()) {
//return System.getProperty("user.home") + "\\info\\";
return "..\\";
return null;
}Here's the ZIP archive I'm trying to download: http://www.2shared.com/file/Qu1cSWcl/cache.html
If what I've said before doesn't make sense (mind you me, it's 4 am and I'm about to crawl into bed), then I'll try to sum it up in a few short words below.
I'm trying to extract a ZIP archive with folders, every time I do, it stops halfway through and throws an error similar to this:
invalid cache index specified
..\animations\raw
java.io.FileNotFoundException: ..\animations\raw (The system cannot find the pat
h specified)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
at java.io.FileOutputStream.<init>(FileOutputStream.java:70)
at Updater.unzip(Updater.java:99)
at Updater.unzip(Updater.java:90)
at Updater.get(Updater.java:64)
at Client.main(Client.java:2548)
Press any key to continue . . .I'm just trying to be able to extract cache (ZIP ARCHIVE) which has folders inside. I've tried creating a directory for the folder, but it seems to not work, hence the "?" in the above error (i printed that if the directory failed to create a new directory, as seen in my above code). Once again, sorry if this isn't as understandable as it should be, I'm not myself without sleep :)
Also, do ignore the first print, 'invalid cache index specified', it's not related to the problem.
Edited by: aeternaly on Jul 2, 2010 4:04 AMSo your question is really about how to make a directory, then. Nothing at all to do with unzipping of archives.
If you can't create a directory, then perhaps there is some permissions problem. You don't have the authority to create directories in some directory. Or perhaps you're trying to use a name which isn't a valid directory name in your system. Or... there are many other possibilities. But anyway I recommend tossing all of that unzipping business out of your program and just trying to write something which creates a directory. Debug that first. -
Save a pdf with security so vendors can only import & print but not extract?
We submit ads to newspapers all the time in pdf format...the newspaper imports the pdfs into their page layout program (Quark) for printing...currently we do not put any security on the pdfs because the vendors can not import the pdf into their page layout program Quark with security on.
Is there a way we can set security so the only thing the newspaper can do is import the pdf into Quark (or a page layout program) and print?
We would like to restrict the use of exporting artwork and copy from the pdf as well as saving the pdf as different formats.We just launched a new DATING SITE! Meet singles from all over the world! FREE registration for the first 500 users! Register now and find thousands of great singles in your area! Visit www.NYDateNet.com
-
How do I lock an archive with a code?
How do I lock an archive with a code?
You can't. All you can do is create an encrypted disk image, mount it, and copy the archive to it.
-
Hi,
I have a windows cluster SAP R3 4.7 with oracle 10.2.
I have implemented backup with brtools 7.0 with split copy, using split_cmd command to split filesystem and post_split_cmd to start sap.
Bac
Brbackup finish successfully but with the warning:
"BR0068W SAP system is running or SAP user is connected to database PRD - database cannot be shut down"
We attach the log of brbackup .
Any idea ?
Thanks.
Maurizio Manera
Detail log: beajdpzw.aff
BR0051I BRBACKUP 7.00 (40)
BR0055I Start of database backup: beajdpzw.aff 2009-04-16 01.50.28
BR0484I BRBACKUP log file: Z:\oracle\PRD\sapbackup\beajdpzw.aff
BR0351I Restoring F:\oracle\PRD\102\database\sapPRD.ora
BR0355I from F:\oracle\PRD\102\database\sapPRD.ora ...
BR0477I Oracle pfile F:\oracle\PRD\102\database\initPRD.ora created from spfile F:\oracle\PRD\102\database\spfilePRD.ora
BR0613I Database instance PRD/PRIMARY is shut down
BR0280I BRBACKUP time stamp: 2009-04-16 01.50.29
BR0304I Starting and opening database instance PRD/PRIMARY ...
BR0280I BRBACKUP time stamp: 2009-04-16 01.50.38
BR0305I Start and open of database instance PRD/PRIMARY successful
BR0101I Parameters
Name Value
oracle_sid PRD
oracle_home F:\oracle\PRD\102
oracle_profile F:\oracle\PRD\102\database\initPRD.ora
sapdata_home K:\oracle\PRD
sap_profile f:\splitscripts\PRD\initPRD_ReplicationManager.sap
backup_mode ALL
backup_type offline_split
backup_dev_type util_file
util_par_file F:\splitscripts\PRD\initPRD_ReplicationManager.utl
primary_db PRD
split_cmd F:\splitscripts\PRD\ERM_PRD.cmd > F:\splitscripts\PRD\logs\split_log.txt
resync_cmd NULL
post_split_cmd F:\splitscripts\PRD\start_PRD_sap.cmd > F:\splitscripts\PRD\logs\post_split_log.txt
system_info prdadm SRB44 Windows 5.2 Build 3790 Service Pack 2 AMD64
oracle_info PRD 10.2.0.2.0 8192 24929 2831181212 SRB31 UTF8 UTF8
sap_info 620 SAPPRD PRD S0893011436 R3_ORA 0020174098
make_info NTAMD64 OCI_10201_SHARE Feb 1 2009
command_line brbackup.exe -p f:\splitscripts\PRD\initPRD_ReplicationManager.sap -t offline_split -u system/****** -d util_file -m all -c
BR0116I ARCHIVE LOG LIST before backup for database instance PRD
Parameter Value
Database log mode Archive Mode
Automatic archival Enabled
Archive destination M:\oracle\PRD\oraarch\PRDarch
Archive format ARC%S_%R.%T
Oldest online log sequence 24926
Next log sequence to archive 24929
Current log sequence 24929 SCN: 2831181212
Database block size 8192 Thread: 1
Current system change number 2831210933 ResetId: 633955817
BR0280I BRBACKUP time stamp: 2009-04-16 01.50.44
BR0307I Shutting down database instance PRD/PRIMARY ...
BR0280I BRBACKUP time stamp: 2009-04-16 01.50.45
BR0308I Shutdown of database instance PRD/PRIMARY successful
BR0280I BRBACKUP time stamp: 2009-04-16 01.50.46
BR0295I Splitting mirror disks...
BR0280I BRBACKUP time stamp: 2009-04-16 02.04.56
BR0296I Split of mirror disks successful
BR0280I BRBACKUP time stamp: 2009-04-16 02.04.56
BR0304I Starting and opening database instance PRD/PRIMARY ...
BR0280I BRBACKUP time stamp: 2009-04-16 02.06.28
BR0305I Start and open of database instance PRD/PRIMARY successful
BR0117I ARCHIVE LOG LIST after backup for database instance PRD
Parameter Value
Database log mode Archive Mode
Automatic archival Enabled
Archive destination M:\oracle\PRD\oraarch\PRDarch
Archive format ARC%S_%R.%T
Oldest online log sequence 24926
Next log sequence to archive 24929
Current log sequence 24929 SCN: 2831181212
Database block size 8192 Thread: 1
Current system change number 2831214167 ResetId: 633955817
BR0280I BRBACKUP time stamp: 2009-04-16 02.06.29
BR1374I Executing post-split command...
BR0280I BRBACKUP time stamp: 2009-04-16 02.08.48
BR1375I Post-split command executed successfully
BR0118I Tablespaces and data files
Tablespace TS-Status F-Status File Size Id. Device Link Type MaxSize IncrSize BlkSize
PSAPPRD ONLINE* ONLINE+ J:\ORACLE\PRD\SAPDATA3\PRD_20\PRD.DATA20 10485768192 23 9 NOLINK FILE 10485760000 20971520 8192
BR0120I Control files
File Size Id. Device Link Type
H:\oracle\PRD\origlogA\cntrl\cntrlPRD.dbf 15024128 0 7 NOLINK FILE
K:\oracle\PRD\sapdata1\system_1\cntrl\cntrlPRD.dbf 15024128 0 10 NOLINK FILE
K:\oracle\PRD\saparch\cntrl\cntrlPRD.dbf 15024128 0 10 NOLINK FILE
BR0280I BRBACKUP time stamp: 2009-04-16 02.08.48
BR0057I Backup of database: PRD
BR0058I BRBACKUP action ID: beajdpzw
BR0059I BRBACKUP function ID: aff
BR0110I Backup mode: ALL
BR0077I Database files for backup:
H:\ORACLE\PRD\ORIGLOGA\LOG_G11M1.DBF
H:\ORACLE\PRD\ORIGLOGB\LOG_G12M1.DBF
H:\ORACLE\PRD\ORIGLOGA\LOG_G13M1.DBF
H:\ORACLE\PRD\ORIGLOGB\LOG_G14M1.DBF
H:\oracle\PRD\origlogA\cntrl\cntrlPRD.dbf
BR0061I 89 files found for backup, total size 724314.986 MB
BR0143I Backup type: offline_split
BR0130I Backup device type: util_file
BR0109I Files will be saved by backup utility
BR0126I Unattended mode active - no operator confirmation required
BR0280I BRBACKUP time stamp: 2009-04-16 02.08.48
BR0229I Calling backup utility with function 'backup'...
BR0278I Command output of 'F:\usr\sap\PRD\SYS\exe\run\backint.exe -u PRD -f backup -i Z:\oracle\PRD\sapbackup\.beajdpzw.lst -t file -p F:\splitscripts\PRD\initPRD_ReplicationManager.utl -c':
BR0280I BRBACKUP time stamp: 2009-04-16 02.18.37
#FILE..... J:\ORACLE\PRD\SAPDATA3\PRD_21\PRD.DATA21
#SAVED.... 1239840533
BR0280I BRBACKUP time stamp: 2009-04-16 04.33.11
#FILE..... J:\ORACLE\PRD\SAPDATA3\PRD_57\PRD.DATA57
#SAVED.... 1239848995
BR0280I BRBACKUP time stamp: 2009-04-16 04.33.11
BR0232I 89 of 89 files saved by backup utility
BR0230I Backup utility called successfully
BR0280I BRBACKUP time stamp: 2009-04-16 04.33.14
BR0229I Calling backup utility with function 'backup'...
BR0278I Command output of 'F:\usr\sap\PRD\SYS\exe\run\backint.exe -u PRD -f backup -i Z:\oracle\PRD\sapbackup\.beajdpzw.lst -t file -p F:\splitscripts\PRD\initPRD_ReplicationManager.utl -c':
BR0280I BRBACKUP time stamp: 2009-04-16 04.33.16
#PFLOG.... Z:\oracle\PRD\sapbackup\beajdpzw.aff
#SAVED.... 1239849194
BR0280I BRBACKUP time stamp: 2009-04-16 04.33.17
#PFLOG.... Z:\oracle\PRD\sapbackup\backPRD.log
#SAVED.... 1239849195
BR0280I BRBACKUP time stamp: 2009-04-16 04.33.21
#PFLOG.... F:\oracle\PRD\102\database\initPRD.ora
#SAVED.... 1239849201
BR0280I BRBACKUP time stamp: 2009-04-16 04.33.21
BR0232I 8 of 8 files saved by backup utility
BR0230I Backup utility called successfully
BR0068W SAP system is running or SAP user is connected to database PRD - database cannot be shut down
BR0056I End of database backup: beajdpzw.aff 2009-04-16 04.33.21
BR0280I BRBACKUP time stamp: 2009-04-16 04.33.22
BR0053I BRBACKUP completed successfully with warningsHi,
> BR0068W SAP system is running or SAP user is connected to database PRD - database cannot be shut down
> BR0056I End of database backup: beajdpzw.aff 2009-04-16 04.33.21
> BR0280I BRBACKUP time stamp: 2009-04-16 04.33.22
> BR0053I BRBACKUP completed successfully with warnings.
As it is offline backup via brbackup it seems sap starts automatically after completion of backup.
So it is giving warnings that sap is already running.
You can ignore it.
Regards,
Nitin Salunkhe -
Tables not archived with CO_ORDER
Hi All,
CO_ORDER is the archiving object for archiving orders in CO
The following tables though they are listed in DB15 transaction are not getting archived with CO_ORDER but the table entries are deleted while running the delete program pertaining to CO_ORDER. These tables however are getting archived and deleted with CO_ITEM archiving object with object type ORD
The list of tables that are getting deleted are COBK,COBK_INDX,COEJ,COEJL,COEJR,COEP,COEPB,COEPL,COEPR.
If CO_ORDER object alone has to be archived, then these tables will not get archived but will be directly deleted.
Is there any sequence in archiving CO_ITEM and CO_ORDER?
Any pointers to the same will be helpful.Hi,
Refer to the following note and its referenced corresponding notes for further information into this issue.
Note: 110923 Archives cannot be read or accessed
In addition, also refer to the following note that provides further clarity on the use of archiving and analysis (especially the information in relation to Programs RARCCOA1, RARCCOA2)
Note: 138688 Archiving/Controlling: table analysis
If this is an issue that the archive files for CO_ORDER are no longer available (Deleted), then please refer to the following information:
If you run the Analysis Program RKAARCS1 and the selection for the archive files shows a 'lightning bolt' this means the files are not accessible.
You can then check the archive information structures for CO_ORDER and if they are built. If they are not built there will be a 'red light' which indicates to build the structure via transaction SARI and Status. This is not possible if the Archive Files are not available though.
You will either have to restore the Archive files or Create a new Archive file. Care should be taken when you create Archive files that they are stored in a secure location and backed up on a seperate schedule than your normal backup.
I hope this information helps you get the results you are seeking.
Kind Regards,
Brendan
Edited by: Brendan O'Brien on Sep 2, 2008 2:21 PM -
What's your biggest frustration with security right now?
I was wondering what’s your biggest frustration with security right now? I write a security blog and was thinking about it. If you don't mind please share!
Thank you for your time!I am working with some random logs at work on a Windows computer. I am just learning bash script and cant figure this out. The lines I am lookin for contain error and launcher, and I would like the line on the log that contains both of those words to then be copied to a text document that I can reference later. If you all could help me out and maybe walk through what you are doing step by step. I am working hard to try and figure this out all to no avail.-Cant figure out how to grep for a word and then another-I then cant figure out how to copy the line to a new document so I can reference laterThank you so much in advance. I am working with some random logs at work on a Windows computer. I am just learning bash script and cant figure this out. The lines I am lookin for contain error and launcher, and I would like the line on the log...
-
1.) SCP
On my routers I have enabled SSH, which works just fine.
However making use of the enabled secure copy server with
ip scp server enable
seems a bit diffcult to me.
The scp server seems to run on the router, however I'm missing a tool to access it. Both, WinScp on Windows and scp on Linux fails to connect.
Any hints on how to get this to work?
2.) SSH
I like to use scripts to automate updating and getting the inventory of my devices, as well as debugging on a bulk of routers at once. For this purpose I'd like to use SSH, because of the needed confidentiality. However, I hate to always have to specify username and password for every single session. Is there a way to exchange keys and signatures, so the session can be established automagically?
Currently I'm working with PuTTY's plink on Windows, because it has the feature to specify the password with a command line switch. However, I don't like to save passwords in my scripts.
Any suggestions?think since ssh is working and scp is not, in order to avoid fragmentation issues, you can try to set the mss to 1300 and clear the df bit (replace with the internal interface of each router and set the right ip address for the client/server). For example, on the spoke:
access-list 199 permit ip host host
route-map DF_CLEAR permit 10
match address 199
set ip df 0
exit
int
ip policy route-map DF_CLEAR
ip tcp adjust-mss 1300
exit
I dont think there is a way to exchange keys and signature so that SSH session can be established automatically. -
Can not sincronize IPAD, there is an error in security copy
Since I upgrade Itunes, I can not sincronize the IPAD 2 with my notebook with Windows XP. The notebook and the Itune recognice the IPAD. When I tried to sincronize, there is a message from Itunes that this is not posible because there was an error to make de backup security copy. What can I do. Thanks for an answer.
I fixed it! Here's how:
I downloaded MICROSOFT FIX IT PROGRAM (IT'S FREE) and I REALLY RECOMMEND IT!
http://support.microsoft.com/fixit/
IT FIXED MY ERRORS FOR INSTALLING AND UNINSTALLING. I WAS NOT ABLE TO PROPERLY UNINSTALL ITUNES/BONJOUR ECT.
THEN I REINSTALLED AND IT WORKED!
I have trying to updat my itunes for almost a year I think. So I am excited!!!! -
how can I get last visited pages on 08/06/12. I can't see it in my history. Is there any archives with please give that history. (only need amazon.co.uk)
hello the history is the only place where firefox stores the visited pages. change your settings in firefox > options > privacy when you want to keep the visited sites in the future & make sure that no external programs (like security or "tune-up" software) is clearing the history either. when firefox is launched in private borwsing mode, it won't keep history information for this session.
[[Settings for privacy, browsing history and do-not-track]]
Maybe you are looking for
-
Appending to new line in text file
I am trying to append text to a new line to a file. I set the append parameter to true and I try to output the new line character after I write the string to the file. However it is still appending the next string to the end of the first rather than
-
Deifferent GL account for excie, CVD in case of Depot plant
Hi, As in case of manufacturing plant as per the GL account determination set in CIN setting, after catpturing of excise duty in J1IEX, the corresponding amount of excise duty are posted to the Gl account which are mention in CIN setting, and tha
-
Why can't i sync my ibooks on my iPad to my laptop?
why doesn't my ibooks and pdf files i have on my ipad sync to my macbook pro with icloud. I have all the settings to do so. can anyone help me?
-
Trying to make a photobook but can't get pages to open by double clicking. Photos from Iphoto 9.6. Help anybody?
-
Trying to install flashplayer 10 it says I need to close mozilla firefox how do I do that?
I am trying to install flash player # 10 and get a warning that I need to close mozilla firefox can you tell me how to do that?