Getaddrinfo retuns ipv6 addres (::1) when resolving localhost in Solaris 10

hi All,
i have a problem with getaddrinfo when trying to resolve localhost and the host is not configured for ipv6 address but has ipv6 support enabled (default)
getaddrinfo called with hints set to get only INET6 address is returning ::1 even when the machine is not configured for ipv6 addresses (i.e. ::1 loopback address does not exist) and /etc/hosts file does not have an entry for ::1. When i try binding to the returned address i get a Address not available error (as the address does not exist).
Looking up getaddrinfo man page i found AI_ADDRCONFIG which returns ipv6 address only if the localhost has atlest one ipv6 address other than the loopback address. But this does not fit my requirement, in cases where a different host other than has a ipv6 address and i want to resolve it even if the local system does not have ipv6 address configured (but still supports ipv6 - i.e can understand ipv6)
thank you
Regards
rakesh

Then you might have an older installation with separate /etc/inet/hosts and /etc/inet/ipnodes files. You probably have a ::1 entry for localhost in ipnodes. You could consider removing that definition if ipv6 is not configured. Then you won't resolve that address.
Darren

Similar Messages

  • [Repost] Kodo do not use cache when resolving references to objects?

    Abe,
    I noticed that if object A references object B and we read multiple A
    object which reference the same B object, this B object will be re-read
    from database for every fetched A object. If I read 100 A-object
    referencing the same B it will do 100 selects on the same B. I use
    optimistic transactions with retain values = true
    Could you please comment on it
    Thank you very much
    Alex

    Was there something else about this you'd like me to comment on?_
    No Abe that is it. I was not sure I am not doing something wrong. I
    seemed very strange to me that internal reference resolution completely
    ignore cache.
    I think it is quite important - you want believe how much it slows down
    object graph retrieval. It does not seem to be hard to implement. :-)_
    I guess when resolving a reference you would have to use the same
    validate _true/false settings as for retrieving  object?
    -----Original Message-----
    From: White, Abe [mailto:[email protected]]
    Sent: Monday, August 06, 2001 6:10 PM
    To: JDO-ListServ
    Subject: RE: [Repost] Kodo do not use cache when resolving references to
    objects?
    this B object will be re-read_
    from database for every fetched A object_Yes, this seems like inefficient behavior that we should optimize. The
    same B instance is returned from each relation, so it is not a bug, but
    obviously it is something we could be doing a little more intelligently.
    Thanks for pointing it out!
    Was there something else about this you'd like me to comment on?_

  • Kodo do not use cache when resolving references to objects?

    I noticed that if object A references object B and we read multiple A
    object which reference the same B object, this B object will be re-read
    from database for every fetched A object. If I read 100 A-object
    referencing the same B it will do 100 selects on the same B
    Alex

    Was there something else about this you'd like me to comment on?_
    No Abe that is it. I was not sure I am not doing something wrong. I
    seemed very strange to me that internal reference resolution completely
    ignore cache.
    I think it is quite important - you want believe how much it slows down
    object graph retrieval. It does not seem to be hard to implement. :-)_
    I guess when resolving a reference you would have to use the same
    validate _true/false settings as for retrieving  object?
    -----Original Message-----
    From: White, Abe [mailto:[email protected]]
    Sent: Monday, August 06, 2001 6:10 PM
    To: JDO-ListServ
    Subject: RE: [Repost] Kodo do not use cache when resolving references to
    objects?
    this B object will be re-read_
    from database for every fetched A object_Yes, this seems like inefficient behavior that we should optimize. The
    same B instance is returned from each relation, so it is not a bug, but
    obviously it is something we could be doing a little more intelligently.
    Thanks for pointing it out!
    Was there something else about this you'd like me to comment on?_

  • Can not setup a network connection  when I re-install  Solaris

    Hi,
    I got a problem during the Solaris 7 installation in an Intel Platform. At the 1st time of installation, after I finished the Host Name window, the installation program would popup a "Network Connectivity" window to ask me "Networked: Yes/No". I chose No. The installation continued. Finally, the installation finished successfully. Then I realize I may need the network support. So I formatted the Solaris partition and started the installation from beginning. However, at this time, the "Network Connectivity" window never popup. After I finished the Host Name window, the installation program immediately switches to the "Time Zone" window. I tried several times. No chance to set up the network again. I guess the installation program may save some flags in some place (floppy disk?, CD?, NT partition?). Those flags can not be removed by formatting the Solaris partition. I searched around but could not find out anything. Can you help?
    Thanks,
    Kevin

    Kevin:
    I can think of a few things that may have gone wrong.
    i) Do you have a supported network card. See the following site.
    http://soldc.sun.com/support/drivers/hcl/
    ii) When you start installing Solaris. There is an option to install from different Media (Harddrive, CDROM and network). During this time did Solaris give you an option to install of the network. This is a sign that Solaris is able to see the network card.
    iii) You do not need to re-install if you need to add networking to Solaris. There are many ways to add the networking feature. The simplest is to use the sys-unconfig command. Please NOTE THIS WILL REMOVE ALL CONFIG INFO ON YOU SYSTEM.
    Hope you get the network working, 'Cos "Network is the Computer" :-)
    Angelo
    Sun Developer Tech Support.

  • Apache can't start with " error resolving localhost ..."

    Hi,
    I have Oracle 9.2.0.4 installed on a White Box Linux. This installation for some reason shows an Apache problem:
    When I try to start Apache then I have an error message stating the following
    "date and time [error] OPM: PRIV: error resolving host name localhost"
    then a message saying that httpd could not be started.
    This error is not added to the log file but displayed instead on the screen. Morever, files with names mm.*.sem and mm.*.mem are created in $ORACLE_HOME/Apache/Apache/logs.
    When I try "ping localhost" on this machine I have no problem and the name is correctly resolved!
    Can any one please tell me what could it be?

    Michel -
    Any time. That's quite odd. And has your /etc/hosts
    file changed at all? Is the first line setup
    correctly to only include localhost and
    localhost.localdomain?Yes it is.
    Are you calling apachctl from
    $ORACLE_HOME/Apache/Apache/bin? Well, I copy the file to /etc/init.d and launch Apache from there at startup. The reason is that I have changed the ports on which Apaceh will listen to 80.
    You said you could
    ping localhost successfully, but have you been able
    to ping the localhost by name?Yes. I did. Note please that the name of the machine is lx_26_100.
    ping localhost
    ping 127.0.0.1
    ping lx_26_100
    ping 10.26.1.100
    All of that works fine!
    Have you tried
    changing the value of the ServerName parameter from
    the localhost's name to its IP address?
    Well I didn't try this. I'll try it. However, the error message doesn't speak about lx_26-100 but instead it speaks about localhost not beeing resolved.
    By the way, what are the files mm.*.mem and mm.*.sem in the logs of Appache?
    -shawnThanks Shawn.

  • Ping: cannot resolve localhost: Unknown host

    Anybody have an idea on how to resolve this issue????  It just happened in the last week and I apparently cannot connect to a certain program....

    Ok try this on the terminal:
    sudo nano /private/etc/hosts
    You will need your password to see the host table.
    Mine looks like this .. as you see localhost points to the ping address that you used and worked. You may be missing that and therefore "ping localhost" fails why "ping 127.0.0.1" works:
    # Host Database
    # localhost is used to configure the loopback interface
    # when the system is booting.  Do not change this entry.
    127.0.0.1       localhost
    255.255.255.255 broadcasthost
    ::1             localhost
    fe80::1%lo0     localhost

  • IPv6 not preferred when available

    Hello,
    I'm working on research with dual stack (IPv4+IPv6) HTTP servers. Safari is choosing randomly between IPv4 and IPv6 address on connect, not preferring IPv6 always when available.*
    Is this correct ? Can this be forced to prefer always IPv6 ?
    Thank you
    (*) Available in this context is that a domain has at least a A and a AAAA records and that IPv6 address(es) is reachable before timeout.

    Hi
    The palnning time fence you have given will not take into consideration unless MRP type P1,P2..........
    Next question is Planned delivery time is 14 days.
    System behaviour is perfectly OK.
    Even though requirement is on 10.04.2009 PR is generated for 15.04.2009.But you have not mentioned MRP date . as per this MRP date should be 1.04.2009.
    System has  added 14 days for 1.04.2009 ( 1+14) & gave the PR for 15.04.2009.Because your requirement is for 10.04.2009 sysstem should have given rescheduling date as 10.04.2009.
    In this way system behaviour is perfectly OK.
    REgards
    YMREDDY

  • Production Cube painfully slow when resolving partitioned data

    Hi,
    We have a few 10g cubes in our production environment on Unix servers. For the most part the users are very satisfied with the response time. Most are of a similar design Global Composites, compressed around 9 dimensions.
    Recently we introduced a new cube and took advantage of the Parallell processing
    feature and partitioned it on the month level of time . It has 9 dimensions (see portion of load log below for specifics). All dimensions are sparse , global composites, Compression, 15 measures .. Most dimensions are aggregated fully or 1 below the top with the exception product aggregated only to the leaf level.
    The load works fine 9million data rows loaded and aggregated in 2 hours. The problem we are having is in the response time to a query. It's fine when only 1 month is selected. When you select qtr and years the query becomes painfully slow. When selecting 1 measure for 1 month it takes about 15 seconds to return. When selecting the same measure for the year or qtr it takes about 6 minutes to return. The same is true when I run a report from the Olap worksheet using olap DML so i know that it has nothing to do with the front end or network.
    Any ideas on what could be causing the bottleneck in summing the partitions or on how to diagnose the problem. Version is 10.2.0.2
    There are only 7 months in the cube and it's 25gb.
    thx
    Mike
    SQL> select xml_loadid, xml_recordid, xml_date, xml_message
    2 from OLAPSYS.xml_load_log
    3 where xml_loadid = 1006;
    XML_LOADID XML_RECORDID XML_DATE XML_MESSAGE
    1006 1 12-AUG-07 14:17:30 Job# AWXML$_1006 to Build(Refresh) Analytic Workspace RLCUBEMGR.ACP_MTH Submitted to the Queue.
    1006 11 12-AUG-07 14:17:31 Started Build(Refresh) of RLCUBEMGR.ACP_MTH Analytic Workspace.
    1006 12 12-AUG-07 14:17:31 Attached AW RLCUBEMGR.ACP_MTH in RW Mode.
    1006 13 12-AUG-07 14:17:31 Started Loading Dimensions.
    1006 14 12-AUG-07 14:17:33 Started Loading Dimension Members.
    1006 15 12-AUG-07 14:17:33 Started Loading Dimension Members for A_FICO_MTH.DIMENSION (1 out of 8 Dimensions).
    1006 16 12-AUG-07 14:17:34 Finished Loading Members for A_FICO_MTH.DIMENSION. Added: 27. No Longer Present: 0.
    1006 17 12-AUG-07 14:17:34 Started Loading Dimension Members for A_GEN4_MTH.DIMENSION (2 out of 8 Dimensions).
    1006 18 12-AUG-07 14:17:34 Finished Loading Members for A_GEN4_MTH.DIMENSION. Added: 11. No Longer Present: 0.
    1006 19 12-AUG-07 14:17:34 Started Loading Dimension Members for A_LOC_MTH.DIMENSION (3 out of 8 Dimensions).
    1006 20 12-AUG-07 14:17:44 Finished Loading Members for A_LOC_MTH.DIMENSION. Added: 22,887. No Longer Present: 0.
    1006 21 12-AUG-07 14:17:44 Started Loading Dimension Members for A_MAKE_MTH.DIMENSION (4 out of 8 Dimensions).
    1006 22 12-AUG-07 14:17:45 Finished Loading Members for A_MAKE_MTH.DIMENSION. Added: 59. No Longer Present: 0.
    1006 23 12-AUG-07 14:17:45 Started Loading Dimension Members for A_PROD_MTH.DIMENSION (5 out of 8 Dimensions).
    1006 24 12-AUG-07 14:17:45 Finished Loading Members for A_PROD_MTH.DIMENSION. Added: 31. No Longer Present: 0.
    1006 25 12-AUG-07 14:17:45 Started Loading Dimension Members for A_SUBV_MTH.DIMENSION (6 out of 8 Dimensions).
    1006 26 12-AUG-07 14:17:45 Finished Loading Members for A_SUBV_MTH.DIMENSION. Added: 3. No Longer Present: 0.
    1006 27 12-AUG-07 14:17:45 Started Loading Dimension Members for A_TERM_MTH.DIMENSION (7 out of 8 Dimensions).
    1006 28 12-AUG-07 14:17:45 Finished Loading Members for A_TERM_MTH.DIMENSION. Added: 12. No Longer Present: 0.
    1006 29 12-AUG-07 14:17:45 Started Loading Dimension Members for A_TIME_MTH.DIMENSION (8 out of 8 Dimensions).
    1006 30 12-AUG-07 14:17:45 Finished Loading Members for A_TIME_MTH.DIMENSION. Added: 11. No Longer Present: 0.
    1006 31 12-AUG-07 14:17:45 Finished Loading Dimension Members.
    1006 32 12-AUG-07 14:17:45 Started Loading Hierarchies.
    1006 33 12-AUG-07 14:17:45 Started Loading Hierarchies for A_FICO_MTH.DIMENSION (1 out of 8 Dimensions).
    1006 34 12-AUG-07 14:17:46 Finished Loading Hierarchies for A_FICO_MTH.DIMENSION. 1 hierarchy(s) STANDARD Processed.
    1006 35 12-AUG-07 14:17:46 Started Loading Hierarchies for A_GEN4_MTH.DIMENSION (2 out of 8 Dimensions).
    1006 36 12-AUG-07 14:17:47 Finished Loading Hierarchies for A_GEN4_MTH.DIMENSION. 1 hierarchy(s) STANDARD Processed.
    1006 37 12-AUG-07 14:17:47 Started Loading Hierarchies for A_LOC_MTH.DIMENSION (3 out of 8 Dimensions).
    1006 38 12-AUG-07 14:18:03 Finished Loading Hierarchies for A_LOC_MTH.DIMENSION. 5 hierarchy(s) DLRGRP, RGNDLRGRP, RGNSTATE, STANDAR
    D, STATE Processed.
    1006 39 12-AUG-07 14:18:03 Started Loading Hierarchies for A_MAKE_MTH.DIMENSION (4 out of 8 Dimensions).
    1006 40 12-AUG-07 14:18:03 Finished Loading Hierarchies for A_MAKE_MTH.DIMENSION. 1 hierarchy(s) STANDARD Processed.
    1006 41 12-AUG-07 14:18:03 Started Loading Hierarchies for A_PROD_MTH.DIMENSION (5 out of 8 Dimensions).
    1006 42 12-AUG-07 14:18:03 Finished Loading Hierarchies for A_PROD_MTH.DIMENSION. 2 hierarchy(s) NEWUSED, STANDARD Processed.
    1006 43 12-AUG-07 14:18:03 Started Loading Hierarchies for A_SUBV_MTH.DIMENSION (6 out of 8 Dimensions).
    1006 44 12-AUG-07 14:18:03 Finished Loading Hierarchies for A_SUBV_MTH.DIMENSION. 1 hierarchy(s) STANDARD Processed.
    1006 45 12-AUG-07 14:18:03 Started Loading Hierarchies for A_TERM_MTH.DIMENSION (7 out of 8 Dimensions).
    1006 46 12-AUG-07 14:18:04 Finished Loading Hierarchies for A_TERM_MTH.DIMENSION. 1 hierarchy(s) STANDARD Processed.
    1006 47 12-AUG-07 14:18:04 Started Loading Hierarchies for A_TIME_MTH.DIMENSION (8 out of 8 Dimensions).
    1006 48 12-AUG-07 14:18:04 Finished Loading Hierarchies for A_TIME_MTH.DIMENSION. 1 hierarchy(s) STANDARD Processed.
    1006 49 12-AUG-07 14:18:04 Finished Loading Hierarchies.
    1006 50 12-AUG-07 14:18:04 Started Loading Attributes.
    1006 51 12-AUG-07 14:18:04 Started Loading Attributes for A_FICO_MTH.DIMENSION (1 out of 8 Dimensions).
    1006 52 12-AUG-07 14:18:04 Finished Loading Attributes for A_FICO_MTH.DIMENSION. 2 attribute(s) LONG_DESCRIPTION, SHORT_DESCRIPTION
    Processed.
    1006 53 12-AUG-07 14:18:04 Started Loading Attributes for A_GEN4_MTH.DIMENSION (2 out of 8 Dimensions).
    1006 54 12-AUG-07 14:18:04 Finished Loading Attributes for A_GEN4_MTH.DIMENSION. 2 attribute(s) LONG_DESCRIPTION, SHORT_DESCRIPTION
    Processed.
    1006 55 12-AUG-07 14:18:04 Started Loading Attributes for A_LOC_MTH.DIMENSION (3 out of 8 Dimensions).
    1006 56 12-AUG-07 14:18:11 Finished Loading Attributes for A_LOC_MTH.DIMENSION. 11 attribute(s) A_DEALER_AMERICREDIT_IND, A_DEALER_E
    CONTRACTING_IND, A_DEALER_MARKET_SEGMENT, A_DEALER_ONEGAP_IND, A_DEALER_RESERVE_PLAN, A_DEALER_RETAIL_SALES_AGR_APV, A_D
    EALER_SEGMENT, A_DEALER_STATUS_CD, A_FLOOR_PLAN_PROVIDER_NAME, LONG_DESCRIPTION, SHORT_DESCRIPTION Processed.
    1006 57 12-AUG-07 14:18:11 Started Loading Attributes for A_MAKE_MTH.DIMENSION (4 out of 8 Dimensions).
    1006 58 12-AUG-07 14:18:11 Finished Loading Attributes for A_MAKE_MTH.DIMENSION. 2 attribute(s) LONG_DESCRIPTION, SHORT_DESCRIPTION
    Processed.
    1006 59 12-AUG-07 14:18:11 Started Loading Attributes for A_PROD_MTH.DIMENSION (5 out of 8 Dimensions).
    1006 60 12-AUG-07 14:18:11 Finished Loading Attributes for A_PROD_MTH.DIMENSION. 2 attribute(s) LONG_DESCRIPTION, SHORT_DESCRIPTION
    Processed.
    1006 61 12-AUG-07 14:18:11 Started Loading Attributes for A_SUBV_MTH.DIMENSION (6 out of 8 Dimensions).
    1006 62 12-AUG-07 14:18:11 Finished Loading Attributes for A_SUBV_MTH.DIMENSION. 2 attribute(s) LONG_DESCRIPTION, SHORT_DESCRIPTION
    Processed.
    1006 63 12-AUG-07 14:18:11 Started Loading Attributes for A_TERM_MTH.DIMENSION (7 out of 8 Dimensions).
    1006 64 12-AUG-07 14:18:11 Finished Loading Attributes for A_TERM_MTH.DIMENSION. 2 attribute(s) LONG_DESCRIPTION, SHORT_DESCRIPTION
    Processed.
    1006 65 12-AUG-07 14:18:11 Started Loading Attributes for A_TIME_MTH.DIMENSION (8 out of 8 Dimensions).
    1006 66 12-AUG-07 14:18:12 Finished Loading Attributes for A_TIME_MTH.DIMENSION. 2 attribute(s) LONG_DESCRIPTION, SHORT_DESCRIPTION
    Processed.
    1006 67 12-AUG-07 14:18:12 Finished Loading Attributes.
    1006 68 12-AUG-07 14:18:12 Finished Loading Dimensions.
    1006 69 12-AUG-07 14:18:12 Started Updating Partitions.
    1006 70 12-AUG-07 14:18:12 Finished Updating Partitions.
    1006 71 12-AUG-07 14:18:26 Detached AW RLCUBEMGR.ACP_MTH.
    1006 72 12-AUG-07 14:18:26 Starting Parallel Processing.
    1006 10073 12-AUG-07 14:18:27 Attached AW RLCUBEMGR.ACP_MTH in MULTI Mode.
    1006 10074 12-AUG-07 14:18:27 Started Load of Measures: V_APP_RECEIVED, V_APP_APPROVED, V_APP_COUNTERED, V_APP_CANCELLED, V_APP_DECISIONE
    D, V_BKD_UNIT, V_BKD_DOLLAR, V_OS_UNIT, V_OS_DOLLAR, V_DELQ_UNIT, V_DELQ_DOLLAR, V_CHGOFF_UNIT, V_CHGOFF_DOLLAR, V_REPO_
    UNIT, V_DLRRSVUNEARN from Cube ACPMTH.CUBE. DEFAULT Partition.
    1006 10075 12-AUG-07 14:18:42 Finished Load of Measures: V_APP_RECEIVED, V_APP_APPROVED, V_APP_COUNTERED, V_APP_CANCELLED, V_APP_DECISION
    ED, V_BKD_UNIT, V_BKD_DOLLAR, V_OS_UNIT, V_OS_DOLLAR, V_DELQ_UNIT, V_DELQ_DOLLAR, V_CHGOFF_UNIT, V_CHGOFF_DOLLAR, V_REPO
    UNIT, VDLRRSVUNEARN from Cube ACPMTH.CUBE. DEFAULT Partition. Processed 0 Records. Rejected 0 Records.
    1006 10076 12-AUG-07 14:18:42 Started Auto Solve for Measures: V_APP_APPROVED, V_APP_CANCELLED, V_APP_COUNTERED, V_APP_DECISIONED, V_APP_
    RECEIVED, V_BKD_DOLLAR, V_BKD_UNIT, V_CHGOFF_DOLLAR, V_CHGOFF_UNIT, V_DELQ_DOLLAR, V_DELQ_UNIT, V_DLRRSVUNEARN, V_OS_DOL
    LAR, V_OS_UNIT, V_REPO_UNIT from Cube ACPMTH.CUBE. DEFAULT Partition.
    1006 90112 12-AUG-07 16:09:33 Running Jobs: AWXML$_1006_577, AWXML$_1006_578. Waiting for Tasks to Finish...
    1006 90113 12-AUG-07 16:18:57 Finished Parallel Processing.
    1006 90114 12-AUG-07 16:18:57 Completed Build(Refresh) of RLCUBEMGR.ACP_MTH Analytic Workspace.
    SQL> COLUMN DBMS_LOB.GETLENGTH(AWLOB) HEADING "Bytes";
    SQL> SELECT EXTNUM, SUM(DBMS_LOB.GETLENGTH(AWLOB)) FROM AW$acp_MTH GROUP BY EXTNUM;
    EXTNUM SUM(DBMS_LOB.GETLENGTH(AWLOB))
    1 5715538444
    3 3758960128
    2 3758960128
    0 1.1173E+10
    4 2295138076

    Watrost makes some very valid points and you should review the suggestions he has made.
    In addition I would like to add the following. When deciding on how and when to use partitioning and parallel processing I would suggest considering these points:
    1) The partition dimension - most people partition on time, probably because all the examples I have seen in this area show this as if it were the "normal" method. Using time is a good idea if you want to perform some form of rolling time window and need to quickly and easily drop data for a specific time period. However, partitioning does impact on query performance and you need to balance the needs of "ease of maintenance" against query performance for your users. Once you have selected a level to use as the partition key you will notice on the Summary tab that levels above this key are in fact grayed out and cannot be selected. As Watrost points out, the partition key in effect becomes your top level of pre-aggregation. All other levels are summed at query time. This is normally ok, but for a 9 dimensional model it means you have no summary levels computed across any of your other 8 dimensions for levels above the partition key. This will have a serious impact on your query performance.
    2) Parallel processing - many people seem to implement partitioning in the expectation that their cubes will aggregate more quickly. In most cases this can be true but there are many factors to consider. To be really effective you need to have multiple CPUs, and you should set the number of parallel jobs to a maximum of No of CPUs-1. For some reason I have seen many DBAs just randomly pick a number for this value that greatly exceeds the number of CPUs and then wonder why their cube build takes such a long time. I would start by using the No of CPUs/2 and scaling up to No of CPUs-1 to determine the sweet spot for your system based on resources. Don't forget it is not just CPUs that are important in this situation you also need fast disks as I/O contention can occur very easily.
    3) Partial vs Full aggregation - If you upgrade to the latest 10.2.0.3 patcheset and apply the OLAP A Patch as well (available from Metalink) which will allow you to take advantage of partial aggregation features. When loading data into a cube you should only aggregate data for incoming values rather than re-aggregating data for the whole cube. Although AWM does provide a radio button to control this on the second page of the maintenance wizard it is only with the above patchsets that this actually works.
    4) Sortarea size : check your sortarea size. Typically, this is set very small in most instances and OLAP operations are very sort intensive. Therefore, increasing this to 1M or higher can have a significant impact on load performance.
    5) Monitoring Builds - There are some free performance views you can download from OTN that will help you monitor what is happening during a build. See the link for SQL Scripts for OLAP DBAs and the associated readme at:
    http://www.oracle.com/technology/products/bi/olap/OLAP_DBA_scripts.ZIP
    http://www.oracle.com/technology/products/bi/olap/OLAP_DBA_README.htm
    I would look at the views AW_WAIT_EVENTS, OLAP_PGA_USE and AW_LONGOPS as well as generally monitoring your instance via OEM using the ADDM reports that can be generated. These will help you discover performance bottlenecks in your system
    Now for the dilemma - parallel processing vs partitioning. Most people would agree that partial aggregation is a good idea as there is no need to re-aggregate a complete cube when there have been no changes to the dimensions/hierarchies and you are loading data for just the current month. But if you partition by month you will never get parallel processing because you will only be aggregating data within a single partition and for parallel processing to occur aggregation must occur across multiple partitions. What it does mean is that the time take for each load and partial aggregation should be consistent which makes it easy to plan.
    If this is proving to be a significant problem then it is possible to use partitioning and generate a fully solved cube. In 11g this will be resolved using a new aggregation feature. For 10gR2 it is possible to create this type of solution. In fact I have just re-designed a customers physical data model to reduce the query time for one of their main user reports from 14 minutes to 10 seconds. The problem was the query accessed the data within the partition that was not aggregated.
    It is quite a simple process and does not change your current logical data model. Quite simply you create a surrogate partition dimension with only one two levels - All and "Level 1". Partition on "Level 1". If you are using time, which most people do, level 1 contains all the values for all months, all quarters and all years. Next create a source table that contains using GROUPING SETS to compute totals for months, quarters and years only for base levels across all your other dimensions. This will created an embedded total fact table for your surrogate time dimension.
    In the mapping editor, map the surrogate time dimension column in the fact table to your surrogate dimension "Level 1". In the Rules tab within AWM set the aggregation for this surrogate dimension to "Do not Aggregate". Load your data.
    In your existing cube you replace your existing stored measures with calculated measures, using the same name, that point to the new physical cubes via a QDR from the standard time dimension to the surrogate time dimension.
    Hope this helps.
    Keith Laker
    Oracle EMEA Consulting
    BI Blog: http://oraclebi.blogspot.com/
    DM Blog: http://oracledmt.blogspot.com/
    BI on Oracle: http://www.oracle.com/bi/
    BI on OTN: http://www.oracle.com/technology/products/bi/
    BI Samples: http://www.oracle.com/technology/products/bi/samples/

  • ADSI query freezes PowerShell script when using "localhost" as computername

    Hi,
    As part of my learning PowerShell I'm writing some basic functions for querying local users and groups.  I have located the following as a "base" for locating local user accounts on a given computer:
    $CompObj = [ADSI]"WinNT://$ComputerName,computer"
    $Users = $compobj.psbase.children | Where-Object {$_.psbase.schemaclassname -eq "user"}
    What I've found (at least on most of the computers that I have tried) is that the script will freeze if run with "localhost" in the $ComputerName variable (which I often do when testing a script).  The point that it freezes is the "...
    | Where-Object {$_.psbase.schemaclassname -eq "user"}" component of the script.
    I verified this by running the following:
    $ComputerName = "localhost"
    $CompObj = [ADSI]"WinNT://$ComputerName,computer"
    $Users = $compobj.psbase.children
    This causes no freeze.
    So, the creation of the $Users variable does not cause a script freeze.  However, if I try to display the contents of the $Users variable *after* running the above code, I get a list of all of the local users and groups, before it freezes the script
    completely.  Here are the last two entries I get when I run it (removed references to my production domain):
    DistinguishedName :
    Path              : WinNT://acme.local/localhost/Message Capture Users
    distinguishedName :
    Path              : WinNT://acme.local/localhost/WinRMRemoteWMIUsers
    PowerShell continues to run at this point, prompting me (in the status bar) to press "Ctrl+Break" if I wish to stop it.  If I do, PowerShell displays "Stopping" in the status bar, and in fact it never finishes stopping
    (I have to close Powershell, though not forcibly).  I ran this on a colleagues computer and we found that the output also includes Services (remember that we didn't filter it this time with the "Where-Object" cmdlet.
    So, we reason that something about the services causes the script to freeze.  I have tried this on the following (not hugely extensively, one of each):
    Win 7 SP1 x86: Appears to work
    Win 7 SP1 x64: script freezes
    Win 2008 R2 x64: script freezes
    Win 2012 R2 x64: script freezes.
    I'm not sure if the architecture is to blame at all, but I don't want to chase this as it's not a high priority; I'm very curious though to know the cause and how to troubleshoot it.
    I did trace the problem to the usage of the word "localhost" in the $ComputerName variable; if I use the actual computer name in place of localhost, the script runs exactly as planned and when I try to display the contents of "$User"
    it does not freeze before showin the services, and displays the services correctly.
    So, I'm trying to identify why this happens - I am thinking that I will have to validate the input into my script to prevent usage of the "localhost" value (or find a clever way to translate that into the hostname itself).
    Has anyone experienced this issue before or can help me identify what is causing the behaviour?

    Thanks - I'll have my script check for localhost and use "$Env:COMPUTERNAME" to replace it if it does.
    It certainly works as expected, since it passes the computername to the ADSI query instead of "localhost", which does.

  • Font book deleted most fonts when resolving duplicates

    After having problems with Word not quitting I decided to use Font Book to "validate" my fonts. It came up with several serious problems and I deleted those fonts. The remaining minor problems were dupllicate fonts. I selected them and chose to Resolve Duplicates. Suddenly nearly all of my fonts disappeared.
    I had to use Time Machine to restore the fonts. I tried again and this time Font Book worked as intended. Strange.
    My tip is before doing font maintenance make a backup of your font files:
    /Library/Fonts     or  <home>/Library/Fonts
    This is on an iMac running SL 10.6.8

    After having problems with Word not quitting I decided to use Font Book to "validate" my fonts. It came up with several serious problems and I deleted those fonts. The remaining minor problems were dupllicate fonts. I selected them and chose to Resolve Duplicates. Suddenly nearly all of my fonts disappeared.
    I had to use Time Machine to restore the fonts. I tried again and this time Font Book worked as intended. Strange.
    My tip is before doing font maintenance make a backup of your font files:
    /Library/Fonts     or  <home>/Library/Fonts
    This is on an iMac running SL 10.6.8

  • Reassigning IPv6 temporary address when it receives router advertisements

    Hi everybody.
    I've just met a problem with IPv6 connectivity.
    *My environment*
    I list my environment that I tested as follows.
    1. MacBook Pro (A)
    OS Version: 10.6.4
    Card Type: AirPort Extreme (0x14E4, 0x93)
    Firmware Version: Broadcom BCM43xx 1.0 (5.10.131.16.1)
    IPv6 temporary address setting: net.inet6.ip6.use_tempaddr=1
    2. AP+Router
    TimeCapsule
    N.B., I experienced same problem under other sets of router and access point (Cisco's ones). So, let me skip to write the detail of this.
    3. MacBook Pro (B) (No problem with this Laptop)
    OS Version: 10.6.4
    Card Type: AirPort Extreme (0x168C, 0x87)
    Firmware Version: Atheros 5416: 2.0.19.10
    IPv6 temporary address setting: net.inet6.ip6.use_tempaddr=1
    N.B., All user data and settings are transferred to MacBook Pro (A). I think the difference between these two MacBooks is about hardwares.
    *The problem*
    1. Connect the MacBook Pro (A) to AP+Router.
    2. Receive IPv6 router advertisement from the router. (router lifetime=1800, valid lifetime=2592000, preferred lifetime=604800)
    3. Assign both IPv6 EUI-64 address and temporary address.
    4. Receive IPv6 router advertisement from the router again, 70 sec after previous one.
    5. Both the EUI-64 and temporary addresses are removed, and then same EUI-64 address and _new_ temporary address are assigned.
    The problem here is that MacBook Pro (A) configures _new_ temporary address, or it removes old temporary address. This causes additional issues on TCP connections because TCP sessions become no longer available after the temporary address has changed.
    This problem is not experienced my old MacBook Pro (B); i.e., it keeps the temporary address even after receiving router advertisements.
    All the data and setting in MacBook Pro (A) are transferred from MacBook Pro (B).
    Therefore, I think the problem is due to hardwares.
    I prefer to use IPv6 because I'm in a networking group and also prefer to use temporary addresses.
    Do you experience same problem or any suggestions to me?
    If you need additional environment description, please ask me.
    Thank you in advance, and sorry for my poor English.
    Message was edited by: scyphus

    This bug has been stealthily fixed in the update http://support.apple.com/kb/HT4250 today, though I have received no reply from Apple bug reporter site.

  • Forgot To Add Name Service When Setting Up Preinstalled Solaris 10

    I just got a Sun Ultra 40 M2 Workstation.
    I'm using the workstation to run a Java SE application that has clients connect to a serversocket using my static IP address.
    I have the system currently set up and running on my windows xp pc.
    So I have all the info from my ISP and I hooked up my int to the eth conn on my sun workstation.
    Then I cut on the WS and it took me through the set up.
    I said no to the DCHP and entered my static IP address and my submask address and it correctly found my broadcast IP upon rebooting.
    But I said NONE to name service when I should have said DNS and entered the 2 addresses I have from my ISP.
    Now when I get my Java Desktop the little monitor icons show up in the lower right hand corner and when i click on it it say IDLE but has my correct IP Broadcast and sub mask.
    But my browser will not pull up web sites.
    I need to add the name service DNS and enter my 2 addresses.
    I also have the media disks.
    Do I have to reinstall or can I just add the name service somehow?
    I tried clicking F2 when restarting the system but do not know enough about it to get back to the set up.
    So can anyone help me.
    I think I will just reinstall in time if i can't get help but since the solaris 10 was preinstalled I think there is probably a way to go through the set up again but can not figure out how.

    i added /etc/defaultrouter file with nothing but the default gateway ip in it
    and just took the domain myhostname line out of the resolv.conf file leaving
    nameserver 111.222.333.444
    nameserver 222.333.444.555
    also saved the nsswitch.dns to the nsswitch.conf file.
    when i restarted it acted better and i was able to ping the gateway address which i could not before.
    but still can not ping the static ip.
    when i click on the icon it has the right ip and subnet mask listed.
    any ideas?
    i am running out of google lol.
    no one at comcast has ever heard of Solaris and when i call support at Sun they just said we'll call back and sent an email saying it will be $700 to say hello after i just gave them 7k lol so screw that.
    geuss i'll just relax and keep googling.
    thx for the responses.

  • Relink failed when migrating EBS from Solaris to Linux

    Hi,
    I am migrating EBS 12.1.1 instance from Solaris 10 to Red Hat Enterprise Linux Server release 5.5.
    Oracle version 11.1.0.7.0.
    And binutils version is :
    $ rpm -qa | grep binutils
    binutils-2.17.50.0.6-14.el5
    Using note when doing step 8 of 438086.1 note, Download and apply the customer-specific update with AutoPatch
    There is plenty of space available in the partition and R+W access is given to os user.
    Following is the relink error log:
    Relinking module 'MSONEW' in product mso ...
    make -f /d02/devlin/apps/apps_st/appl/admin/DEVICORE/out/link_mso_2634.mk
    /d02/devlin/apps/apps_st/appl/mso/12.0.0/bin/MSONEW
    Starting link of mso executable 'MSONEW' on Tue May 17 15:21:21 IST 2011
    g++ -m32 -L/d02/devlin/apps/tech_st/10.1.2/lib
    -L/d02/devlin/apps/tech_st/10.1.2/lib/stubs -lclntsh -o
    /d02/devlin/apps/apps_st/appl/mso/12.0.0/bin/MSONEW \
              /d02/devlin/apps/apps_st/appl/mso/12.0.0/lib/msonew.o \
              /d02/devlin/apps/apps_st/appl/mso/12.0.0/lib/libmso.a
    /d02/devlin/apps/apps_st/appl/msc/12.0.0/lib/libmsc.a
    /d02/devlin/apps/apps_st/appl/mso/12.0.0/lib/libmso.a
    /d02/devlin/apps/apps_st/appl/msc/12.0.0/lib/libmsc.a \
    /d02/devlin/apps/apps_st/appl/sht/12.0.0/lib/ilog/6.2/libschedule.a
    /d02/devlin/apps/apps_st/appl/sht/12.0.0/lib/ilog/6.2/libsolveriim.a
    /d02/devlin/apps/apps_st/appl/sht/12.0.0/lib/ilog/6.2/libconcertext.a
    /d02/devlin/apps/apps_st/appl/sht/12.0.0/lib/ilog/6.2/libsolver.a
    /d02/devlin/apps/apps_st/appl/sht/12.0.0/lib/ilog/6.2/libconcert.a
    /d02/devlin/apps/apps_st/appl/sht/12.0.0/lib/ilog/6.2/libilocplex.a
    /d02/devlin/apps/apps_st/appl/sht/12.0.0/lib/ilog/6.2/libcplex.a
    /d02/devlin/apps/apps_st/appl/sht/12.0.0/lib/ilog/6.2/libcplex.a \
              /d02/devlin/apps/apps_st/appl/fnd/12.0.0/lib/libfnd.a
    -lsql10 -lclntsh `cat /d02/devlin/apps/tech_st/10.1.2/lib/ldflags`
    -lnsslb10 -lncrypt10 -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -lnro10 `cat
    /d02/devlin/apps/tech_st/10.1.2/lib/ldflags` -lnsslb10 -lncrypt10
    -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -lclient10 -lnnetd10 -lvsn10
    -lcommon10 -lgeneric10 -lmm -lcore10 -lxml10 -lunls10 -lsnls10 -lnls10
    -lcore10 -lnls10 `cat /d02/devlin/apps/tech_st/10.1.2/lib/ldflags`
    -lnsslb10 -lncrypt10 -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -lnro10 `cat
    /d02/devlin/apps/tech_st/10.1.2/lib/ldflags` -lnsslb10 -lncrypt10
    -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -lclient10 -lnnetd10 -lvsn10
    -lcommon10 -lgeneric10 -lcore10 -lxml10 -lunls10 -lsnls10 -lnls10 -lcore10
    -lnls10 -lclient10 -lnnetd10 -lvsn10 -lcommon10 -lgeneric10 -lcore10
    -lxml10 -lunls10 -lsnls10 -lnls10 -lcore10 -lnls10 `cat
    /d02/devlin/apps/tech_st/10.1.2/lib/sysliblist` -ldl -lm -lpthread
    /d02/devlin/apps/apps_st/appl/sht/12.0.0/lib/stubs/libstdc++.so
    /d02/devlin/apps/apps_st/appl/sht/12.0.0/lib/stubs/libgcc_s.so.1
    g++: /d02/devlin/apps/apps_st/appl/sht/12.0.0/lib/ilog/6.2/libschedule.a: No
    such file or directory
    g++: /d02/devlin/apps/apps_st/appl/sht/12.0.0/lib/ilog/6.2/libsolveriim.a:
    No such file or directory
    g++: /d02/devlin/apps/apps_st/appl/sht/12.0.0/lib/ilog/6.2/libconcertext.a:
    No such file or directory
    g++: /d02/devlin/apps/apps_st/appl/sht/12.0.0/lib/ilog/6.2/libsolver.a: No
    such file or directory
    g++: /d02/devlin/apps/apps_st/appl/sht/12.0.0/lib/ilog/6.2/libconcert.a: No
    such file or directory
    g++: /d02/devlin/apps/apps_st/appl/sht/12.0.0/lib/ilog/6.2/libilocplex.a: No
    such file or directory
    g++: /d02/devlin/apps/apps_st/appl/sht/12.0.0/lib/ilog/6.2/libcplex.a: No
    such file or directory
    g++: /d02/devlin/apps/apps_st/appl/sht/12.0.0/lib/ilog/6.2/libcplex.a: No
    such file or directory
    g++: /d02/devlin/apps/apps_st/appl/sht/12.0.0/lib/stubs/libstdc++.so: No
    such file or directory
    g++: /d02/devlin/apps/apps_st/appl/sht/12.0.0/lib/stubs/libgcc_s.so.1: No
    such file or directory
    make: *** [d02/devlin/apps/apps_st/appl/mso/12.0.0/bin/MSONEW] Error 1
    Done with link of mso executable 'MSONEW' on Tue May 17 15:21:21 IST 2011
    Relink of module "MSONEW" failed.
    See error messages above (also recorded in log file) for possible
    reasons for the failure. Also, please check that the Unix userid
    running adrelink has read, write, and execute permissions
    on the directory /d02/devlin/apps/apps_st/appl/mso/12.0.0/bin,
    and that there is sufficient space remaining on the disk partition
    containing your Oracle Applications installation.

    Thanks JD and Hussein, the problem resolved after starting Xserver client on my workstation and setting up DISPLAY setting. Reports generated successfully.
    Now the problem is with There are many INVALID objects and unable to generate flexfields.
    Worker log :
    Start time for file is: Mon May 23 2011 19:10:43
    sqlplus -s APPS/***** @/d02/devlin/apps/apps_st/appl/eng/12.0.0/sql/ENGNLINS.sql
    PL/SQL procedure successfully completed.
    MESG
    LANGUAGE=AMERICAN
    PACKAGE=ENG_CHANGE_ACTIONS_PKG
    SQLERRM=ORA-06508: PL/SQL: could not find program unit being called
    select to_date('ERROR')
    ERROR at line 1:
    ORA-01858: a non-numeric character was found where a numeric was expected
    following are the invalid objects after compiling in adadmin
    APPS AMV_IMT_PUB PACKAGE INVALID
    APPS DOM_DOC_TEXT_UTIL PACKAGE INVALID
    APPS EAM_TEXT_INDEX_PVT PACKAGE INVALID
    APPS EGO_ITEM_TEXT_UTIL PACKAGE INVALID
    APPS ENG_CHANGE_TEXT_UTIL PACKAGE INVALID
    APPS IBC_IMT_PUB PACKAGE INVALID
    APPS JTA_NOTES_IMT_PUB PACKAGE INVALID
    APPS JTF_AMVIMT_PUB PACKAGE INVALID
    APPS CF_1FORMULA FUNCTION INVALID
    APPS ADD_DEPT PROCEDURE INVALID
    APPS LEAVE_EMP2 PROCEDURE INVALID
    APPS P2_INS_DEPT PROCEDURE INVALID
    APPS QUERY_EMP PROCEDURE INVALID
    APPS RAISE_SALARY PROCEDURE INVALID
    APPS AMV_IMT_PUB PACKAGE BODY INVALID
    APPS BOMPKMUD PACKAGE BODY INVALID
    APPS CS_KB_CONC_PROG_PKG PACKAGE BODY INVALID
    APPS CS_SR_ADDR_SYNC_INDEX_PKG PACKAGE BODY INVALID
    APPS CS_SR_SYNC_INDEX_PKG PACKAGE BODY INVALID
    APPS DOM_DOC_TEXT_PVT PACKAGE BODY INVALID
    APPS DOM_DOC_TEXT_UTIL PACKAGE BODY INVALID
    APPS EAM_SYNC_WO_TEXT_INDEX_PVT PACKAGE BODY INVALID
    APPS EAM_TEXT_INDEX_PVT PACKAGE BODY INVALID
    APPS EAM_TEXT_UTIL PACKAGE BODY INVALID
    APPS EDR_INDEXED_XML_UTIL PACKAGE BODY INVALID
    APPS EGO_ITEM_AML_PUB PACKAGE BODY INVALID
    APPS EGO_ITEM_AML_PVT PACKAGE BODY INVALID
    APPS EGO_ITEM_TEXT_PVT PACKAGE BODY INVALID
    APPS EGO_ITEM_TEXT_UTIL PACKAGE BODY INVALID
    APPS ENG_CHANGE_ACTIONS_PKG PACKAGE BODY INVALID
    APPS ENG_CHANGE_LINE_UTIL PACKAGE BODY INVALID
    APPS ENG_CHANGE_TEXT_PVT PACKAGE BODY INVALID
    APPS ENG_CHANGE_TEXT_UTIL PACKAGE BODY INVALID
    APPS ENG_ECO_UTIL PACKAGE BODY INVALID
    APPS ENG_LAUNCH_ECO_OI_PK PACKAGE BODY INVALID
    APPS ENI_DENORM_HRCHY PACKAGE BODY INVALID
    APPS FND_IMUTL PACKAGE BODY INVALID
    APPS FND_TS_MIG_UTIL PACKAGE BODY INVALID
    APPS HZ_DQM_SYNC PACKAGE BODY INVALID
    APPS HZ_PARTY_STAGE PACKAGE BODY INVALID
    APPS HZ_PARTY_STAGE_SHADOW PACKAGE BODY INVALID
    APPS HZ_PURGE PACKAGE BODY INVALID
    APPS IBC_CONTENT_SYNC_INDEX_PKG PACKAGE BODY INVALID
    APPS IBC_IMT_PUB PACKAGE BODY INVALID
    APPS IBE_SEARCHUPDATE_PVT PACKAGE BODY INVALID
    APPS IBE_SEARCH_SETUP_PVT PACKAGE BODY INVALID
    APPS ICX_CAT_INTERMEDIA_INDEX_PVT PACKAGE BODY INVALID
    APPS ICX_POR_INTERMEDIA_INDEX PACKAGE BODY INVALID
    APPS IRC_DOCUMENT_API PACKAGE BODY INVALID
    APPS IRC_POSTING_CONTENT_API PACKAGE BODY INVALID
    APPS JTA_NOTES_IMT_PUB PACKAGE BODY INVALID
    APPS JTF_AMVIMT_PUB PACKAGE BODY INVALID
    APPS JTF_TASK_IDX_UTL PACKAGE BODY INVALID
    APPS OKC_ARTICLE_KEYWORD_PVT PACKAGE BODY INVALID
    APPS OKC_CHR_KEYWORD_PVT PACKAGE BODY INVALID
    APPS OKC_REP_CONTRACT_SEARCH_PVT PACKAGE BODY INVALID
    APPS OKC_TEMPLATE_KEYWORD_PVT PACKAGE BODY INVALID
    APPS RA_CUSTOMER_TEXT_PKG PACKAGE BODY INVALID
    APPS XLA_00140_AAD_S_000002_PKG PACKAGE BODY INVALID
    APPS XLA_00140_AAD_S_000018_PKG PACKAGE BODY INVALID
    APPS XLA_00200_AAD_S_000002_PKG PACKAGE BODY INVALID
    APPS XLA_00200_AAD_S_000005_PKG PACKAGE BODY INVALID
    APPS XLA_00200_AAD_S_000010_PKG PACKAGE BODY INVALID
    APPS XLA_00200_AAD_S_000012_PKG PACKAGE BODY INVALID
    APPS XLA_00200_AAD_S_000021_PKG PACKAGE BODY INVALID
    APPS XLA_00555_AAD_S_000001_PKG PACKAGE BODY INVALID
    APPS XLA_00707_AAD_S_000002_PKG PACKAGE BODY INVALID
    APPS XLA_00707_AAD_S_000005_PKG PACKAGE BODY INVALID
    APPS XLA_00707_AAD_S_000006_PKG PACKAGE BODY INVALID
    APPS XLA_00707_AAD_S_000019_PKG PACKAGE BODY INVALID
    APPS XLA_00707_AAD_S_000020_PKG PACKAGE BODY INVALID
    APPS ZPB_BUILD_METADATA PACKAGE BODY INVALID
    APPS EGO_MTL_SYSTEM_ITEMS_B_TR1 TRIGGER INVALID
    APPS EGO_MTL_SYSTEM_ITEMS_TL_TR1 TRIGGER INVALID
    APPS EGO_MTL_MFG_PART_NUMBERS_TR1 TRIGGER INVALID
    APPS EGO_MTL_ITEM_CAT_GRPS_B_TR1 TRIGGER INVALID
    APPS EGO_MTL_MANUFACTURERS_TR1 TRIGGER INVALID
    OWAPUB DEBUG_CARTX PACKAGE BODY INVALID
    OWAPUB OWA_OPT_LOCK PACKAGE BODY INVALID
    OWAPUB OWA_UTIL PACKAGE BODY INVALID
    XXFNA TCS_WFMAIL PACKAGE BODY INVALID
    81 rows selected.

  • File Name error when creating file in Solaris C locale

    Background Info:
    1.In Java, we can use new File(filename) to create a new file. The filename there is a string denoting the name of the new file.
    2.As mentioned in bug4409965, "The 'C' locale in a 7-bit ASCII locale, the 8bit characters enteredn are not read in properly probably because in that locale, the input byte stream is expected to contain only 7bit characters, anything else is 'garbage'".
    My problem is:
    when I tried to construct a filename containing non-ASCII characters in the Solaris C locale, Java works quite different from C language.
    To be specify, follwing c code works quite well in C locale:
    char * temstring = "\0xd6\0xd0";
    FILE* fd = fopen(temstring, "w+");
    fprint(fd, "test");
    fclose(fd);
    Although the created file can't be viewed in C locale, the filename shows quite well in other suppoted locale , which means the filename doesn't get modified.
    While in Java, the following code
    File f = new File("\0xd6\0xd0");
    fos.println("test");
    try {
    f.createNewFile();
    } catch (IOException e)
    System.err.println(e.toString());
    will generate the file in C locale as ???? as garbage file name. Even in the proper locale, the filename can't be read correctly.
    I doubt the JVM in Solaris (file unixfilesystem.c) has modified the input filename and made the filename unreadable.
    I just wonder if there is some workaround to solve this problem, which means I can correctly generate the filename using Java just as what the C code has done: create the file just as what I denote instead of modifing the filename.
    Thanks

    Hello:
    Any luck with this problem?
    I am facing the same problem and was wondering if you had found a solution....
    Thanks
    Kiran

  • JRE error when starting runInstaller on Solaris 8

    Help! I'm getting the following error when I try to start ./runInstaller :
    "The Java Runtime Environment was not found at /tmp/OraInstall/jre/bin/jre. Hence, the Oracle Universal Installer cannot be run.
    Please visit http://www.javasoft.com and install JRE version 1.1.7 or higher and try again.
    : No such file or directory"
    Since Solaris 8 already comes with 1.1.8 and 1.2.2 installed what could be causing this?
    Thanks!
    Evan
    [email protected]

    This could be a problem with mounting of CD.
    If you are not using Solaris Volume Management software. Execute the following commands as root user.
    prompt> mkdir /cdrom
    prompt> mount -r -F hsfs device_name /cdrom
    prompt> exit
    Regards
    Ranga
    null

Maybe you are looking for

  • How do you transfer music from one computer to another

    I purchase a new desktop PC and now want to transfer music purchases and imported music from my old desktop to my new desktop. What's the easy way to do this?

  • 11.2 cluster database instances crashed..

    Hi all, we have a two node 11.2 cluster on OL 5.7. Today our cluster database instances on node two all crashed. I found several log entry´s. There are all addicted to network. _____Alert log Thu Mar 22 09:15:31 2012 Errors in file /u01/app/oracle/di

  • How can i delete search histiory, (not just browser history, j.jc

    how can i delete search history, ( not just browser h' i can do that) j.c. == This happened == Every time Firefox opened == long time ago

  • Content aware leaving outline

    I used content aware on a bag on the forground of a picture. Worked ok, but left an outline. I got rid of that ok with healing and clone. But some wirse in sky, it's leaving an outline that is no better than the wires themselves. any tips? thanks. CS

  • Flac to alac conversion

    I have a large library of FLAC files that I've been trying to convert to ALAC so they can be stored in itunes and play out to my hifi and radio/player. My itunes library is stored on a Buffalo linkstation 2TB NAS that also runs itunes server to allow