OS command usage

Hi ALL,
i am working on a requirment for OS commands i have some doubt in this.we have a file sender FTP system in unix ,i am writing a shell script to find a file .
1)My doubt is where shoud i deply tht shell script ,is that in the PI systems server or FTP server ..?
2) in help document it say %f (file name)
%F (absolute file name including path) the file mentioned here is the actual data file name or .file name of the schell script .. ?
if can give me more insight on this will be very helpfull.
thanks
Souz

Hi Souz,
> We are using Linux as OS ..then do we need to write the OS command script in Linux.. ?
Linux is advanced of UNIX, so UNIX all commands should work on the Linux.
So write the UNIX shell script.
> and where we have to diploy this Script in the PI system.. ?
You can deploy this file any folder in the PI server, but in the communication channel you have to mention that file path.
Regards
Ramesh

Similar Messages

  • Info Spoke - Process Chain - OS Command usage help

    I am new to BW. My requirement is to extract the master data off of BW data targets on a weekly basis and ftp the files onto a different server.
    To meet this requirement, I am planning to create InfoSpoke(s), put it in a Process chain and using the OS Command ftp the files to different server.
    Is this the right way to do it or are there any better ways? If it is, I need help on where to give the target server name, user_id and PSW in the OS Command variant of Process Chain.
    Also, is it possible to schedule a Infospoke directly from the scheduler (Auotsys...) and still execute weekly/monthly?
    Thanks for your help in advance
    RK

    That's correct.  You'll define the command under the general services tab in the process chain transaction (It's labeled OS Command and is a silver circle thing with a blue dot in it).
    When you drag it into the process chain it will ask for a varient.  In the System Command field for this varient is where you'll define the actual command. (little pencil button next to it).  At this point you can call a script that does the copy or call an actual command that does the copy. 
    Might be easier to control with a script that does the work but if you want to call rcp/scp, the os command will be rcp and parameters will be the filename, etc.  If it's a script then you'll just enter the name of the script in the os command field.
    Hope this helps.
    -bill

  • Df command usage with Servlets

    I am trying to present cygwin df information in a web app running on Tomcat 5.0 using Java 1.5. When I run the class locally it returns the anticipated results, to include both all locally and remotely mounted drives actually networked drives (Windows 2003). When I run the same class within my web application it only returns the locally mounted drives. What am I missing??
    =====Here is my code=======
    public static synchronized long getStats(String type)
    String s, stringValue = null;
    long value = 0;
    try {
    // run the "df" command
    Process p = Runtime.getRuntime().exec("df -k");
    BufferedReader stdInput = new BufferedReader(new
    InputStreamReader(p.getInputStream()));
    // read the output from the command
    while ((s = stdInput.readLine()) != null) {
    if (s.indexOf("w:")!= -1){
    if (type.matches("totalDiskSpace")){
    stringValue = s.substring(21,31).trim();
    } else if (type.matches("usedDiskSpace")){
    stringValue = s.substring(31,41).trim();
    } else if (type.matches("availDiskSpace")){
    stringValue = s.substring(41,51).trim();
    } else if (type.matches("usedDiskPercentage")){
    stringValue = s.substring(52,54).trim();
    return value = new Long(stringValue).longValue();
    catch (IOException e) {
    System.out.println("exception happened - here's what I know: ");
    e.printStackTrace();
    } catch (InterruptedException e) {
    e.printStackTrace();
    return value;

    Thank you very much- It worked! :D
    For anyone with the same query, I put:
    System.setProperty("eclipse.directory", "C:\\Program Files\\ECLiPSe 5.10");
    Message was edited by:
    lil_alfy_alien

  • TOP command usage

    When using TOP, how does one scroll through the list of running processes. I can enlarge the terminal window but that is limited to the size of my screen.

    If top is running in continuous mode (where it refreshes the process list) then all you can see is one screenful of processes at a time.
    If you want to see all processes, use the -l 1 switch. You may need to run multiple samples (e.g. -l 2) if you want to capture CPU usage by process (since the CPU usage is calculated between refreshes you need at least two samples).
    I'm curious as to why you want this, though...?

  • Unix Command to change remote screen resolution

    greetings,
    well the topic pretty much says it all :
    I'm running ARD 2,2 on a 10.2.8 Server , from my remote admin box I get a recurring "attempt to reconnect" to the machine when controlling or observing the screen.
    I ran a report which list the servers screen resolution as 1600x1200 (holy smokes bullwinkle). This setting is not correct. I can fully interact with the server (thru the menus of ARD) and all services are running. The server is at the login screen ( as per ARD "current app").
    thank you

    First, you need to install a utility called cscreen (freeware) on the server (or any other workstation you want to control).
    Once you have that installed, here is the syntax for the Send Unix Command:
    Usage: cscreen [-d <depth>] [-x <width>] [-y <height>] [-r <refresh>] [-s <display>] [-v] [-m] [-f] [-l] [-h]
    [-d <depth>] : specifies the bit depth (bits per pixel)
    [-x <width>] : specifies the width in pixels
    [-y <height>] : specifies the height in pixels
    [-r <refresh>] : specifies the refresh rate in Hz
    [-s <display>] : specifies which display to use (defaults to main display)
    use a as the option to -s to specify the action on all displays
    [-v] : display valid modes (use -s to specify display or nothing for the default)
    [-m] : require an exact match
    [-f] : forces settings (ignores safety mechanisms; USE AT YOUR OWN RISK)
    [-l] : lists the current displays and modes
    [-p] : sets the requested display to have the menu bar
    [-h] : displays the usage
    Note: Using -p will change the display index so you will likely want to use -l again to show the current displays if you wish to use -p a second time.
    For example, to set to 1024x768:
    /pathtoutility/cscreen -x 1024 -y 768

  • How to use CTC debug command?

    As be known that hold ctrl+shift while clicks "help -> about CTC" above the CTC window resulting the debug window occurs.
    Does anyone know the debug command usage?
    Since we got a provisioning issue on the 15454-CE card which exists a "hidden" crossconnect on a port, and not shown on CTC.
    Any advice will be appreciated!
    Ricky

    The best way to look for cross connects is via TL1. Open the TL1 window and log in:
    act-user:::$::;
    rtrv-crs:::$;
    The hard part is getting the AID correct. For example, the old style OC48 cards would be "STS-6-1-all". You will have to spend some time in the TL1 manual to get the correct AID.
    Hope this helps,
    Tim

  • Version of Top Command?

    Anyone know what version of the "Top" command that OS X 10.5 Server is running?

    HP has a product named Sitescope, that loads up a bunch of commands to build performance testing documentation. Our HP rep was having problems with their OS X template running on one of our Xserves and wondered what version of the top command OS X 10.5 Server used.
    The answer is still not particularly relevant.
    If I were guessing, this was probably based on a ported HP-UX shell script, and there was either a change in one of the Leopard updates around top and/or there was a gap in the SiteScope testing for whichever Mac OS X Server 10.5 is running here; that the HP tool has encountered one of the many and various cases where different Unix boxes are implemented slightly different.
    (Yes, there are various differences between Mac OS X and HP-UX.)
    If you're not careful with your command usage and with your standards-compliance and particularly your command subset, then all manner of weirdnesses can arise when porting scripts around. And even if you are careful, there can still be the occasional platform-specific bug or a missed test.
    (There are so many good standards to choose from, too. Just to add to the fun of porting code.)
    Regardless of the version of top (and there are several very different families of top commands around), the answer here is that the HP SiteScope command script is going to need to be tweaked. HP will want to decide to bring along their own top command, switch to another data source (SNMP, etc) for the data, or they'll have to tweak their existing shell script to deal with whatever Mac OS X Server Leopard is returning for data. Or some other solution.
    Here is [the source code of the Mac OS X top command|http://www.opensource.apple.com/source/top>, if you want to hand a pointer to HP.

  • What is the proper way to talk a google calendar into my droid motorola? I am having problem entering google calendar appointments by voice command.

    When i talk to the phone it does not seem to know what i want it to do. I tell it to make a appointment but it then brings up websites to add to my phone for this purpose. I thought this phone was already setup for this. I have done the Google now thing and it still will not make a calendar entry???

    110+ Google Now Voice Commands You Can Use
    A lot of it is in proper voice command usage.

  • Group calendar on wiki doesn't work but individual calendars do.

    We have 10.6.3 server running as a OD master and I was looking to use the group calendaring feature of the wiki server. I go to the server using a web browser, sign in, and create a new wiki called "test". I then go into settings for the wiki and enable Calendar as one of the services. I save the settings and get a calendar link at the top of the page for the wiki. When I try to view the calendar I get the message in the middle of the page that says "Getting events from server ..." This never goes away.
    When I go to view the calendar for my user, it comes right up. It seems that I have things configured well enough for the web and iCal servers to talk to each other, but something is going wrong with the wiki portion.
    Since we are dealing with CalDav I started by using a web browser to diagnose the problem. I go to https://server1.jaxon.private:8443 and I can see that CalDav is working and I get the proper output. I try https://server1.jaxon.privat:8443/principals/users/username and I get all sorts of great info about the user. Finally I try https://server1.jaxon.private:8443/principals/wikis/test and I get an Internal Server Error. It makes sense that the webpage isn't working since the CalDav server isn't happy.
    The site access log has the following entries when I try to visit the calendar:
    10.0.1.20 - - [24/May/2010:14:44:48 -0600] "POST //server1.jaxon.private//server1.jaxon.private/RPC2 HTTP/1.0" 404 3754
    10.0.1.20 - - [24/May/2010:14:44:48 -0600] "POST //server1.jaxon.private//server1.jaxon.private/RPC2 HTTP/1.0" 404 3754
    10.0.1.108 - - [24/May/2010:14:44:47 -0600] "PROPFIND /principals/wikis/test/ HTTP/1.1" 500 201
    So there are a couple 404 not founds and a 500 Internal Sever error.
    I also get entries in the site error log:
    [Mon May 24 14:43:04 2010] [error] [client 10.0.1.108] File does not exist: /Library/WebServer/Documents/collaboration-availability, referer: https://server1.jaxon.private/groups/
    [Mon May 24 14:44:48 2010] [error] [client 10.0.1.20] File does not exist: /Library/WebServer/Documents/server1.jaxon.private
    [Mon May 24 14:44:48 2010] [error] [client 10.0.1.20] File does not exist: /Library/WebServer/Documents/server1.jaxon.private
    Some additional info about our configuration is below
    To start here is the output from changeip -checkhostname
    Primary address = 10.0.1.20
    Current HostName = server1.jaxon.private
    DNS HostName = server1.jaxon.private
    The names match. There is nothing to change.
    dirserv:success = "success"
    Under the iCal server section I have the Wiki Server listed as server1.jaxon.private with the SSL checkbox checked. Under Authentication I have type set to Any, Host Name as server1.jaxon.private, Port 8008, SSL set to Use, and SSL Port set to 8443.
    Under the Web server section I have 1 site enabled with a Host Name of server1.jaxon.private, IP Address of 10.0.1.20, and Port of 443. The Options, Realms, and Logging tabs all have the default values. Under security I have the SSL certificate configured. Under Aliases and Proxy are just the defaults, and Web Services has Wikis, Calendars, and change their password options.
    Any help would be appreciated.

    Apple has a command line equivalent to the Server Admin GUI application that conveniently enough is called serveradmin. If you open terminal on your machine and type:
    man serveradmin
    You'll get the manual page for the serveradmin command. This will run you through all the different arguments you can use with the command and has some examples of the command usage.
    If you type:
    sudo serveradmin settings calendar
    The sudo means super user do. This will temporarily escalate your privileges so you can run the command. It will then ask you for your password to verify your identity. When the command runs you will see all the different settings listed for the calendar service.
    To change the value of an item you would do something like the following:
    sudo serveradmin settings calendar:somesetting="new value"

  • Question about ant converter

    When I use ant converter, I get the following message:
    Usage: java [-options] class [args...]
    (to execute a class)
    or java -jar [-options] jarfile [args...]
    (to execute a jar file)
    where options include:
    -cp -classpath <directories and zip/jar files separated by ;>
    set search path for application classes and resources
    -D<name>=<value>
    set a system property
    -verbose[:class|gc|jni]
    enable verbose output
    -version print product version and exit
    -showversion print product version and continue
    -? -help print this help message
    -X print help on non-standard options
    It seems that this message is the usage of java interpreter. What is wrong with my settings? Thanks in advance.

    I use ant 1.3. I downloaded jakarta-ant-1.3-bin.zip following the link on http://java.sun.com/j2ee/tutorial/1_3-fcs/doc/J2eeTutorialPreface.html#46338.
    My environment setting is as follows:
    set path=c:\j2sdk1.4.0-beta3\bin\;c:\students\sheng\j2sdkee1.3.1\bin\;c:\j2sdk1.4.0-beta3\jre\lib;c:\students\sheng\ant\bin;%path%;
    set J2EE_CLASSPATH=C:\students\sheng\j2sdkee1.3.1\lib\
    set JAVA_HOME=c:\j2sdk1.4.0-beta3\
    set ANT_HOME=c:\students\sheng\ant\
    set J2EE_HOME=c:\students\sheng\j2sdkee1.3.1\
    I tried to run "ant converter" to compile the example code in c:\students\sheng\j2eetutorial\examples\src, but I got that error message (same with java command usage) whatever directory I run that "ant converter" command.
    Thanks a lot.
    Truly yours,
    Sheng

  • Populate BAM data object through adf form.

    I want to populate a BAM data object using adf form as we do in case of database table by creating a data control. How to do this?

    Hi Simanta
    1. I am seeing lot of posts from you regarding this Java to BAM Data Objects integration.
    2. What exactly are you trying to do. Dataobjects are very tightly coupled with actual Database component that is used to create that like Table or View etc.
    3. Best way is. Create a data object. Export that DataObject using "icommand". See docs for this command usage.It generate a pure .XML file with all the details like DataObject name, external referenced Database details (datasource name), external Table or View details. Then mapping for EACH column on this object and that database stuff. Just see the xml file, Its pretty straight forward. When you Export Reports also, it creates an XML File exactly like this only but with more details like all column Formatting information etc etc. Export one Report also and see that xml 4. file.
    4. Both above XML Files are stored in ORABAM Schema. Tables of interest are :SysIterDataset, SysIterParameter, SysIterParameterValue, SysIterReport etc.
    5. Oracle do NOT expose any Public APIs to handle above stuff. But if you really really want, you can always manipulate XML content and reload to those columns any time. Need to add few query parameters to get exact row like ReportId, or DataObject Id which are just PKs etc.
    Still, I am curious why and what is the usecase where you want to do all this from Java code. Because DataObject is a one time thing. And note that it is used in Report. So if you modify data object like remove a column, then Report will die.
    By the way, all the WebServices exposed may be for ReadOnly purposes. I am not sure if you have services to modify them.
    Thanks
    Ravi Jegga

  • Any way to embed a text file and retain the link?

    Hi everyone,
    I am embedding the contents of a text file using "Insert > Choose...". This works wonderfully, but it appears to just insert the contents and gives me no way to update the text if the original text file changes. In Word, I can insert the text file and have it retain the link, then I have the ability to update the field (or all files in the document) with updated wording from my source files.
    In case you're wondering, I'm exploring using Pages for authoring the user guides for my company's software. We include command usage statements in our documentation and we have a workflow that runs each command, capturing it's help output into a text file, then we include this in the user guide document. Obviously, having the ability to update the user guide document with updated usage syntax is a required piece of functionality. I would like to use Pages instead of Word, but I'm not sure it can do this.
    Thanks in advance!
    Brian

    No, Pages can't do it. It doesn't keep a link to the original text document. You have to replace the text when you have made changes.

  • SQL*Plus and NLS_DATE_FORMAT

    So, I haven't visited this topic in a long time, so I'm trying to refresh my memory on how everything works ...
    We set our NLS_DATE_FORMAT at the system level ... what ... 4 years ago to 'MM/DD/RR'. Despite the fact that I set this to something more commonly-used than the default of 'DD-Mon-RR', we've adopted the standard of always using TO_DATE() with an explicit format, just in case it's ever changed.
    There were some applications that missed the standard, and now that a driver (for ColdFusion) has been updated, these SQL statements are now failing.
    When I started looking into it, I realized that the system-level default of 'MM/DD/RR' should work fine. But, after experimenting in SQL*Plus and TOAD, I am thinking that either:
    1) the system-level format is not being used
    2) and/or there are login scripts which are setting these to something else
    Coincidentally, both SQL*Plus and TOAD return the exact same query results:
    SQL> select *
         from NLS_INSTANCE_PARAMETERS
         where parameter = 'NLS_DATE_FORMAT';
    PARAMETER                      VALUE
    NLS_DATE_FORMAT                MM/DD/RR
    SQL> select *
         from NLS_SESSION_PARAMETERS
         where parameter = 'NLS_DATE_FORMAT';
    PARAMETER                      VALUE
    NLS_DATE_FORMAT                DD-MON-RRSo I looked into the glogin.sql script (which both tools share), and there's nothing mentioned about the NLS_DATE_FORMAT
    -- Copyright (c) 1988, 2003, Oracle Corporation. 
    -- All Rights Reserved.
    -- NAME
    --   glogin.sql
    -- DESCRIPTION
    --   SQL*Plus global login "site profile" file
    --   Add any SQL*Plus commands here that are to
    --   be executed when a user starts SQL*Plus, or
    --   uses the SQL*Plus CONNECT command
    -- USAGE
    --   This script is automatically run
    -- Used by Trusted Oracle
    COLUMN ROWLABEL FORMAT A15
    -- Used for the SHOW ERRORS command
    COLUMN LINE/COL FORMAT A8
    COLUMN ERROR    FORMAT A65  WORD_WRAPPED
    -- Used for the SHOW SGA command
    COLUMN name_col_plus_show_sga FORMAT a24
    COLUMN units_col_plus_show_sga FORMAT a15
    -- Defaults for SHOW PARAMETERS
    COLUMN name_col_plus_show_param FORMAT a36 HEADING NAME
    COLUMN value_col_plus_show_param FORMAT a30 HEADING VALUE
    -- Defaults for SHOW RECYCLEBIN
    COLUMN origname_plus_show_recyc   FORMAT a16 HEADING 'ORIGINAL NAME'
    COLUMN objectname_plus_show_recyc FORMAT a30 HEADING 'RECYCLEBIN NAME'
    COLUMN objtype_plus_show_recyc    FORMAT a12 HEADING 'OBJECT TYPE'
    COLUMN droptime_plus_show_recyc   FORMAT a19 HEADING 'DROP TIME'
    -- Defaults for SET AUTOTRACE EXPLAIN report
    COLUMN id_plus_exp FORMAT 990 HEADING i
    COLUMN parent_id_plus_exp FORMAT 990 HEADING p
    COLUMN plan_plus_exp FORMAT a60
    COLUMN object_node_plus_exp FORMAT a8
    COLUMN other_tag_plus_exp FORMAT a29
    COLUMN other_plus_exp FORMAT a44
    -- Used to alter the TOAD environment so that users do not have to
    -- use the SET DEFINE OFF command prior to compiling code
    -- Charles Forbes 10.17.2005
    SET scan offIf I expressly go into either tool and execute, the following, setting the format to that already delcared at the system-level:
    alter session set nls_date_format = 'MM/DD/RR'Then these SQL statements start running just fine again.
    There's something that I'm missing in my basic understanding of how this works. I assumed that the driver update for ColdFusion perhaps enabled a different "glogin.sql"-type script equivalent for that tool ... until ... I started checking into how the NLS_DATE_FORMAT is supposed to work ... but isn't. Could someone help me clarify where the hole is in my understanding?
    Thanks,
    Chuck

    chuckers wrote:
    What's the difference, then, between NLS_SESSION_PARAMETERS and NLS_INSTANCE_PARAMETERS in my initial post? The glogin.sql script isn't altering the NLS_DATE_FORMAT for the desktop version of SQL*Plus, so I'm perplexed that the SESSION format differs from the INSTANCE format.NLS_SESSION_PARAMETERS are the NLS parameters that are in force for your particular session (i.e. the particular connection you have). Most client applications cause things like NLS_DATE_FORMAT to be set, overriding the NLS_INSTANCE_PARAMETERS. Instance-level NLS settings are most commonly used only for purely back-end processing (i.e. background jobs scheduled via DBMS_JOB or DBMS_SCHEDULER, etc.) 9 times out of 10, the client application is going to override the instance-level paramters.
    I even opened SQL Developer, and got
    select * from nls_session_parameters where parameter = 'NLS_DATE_FORMAT';
    PARAMETER                      VALUE                                   
    NLS_DATE_FORMAT                DD-MON-RR                               
    1 rows selected
    select * from nls_instance_parameters where parameter = 'NLS_DATE_FORMAT'
    PARAMETER                      VALUE                                   
    NLS_DATE_FORMAT                MM/DD/RR                                
    1 rows selected
    That's not unexpected. Java applications are going to use the Java regional properties at least to specify a date format. SQL Developer has a config option for the date format, so it may well be specifying a different format.
    They're all 3 (Toad, SQL*Plus, TOAD) so suspiciously consistent, that I'm questioning some of the fundamentals of the NLS setup.
    I went ahead and looked via SQL*Plus from the server-side, & things are looking more consistently in-line with my expectations:
    [oracle@dvsrvr13 ~]$ sqlplus forbesc@d13
    SQL*Plus: Release 10.1.0.4.0 - Production on Thu Mar 19 12:44:57 2009
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Enter password:
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.1.0.4.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    SQL> select * from nls_session_parameters where parameter = 'NLS_DATE_FORMAT';
    PARAMETER                      VALUE
    NLS_DATE_FORMAT                MM/DD/RR
    SQL> select * from nls_instance_parameters where parameter = 'NLS_DATE_FORMAT';
    PARAMETER                      VALUE
    NLS_DATE_FORMAT                MM/DD/RR
    SQL> exit
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.1.0.4.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    [oracle@dvsrvr13 ~]$ locate glogin.sql
    /u01/app/oracle/product/10.1.0/db_1/sqlplus/admin/glogin.sql
    [oracle@dvsrvr13 ~]$ more /u01/app/oracle/product/10.1.0/db_1/sqlplus/admin/glogin.sql
    -- Copyright (c) 1988, 2003, Oracle Corporation.  All Rights Reserved.
    -- NAME
    --   glogin.sql
    -- DESCRIPTION
    --   SQL*Plus global login "site profile" file
    --   Add any SQL*Plus commands here that are to be executed when a
    --   user starts SQL*Plus, or uses the SQL*Plus CONNECT command
    -- USAGE
    --   This script is automatically run
    -- Used by Trusted Oracle
    COLUMN ROWLABEL FORMAT A15
    -- Used for the SHOW ERRORS command
    COLUMN LINE/COL FORMAT A8
    COLUMN ERROR    FORMAT A65  WORD_WRAPPED
    -- Used for the SHOW SGA command
    COLUMN name_col_plus_show_sga FORMAT a24
    COLUMN units_col_plus_show_sga FORMAT a15
    -- Defaults for SHOW PARAMETERS
    COLUMN name_col_plus_show_param FORMAT a36 HEADING NAME
    COLUMN value_col_plus_show_param FORMAT a30 HEADING VALUE
    -- Defaults for SHOW RECYCLEBIN
    COLUMN origname_plus_show_recyc   FORMAT a16 HEADING 'ORIGINAL NAME'
    COLUMN objectname_plus_show_recyc FORMAT a30 HEADING 'RECYCLEBIN NAME'
    COLUMN objtype_plus_show_recyc    FORMAT a12 HEADING 'OBJECT TYPE'
    COLUMN droptime_plus_show_recyc   FORMAT a19 HEADING 'DROP TIME'
    -- Defaults for SET AUTOTRACE EXPLAIN report
    COLUMN id_plus_exp FORMAT 990 HEADING i
    COLUMN parent_id_plus_exp FORMAT 990 HEADING p
    COLUMN plan_plus_exp FORMAT a60
    COLUMN object_node_plus_exp FORMAT a8
    COLUMN other_tag_plus_exp FORMAT a29
    COLUMN other_plus_exp FORMAT a44
    [oracle@dvsrvr13 ~]$ So in all, I'm just perplexed by the differences.
    --=cfI'm not surprised that SQL*Plus from the Unix database server is going to have session-level settings that match the instance-level settings because there is probably nothing set in the Unix environment that would override the instance-level settings. There is probably no NLS_LANG or NLS_DATE_FORMAT set as environment variables and probably no central place to look for regional settings. Most applications, particularly Windows and Java apps, are going to have multiple places to look for that sort of information.
    Justin

  • Errors during smpatch

    Hi, I just did an smpatch analyze/download/add, and I saw a surprising number of problems. The ones that worry me in particular are the bad command usages. Is this normal?! QA can't be this bad, can it?
    Also this system has no non-global zones, are the zone errors normal?
    bash-3.00# smpatch add -x idlist=patches-061207
    add patch 124458-01
    Transition old-style patching.
    Patch 124458-01 has been successfully installed.
    add patch 120762-03
    Transition old-style patching.
    Patch 120762-03 failed to install due to a failure produced by pkgadd.
    pkgadd: ERROR: The package <SPROprfan> is currently installed on the system in the
    global zone. To install the new instance of this package in the global
    zone only, you must specify the -G option. To install the new instance
    of this package in all zones you must first remove the existing instance
    of this package from the global zone first (via pkgrm) and then install
    the new instance of this package in all zones.
    pkgadd: ERROR: package <SPROprfan> cannot be installed on this system/zone
    add patch 121616-03
    Transition old-style patching.
    Patch 121616-03 failed to install due to a failure produced by pkgadd.
    pkgadd: ERROR: The package <SPROdbx> is currently installed on the system in the
    global zone. To install the new instance of this package in the global
    zone only, you must specify the -G option. To install the new instance
    of this package in all zones you must first remove the existing instance
    of this package from the global zone first (via pkgrm) and then install
    the new instance of this package in all zones.
    pkgadd: ERROR: package <SPROdbx> cannot be installed on this system/zone
    add patch 121022-02
    Transition old-style patching.
    Patch 121022-02 failed to install due to a failure produced by pkgadd.
    pkgadd: ERROR: The package <SPROl90s> is currently installed on the system in the
    global zone. To install the new instance of this package in the global
    zone only, you must specify the -G option. To install the new instance
    of this package in all zones you must first remove the existing instance
    of this package from the global zone first (via pkgrm) and then install
    the new instance of this package in all zones.
    pkgadd: ERROR: package <SPROl90s> cannot be installed on this system/zone
    add patch 120759-09
    Transition old-style patching.
    Patch 120759-09 failed to install due to a failure produced by pkgadd.
    pkgadd: ERROR: The package <SPROlang> is currently installed on the system in the
    global zone. To install the new instance of this package in the global
    zone only, you must specify the -G option. To install the new instance
    of this package in all zones you must first remove the existing instance
    of this package from the global zone first (via pkgrm) and then install
    the new instance of this package in all zones.
    pkgadd: ERROR: package <SPROlang> cannot be installed on this system/zone
    add patch 121020-03
    Transition old-style patching.
    ERROR: This patch requires the following patches
    which have not been applied to the system:
      121022-01 120759-01
    add patch 121016-04
    Transition old-style patching.
    ERROR: This patch requires patch 120759-06
    which has not been applied to the system.
    add patch 121018-07
    Transition old-style patching.
    ERROR: This patch requires patch 120759-04
    which has not been applied to the system.
    add patch 118778-07
    Transition old-style patching.
    Patch 118778-07 has been successfully installed.
    add patch 119131-26
    Transition old-style patching.
    Patch 119131-26 has been successfully installed.
    Reboot client to install driver.
    /var/sadm/pkg/SUNWfcsm/save/119131-26/undo: -- file unchanged
    compress(1) returned error code 2
    The SUNWfcsm backout package will not be compressed.
    Continuing to process backout package.
    mv: Insufficient arguments (1)
    Usage: mv [-f] [-i] f1 f2
           mv [-f] [-i] f1 ... fn d1
           mv [-f] [-i] d1 d2
    #Name:  Maximum frame length
    #Type:  Integer, bytes;  Range: 512, 1024, 2048
    #       Default: 2048
    #Usage: This field specifies the frame payload length (in bytes) used by
    #       the ISP2xxx firmware.
    #NOTE:  The minimum value is 512 bytes; if this variable is not equal to
    #       512, 1024 or 2048, the ISP2xxx defaults to values specified
    #       above.
    max-frame-length=2048;
    mv: Insufficient arguments (1)
    Usage: mv [-f] [-i] f1 f2
           mv [-f] [-i] f1 ... fn d1
           mv [-f] [-i] d1 d2
    add patch 118919-19
    Transition old-style patching.
    Patch 118919-19 has been successfully installed.
    add patch 119314-09
    Transition old-style patching.
    Patch 119314-09 has been successfully installed.
    /var/sadm/pkg/SUNWfsmgtu/save/119314-09/undo: -- file unchanged
    compress(1) returned error code 2
    The SUNWfsmgtu backout package will not be compressed.
    Continuing to process backout package.
    /var/sadm/pkg/SUNWlvma/save/119314-09/undo: -- file unchanged
    compress(1) returned error code 2
    The SUNWlvma backout package will not be compressed.
    Continuing to process backout package.
    EXISTING_FILE_PRESERVED: /etc/security/audit_event /etc/security/audit_event.new
            WARNING!!! - /etc/apache2/ssl.conf may have been modified from it's original contents.
            WARNING!!! - Original /etc/apache2/ssl.conf saved as /etc/apache2/ssl.conf.new
            WARNING!!! - Merge any changes made to /etc/apache2/ssl.conf.new into /etc/apache2/ssl.conf
    usage: valpath [-[a|l][b|c|f|y][n|[o|z]]rtwx] input
    where options may include:
            -a  #absolute path
            -b  #block special device
            -c  #character special device
            -f  #ordinary file
            -l  #relative path
            -n  #must not exist (new)
            -o  #must exist (old)
            -r  #read permission
            -t  #permission to create (touch)
            -w  #write permission
            -x  #execute permisiion
            -y  #directory
            -z  #non-zero length
    usage: valpath [-[a|l][b|c|f|y][n|[o|z]]rtwx] input
    where options may include:
            -a  #absolute path
            -b  #block special device
            -c  #character special device
            -f  #ordinary file
            -l  #relative path
            -n  #must not exist (new)
            -o  #must exist (old)
            -r  #read permission
            -t  #permission to create (touch)
            -w  #write permission
            -x  #execute permisiion
            -y  #directory
            -z  #non-zero length
    usage: valpath [-[a|l][b|c|f|y][n|[o|z]]rtwx] input
    where options may include:
            -a  #absolute path
            -b  #block special device
            -c  #character special device
            -f  #ordinary file
            -l  #relative path
            -n  #must not exist (new)
            -o  #must exist (old)
            -r  #read permission
            -t  #permission to create (touch)
            -w  #write permission
            -x  #execute permisiion
            -y  #directory
            -z  #non-zero length
    usage: valpath [-[a|l][b|c|f|y][n|[o|z]]rtwx] input
    where options may include:
            -a  #absolute path
            -b  #block special device
            -c  #character special device
            -f  #ordinary file
            -l  #relative path
            -n  #must not exist (new)
            -o  #must exist (old)
            -r  #read permission
            -t  #permission to create (touch)
            -w  #write permission
            -x  #execute permisiion
            -y  #directory
            -z  #non-zero length
    add patch 119316-07
    Transition old-style patching.
    Patch 119316-07 has been successfully installed.
    /var/sadm/pkg/SUNWmga/save/119316-07/undo: -- file unchanged
    compress(1) returned error code 2
    The SUNWmga backout package will not be compressed.
    Continuing to process backout package.
    add patch 119082-25
    Transition old-style patching.
    Patch 119082-25 has been successfully installed.
    add patch 119253-16
    Transition old-style patching.
    Patch 119253-16 has been successfully installed.I've omitted many successful patches. The idlist is:
    bash-3.00# cat patches-061207
    119253-16 SunOS 5.10_x86: System Administration Applications Patch
    119082-25 SunOS 5.10_x86: CD-ROM Install Boot Image Patch
    124189-02 SunOS 5.10_x86: Trusted Solaris Attributes Patch
    119316-07 SunOS 5.10_x86: Solaris Management Applications Patch
    121309-08 SunOS 5.10_x86: Solaris Management Console Patch
    119314-09 SunOS 5.10_x86: WBEM Patch
    119255-31 SunOS 5.10_x86: Install and Patch Utilities Patch
    119964-08 SunOS 5.10_x86: Shared library patch for C++_x86
    120754-03 SunOS 5.10_x86: Microtasking libraries (libmtsk) patch
    123495-03 X11 6.6.2_x86: fontconfig patch
    119813-03 X11 6.6.2_x86: Freetype patch
    122530-05 SunOS 5.10_x86: nge patch
    120544-07 SunOS 5.10_x86: Apache 2 Patch
    118344-14 SunOS 5.10_x86: Fault Manager Patch
    124207-02 SunOS 5.10_x86: libtsol patch
    124238-01 SunOS 5.10_x86: ftp patch
    124445-01 SunOS 5.10_x86: mountd patch
    119686-09 SunOS 5.10_x86: lib/svc/bin/svc.startd Patch
    121082-06 SunOS 5.10_x86: Connected Customer Agents 1.1.0
    120053-05 SunOS 5.10_x86: pam library patch
    120846-03 SunOS 5.10_x86: auditd patch
    124236-01 SunOS 5.10_x86: libpam.so.1 patch
    120051-04 SunOS 5.10_x86: usermod patch
    121300-02 SunOS 5.10_x86: caplib patch
    124187-03 SunOS 5.10_x86: flash issue with SUNWscn-base due to broken package
    124615-01 SunOS 5.10_x86: sconadm proxy: UnknownHostException
    118368-04 SunOS 5.10_x86: csh Patch
    121604-02 SunOS 5.10_x86: libcfgadm.so.1, scsi.so.1 patch
    124283-01 SunOS 5.10_x86: init patch
    121005-03 SunOS 5.10_x86: sh patch
    122184-02 SunOS 5.10_x86: logadm timestamp patch
    118919-19 SunOS 5.10_x86: Solaris Crypto Framework patch
    119131-26 SunOS 5.10_x86: Sun Fibre Channel Device Drivers
    121805-03 SunOS 5.10_x86: GRUB patch
    124281-01 SunOS 5.10_x86: libkdb.so.1 patch
    124287-01 SunOS 5.10_x86: chkey patch
    120630-04 SunOS 5.10_x86: libpool patch
    124443-01 SunOS 5.10_x86: ssh patch
    119758-04 SunOS 5.10_x86: Samba patch
    124466-02 SunOS 5.9_x86 : cacao 2.0     patch 02
    118668-09 J2SE 5.0_x86: update 9 patch (5.0u9)
    119602-08 SunOS 5.10_x86: Patch for European Region JDS messages
    123662-04 SunOS 5.10_x86: Basic Registration Localization
    119398-04 SunOS 5.10_x86: Patch for North America Region locale issues
    118778-07 SunOS 5.10_x86: Sun GigaSwift Ethernet 1.0 driver patch
    120759-09 Sun Studio 11_x86: Sun Compiler Common patch for x86 backend
    121018-07 Sun Studio 11_x86: Patch for Sun C++ 5.8 compiler
    121016-04 Sun Studio 11_x86: Patch for Sun C_x86 5.8 Compiler
    121022-02 Sun Studio 11_x86: Patch for Fortran 95 Dynamic Libraries
    121020-03 Sun Studio 11_x86: Patch for x86 Fortran 95 8.2 Compiler
    121616-03 Sun Studio 11_x86: Patch for Sun dbx 7.5_x86 Debugger
    120762-03 Sun Studio 11_x86: Patch for Performance Analyzer Tools
    124394-01 CDE 1.6_x86: Dtlogin smf patch
    123612-02 X11 6.6.2_x86: Trusted Extensions patch
    119281-09 CDE 1.6_x86: Runtime library patch for Solaris 10
    119279-12 CDE 1.6_x86: dtlogin patch
    124406-01 CDE 1.6_x86: sdtfprop patch
    124404-01 CDE 1.6_x86: dtstyle patch
    124402-01 CDE 1.6_x86: dtpad patch
    124400-01 CDE 1.6_x86: dtfile patch
    124396-01 CDE 1.6_x86: dtaction patch
    119118-25 Evolution 1.4.6_x86 patch
    123939-01 GNOME 2.6.0_x86: GNU Transport Layer Security Library Patch
    119419-03 GNOME 2.6.0_x86: Gnome On-screen Keyboard Patch
    119415-12 GNOME 2.6.0_x86: Gnome Accessibility Libraries Patch
    119599-08 GNOME 2.6.0_x86: Gnome Screen Reader and Magnifier Patch
    120461-10 GNOME 2.6.0_x86: Gnome libs Patch
    120285-04 GNOME 2.6.0_x86: GNOME CORBA ORB and component framework
    122213-13 GNOME 2.6.0_x86: GNOME Desktop Patch
    119549-06 GNOME 2.6.0_x86: Gnome Multi-protocol instant messaging client Patch
    120289-03 GNOME 2.6.0_x86: Gnome terminal Patch
    119907-07 Gnome 2.6.0_x86: Virtual File System Framework patch
    119539-10 GNOME 2.6.0_x86: Window Manager Patch
    122423-03 SunOS 5.10_x86: add missing locale files for Mozilla
    122959-02 GNOME 2.6.0_x86: RealPlayer media application
    119060-19 X11 6.6.2_x86: Xsun patch
    124458-01 X11 6.6.2_x86: xdm patch

    Objects are imported in reverse order.
    You should've imported BOSV first and then BOS. As Todd directed you need to recreate/reimport the BOS synonyms if the base objects in BOSV exist.

  • LMS 4.2.1 -- PSUCli.sh doesn't know -p cmf (Solaris)

    Hi all,
    we had a new installation on our solaris 10 server of LMS 4.21 (first LMS 4.2 then update to LMS 4.21).
    Trying to update Mdf with
    /opt/CSCOpx/bin/PSUCli.sh -p cmf ....
    I got result stating that cmf is unknown.
    With performing PSUCli.sh -h cmf is obviously not known to PSUCli.sh (please see following 'strange' output)
    </opt/CSCOpx/bin># PSUCli.sh -h
    Package Support Updater Usage : [ psu refers to this CLI executable ]
    > psu -help
    > psu -p <product1, product2...> -query [-src dir ] {-all |
    > PackageNames} psu -p <product1,product2...> -install -src dir {-all|
    > PackageNames} [-noprompt] psu -p <product1, product2...> -uninstall
    > {-all | PackageNames } [-noprompt] psu -p <product1,product2...>
    > -download -dst dir{-all | PackageNames} psu -p <product1,product2...>
    > -software -dst dir{-all | PackageNames} psu -p <product1,product2...>
    > -pointpatch -dst dir {-all | DefectID} psu -p <product1,product2...>
    > -pkgDependents [-src dir] {-all| PackageNames} psu -p
    > <product1,product2...> -pkgVersion [-src dir] {-all| PackageNames}
    Note: PackageNames/DefectID are case-sensitive.
    Commands:
    -help     (-h)       : Print psu command usage
    -query     (-q)       : Print list of package(s) available in the specified source location
                             (default source location is installed repository of the product).
    -install   (-i)       : Install packages.
    -uninstall (-u)       : Uninstall packages from the repository.
    -download (-d)       : Download Device packages for the specified product(s).
    -software (-s)       : Download Software packages for the specified product(s).
    -pointpatch (-pp)     : Download Point Patches for the specified product(s).
    -pkgDependents (-pdep) : Print list of base package(s) for the specified package(s) present in the source location
                             (default source location is installed repository of the product).
    -pkgversion (-pver)   : Print the versions of the specified package(s) present in the source location
                             (default source location is installed repository of the product).
    Options:
    -p product   : Product for which download/query/install/uninstall is carried out.
    The specified Product must be registered with PSU during installation.
    -src dir     : Source location of packages.
    -all         : Select all packages from the source location.
    -dst dir     : Destination location for download of packages.
    -noprompt     : flag which turns off the prompting for restart of daemon services during install/uninstall
    Valid options for (-p):
    cm ( Network Topology Layer 2 Services and User Tracking )
    lmsportal ( LMS Portal )
    rme ( Inventory Config And Image Management )
    dfm ( Fault Management )
    ipm ( IPSLA Performance Management )
    cvw ( CiscoView )
    entory ( Config And Image Management )   <-- This is strange
    upm ( Device Performance Management )
    Anybody having a glue, idea, whatever???
    Thanks in advance
    Lothar

    Hi all,
    solution from Cisco TAC
    During install we got a corrupted file /opt/CSCOpx/lib/classpath/com/cisco/nm/xms/psu/conf/tag.properties
    with exchanging with an uncorrupted one PSUCli.sh works as expected

Maybe you are looking for

  • Visual C++ code to connect database

    Hi I am currently writing a program in visual c++. However I need to store image to oracle database. Therefore there is a need to connect to the database. In other word, I need to connect using ODBC. However I am not sure of the code in visual c++ to

  • How to do 2:1 transformation using XSLT in ccBPM?

    Hi, We have the following ccBPM defined:       A    A    B   A/C   D    E    F Start---R1---T1---S2---T2---S3---T3---S1---END R1: Receives Synch XML message A via plain HTTP adapter and opens S/A bridge. T1: Transforms A into message B using XSLT S2:

  • Device not listed in find my iphone after updating my apple id password

    how to track my iphone5 that is already lost and when i sign in icloud my lost device is not listed in find my iphone after updating my apple id password. i also enabled icloud and imessage and facetime in that iphone using my current apple id that i

  • Strange Output of Thread

    Hi Friends I am getting very strange out put of the following code Plz explain!!!!!!! class BasicBlob {                                     // (1)     static    int idCounter;     static    int population;     protected int blobId;     BasicBlob() {

  • IWeb Transfer File(s)

    Hi, I recently replaced my G4 Powerbook with a new Macbook and I need to transfer my G4 iWeb files to my new Macbook to continue managing my site, does anyone have a workflow they can share?