Powershell Copy-file: Username & Password

I am very new to powershell (just a couple days). I'm sure its very simple, but cannot find any articles with a clear description.I am working on a script to push one file to multiple PC's listed in a text file. All the machines have the same admin account and password. How can I incorporate the login into the script so it doesn't prompt each time? Here is what I have so far.Thanks in advance for any help!Powershell$computers = Read-Host "Enter Location of .txt File"$source = Read-Host "Enter File Source"$dest = Read-Host "Enter File Destination"Get-Content $Computers | foreach {Copy-Item $Source -Destination \\$_\c$\$Destination}
This topic first appeared in the Spiceworks Community

sorry - I should of put that in my first post...
I tried the ip ftp username and password but it didn't like the commands. Is there somethign else I'm missing that I ned to do first ?
Here's the error I'm getting when trying ip ftp username
mensa# config t
Enter configuration commands, one per line. End with CNTL/Z.
mensa(config)# ip ftp username
^
% invalid command detected at '^' marker.
mensa(config)# ip ftp ?
% invalid command
mensa(config)# ip ?
access-list Configure ip access list
default-gateway Configure ip default gateway
default-network Configure ip default network
domain-list Add additional domain names
domain-lookup Enable/Disable DNS
domain-name Specify default domain name
name-server Specify nameserver address
route Configure static routing
routing Enable ip routing
tcp Enable ip tcp path-mtu-discovery
mensa(config)# ip
I can ftp the file no problem using anonymous username/password when prompted, I'm just trying to pass that info in without being prompted.
Thanks
Will rate the posts once I get to the botto of this ;-)

