MB_CUR_MAX Settings in Solaris 10

Hi All -
MB_CURR_MAX sets to 3 in my Solaris 10 though it is not a multi-byte machine. The Locale settings are set to en_GB.ISO8859-1. I do not know if
this setting will cause some system calls, functions to behave differently.
How is this set? I checked iso/stdlib_iso.h and found the CURR_MAX to be defined as __ctype[520] or _ctype[520].
How is ctype[] or _ctype[] populated? How do I ensure that MB_CURR_MAX is set to 1 as it should be.
Your help will be greatly appreciated.
With Regards

Hi.
some PATH:
ar,make: /usr/ccs/bin
cc - require install "Oracle Solaris Studio" ( http://www.oracle.com/technetwork/server-storage/solarisstudio/downloads/index-jsp-141149.html )
But for many products more easy use GCC.
Check path: /usr/sfw/bin
Kernel parameters can require or not reboot of the system.
It's depend of paramter's type: dynamical or static.
Dynamical parameters can be changed via ndd
Docs about kernel parameters:
http://docs.oracle.com/cd/E19253-01/817-0404/index.html
Regards.

Similar Messages

  • How to make proxy settings in solaris 10 i386

    Dear Sir,
    I need your help in making proxy settings in solaris 10 x86, as well as on SPARC.
    i installed on virtual machine, and later i wanted to do the same on M4000 server. please help.
    Why I need to set proxy?
    I am on a co-orporate network, and it requires proxy to use internet to download packages for sun directly from sun machine.
    What package I want to download?
    I want to dowload CUPS to configure LINE PRINTER(ALIS5180).
    What did i do to configure line printer?
    1, i installed sun solaris 10 on a dell server to make it as a "print server"
    2, with the print manager I configure "alis5180"
    3, give the print command to test the printing.
    4, I did not got success, coz it is not printing the document i want, it is printing junk.
    5, i clear the cache of alis5180 printer.
    6, reset all the emulations ANSI, IBM Proprinter III XL, Epson FX-1180, Printronix® P600 & P 5000/6000, DEC® LG01, HP 2564C, Tally line/dot matrix printer, Epson FX 1180,
    MTPL, contextual arabic, Twinax (IBM 4234/4210/5225)/Coax(IBM4234), HP LineJet HPLP Series, HP 256X no success.
    Conclusion:-
    This is why I want to configure cups. and I need internet access on the print server to download the this package, and it require internet connection.
    Regards,
    Mky
    Edited by: user9007339 on Jan 22, 2012 3:29 AM

    You could try the Dell site, but I doublt if they will have a driver for Solaris, Linux maybe but not Solaris. Otherwise try the DriverGuide web site. http://www.driverguide.com/
    You could also try installing OpenSolaris if you don't specifically need Solaris 10. Better chance that OpenSolaris will support the NIC.

  • How to configure network settings in solaris 10

    hi
    i have downloaded solaris 10 and installed on dell dimension desktop,as i have gone through the instalation guide,i see i dont get netwotk configuration (DNS,DHCP.....)settings during installation,it havent asked me about those settings,It just asked the host name ..after installation i see no network connection even i have my cable connected.ethernet cable connected Its INTEL
    can anyone help me how to resolve this issue

    You could try the Dell site, but I doublt if they will have a driver for Solaris, Linux maybe but not Solaris. Otherwise try the DriverGuide web site. http://www.driverguide.com/
    You could also try installing OpenSolaris if you don't specifically need Solaris 10. Better chance that OpenSolaris will support the NIC.

  • Change DNS settings in Solaris 11

    Where do I need to go to change the DNS settings on a Solaris 11 server?

    I'd like to refer you to the documentation:
    http://docs.oracle.com/cd/E23824_01/html/821-1455/dnsref-31.html#dnsref-36
    Settings are handled through the SMF repository, using the "svccfg -s network/dns/client" command.
    If this does not give you the answer you are looking for, then I recommend viewing the rest of the document.
    -- Alan

  • How to change mouse & graphics settings on Solaris 10?

    I have Solaris 10 on x86. Before under Solaris 9, I used the "kdmconfig" command to change the mouse and graphics card settings.
    What is the command to do this under Solaris 10, x86? Thanks.

    serendipity1276,
    If you want to use Xorg in a console as root (su -) type /usr/X11/bin/xorgconfig This will walk you thru setting up X, and create a /etc/X11/xorg.conf file. After completing the setup, log out and log back in. Your new settings should take effect. One interesting thing of note concerning mouse setup. If you're using a usb mouse, you should select "auto", otherwise if you select "imps2" for example, you're X server will not start.
    hope that helps,
    Dave S.
    Edited for spelling

  • Domain Name settings in Solaris - Newbie question

    Sorry for a newbie question!
    I am already pointing a domain name to web hosting for email account. Now, I need an application server to run ERP software and Oracle, and installing Solaris and Oracle need a domain name.
    If I point my domain name to the server, how do I receive emails from web hosting???
    Install an email server to the application server instead? What can I do if I want the same domain name?

    Your questions are completely off-topic for the forum.
    These SunOS forums are for questions on <i>"how do I install my OS"</i>
    You particular question is in the <i>"how can I install Solaris while using the CD drive"</i> forum.
    So, if you had a question on how to edit the /etc/inet/hosts file to establish a FQDN on the computer, then it might be appropriate for the forum.
    Unfortunately, I don't have a clue on where to redirect you, except perhaps to the Sun Java Enterprise System suite of applications?

  • SAP R/3 4.7 EE on Solaris 10

    Hi All,
    I need your valuable suggestion/solution with respect to the query i have. To be informed, as a requirement in SAP Upgrade project following are some queries we have -->
    1. We need to install SAP R/3 4.7 ext 2.00 EE on Solaris 10 with oracle 9i, we are currently on SAP R/3 4.7 ext 2.00 EE on Solaris 9 with oracle 9i. Is there is any difference in behavior of SAP due to OS versions ??
    2. After performing Step 1, we need to restore the backup of existing data to new version of OS, will it give any problem while performing restoration ??
    Please suggest appropriate solution ASAP.
    Many Thanks,
    Kshitiz Goyal,
    BASIS Administrator

    If you are installing a new system then I would go for Oracle 10 instead of 9.2 - the official support for 9.2 will end tomorrow (end of July)!
    Solaris 10 doesn´t use /etc/system for IPC configurations any more, you have to create a project and assign the users - see note 724713 - parameter settings for Solaris 10
    Apart from that everything should be the same.
    Markus

  • SAP AS JAVA installation in Solaris Zone envirn throws OUT of Memory error.

    Hi,
    We are installing SAP NW2004s 7.0 SR3 AS JAVA on Solaris 10 in zone environment. Thsi was prod server getting build where on top of this we will install GRC 5.3.
    We have faced no issues in development build.
    But during the Prod build at databse create step, we are getting the below error
    ORA-27102: out of memory
    SVR4 Error: 22: Invalid argument
    Disconnected
    SAPinst log entries where error messages started:
    04:43:58.128
    Execute step createDatabase of component |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_OraDBCheck|ind|ind|ind|ind|0|0|NW_OraDBMain|ind|ind|ind|ind|0|0|NW_OraDBStd|ind|ind|ind|ind|3|0|NW_OraDbBuild|ind|ind|ind|ind|5|0
    INFO 2011-04-01 04:45:14.590
    Working directory changed to /tmp/sapinst_exe.16718.1301647358.
    INFO 2011-04-01 04:45:14.595
    Working directory changed to /tmp/sapinst_instdir/NW04S/SYSTEM/ORA/CENTRAL/AS.
    INFO 2011-04-01 04:45:14.609
    Working directory changed to /tmp/sapinst_exe.16718.1301647358.
    INFO 2011-04-01 04:45:14.621
    Working directory changed to /tmp/sapinst_instdir/NW04S/SYSTEM/ORA/CENTRAL/AS.
    INFO 2011-04-01 04:45:14.850
    Account oraac5 already exists.
    INFO 2011-04-01 04:45:14.852
    Account dba already exists.
    INFO 2011-04-01 04:45:14.852
    Account oraac5 already exists.
    INFO 2011-04-01 04:45:14.853
    Account dba already exists.
    INFO 2011-04-01 04:45:14.867
    Working directory changed to /tmp/sapinst_exe.16718.1301647358.
    INFO 2011-04-01 04:45:14.899
    Working directory changed to /tmp/sapinst_instdir/NW04S/SYSTEM/ORA/CENTRAL/AS.
    ERROR 2011-04-01 04:45:32.280
    CJS-00084  SQL statement or script failed. DIAGNOSIS: Error message: ORA-27102: out of memory
    SVR4 Error: 22: Invalid argument
    Disconnected
    . SOLUTION: See ora_sql_results.log and the Oracle documentation for details.
    ERROR 2011-04-01 04:45:32.286
    MUT-03025  Caught ESAPinstException in Modulecall: ORA-27102: out of memory
    SVR4 Error: 22: Invalid argument
    Disconnected
    ERROR 2011-04-01 04:45:32.453
    FCO-00011  The step createDatabase with step key |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_OraDBCheck|ind|ind|ind|ind|0|0|NW_OraDBMain|ind|ind|ind|ind|0|0|NW_OraDBStd|ind|ind|ind|ind|3|0|NW_OraDbBuild|ind|ind|ind|ind|5|0|createDatabase was executed with status ERROR ( Last error reported by the step :Caught ESAPinstException in Modulecall: ORA-27102: out of memory
    SVR4 Error: 22: Invalid argument
    Disconnected
    ora_sql_results.log
    04:45:15 SAPINST ORACLE start logging for
    SHUTDOWN IMMEDIATE;
    exit;
    Output of SQL executing program:
    SQL*Plus: Release 10.2.0.4.0 - Production on Fri Apr 1 04:45:15 2011
    Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
    Connected to an idle instance.
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    SVR4 Error: 2: No such file or directory
    Disconnected
    SAPINST: End of output of SQL executing program /oracle/AC5/102_64/bin/sqlplus.
    SAPINST found errors.
    SAPINST The current process environment may be found in sapinst_ora_environment.log.
    2011-04-01, 04:45:15 SAPINST ORACLE stop logging
    ================================================================================
    2011-04-01, 04:45:15 SAPINST ORACLE start logging for
    STARTUP NOMOUNT;
    exit;
    Output of SQL executing program:
    SQL*Plus: Release 10.2.0.4.0 - Production on Fri Apr 1 04:45:15 2011
    Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
    Connected to an idle instance.
    ORA-27102: out of memory
    SVR4 Error: 22: Invalid argument
    Disconnected
    SAPINST: End of output of SQL executing program /oracle/AC5/102_64/bin/sqlplus.
    SAPINST found errors.
    SAPINST The current process environment may be found in sapinst_ora_environment.log.
    2011-04-01, 04:45:32 SAPINST ORACLE stop logging
    Already viewed S-note
    724713 - parameter settings for Solaris 10 - (Parameters are set as per this note)
    743328 - Composite SAP note: ORA-27102 - (no much information in memory problem on zones)
    Please provide your suggestions/resolution.
    Thankyou.

    Hi,
    @ Sunny: Thanks for response, the referred note was already checked and parameters are in sync as per note.
    @Mohit: SAP wouldn't proceed till create database if Oracle software was not installed. thanks for the response.
    @Markus: Thanks I agree with you, but I have doubt in this area. Isn't it like project.max-shm-memory was new parameter we need to set in local zone rather using shmsys:shminfo_shmmax in /etc/system. Do we need to still maintain this parameter in /etc/system in global zone.
    As per SUN doc below parameter was obsolete from Solaris 10.
    The following parameters are obsolete.
    ■ shmsys:shminfo_shmmni
    ■ shmsys:shminfo_shmmax
    As per your suggestion, do we need to set below parameters in that case, please clarify.
    Parameter                           Replaced by Resource Control      Recommended Value
    semsys:seminfo_semmni   project.max-sem-ids                      100
    semsys:seminfo_semmsl   process.max-sem-nsems               256
    shmsys:shminfo_shmmax  project.max-shm-memory             4294967295
    shmsys:shminfo_shmmni   project.max-shm-ids                       100
    Also   findings of /etc/release
    more /etc/release
    Solaris 10 10/08 s10s_u6wos_07b SPARC
    Regards,
    Sitarama.

  • Installation of Solaris on a new HDD

    Hello,
    I have a new HDD (20GB) that I had just installed onto the Ultra10 workstation. I have try to install both Solaris7 and Solaris 8 but faced some issues. After the completion of the installation, the system will reboot. BUT after reboot I will encoutered the below error message.
    Can anyone kindly advise.
    Rebooting with command : boot
    Boot device :/ pci@1f, 0/pci@1/ide@3/disk@0,0:a File and args : -F cprboot
    Fast Data Access : MMU Miss
    ok
    Thanks
    Karen

    I'm unsure about the exact syntax for setting a
    configuration variable at the boot prom to an
    empty string (that's why I suggested "-v" :-).
    And I don't want to stop one of our servers now,
    just to find the right answer.
    But, now that you've solaris running, you can also
    change the settings from solaris, using the eeprom
    command.
    eeprom boot-args=
    should define "boot-args" with the empty string.

  • Performance on Solaris 10 - Operating system paging

    Has anyone experience performance issues after an upgrade from Solaris 9 to Solaris 10 on SAP systems with limited memory?
    We have many systems that are on servers with 4 Gig of memory and ran well on Solaris 9.  After an upgrade to Solaris 10 we are experiencing very high OS system paging rates.  The response times of the SAP systems are very poor when this occurs.  It seems to take very little load to cause this.
    I realize more memory or decreases in Oracle or SAP memory parms will solve this but am wondering if there is anything on the Solaris OS that could resolve this?
    Thanks,
    Dan

    DISM can be used but in global zone only (according to Sun document "Best Practive for Running Database in Solaris Containers" , the  proc_lock_memory privilege which is required to run the ora_dism_ process is not available in non globale zone)
    The doc i got is from 2005, so don't know if the Sun recommendations has been updated since then.
    In order to activate DISM (if you are in a global zone), sga_max_size should be set up larger than the sum of sga components: db_cache_size, shared_pool_size ...)
    Also look for the Sun Blueprint "Dynamic Reconfiguration and Oracle 9i Dynamic Resizable SGA" on http://www.sun.com/blueprints
    If you use ISM because in a non-global zone, you can use oracle parameter lock_sga to ensure the SGA is loaded into the RAM and useism_for_pga = true to ensure PGA is loaded into the RAM.
    Make sure you have enough RAM to hold filesystem cache (OS memory) , oracle memory, and applications memory
    Make sur your PGA and SGA are correctly sized size, since you won't be able to dynamically change the ISM allocation. (see v$shared_pool_advice, v$db_cache_advice, v$pga_target_advice ...)
    Take the usual precautions:
    - have a successfull backup first
    - do the change on a test machine
    - and/or ask your vendor before proceeding
    Other Doc to read ...
    Note 697483 - "Oracle Dynamic SGA on Solaris"  (recommends to read Sun doc n°230653)
    Note 724713 - parameter settings for Solaris 10, here is an extract :
    Only one parameter from SAP note 395438 should remain in file
    etc/system
    set rlim_fd_cur=8192
    As described in SunSolve document 215536, the "Large Page Out Of the Box" (LPOOB) feature of the Solaris 10 memory management, first implemented in Solaris 10 1/06 (Update 1), can lead to performance problems when the system runs out of large chunks of free contiguous memory. This is because the Solaris 10 kernel by default will attempt to relocate memory pages to free up space for creating larger blocks of contiguous memory. Known symptoms are high %system CPU time in vmstat, high number of cross calls in mpstat, and Oracle calling mmap(2) to /dev/zero for getting more memory.
    Memory page relocation for satisfying large page allocation requests can be disabled by setting the following Solaris kernel parameter in /etc/system
    set pg_contig_disable=1
    This will not switch off the LPOOB feature. Large memory pages will still be used when enough free space of contiguous memory is available, so the benefits of this feature will remain
    Note 870652 - Installation of SAP in a Solaris Zone
    Note 1246022 - Support for SAP applications in Solaris Zones
    Edited by: Emmanuel TCHENG on Oct 13, 2009 12:02 PM

  • Solaris 10 won't boot after changing the CPU

    Hi. I was running Solaris on my Intel-based desktop machine. It was running fine. One day I upgraded my CPU and since then Solaris won't start. Immediately after it tries to load itself, it displays something on the screen really fast ( something with "dumping" in it) and then reboots.
    I runned Solaris in fail safe but I cannot run reboot -r for example. It says that reboot has wrong parameter or something. And I don't know what else to do.
    Please help.
    Thanks.
    P.S. I'm not 100% sure that the problem is related to changing the CPU. Maybe I configured something wrong when working in Solaris prior to the hardware change. But I think that's unlikely because I'm usually pay attention when changing settings in Solaris and don't dive in dark waters.

    Right after I wrote my previous post I looked again at the web page Darren recommended and I figured out what it was all about. I had troubles understanding the procedure in the first place because I wasn't familiar with mounting partitions and I didn't know what /a refers to. On another site I found out about the command that saved me: mount /dev/dsk/c0d0s0 /a A bit later I found out that when starting Solaris in single user mode (failsafe for example) the partition is mounted automatically to /a when you choose to update the boot archives.
    (As a tip for beginners like me, once in single user mode use the Delete key instead of Backspace :P ).
    So, the procedure explained on that site is:
    In case of a hardware mismatch, use one of the two methods that follow:
    Method 1 (Recommended)
    1.Move path_to_inst          ex: # mv /a/etc/path_to_inst /a/etc/ORIGINAL_PATH_TO_INST      2.Remove all old device links          ex: # rm /a/dev/rdsk/c* ; rm /a/dev/dsk/c* ; rm /a/dev/rmt/*   3. Rebuild path_to_inst and devices          ex: # devfsadm -r /a -p /a/etc/path_to_inst Note: If you are worried about the bootblock being corrupt, reinstall it.       # cd /a/usr/platform/`uname -i`/lib/fs/ufs
          # /a/usr/sbin/installboot bootblk /dev/rdsk/<c#t#d#s0>  4.Unmount the root slice and reboot          ex: # umount /a ; init 6Method 2
    From the OK> prompt, do a 'boot -ar'.
    Accept the default for all questions except the path_to_inst file.
    When you get to that one, specify /dev/null.
    It should then prompt you if you want to create a new /etc/path_to_inst file from scratch. Say yes.
    So I tried method 1, but no success. First of all I noticed that the devfsadm command didn't create the /a/etc/path_to_inst file. As many times I have tried it (even after I read a lot more on the Internet regarding these commands) I never made it to work. Somewhere on the net somebody asked about the "-p" argument that is not explained in the man pages of the command and the answer was that it specifies the path to the path_to_inst file wich makes sense but doesn't work. Somewhere else it was suggested that the "-p" argument to be ignored and the new path_to_inst file to be looked under /etc ; this was not the case for me.
    I tried method 1 many times with small variations, within the virtual or the real machine, but it never worked.
    So I tried method 2 as well, but no luck either. First of all, for all other beginners facing this kind of problem, on a x86 machine there is no OK> prompt; it's a SPARC "feature". But "boot -r" commands or alike can be issued using "reboot -- -r".
    So I have tried all the variations I could find on the internet -r,-a,-ra,-rav, but this command didn't work either. I always got the message
    bootadm: Cannot update menu. Cannot reboot with requested arguments.I never quite figured what "menu" is all about. My guess was that it refered to the grub menu/commands for booting and that it couldn't change those. So I
    read on the net a few things about the booting commands in GRUB bootloader and I tried a few variation but they never worked. Indeed the changes I did to the commands were not saved, as the bootadm erros would indicate. Am I wrong?
    After reading about the GRUB commands I got a little bit more familiar to what goes on at booting time and later I found an article in the Sun Documentation called x86: How to Boot the Failsafe Archive to Forcibly Update a Corrupt Boot Archive ( http://docs.sun.com/app/docs/doc/819-2379/6n4m1vlfi?a=view ). There I so this command
    To forcibly update the corrupt boot archive, type:
         # bootadm update-archive -f -R /a
    Unmount the device.
         # umount /a
    Reboot the system.
         # init 6I have tried it, looked like it is searching through the hard-disk, after a while finished and I rebooted but with no effect.
    This is where I am now.
    Any idea of why devfsadm would not create the path_to_inst file?
    Any ideas of what to do else or where I could have got it wrong?
    Thank you.

  • Solaris Express Developer Edition + Apple Airport Extreme

    I just installed Solaris Express Develper Edition without any problems, but I can't seem to get my wireless connection up and running. I use an Apple Airport Extreme and while my MacBook with Mac OS X and my Xubuntu machine have no problems connecting to the internet through the Airport, my Solaris says he can't connect.
    I allready disabled the Auto-magic stuff so I can setup the connection manually. I did it with the following two commands:
    svcadm disable svc:/network/physical:nwam
    svcadm enable svc:/network/physical:default
    The wireless interface ath0 can detect all the available networks (including mine), so it works.
    My Airport uses WPA/WPA2 Personal and DHCP.
    In the Network settings of Solaris I've set the properties of the wireless ath0 interface as follows:
    * enable this connection
    * activate on boot
    * network name (ESSID): my network is detected and I can select it from the dropdown list of available networks
    * Key Type: Plain (ASCII)
    * WEP key: my WEP key (the thing I filled in as WPA/WPA2 Personal on my airport)
    * Connection settings Configuration: DHCP
    I click OK and then try to activate the ath0 interface, but it doesn't work. The message is:
    "Could noet enable the interface ath0
    Check that the settings are correct for this network and that the computer is correctly connected to it".
    Which is frustrating, because as far as I know, the settings are correct (ESSID, WEP, ...) and the computer is correctly connected as it can detect all the available wifi networks in my area.
    Does anybody have any idea? Thnx in advace,
    Nico

    In the Network settings of Solaris I've set the properties of the wireless ath0 interface as follows:
    * enable this connection
    * activate on boot
    * network name (ESSID): my network is detected and I can select it from the dropdown list of available networks
    * Key Type: Plain (ASCII)
    * WEP key: my WEP key (the thing I filled in as WPA/WPA2 Personal on my airport)
    * Connection settings Configuration: DHCPWhere is this? I've never seen it. :-)
    I just use sys-unconfig and select DHCP and off it goes.
    alan

  • SUN Solaris: Containers and Virtualization

    Hi Everyone,
    Just starting on a new project which will deployed on SUN Mxxxx servers.
    We have opted to virtualize the systems, does anyone have any experience on Solaris Virtualization, containers, etc?
    Any white papers, how to guide or experience would be greatly appreciated.
    Kind Regards
    Michael

    We make use of containers/zones heavily (together with ZFS as filesystem) and it works like a charm. We also use on one box Solaris Cluster together with containers.
    Check the following notes:
    Note 1246022 - Support for SAP applications in Solaris Zones
    Note 870652 - Installation of SAP in a Solaris Zone
    Note 724713 - parameter settings for Solaris 10
    What database will be used?
    Markus

  • Changing locale to German in Solaris 9

    Hi
    How to change the locale settings in Solaris? I tried using the LANG= de export LANG and LC_ALL options,but when I start my server using the same terminal, error appers,locale settings not correct.
    Can someone please provide info about the same?

    http://forums.adobe.com/message/4194849#4194849
    It's the same for PSE 9.

  • Kernel parameter settings ,OS patches and packages

    Hello,
    We are going to install 11.2.0.3 on Oracle Solaris 11(Sparc 64bit).
    There is no kernel settings information for solaris 11 in installation guide.
    http://docs.oracle.com/cd/E11882_01/install.112/e24346/pre_install.htm#CIHFICFD
    Can we use the same solaris 10 kernel settings to solaris 11 ?
    Also want to know the OS patches and packages for solaris 11.
    Thank you,
    Venkatesh

    Check MOS Doc 169706.1 - Oracle Database on Unix AIX,HP-UX,Linux,Mac OS X,Solaris,Tru64 Unix Operating Systems Installation and Configuration Requirements Quick Reference (8.0.5 to 11.2)
    HTH
    Srini

Maybe you are looking for