Similar Messages

  • Copying files from local computer to a remote server which is not in Domain and with username and password?

    "I have one workstation with static IP, Wants to create batch file to log in to this,using user name and password, copy back up files from that workstation to my desktop with batch file, please help
    I am currently using batch file for back up for domain servers with robocopy commands in batch file  but one of the workstation is not in domain and has static ip , also it has username and password,
    Wants to create batch file on my desktop to log in this server---with username and password,, copy files from particular folder and paste it on my desktop in particular folder or auto create that folder,
    please help, "
    P Dave

    JRV,
    I can understand that, 1stly I am not a scripting guy, I know very very basic of this,
    2ndly, I need help , I am not asking anyone here to write code for me, I have already wrote that but its not doing which its suppose to do,
    check below screen shot, after running suggested script, it has mapped drive ,
    now I do not want to do that, I want just files to copy from that machine to my machine, and want script which I can run from any PC,
    Tried with UNC PATH as well, but not making any difference, its keep mapping that server drive to my computer
    P Dave
    JRV,
    I can understand that, 1stly I am not a scripting guy, I know very very basic of this,
    2ndly, I need help , I am not asking anyone here to write code for me, I have already wrote that but its not doing which its suppose to do,
    check below screen shot, after running suggested script, it has mapped drive ,
    now I do not want to do that, I want just files to copy from that machine to my machine, and want script which I can run from any PC,
    Tried with UNC PATH as well, but not making any difference, its keep mapping that server drive to my computer
    P Dave
    Bill - he still sees that "connection" although it isn't mapped it is attached temporarily.
    P - Log off and log back on and the attached connection will be gone.  It is temporary.   Again - knowing the basics of WIndows would let you know this.
    We have given you all of the answers that are possible.  There is no other way unless you have installed things like PowerShell and PowerShell remoting or an FTP server.
    If you do use a drive it can be just as easily deleted after you have finished the copy.
    Again: "NET USE /?" will tell you all of the options.
    Saying you know nothing is not an excuse for not thinking or looking more deeply into the suggestions made by those trying to help you.  This is not a MIcrosoft support forum or help desk.  It is a forum for admiinistrative scripting and assumes
    that those coming here are technically trained or experienced in the basics of Windows technology.
    ¯\_(ツ)_/¯

  • ORA-01017: invalid username/password; how to find out orapwd files 's pwd

    Hi, gurus,
    I have this error after I copied primary db orapwd files over to standby instance and tried to log in sys as sysdba :
    ORA-01017: invalid username/password; logon denied
    Is this means the sys password I provided is not the one generated as per orapwd utility?
    however I can log in to sys/password as sysdba if I set the oracle sid environemnt to that db.
    Anybody help here?
    Thanks.

    Hello;
    In that case you would have to change the SYS password at the Primary ( so you know it ) and then do the copy and rename again.
    Don't forget to stop apply on the standby and then shutdown and restart on the new password file. ( or you will have issues )
    Proof :
    Re: Transport service doesn't work with error  ORA-16191
    Best Regards
    mseberg
    Double check of my notes
    ORA-01017
    Change the sys password in the primary database using the alter system command, it updates the password file in the ORACLE_HOME of the primary database, it doesn't update password file in the standby database.
    In Oracle 10 you can create a password file. In Oracle 11 you must move a new copy to the standby.
    Edited by: mseberg on Jul 6, 2012 6:30 AM

  • ORA-01017: invalid username/password after DB copy

    I am trying in my DR server. i am getting the following error ORA-01017: invalid username/password.
    I have install SAP 4.7, windows 2000 adv , Oracle 9.2 (same as my Productin). then copied only the control files and the data files to the new location. both systems are the same the only diffreance is the production system is in domain and DR is not on the Domain
    I cannot put the DR in domain as the name, SID, Noumber are the same as production. how can change this and get the DR server up and working ?
    Is there a better way for this ?

    Hi Rehan,
    If everything is identical on both servers, and the only difference is in the domain, then you are probably hitting an OPS$ issue.
    The OPS$ usernames in the DB should look like
      - In the primary host (included in the domain)
         OPS$DOMAIN\<SID>ADM
         OPS$DOMAIN\SAPSERVICE<SID>
      - In the DR host (out of the domain)
         OPS$<SID>ADM
         OPS$SAPSERVICE<SID>
    I assume the OS users (sidadm and sapservicesid) are also identical on both hosts.
    Good luck
    Alfonso

  • System copy : ORA-01017: invalid username/password; logon denied

    Hello SAPiens,
    I have to perform a system copy of Bank analyzer 6, NW7.1, ABAP stack only on AIX 5.3, MCOD oracle 10.2.0.4 DB. I'm arriving to the sapinst parameters screen asking for the securestore key. The key is accepted, then it asks for the JAVA components DVD. An issue occurs after this step (JVM is uncompressed then tries to access the DB). Here is th UTL_load_usage :
    cat UTL_load_usages.log
    <!--LOGHEADER[START]/-->
    <!--HELP[Manual modification of the header may cause parsing problem!]/-->
    <!--LOGGINGVERSION[1.5.7.1006]/-->
    <!--NAME[UTL_load_usages.log]/-->
    <!--PATTERN[UTL_load_usages.log]/-->
    <!--FORMATTER[com.sap.tc.logging.TraceFormatter(%24d %7s: %m)]/-->
    <!--ENCODING[UTF8]/-->
    <!--LOGHEADER[END]/-->
    Aug 20, 2010 5:51:50 PM  Info   : Successfully parsed!
    Aug 20, 2010 5:51:50 PM  Info   : Executing command Export...
    Aug 20, 2010 5:51:50 PM  Info   : Establishing DB connection...
    Aug 20, 2010 5:51:53 PM  Path   : Exception : The DataBase is down or the connection parameters are wrong: -sid=BA3 -dsn=jdbc/pool/BA3 -ssprops=/usr/sap/BA3/SYS/global/security/data/SecStore.properties -ssk=/usr/sap/BA3/SYS/global/security/data/SecStore.key -keyphrase=null
    java.lang.Exception
            at com.sap.exception.BaseExceptionInfo.traceAutomatically(BaseExceptionInfo.java:1230)
            at com.sap.exception.BaseExceptionInfo.<init>(BaseExceptionInfo.java:457)
            at com.sap.exception.BaseException.<init>(BaseException.java:303)
            at com.sap.sl.ut.infoprovider.exceptions.UTInfoException.<init>(UTInfoException.java:99)
            at com.sap.sl.ut.manager.persistence.db.DataBaseInfoFactory.connect(DataBaseInfoFactory.java:373)
            at com.sap.sl.ut.manager.persistence.db.DataBaseInfoFactory.constructSystemInfo(DataBaseInfoFactory.java:776)
            at com.sap.sl.ut.manager.command.Export.executeExportKDB(Export.java:57)
            at com.sap.sl.ut.manager.command.Export.execute(Export.java:81)
            at com.sap.sl.ut.manager.command.Command.exec(Command.java:88)
            at com.sap.sl.ut.manager.UtlMain.exec(UtlMain.java:59)
            at com.sap.sl.ut.manager.UtlMain.main(UtlMain.java:55)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:161)
    Caused by: java.sql.SQLException: ORA-01017: invalid username/password; logon denied
            at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
            at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
            at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:283)
            at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:278)
            at oracle.jdbc.driver.T4CTTIoauthenticate.receiveOauth(T4CTTIoauthenticate.java:790)
            at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:362)
            at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:420)
            at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:165)
            at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35)
            at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:801)
            at com.sap.sql.connect.factory.DriverPooledConnectionFactory.createVendorConnection(DriverPooledConnectionFactory.java:50)
            at com.sap.sql.connect.factory.DriverPooledConnectionFactory.getPooledConnection(DriverPooledConnectionFactory.java:37)
            at com.sap.sql.connect.datasource.DBDataSourceImpl.createPooledConnection(DBDataSourceImpl.java:677)
            at com.sap.sql.connect.datasource.DBDataSourceImpl.newPooledConnection(DBDataSourceImpl.java:626)
            at com.sap.sql.connect.datasource.DBDataSourceImpl.getConnection(DBDataSourceImpl.java:105)
            at com.sap.sql.connect.OpenSQLDataSourceImpl.getConnection(OpenSQLDataSourceImpl.java:202)
            at com.sap.sl.ut.manager.persistence.db.DBConnection.connectViaSecureStore(DBConnection.java:159)
            at com.sap.sl.ut.manager.persistence.db.DBConnection.connect(DBConnection.java:171)
            at com.sap.sl.ut.manager.persistence.db.DataBaseInfoFactory.connect(DataBaseInfoFactory.java:371)
            at com.sap.sl.ut.manager.persistence.db.DataBaseInfoFactory.constructSystemInfo(DataBaseInfoFactory.java:776)
            at com.sap.sl.ut.manager.command.Export.executeExportKDB(Export.java:57)
            at com.sap.sl.ut.manager.command.Export.execute(Export.java:81)
            at com.sap.sl.ut.manager.command.Command.exec(Command.java:88)
            at com.sap.sl.ut.manager.UtlMain.exec(UtlMain.java:59)
            at com.sap.sl.ut.manager.UtlMain.main(UtlMain.java:55)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:161)
    Aug 20, 2010 5:51:53 PM  Info   : Severe (database) error. Return code: 64
    I guess sapinst retreives the connection data from the securestore, but fails using it...
    The DB is up and running. I checked Oracle users, none of them are locked.
    Can anyone kindly advice or provide a search path for shooting this issue ?
    Thank you already,
    Eric

    Hello Kiran,
    Thank you for your advice.
    the password is correct :
    #/sapmnt/BA3/global/sltools> ./checkKeyPhrase.sh -f /sapmnt/BA3/global/security/data/SecStore.properties
       INFO: Loading tool launcher...
       INFO: [OS: AIX] [VM vendor: SAP AG] [VM version: 5.1.015] [VM type: SAP Java 64-Bit Server VM]
       INFO: Main class to start: "com.sap.inst.checkKeyPhrase.CheckKeyPhrase"
       INFO: Loading 27 JAR files: [./sharedlib/checkKeyPhrase.jar, ./sharedlib/jdbc.jar, ./sharedlib/jload.jar, ./sharedlib/jload_core.jar, ./sharedlib/jperflib.jar, ./sharedlib/jsizecheck.jar, ./sharedlib/sap.com~sl.ut.infoprovider_lib.jar, ./sharedlib/sap.com~sl.ut.manager.offline.jar, ./sharedlib/sap.com~tc~antlr.jar, ./sharedlib/sap.com~tc~bl~iqlib~impl.jar, ./sharedlib/sap.com~tc~bl~jdsr~jdsr.jar, ./sharedlib/sap.com~tc~bl~offline_launcher~impl.jar, ./sharedlib/sap.com~tc~bl~opensql~implStandalone.jar, ./sharedlib/sap.com~tc~bl~sl~utility.jar, ./sharedlib/sap.com~tc~dd~db~dictionarydatabase~implDictionaryDatabase.jar, ./sharedlib/sap.com~tc~exception.jar, ./sharedlib/sap.com~tc~je~configtool.jar, ./sharedlib/sap.com~tc~je~offlineconfiguration~impl.jar, ./sharedlib/sap.com~tc~logging~java~impl.jar, ./sharedlib/sap.com~tc~sapxmltoolkit~sapxmltoolkit.jar, ./sharedlib/sap.com~tc~sdt~cvl~impl.jar, ./sharedlib/sap.com~tc~sec~secstorefs~java~core.jar, ./../security/lib/tools/iaik_jce.jar, ./../security/lib/tools/iaik_jsse.jar, ./../security/lib/tools/iaik_smime.jar, ./../security/lib/tools/iaik_ssl.jar, ./../security/lib/tools/w3c_http.jar]
       INFO: Start
    Key phrase::::::::::::
    The key phrase is correct.
    I guess sapinst is retrieving the DB  password from the securestore, tries to connect but gives back the incorrect password error message. But how can that DB password be incorrect if the system is up and running?
    What is the DB user name sapinst retreives from the securestore ?
    Kind regards,
    Eric

  • Copy file from local system to Azure VM using powershell

    Hi
    Is there a simple powershell command to copy a small file from local computer to Azure VM. Point to Site is not an option for me.
    I am hoping for something simple like
    Copy-Item C:\Wabash\Logfiles\trasfer.txt -Destination C:\Presentation -ConnectionUri $uri -Credential $credential
    similar to Invoke-Command
    The only other option i have seen is 
    http://www.mattwrock.com/blog/copy-files-from-local-computer-to-an-azure-vm
    which i fell for my purpose is over kill.

    Hi,
    I will mark Ed's post as answer, if you fount that doesn't give you help, please feel free unmark it and follow up with more information.
    Best Regards,
    Jambor
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • SDK Trunk. Update my local copy has started asking for username/password

    SDK Trunk. Update my local copy has started asking for username/password
    these has been happening on and off for a few days now.
    when i click update on my local copy of the sdk ready to do my morning build I've started to be asked for a username and password. I do have a username and password for sandbox and patching etc but entering this has no effect.
    are there times of day when the trunk is locked or something like that? This is not happening all the time but it is several times a day.
    has anyone any idea why this is happening
    Ive don e all the usual things, clean my local version, grabbed a totally new version etc
    im on windows using TortoiseSVN(which is always using a current build)
    cheers
    g

    Ive had this same issue on and off across all the open source svn
    im yet to find any pattern apart from the fact that the auth error only ever shows the root of the svn request.
    Ie http://opensource.adobe.com/svn/opensource/
    Now im not sure if thats just the way the reporting ui works of if it indicates that somewhere in the update it starts to trigger the url rot and thats where the auth request gets triggered. This may be total nonsense. Just a thought.

  • RDS 2012 - Embed username/password in RDP file

    Hi all,
    I have tested editing an RDP file internally and embedding a username/password(hashed) in it so that it automatically logs on.
    This works fine from a PC on the network.
    I've tried to do the same from a PC connecting in through an RDS Gateway but it prompts for a password when launching the RDP file. Is it possible to embed the username/password(hashed) when connecting via a gateway?
    Thanks,
    Paul.

    Hi Paul,
    No, the credentials in the rdp file cannot be used for RD Gateway.
    -TP

  • How do I retrieve my password and Id if I forgot or lost the hard copy file?

    How do I retrieve my password and Id if I forgot or lost the hard copy file?

    If you can't remember your ID, you can try to find it as explained here: http://support.apple.com/kb/HT5625.  If you find the ID, you can then reset the password as explained here: http://support.apple.com/kb/HT5787.

  • Permissions problem after using Migration Assistant - unable to copy files

    I have a PowerBook G4 and 2 iMac G5 desktops - one iMac at home and one at work. I've had the iMac at home and the PowerBook for a while. The iMac at work is one I've just inherited from another user. Both are exactly the same model - 2Ghz iMac G5 (ambient light sensor). All 3 machines are running Mac OS X 10.4.6.
    I decided to use Migration Assistant to transfer my Admin user account on the PowerBook to my work iMac G5, all of which worked great. So I now have an exact copy of the user folder from my PowerBook on my work iMac G5, and consequently the same combination of username/password.
    When I mount the drive from my PowerBook on my work iMac via AFP I can copy files from the PowerBook to the iMac. But if I try to copy the file back to the PowerBook I receive the error "The operation cannot be completed because you do not have sufficient privileges for some of the items". The file does appear on the PowerBook, but it is 0K and therefore useless.
    Worse, if I'm replacing a file on the PowerBook, I get the usual "An item named "blah" already exists in this location..." dialog. If I click Yes to replace the file it is wiped, but then the permission error pops up leaving me with a 0K file on the PowerBook and no original.
    If I mount the work iMac drive on my PowerBook I see exactly the same issue - i.e. I can copy to the local machine from the mounted drive. But I cannot copy anything back without receiving the permissions error.
    My home iMac G5 was not set up using migration assistant, but I do use exactly the same combination of username/password. It does not exhibit the same behaviour. I can mount the PowerBook drive on the home iMac and happily copy files back and forth with no permission errors at all. And the same if I mount the home iMac drive on the PowerBook - no problems.
    So I'm guessing that this behaviour is a result of using Migration Assistant to create the user account on my work iMac. If I log into another account on my work iMac, mount the PowerBook drive and copy a file to the PowerBook it works fine. The problem only occurs in the account created by Migration Assistant.
    Does anyone know how to resolve this, short of having to create a new user account on the work iMac and move all my files from one account to the other?
    PowerBook 12" G4 867Mhz & 2 X iMac 20" G5 2Ghz   Mac OS X (10.4.6)  

    Hi,
    you need to adjust the permissions for the files on your harddrive.
    I think you have serveral users in different groups that may result a permission conflict.
    - Put or copy your files you want to to a new folder.
    - Use this tool, its easy to use for ppl that are not familiar with unix permission setup over the terminal: http://www.macupdate.com/info.php/id/6440
    - give all files recursively all permissions (for testing) (777, owner, group, others)
    - then test the copy procedure
    this should help
    Regards Thorsten

  • ORA-01017: invalid username/password;

    Hi there,
    I have set up an Inbound Data Exchange Session so that my program can send alerts to be displayed on OEM(Oracle Enterprise Manager), as specified in http://download-uk.oracle.com/docs/cd/B16240_01/doc/em.102/b32521/em_data_ex.htm.
    I have succesfully create an Outbound Data Exchange Session where my program receives new alerts from OEM, but im encountering an issue when i send alerts to OEM. I have checked the emoms.trc file and its complaining about an invalid username and password for the database, but when i set up the Outbound Data Exchange Session, there is nowhere i can specify the database credentials!
    Is there anyway i could change the database so it can be accessed without password? I have copy pasted the emoms.trc file below.
    2008-03-03 10:44:41,202 [JobWorker 3265:Thread-31] ERROR jobs.ReceiveMetricDataViaJms validateMsgsAndInsertEvents.561 - Cannot insert alert for oem-winxp.int-link.com : ORA-01017: invalid username/password; logon denied
    2008-03-03 10:44:41,468 [JobWorker 3265:Thread-31] ERROR genericImpl.Authentication_State executeUsing.104 - Authentication_State::executeUsing(ExecutionContext ec, InputEvent ie) >> ORA-01017: invalid username/password; logon denied
    2008-03-03 10:44:41,468 [JobWorker 3265:Thread-31] FATAL consumingExternalAlerts.InboundEventProcessor notify.115 - class oracle.sysman.emWebservices.inbound.consumingExternalAlerts.InboundEventProcessor::notify(Alert) >> An exception occured while processing alert. Alert details below, followed by exception stack dump:
    PRODUCER_ID=
    KEY1=
    KEY2=
    KEY3=
    KEY4=
    KEY5=
    TARGET_TYPE=host
    TARGET_NAME=oem-winxp.int-link.com
    CATEGORY=
    METRIC_NAME=
    VALUE=
    SEVERITY=Critical
    MESSAGE=NEW ALERT TEST!!!
    TIMESTAMP=null
    oracle.sysman.emWebservices.inbound.finiteStateMachineFramework.StateExecutionException: oracle.sysman.emWebservices.inbound.finiteStateMachineFramework.genericImpl.AuthenticationException: ORA-01017: invalid username/password; logon denied
         at oracle.sysman.emWebservices.inbound.finiteStateMachineFramework.genericImpl.Authentication_State.executeUsing(Authentication_State.java:105)
         at oracle.sysman.emWebservices.inbound.finiteStateMachineFramework.Machine.executeUsing(Machine.java:31)
         at oracle.sysman.emWebservices.inbound.consumingExternalAlerts.InboundEventProcessor.notify(InboundEventProcessor.java:102)
         at oracle.sysman.eml.bam.jobs.ReceiveMetricDataViaJms.validateMsgsAndInsertEvents(ReceiveMetricDataViaJms.java:558)
         at oracle.sysman.eml.bam.jobs.ReceiveMetricDataViaJms.executeCommand(ReceiveMetricDataViaJms.java:240)
         at oracle.sysman.emdrep.jobs.JobWorker.runCommand(Dispatcher.java:825)
         at oracle.sysman.emdrep.jobs.JobWorker.run(Dispatcher.java:708)
         at oracle.sysman.util.threadPoolManager.WorkerThread.run(Worker.java:260)
    Caused by: oracle.sysman.emWebservices.inbound.finiteStateMachineFramework.genericImpl.AuthenticationException: ORA-01017: invalid username/password; logon denied
         ... 8 more
    2008-03-03 10:44:41,468 [JobWorker 3265:Thread-31] ERROR jobs.ReceiveMetricDataViaJms validateMsgsAndInsertEvents.561 - Cannot insert alert for oem-winxp.int-link.com : ORA-01017: invalid username/password; logon denied
    Many thanks,
    Mo.

    Do you have write the preferred credentials for the target database?
    you must select PREFERENCES --> CREDENTIALS and write the credentials for:
    agent
    host
    database
    The trc of emoms show that you dont have credentials for the database of repository. Any action of grid control that is executed in automatic mode need that you introduced the credentials for the targets
    My suggestion is that write and test the credentials for all the targets
    Regards

  • XDB  username & password Required in Apex 4.0.1

    Hello,
    i have installed the Apex 4.0.1 on Oracle 11g R 2 windows 2003 R2.
    i installed the apex 4.0.1 using Embendded PL/SQL Gateway method.
    after installation when i run in url = http://localhost:8080/pls/apex/apex_admin it pop up one small window which required XDB username & password.
    i do not understand what to do to resolve this issue.
    i installed the apex by follwoing steps.
    please help.
    Thanks
    ---- Apex Installation Steps ---
    @apexins SYSAUX SYSAUX TEMP /i/
    @apxchpwd
    @apex_epg_config.sql c:\apex_4.0.1
    ALTER USER ANONYMOUS ACCOUNT UNLOCK;
    EXEC DBMS_XDB.SETHTTPPORT(8080);
    DECLARE
    ACL_PATH VARCHAR2(4000);
    ACL_ID RAW(16);
    BEGIN
    -- Look for the ACL currently assigned to '*' and give APEX_040000
    -- the "connect" privilege if APEX_040000 does not have the privilege yet.
    SELECT ACL INTO ACL_PATH FROM DBA_NETWORK_ACLS
    WHERE HOST = '*' AND LOWER_PORT IS NULL AND UPPER_PORT IS NULL;
    -- Before checking the privilege, ensure that the ACL is valid
    -- (for example, does not contain stale references to dropped users).
    -- If it does, the following exception will be raised:
    -- ORA-44416: Invalid ACL: Unresolved principal 'APEX_040000'
    -- ORA-06512: at "XDB.DBMS_XDBZ", line ...
    SELECT SYS_OP_R2O(extractValue(P.RES, '/Resource/XMLRef')) INTO ACL_ID
    FROM XDB.XDB$ACL A, PATH_VIEW P
    WHERE extractValue(P.RES, '/Resource/XMLRef') = REF(A) AND
    EQUALS_PATH(P.RES, ACL_PATH) = 1;
    DBMS_XDBZ.ValidateACL(ACL_ID);
    IF DBMS_NETWORK_ACL_ADMIN.CHECK_PRIVILEGE(ACL_PATH, 'APEX_040000',
    'connect') IS NULL THEN
    DBMS_NETWORK_ACL_ADMIN.ADD_PRIVILEGE(ACL_PATH,
    'APEX_040000', TRUE, 'connect');
    END IF;
    EXCEPTION
    -- When no ACL has been assigned to '*'.
    WHEN NO_DATA_FOUND THEN
    DBMS_NETWORK_ACL_ADMIN.CREATE_ACL('power_users.xml',
    'ACL that lets power users to connect to everywhere',
    'APEX_040000', TRUE, 'connect');
    DBMS_NETWORK_ACL_ADMIN.ASSIGN_ACL('power_users.xml','*');
    END;
    commit;
    SELECT par_value FROM ctxsys.ctx_parameters WHERE par_name = 'FILE_ACCESS_ROLE';
    CREATE ROLE APEX_URL_DATASTORE_ROLE;
    GRANT APEX_URL_DATASTORE_ROLE to APEX_040000;
    EXEC ctxsys.ctx_adm.set_parameter('file_access_role', 'APEX_URL_DATASTORE_ROLE');
    ALTER SYSTEM SET JOB_QUEUE_PROCESSES =1000;
    ALTER SYSTEM SET SHARED_SERVERS = 5 SCOPE=BOTH;

    Hi All,
    there is some thing wrong in documentation of Apex 4.0.1
    when i read to configure Embadded Pl/SQL gateway i followed everything from documentation and after instllation it is mentioned how to login to Apex as follwoing.
    http://hostname:port/pls/apex/apex_admin
    in following statment which i copied from documentation does not describe anything for "PLS". which is making confussion to me that there is something i missed during installation.
    3.4.12.1 Creating a Workspace Manually
    To create an Oracle Application Express workspace manually:
    1.Log in to Oracle Application Express Administration Services. Oracle Application Express Administration Services is a separate application for managing an entire Oracle Application Express instance. You log in using the ADMIN account and password created or reset during the installation process.
    a.In a Web browser, navigate to the Oracle Application Express Administration Services application.
    Because your setup uses the embedded PL/SQL gateway, go to:
    http://hostname:port/pls/apex/apex_admin
    Where:
    hostname is the name of the system where Oracle XML DB HTTP server is installed.
    port is the port number assigned to Oracle XML DB HTTP server. In a default installation, this number is 8080.
    apex is the database access descriptor (DAD) defined in the configuration file.
    where as for installation chossing HTTP server it states to login by following
    3.3.12.3 Logging in to Your Workspace
    Once you create a workspace, you must log in to it using your login credentials (that is, the workspace name, user name, and password).
    See Also:
    See "Creating Workspaces" and "Managing Workspace Requests" in Oracle Application Express Administration Guide
    To log in to your workspace:
    1.In a Web browser, navigate to the Oracle Application Express Login page.
    Because your setup uses the Oracle Application Express Listener, go to:
    http://hostname:port/apex
    Where:
    ◦hostname is the name of the system where Oracle XML DB HTTP server is installed.
    ◦port is the port number assigned to Oracle HTTP Server. In a default installation, for Oracle WebLogic Server this number is 7001, in OC4J this number is 8888, in Oracle Glassfish Server this number is 8080. These defaults are correct at the time this document was written. Please review the related Web server documentation for the latest default port if necessary.
    ◦apex is the mount point defined in the Web Server configuration file.
    -what is your opnion ??
    please reply
    Suhaib

  • Hyperion DIM (Data integn mgmt/Informatica) - Create Workflow to copy files

    Hello,
    I understand this is an ODI forum but I could not find a Oracle Hyperion DIM forum and so I thought some of you might know DIM. This should be easy for those who have Informatica experience.
    So we are using WinSCP for copying files from one folder to the other.
    Those who do not know what WINSCP is - it is a simple to tool used to conduct secure file transfer b/w local and remote desktop.
    We are doing this file copy from one folder to the other on a repeat basis and we would like to automate the workflow using DIM.
    Well, the task is that I basically log on to WinSCP by providing a hostname, username and password and from a specific folder I have to pick up a file and drop it into a different folder.
    I need to create a workflow to do this so that it may be automated. Can anybody suggest ideas on which tasks I may use within DIM and the general approach? This would be great help. Thanks.
    -- Adi

    Hello,
    I understand this is an ODI forum but I could not find a Oracle Hyperion DIM forum and so I thought some of you might know DIM. This should be easy for those who have Informatica experience.
    So we are using WinSCP for copying files from one folder to the other.
    Those who do not know what WINSCP is - it is a simple to tool used to conduct secure file transfer b/w local and remote desktop.
    We are doing this file copy from one folder to the other on a repeat basis and we would like to automate the workflow using DIM.
    Well, the task is that I basically log on to WinSCP by providing a hostname, username and password and from a specific folder I have to pick up a file and drop it into a different folder.
    I need to create a workflow to do this so that it may be automated. Can anybody suggest ideas on which tasks I may use within DIM and the general approach? This would be great help. Thanks.
    -- Adi

  • How to copy files from 10.7 iMac to 10.4 G5 thru network / sharing?

    At work we have just bought 3 x New Intel Macs, 10.7. We are keeping an old G5 10.4 to use as a back up / archive. 2 of the Intels can connect and copy files backwards and forwards, however, when I try the same I get this message 'Finder wants to make changes. Type your password to allow this'. I type in my password and it says it already exists... Then I can't cancel the copying and it copies the file sometimes 2000+ times, until I Force Quit.
    I am trying to copy to my old G5 and I thought it might have a problem due to short user names as it was the same as my new Intel. I have changed the short username on old but still no joy.
    I have gone thru the normal, tyrn sharing on etc on both macs, and have gone to 'get info' and change all access to 'Read and Write' but no joy.
    As I said, the other 2 new Intels can copy no problem.
    I'm sure it's just a button I have to click, but cannot find it.
    Any suggestions?
    Thanks

    The key is that users != sites. I should have looked in /etc/apache2/sites and not /etc/apache2/users for the relevant file. (There is a user with the same name as the site.) Adding my 3 lines to the correct file works like a charm!

  • Problem copying file from MacOSX 10.6.7 to WindosXP shared folder

    Hello Group,
                   I recently switched to mac os and I need to frequently copy files from mac to Windows XP shared network folder. I am getting following error
    Quote: 
    One or more items can’t be copied to “destfolder(in WinXP)” because you don’t have permission to read them. Do you want to copy the items you are allowed to read?
    These are the steps I followed:
    -> Finder-> Go to server-> SMB: Windows XP IP
    -> Open the destination folder in WIndows system
    -> Copy files from mac system to Windows system connected as per above steps
    I am struggling to copy files. ANy help would really be appreciated.
    regards,
    RB

    You mount the remote windows directory and copy files conveniently.
    mount -t cifs -o username=<win user>,password=<win pwd> //winserver/dir /winserver/dir
    where <win user> : Remote Windows Login Id
    <win pwd>: Windows login pwd
    //winserver/dir : Remote windows server and directory, you would like to access. You need to share it before mounting in MAC.
    /winserver/dir : Local diectory. You need to create it before mounting.
    Let me know if you need more info

Maybe you are looking for

  • Error while loading shared libraries: libopenal.so.0: ...

    Hello While starting a few games(for example Spring and Tremolous) I get the following error: error while loading shared libraries: libopenal.so.0: cannot open shared object file: No such file or directory and the start interrupts. How to start these

  • Apple Care works? For me don't

    Apple Care is not working for me. I call then and they are saying that they can't unfortunately resolve my problem. I have an Imac 21.7 and it's with an yellow mark behing the glass of the monitor. I bought the computer on agost 20th, and they are sa

  • HT1689 my iphone wont sync my music...

    i plugged it in, and in my itunes my phone showed up and i had just got some new music so i normally just drag the song to my iphone thing on the side.. but now all of a sudden when im doing that its not going onto my phone /: heelp ?!

  • What is "other" data taking up space on my Mac and how do I delete it?

    A lot of my Mac's memory is occupied by "other" data and I don't understand what it is. Strange thing is, the size of my whole user folder (I'm the only user of this computer) is only 150Gb, when the occupied memory space on my Mac is around 250Gb. S

  • Spotify does not play from all speaker

    hi there, im using  a Logitech Z906 1.5 sound system. when i play games, watch movies and so on, all my speakers are being used, but when i use spotify... the music only plays from my 2 front speakers. anyone able to help me?