Solaris 8 ignores /etc/dt/config/C/Xresources

i'm trying to load that resource for all users:
XTerm*scrollBar: true
i've put it into
/etc/dt/config/C/Xresources
/etc/dt/config/Xresources
/usr/dt/config/C/Xresources
/usr/dt/config/Xresources
$HOME/.Xresources
but it doesn't work, howether loading it manually like xrdb /path/Xresources and then starting xterm again works well (for current session)
Solaris is just fresh installed
How to solve this?

Update:
I shutdown the domain, pulled the boot disk, and replaced it with a clean drive. I built the system with Solaris 10 05/08 then patched with the latest reccomended patch cluster. My HBA is a Qlogic 2342 connecting to Cisco 9509 switches connected to a NetApp fas box (not 100% sure on the model atm, but very high end).
I configured the same lun I had on the solaris 8 box then mounted it up. All my data files are intact so I began some testing to see if the performance was any different.
I ran several timed sequential 10Gb writes and hit a max throughput of about 170Mb a sec on the lun. This is rather sad really, as it's not even hitting 2Gb FC speeds. I really punished the system with several parallel 10Gb writes, 10Gb reads, and 4k writes and reads. I never really achieved more than about 15k IOPs to the lun, and never exceded peak 190Mb a second. Under the heavy load the device queue really stacked up. The filesystem is UFS on the lun.
We're going to try some different lun setups on the netapp to increase spindle count, but I'm really not sure it will help in any way.
Does anyone have any experience with a similar setup? Perhaps changing settings in the qlogic driver conf, like frame size perhaps? How about any ideas to peg down the performance culprit (server, switch, storage)?
tia

Similar Messages

  • Enable wine...edit /usr/etc/wine/config

         Enjoying arch manipulation but am not up to the big wine/config setup details.
         Perhaps there is a short description of this
    task somewhere available.  :?:

      I went through a copy of the   wine config  and copied it in /usr/etc/wine.config.
       The file follows:WINE REGISTRY Version 2
    ;; All keys relative to \Machine\Software\Wine\Wine\Config
    ;; If you think it is necessary to show others your complete config for a
    ;; bug report, filter out empty lines and comments with
    ;; grep -v "^;" ~/.wine/config | grep '.'
    ;; MS-DOS drives configuration
    ;; Each section has the following format:
    ;; [Drive X]
    ;; "Path"="xxx"       (Unix path for drive root)
    ;; "Type"="xxx"       (supported types are 'floppy', 'hd', 'cdrom' and 'network')
    ;; "Label"="xxx"      (drive label, at most 11 characters)
    ;; "Serial"="xxx"     (serial number, 8 characters hexadecimal number)
    ;; "Filesystem"="xxx" (supported types are 'msdos'/'dos'/'fat', 'win95'/'vfat', 'unix')
    ;;   This is the FS Wine is supposed to emulate on a certain
    ;;   directory structure.
    ;;   Recommended:
    ;;   - "win95" for ext2fs, VFAT and FAT32
    ;;   - "msdos" for FAT16 (ugly, upgrading to VFAT driver strongly recommended)
    ;;   DON'T use "unix" unless you intend to port programs using Winelib !
    ;; "Device"="/dev/xx" (only if you want to allow raw device access)
    [Drive A]
    "Path" = "/mnt/fd0"
    "Type" = "floppy"
    "Label" = "Floppy"
    "Filesystem" = "win95"
    "Serial" = "87654321"
    "Device" = "/dev/fd0"
    [Drive C]
    "Path" = "/c"
    "Type" = "hd"
    "Label" = "MS-DOS"
    "Filesystem" = "win95"
    [Drive D]
    "Path" = "/cdrom"
    "Type" = "cdrom"
    "Label" = "CD-Rom"
    "Filesystem" = "win95"
    ; make sure that device is correct and has proper permissions !
    "Device" = "/dev/cdrom"
    [Drive E]
    "Path" = "/tmp"
    "Type" = "hd"
    "Label" = "Tmp Drive"
    "Filesystem" = "win95"
    [Drive F]
    "Path" = "%HOME%"
    "Type" = "network"
    "Label" = "Home"
    "Filesystem" = "win95"
    [Drive Z]
    "Path" = "/"
    "Type" = "hd"
    "Label" = "Root"
    "Filesystem" = "win95"
    [wine]
    "Windows" = "c:\windows"
    "System" = "c:\windows\system"
    "Temp" = "e:\"
    "Path" = "c:\windows;c:\windows\system;e:\;e:\test;f:\"
    "Profile" = "c:\windows\Profiles\Administrator"
    "GraphicsDriver" = "x11drv"
    ;"ShowDirSymlinks" = "1"
    ;"ShowDotFiles" = "1"
    "ShellLinker" = "wineshelllink"
    # [wineconf]
    [Version]
    ; Windows version to imitate (win95,win98,winme,nt351,nt40,win2k,winxp,win2k3,win20,win30,win31)
    "Windows" = "win98"
    #"DOS version to imitate
    "DOS" = "6.22"
    ; Be careful here, wrong DllOverrides settings have the potential
    ; to pretty much kill your setup.
    [DllOverrides]
    ; some dlls you may want to change
    "oleaut32"     = "builtin, native"
    "ole32"        = "builtin, native"
    "commdlg"      = "builtin, native"
    "comdlg32"     = "builtin, native"
    "shell"        = "builtin, native"
    "shell32"      = "builtin, native"
    "shfolder"     = "builtin, native"
    "shlwapi"      = "builtin, native"
    "shdocvw"      = "builtin, native"
    "advapi32"     = "builtin, native"
    "msvcrt"       = "native, builtin"
    "mciavi.drv"   = "native, builtin"
    "mcianim.drv"  = "native, builtin"
    "msi"          = "native, builtin"
    ; you can specify applications too
    ; this one will apply for all notepad.exe
    ;"*notepad.exe" = "native, builtin"
    ; this one will apply only for a particular file
    ;"C:\windows\regedit.exe" = "native, builtin"
    ; default for all other dlls
    "*" = "builtin, native"
    [x11drv]
    ; Number of colors to allocate from the system palette
    "AllocSystemColors" = "100"
    ; Use a private color map
    "PrivateColorMap" = "N"
    ; Favor correctness over speed in some graphics operations
    "PerfectGraphics" = "N"
    ; Color depth to use on multi-depth screens
    ;;"ScreenDepth" = "16"
    ; Name of X11 display to use
    ;;"Display" = ":0.0"
    ; Allow the window manager to manage created windows
    "Managed" = "Y"
    ; Use a desktop window of 640x480 for Wine
    ;"Desktop" = "640x480"
    ; Use XFree86 DGA extension if present
    ; (make sure /dev/mem is accessible by you !)
    "UseDGA" = "Y"
    ; Use XVidMode extension if present
    "UseXVidMode" = "Y"
    ; Use XRandR extension if present
    "UseXRandR" = "Y"
    ; Use the take focus protocol
    "UseTakeFocus" = "Y"
    ; Enable DirectX mouse grab
    "DXGrab" = "N"
    ; Create the desktop window with a double-buffered visual
    ; (useful to play OpenGL games)
    "DesktopDoubleBuffered" = "N"
    ; Run in synchronous mode (useful for debugging X11 problems)
    ;;"Synchronous" = "Y"
    ; Use the Render extension to render client side fonts (default "Y")
    ;;"ClientSideWithRender" = "Y"
    ; Fallback on X core requests to render client side fonts (default "Y")
    ;;"ClientSideWithCore" = "Y"
    ; Set both of the previous two to "N" in order to force X11 server side fonts
    ; Anti-alias fonts if using the Render extension (default "Y")
    ;;"ClientSideAntiAliasWithRender" = "Y"
    ; Anti-alias fonts if using core requests fallback (default "Y")
    ;;"ClientSideAntiAliasWithCore" = "Y"
    [fonts]
    ;Read the Fonts topic in the Wine User Guide before adding aliases
    ;See a couple of examples for russian users below
    "Resolution" = "96"
    "Default" = "-adobe-helvetica-"
    "DefaultFixed" = "fixed"
    "DefaultSerif" = "-adobe-times-"
    "DefaultSansSerif" = "-adobe-helvetica-"
    ;; default TrueType fonts with russian koi8-r encoding
    ;"Default" = "-monotype-arial-*-*-*--*-*-*-*-*-*-koi8-r"
    ;"DefaultFixed" = "-monotype-courier new-*-*-*--*-*-*-*-*-*-koi8-r"
    ;"DefaultSerif" = "-monotype-times new roman-*-*-*--*-*-*-*-*-*-koi8-r"
    ;"DefaultSansSerif" = "-monotype-arial-*-*-*--*-*-*-*-*-*-koi8-r"
    ;; default cyrillic bitmap X fonts
    ;"Default" = "-cronyx-helvetica-"
    ;"DefaultFixed" = "fixed"
    ;"DefaultSerif" = "-cronyx-times-"
    ;"DefaultSansSerif" = "-cronyx-helvetica-"
    ; the TrueType font dirs you want to make accessible to wine
    [FontDirs]
    ;"dir1" = "/usr/X11R6/lib/X11/fonts/TrueType"
    ;"dir2" = "/usr/share/fonts/truetype"
    ;"dir3" = "/usr/X11R6/lib/X11/fonts/TT"
    ;"dir4" = "/usr/share/fonts/TT"
    [serialports]
    "Com1" = "/dev/ttyS0"
    "Com2" = "/dev/ttyS1"
    "Com3" = "/dev/ttyS2"
    "Com4" = "/dev/modem"etc
    [parallelports]
    "Lpt1" = "/dev/lp0"
    [ppdev]
    ;; key:  io-base of the emulated port
    ;; value : parport-device{,timeout}
    ;; timeout for auto closing an open device ( not yet implemented)
    ;"378" = "/dev/parport0"
    ;"278" = "/dev/parport1"
    ;"3bc" = "/dev/parport2"
    [spooler]
    "FILE:" = "tmp.ps"
    "LPT1:" = "|lpr"
    "LPT2:" = "|gs -sDEVICE=bj200 -sOutputFile=/tmp/fred -q -"
    "LPT3:" = "/dev/lp3"
    [ports]
    ;"read"  = "0x779,0x379,0x280-0x2a0"
    ;"write" = "0x779,0x379,0x280-0x2a0"
    etc
    [Debug]
    ;"RelayExclude" = "RtlEnterCriticalSection;RtlLeaveCriticalSection"
    ;"RelayInclude" = "user32.CreateWindowA"
    ;"RelayFromExclude" = "user32;x11drv"
    ;"RelayFromInclude" = "sol.exe"
    ;"SnoopExclude" = "RtlEnterCriticalSection;RtlLeaveCriticalSection"
    ;"SpyExclude" = "WM_SIZE;WM_TIMER;"
    [registry]
    ;These are all booleans.  Y/y/T/t/1 are true, N/n/F/f/0 are false.
    ;Defaults are read all, write to Home
    ; Where to find the global registries
    ;"GlobalRegistryDir" = "/etc";
    ; Global registries (stored in /etc)
    "LoadGlobalRegistryFiles" = "Y"
    ; Home registries (stored in ~user/.wine/)
    "LoadHomeRegistryFiles" = "Y"
    ; Load Windows registries from the Windows directory
    "LoadWindowsRegistryFiles" = "Y"etc
    ; TRY to write all changes to home registries
    "WritetoHomeRegistryFiles" = "Y"
    ; Registry periodic save timeout in seconds
    ; "PeriodicSave" = "600"
    ; Save only modified keys
    "SaveOnlyUpdatedKeys" = "Y"
    [Tweak.Layout]
    ;; supported styles are 'Win31'(default), 'Win95', 'Win98'
    ;; this has *nothing* to do with the windows version Wine returns:
    ;; set the "Windows" value in the [Version] section if you want that.
    "WineLook" = "Win95"
    [Clipboard]
    "ClearAllSelections" = "0"
    "PersistentSelection" = "1"
    ; List of all directories directly contain .AFM files
    [afmdirs]
    "1" = "/usr/share/ghostscript/fonts"
    "2" = "/usr/share/a2ps/afm"
    "3" = "/usr/share/enscript"
    "4" = "/usr/X11R6/lib/X11/fonts/Type1"
    [WinMM]
    ; Uncomment the "Drivers" line matching your sound setting.
    "Drivers" = "wineoss.drv"      ; default for most common configurations
    ;"Drivers" = "winearts.drv"    ; for KDE
    ;"Drivers" = "winealsa.drv"    ; for ALSA users
    ;"Drivers" = "winejack.drv"    ; for Jack sound server
    ;"Drivers" = "winenas.drv"     ; for NAS sound system
    ;"Drivers" = "wineaudioio.drv" ; for Solaris machines
    ;"Drivers" = ""                ; to disable sound
    "WaveMapper" = "msacm.drv"
    "MidiMapper" = "midimap.drv"
    [dsound]
    ;; HEL only: Number of waveOut fragments ahead to mix in new buffers.
    ;"HELmargin" = "5"
    ;; HEL only: Number of waveOut fragments ahead to queue to driver.
    ;"HELqueue" = "5"
    ;; Max number of fragments to prebuffer
    ;"SndQueueMax" = "28"
    ;; Min number of fragments to prebuffer
    ;"SndQueueMin" = "12"
    ;; Forces emulation mode (using wave api)
    ;"HardwareAcceleration" = "Emulation"
    ;; Sets default playback device (0 - number of devices - 1)
    ;"DefaultPlayback" = "0"    ; use first device (/dev/dsp)
    ;"DefaultPlayback" = "1"     ; use second device (/dev/dsp1)
    ;"DefaultPlayback" = "2"     ; use third device (/dev/dsp2)
    ;; Sets default capture device (0 - number of devices - 1)
    ;"DefaultCapture" = "0"        ; use first device (/dev/dsp)
    ;"DefaultCapture" = "1"        ; use second device (/dev/dsp1)
    ;"DefaultCapture" = "2"        ; use third device (/dev/dsp2)
    [Network]
    ;; Use the DNS (Unix) host name always as NetBIOS "ComputerName" (boolean, default "Y").
    ;; Set to N if you need a persistent NetBIOS ComputerName that possibly differs
    ;; from the Unix host name. You'll need to set ComputerName in
    ;; HKEY_LOCAL_MACHINESystemCurrentControlSetControlComputerNameComputerName, too.
    ;"UseDnsComputerName" = "N"
    ;; sample AppDefaults entries
    ; 3 InstallShield versions who like to put their full screen window in front,
    ; without any chance to switch to another X11 application.
    ; So just catch them in a desktop window.
    [AppDefaults\_INS0432._MP\x11drv]
    "Desktop" = "640x480"
    [AppDefaults\_INS0466._MP\x11drv]
    "Desktop" = "640x480"
    [AppDefaults\_INS0576._MP\x11drv]
    "Desktop" = "640x480"
    [AppDefaults\_INS5176._MP\x11drv]
    "Desktop" = "640x480"
    [AppDefaults\_INS5576._MP\x11drv]
    "Desktop" = "640x480"
    ; force it to install even though wine has a newer version
    [AppDefaults\dcom98.exe\DllOverrides]
    "ole32" = "native"
    [AppDefaults\dcom95.exe\DllOverrides]
    "ole32" = "native"
    ;[AppDefaults\iexplore.exe\DllOverrides]
    ;"shlwapi" = "native"
    ;"rpcrt4" = "native"
    ;"ole32" = "native"
    ;"shdocvw" = "native"
    ;"wininet" = "native"
    ;"shfolder" = "native"
    ;"shell32" = "native"
    ;"shell" = "native"
    ;"comctl32" = "native"
    ;[AppDefaults\setup.exe\x11drv]
    ;"Desktop" = "800x600"
    ;[AppDefaults\sol.exe\Version]
    ;"Windows" = "nt40"
    ;; Some games (Quake 2, UT) refuse to accept emulated dsound devices.
    ;; You can add an AppDefault entry like this for such cases.
    ;[AppDefaults\pickygame.exe\dsound]
    ;"EmulDriver" = "N"
    # [/wineconf]
       That is a big file to edit!!!  It doesn/t respond to an entry of....wine... in root
        Gives an error requesting edit of the file.
         Any help would be wonderful!!!!

  • Sshd ignores /etc/hosts.allow and /etc/hosts.deny

    Hello everyone,
    I've just found out that sshd ignores /etc/hosts.allow and /etc/hosts.deny completely on my machine. It doesn't make use of tcp_wrappers. I am using the standard Arch package. Either my settings are wrong, or this is a severe security problem. It was a terrible surprise to find out that my server is under severe dictionary attacks all the time, despite the denyhosts script I am using.
    These are my settings:
    /etc/hosts.deny:
    ALL: ALL
    /etc/hosts.allow:
    # some nfs daemons: 192.168.1.0/255.255.255.0
    sshd sshd1 sshd2: ALL EXCEPT /etc/hosts.evil
    mysqld: 192.168.1.0/255.255.255.0
    /etc/hosts.evil:
    195.113.21.131
    60.10.6.53
    A simple experiment to verify the settings:
    [root@charon etc]# tcpdmatch -d -i /etc/xinetd.conf sshd 195.113.21.131
    warning: sshd: no such process name in /etc/xinetd.conf
    client: address 195.113.21.131
    server: process sshd
    matched: hosts.deny line 5
    access: denied
    [root@charon etc]# tcpdmatch -d -i /etc/xinetd.conf sshd 195.113.21.130
    warning: sshd: no such process name in /etc/xinetd.conf
    client: address 195.113.21.130
    server: process sshd
    matched: hosts.allow line 10
    access: granted
    This seems to be fine. But when I go to the machine 195.113.21.131, I can simply log in with no trouble at all.
    This is really strange. Does it have something to do with the xinetd warning? I am not using xinetd... Maybe I'm doing something wrong. If you have experienced such a trouble, please give me a hint.

    elasticdog wrote:So should our package not have the ListenAddress 0.0.0.0 line uncommented by default?  My guess would be that since it listens on all local addresses by default, we're just overwriting that when specifying 0.0.0.0, which isn't valid.  That was users don't have to specify their local IP address.  Unless I'm wrong, shouldn't this be a bug/feature request for the packager?
    This doesn't seem to be a package bug... IMHO, sshd must respect all the settings in hosts.deny and hosts.allow, regardless the IP address it listens on. The behaviour I noticed seems to be much more complicated. Basic settings (daemon name mentioned in hosts.*) worked, as far as I didn't want a "per IP" configuration. For example, including the daemon in hosts.allow really enabled remote connections, but any closer specifications (subdomains, EXCEPT operator...) were ignored. Access was simply granted without further evaluation. Excluding sshd from hosts.allow worked as one would assume. When I specified ListenAddress, everything started to work properly. This is mysterious. There are millions of computers using tcp wrappers and ssh, so it's hard to believe there could be a bug.

  • Pacman ignores /etc/hosts

    I use csslayer-aur-repo which is placed on googlecode.com server, however csslayer-aur-repo.googlecode.com sometimes returns IP of server which doesn't seem to have csslayer-aur-repo.db.tar.gz file. As a workaround i've put csslayer-aur-repo.googlecode.com in /etc/hosts with an IP which works just fine. I've tested it with wget and ping, and both of them seem to use this "new" IP address. However pacman seems to ignore /etc/hosts and picks that random IP which mostly leads to "404 not found" error when doing pacman -Syu/Syy/Sy.
    Here is my /etc/hosts
    # /etc/hosts: static lookup table for host names
    #<ip-address> <hostname.domain.org> <hostname>
    127.0.0.1 localhost.localdomain localhost Archie
    209.85.135.82 csslayer-aur-repo.googlecode.com
    # End of file
    and here is the repo entry from pacman.conf:
    [csslayer-aur-repo]
    Server = http://csslayer-aur-repo.googlecode.com/files

    Yup, wget fetches http://csslayer-aur-repo.googlecode.com … .db.tar.gz just fine and it uses the IP specified in /etc/hosts.
    Surely pacman does not deploy its own DNS server, but seems to ignore /etc/hosts. If i remove csslayer line from /etc/hosts then wget also will fail.
    [hash@Archie ~]$ wget http://csslayer-aur-repo.googlecode.com/files/csslayer-aur-repo.db.tar.gz
    --2010-07-26 18:54:29-- http://csslayer-aur-repo.googlecode.com/files/csslayer-aur-repo.db.tar.gz
    Translacja csslayer-aur-repo.googlecode.com... 209.85.135.82
    Łączenie się z csslayer-aur-repo.googlecode.com|209.85.135.82|:80... połączono.
    Żądanie HTTP wysłano, oczekiwanie na odpowiedź... 200 OK
    Długość: 1190 (1,2K) [application/x-gzip]
    Zapis do: `csslayer-aur-repo.db.tar.gz'
    100%[=============================================================================================================================================================================>] 1.190 --.-K/s w 0,02s
    2010-07-26 18:54:30 (72,5 KB/s) - zapisano `csslayer-aur-repo.db.tar.gz' [1190/1190]
    [hash@Archie ~]$ pacman -Syu
    :: Synchronizing package databases...
    kde-unstable is up to date
    core is up to date
    extra is up to date
    community is up to date
    error: nie udało się pobrać pliku 'csslayer-aur-repo.db.tar.gz' z csslayer-aur-repo.googlecode.com : Not Found
    error: failed to update csslayer-aur-repo (Not Found)
    Last edited by hash (2010-07-26 16:55:47)

  • Getting error ERROR (OVSCommons:142) catch_error: /etc/monitor/config.yml

    While trying to create a Server Pool, I get this error
    [2011-09-09 17:19:34 19523] ERROR (OVSCommons:142) catch_error: [Errno 2] No such file or directory: '/etc/monitor/config.yml'
    Traceback (most recent call last):
    File "/opt/ovs-agent-3.0/OVSCommons.py", line 140, in wrapper
    return func(*args)
    File "/opt/ovs-agent-3.0/OVSServerPool.py", line 189, in create_server_pool
    node_number, server_hostname, server_ip, roles, initial=True)
    File "/opt/ovs-agent-3.0/OVSServerPool.py", line 150, in pool_add_server
    write_config(pool_uuid, server_id)
    File "/opt/ovs-agent-3.0/OVSStat.py", line 100, in write_config
    fd = open(MONITOR_CFG, 'r')
    IOError: [Errno 2] No such file or directory: '/etc/monitor/config.yml'
    I see this file out out in /etc/monitor
    config.yml.save
    But not the other....Is there some doc that tells me how to fix this?
    Edited by: user594687 on Sep 9, 2011 5:41 PM

    user594687 wrote:
    config.yml.save
    But not the other....Is there some doc that tells me how to fix this?Is it perhaps config.yml.rpmsave? If so, just rename it back to config.yml. If you upgraded from a pre-release version of Oracle VM 3.0, this may have caused the file to be renamed by the upgrade process. Otherwise, just reinstall the entire server from the 3.0.1 ISO image.

  • Web Server reads /etc/apache2 config after upgrade to 10.8.1

    I just updated one of my servers to 10.8.1 from 10.8. It seems with the ML update the OSX Server configuration files in
    /Library/Server/Web/Config/apache2
    are no longer being read; instead, the non-server configuration files in
    /etc/apache2 get read. I was wondering if anyone knew an easy fix? Also, DocumentRoot was set to an external drive
    /Volume/Library. The update created a folder at my mount point containing a default WebDocuments in it. My external
    drive ends up being mounted at Library 1. Why?

    The first part of this question is actually partially explained by the second part. ML Server was not reading /etc/apache2, it was reading the osx configuration file, but somehow after the upgrade it was creating a new folder at the mount point of my external drive being used to hold my webdocuments. This seemed to happen before my drive got mounted (obviously). Deleting this folder and restarting seemed to fix the issue.

  • Installing Oracle 9i on Solaris 10 SPARC,  /etc/system vs. projects

    Can anyone verify that the kernel tuning parameters that used to be set in /etc/system on Solaris 8 have any effect in Solaris 10? All the documentation I can find suggests that most (if not all) of these settings have been marked obsolete or removed in Solaris 10. It is my understanding that these settings (such as shared memory) need to be set by means of a project. If we are running with no project setup in Solaris 10 are we pretty much running "untuned" ? Thanks
    Some links...
    New or change parameters in Solaris 10
    http://docs.sun.com/app/docs/doc/817-0404/appendixb-16?a=view
    Solaris Tunable Parameters manual
    http://dlc.sun.com/pdf/817-0404/817-0404.pdf

    We have carried over the following parameters from /etc/system on our old Solaris 8 DB servers. We just want to know if these settings are having any effect. We are currently seeing some performance issues on T5220's with 32GB RAM (old DB servers were SunFire 4800's).
    shmsys:shminfo_shmmax obsolete as of Solaris 10
    shmsys:shminfo_shmseg removed in Solaris 10
    shmsys:shminfo_shmmin removed in Solaris 10
    shmsys:shminfo_shmmni obsolete as of Solaris 10
    semsys:seminfo_semmns removed in Solaris 10
    semsys:seminfo_semmni obsolete as of Solaris 10
    semsys:seminfo_semmsl obsolete as of Solaris 10
    semsys:seminfo_semopm obsolete as of Solaris 10
    semsys:seminfo_semvmx removed in Solaris 10
    rlim_fd_max=8096 In the Solaris 8 version, the default is 1024. In later Solaris releases, the default is 65,536
    rlim_fd_cur=1024 Still supported
    noexec_user_stack Still supported
    Actual /etc/system settings...
    set shmsys:shminfo_shmmax=31457280000
    set shmsys:shminfo_shmseg=16
    set shmsys:shminfo_shmmin=1
    set shmsys:shminfo_shmmni=128
    set semsys:seminfo_semmns=11000
    set semsys:seminfo_semmni=0x402
    set semsys:seminfo_semmsl=4096
    set semsys:seminfo_semopm=100
    set semsys:seminfo_semvmx=32767
    set rlim_fd_max=8096
    set rlim_fd_cur=1024
    set noexec_user_stack=1
    Edited by: [email protected] on Mar 6, 2009 12:25 PM

  • /mnt/etc instead of /etc when configing in install

    So, I get this really weird problem..
    I'm installing ARch on a computer for dual boot use, with ubuntu.
    Everything works fine up until the configuration.. The problem here is that that nano is looking for all config files under /mnt/etc/... but they are located under /etc/... and thus, I end up with empty, alternatively unconfigured files. I have looked in the mounted /etc/ and there are config files there.. Is it safe just to edit them with nano in an alternative window or is it a point in editing it in the installer? I suppose i could read /etc/.. to the file under /mnt/etc but what good will that do?
    I'm using an old /boot that i mount, and an old SWAP, the / is, ofc, new.
    Anybody knows what causes this and what i should do?:o
    Edit: Nothing is wrong with the cd I think, successfull installs have been made with the same cd previously, not on dualboot systems though..
    Edit 2: Tried to conf using the files under /etc but they don't contain what they should, looks like the second half of  the files has been cut basicly..
    Last edited by cwacker (2008-07-30 21:56:22)

    Check the wiki and do a manual install or download the latest usb-image. I think this is more or less an issue with older cd isos.
    Regarding the manual installation, or semi-manual or whatever feels good to say, this part of the dmraid-wiki might help.
    Last edited by loosec (2008-08-16 08:20:29)

  • Files in /etc/dt/config/*

    Running Solaris 9 SPARC
    What are the correct filenames in subdirectories "C", "en_US.UTF-8", "en_CA" and "en_US" ?
    sys.resources or Xresources ??
    Thanks

    EddieA wrote:
    I'm having problems connecting to my desktop using XDMCP. Any attempt to connect just "hangs". Initially, checking netstat didn't show anything for port 177.
    From Google, I found that I had to remove the "udpPort=0" string from dtlogin. After doing that it made port 177 show up in a netstat, where it didn't before. So I thought I was getting somewhere.
    But, the status is "Idle", not "Listening"XDMCP is UDP, not TCP. "LISTEN" is a TCP concept that does not apply here.
    'Idle' would be normal for the XDMCP port.
    I also set "tcp_listen = true", as suggested by another article, but still no joy.That's not going to do anything useful.
    Any attempt to connect just hangs.You might try snooping to see what's happening, or maybe truss dtlogin as you attempt to connect.
    Darren

  • Solaris 10 HP Inkjet  prints config file?

    Hello All,
    I was able to install the printer ok but when a try and print something I get about 6 pages of what appears to be a config file or something.
    The printer is a HP 6122 and is attached via lp1.
    I've tried changing the options in the printer properties view but it does not make any differance.
    Any input would be appreciated.
    Thank you,
    Tom

    Thanks Alan. I worked on trying to get the NIC working again last night. I had it working once, although the settings did not perist. I can still get the device to load, but I can't communciate with the router (it's not physical because another OS can reach it.
    I took your advice and tried the sys-unconfig. But I did not have much success.
    I am wondering if plopping in a new PCI NIC would be the most efficient route to get the server up.
    What kind of NIC do you utilize and have had success with?
    I am looking at possibly a DLINK DFE-530 or NetGear FA-311. I don't need wireless at this point just a rock solid DEV box.
    Thanks again for the previous info.
    Ted

  • Editing /etc/squirrelmail/config/conf.pl while Mail server is running

    Do you advise stopping mail services before editing the conf.pl file?

    That's all I needed to know. Thanks ptero!

  • Solaris 10 login banner security warning

    We have a virtualized configuration with multiple VMs and were trying to make our Solaris 10 VM's issue a warning banner at login.
    We have updated the standard files for this:
    /etc/issue
    /etc/motd
    /etc/olt/config/c/Xresources
    Yet we still see nothing at login
    Any ideas?

    How are you logging in? If you are using ssh you need to modify sshd_config to have Banner point to one of these files. If you are logging on the zone's console check permissions on those files and your /etc/profile, .profile to make sure you aren't supressing the output somehow.

  • /etc/hosts file ignored

    I'm having a strange problem with the hosts file
    I've edited my hosts file so I can work with a local machine for testing.
    The entry in the hosts file is honoured for about 30 seconds or for as long as I ping it.
    As soon as I stop pinging it, it reverts to the DNS entry and ignores etc/hosts
    If I then touch hosts, it wil honour the entry again for 30 odd seconds.
    Any ideas?

    When it reverts to the DNS entry, I'm not 100% sure DirectoryService is making a request out to our DNS servers or if it's cached somewhere, but it's certainly not using what's in hosts.
    Wow, this is odd. WRT DirectoryService making requests, you can use the "dscacheutil" command to look at syscall stats. This utility will track cache hits, cache misses and external calls for each standard system call it monitors. So, you care about gethostbyname(), so by periodically running dscacheutil, then doing name lookups (i.e. with ping or whatever), you can see where the system is getting the data. You'd want to run something like this:
    dscacheutil -statistics | grep gethostbyname

  • /etc/hosts.deny ignored

    Hey all!
    I've tried to secure my sshd by running denyhosts (http://www.archlinux.org/packages/search/?q=denyhosts).
    denyhosts works perfectly and adds alot of adresses to /etc/hosts.deny
    But my system ignores /etc/hosts.deny: I still got my sshd-logs full of connections from the same IP.
    Don't worry, I've tried it with my PC: same result.
    I've added my IP by hand: same result.
    Why is my /etc/hosts.deny ignored? What can I do?
    Regards,
    Moritz

    i.e.
    Sep 1 20:38:10 linux sshd[9343]: Invalid user brand from 219.254.35.183
    Sep 1 20:38:13 linux sshd[9345]: Invalid user client from 219.254.35.183
    Sep 1 20:38:16 linux sshd[9347]: Invalid user corp from 219.254.35.183
    Sep 1 20:38:19 linux sshd[9349]: Invalid user content from 219.254.35.183
    Sep 1 20:38:21 linux sshd[9351]: Invalid user contact from 219.254.35.183
    Sep 1 20:38:24 linux sshd[9353]: Invalid user coach from 219.254.35.183
    Sep 1 20:38:27 linux sshd[9355]: Invalid user career from 219.254.35.183
    Sep 1 20:38:30 linux sshd[9357]: Invalid user chat from 219.254.35.183
    Sep 1 20:38:33 linux sshd[9359]: Invalid user dibalo from 219.254.35.183
    Sep 1 20:38:36 linux sshd[9361]: Invalid user download from 219.254.35.183
    Sep 1 20:38:39 linux sshd[9363]: Invalid user complainst from 219.254.35.183
    Sep 1 20:38:42 linux sshd[9365]: Invalid user sales from 219.254.35.183
    Sep 1 20:38:45 linux sshd[9367]: Invalid user email from 219.254.35.183
    Sep 1 20:38:48 linux sshd[9369]: Invalid user emails from 219.254.35.183
    but
    # grep 219.254.35.183 hosts.deny
    # DenyHosts: Fri Jun 30 11:46:20 2006 | ALL: 219.254.35.183
    ALL: 219.254.35.183

  • Java timezone vs Solaris /etc/TIMEZONE

    Hi, I've a perplexing (but rather interesting) problem.
    On our old Solaris 6 box, /etc/TIMEZONE contain these lines
    TZ=EAT-8
    LC_COLLATE=en_US
    LC_CTYPE=en_US
    LC_MESSAGES=C
    LC_MONETARY=en_US
    LC_NUMERIC=en_US
    LC_TIME=en_US When I type date on the Solaris command line, I get this response
    # date
    # Thu Oct 14 09:29:24 EAT 2004
    When I run a test program I get different date and time
    public class DateTest
      public static void main(String[] args)
        String timeZone[] ={"GMT","GMT-1","GMT-2", "GMT-3", "GMT+8", "EAT", "EAT-8", "Hongkong"};
        System.out.println("DEFAULT TIME ZONE");
        System.out.println("Date = " + new Date());
        for(int kk=0; kk<timeZone.length; kk++)
            TimeZone.setDefault(TimeZone.getTimeZone(timeZone[kk]));
            System.out.println(" DATE: " + new Date()+" TIME ZONE: "+ timeZone[kk]  );
    }DEFAULT TIME ZONE
    Date = Thu Oct 14 04:29:29 GMT+03:00 2004
    DATE: Thu Oct 14 02:29:29 GMT+01:00 2004 TIME ZONE: GMT
    DATE: Thu Oct 14 04:29:29 GMT+03:00 2004 TIME ZONE: GMT-1
    DATE: Thu Oct 14 04:29:29 GMT+03:00 2004 TIME ZONE: GMT-2
    DATE: Thu Oct 14 04:29:29 GMT+03:00 2004 TIME ZONE: GMT-3
    DATE: Thu Oct 14 04:29:29 GMT+03:00 2004 TIME ZONE: GMT+8
    DATE: Thu Oct 14 04:29:29 GMT+03:00 2004 TIME ZONE: EAT
    DATE: Thu Oct 14 04:29:29 GMT+03:00 2004 TIME ZONE: EAT-8
    DATE: Thu Oct 14 04:29:29 GMT+03:00 2004 TIME ZONE: Hongkong
    One would think that EAT-8 would get me the same result, but no!
    How does one get Java to return the same result as the date on command line?

    I don't pretend to be an expert on this %!&*%# mess they've made of calendars, cates, and times, but I have learned that Dates / the Date class won't play nice with the other classes. I only use Dates in their default values. Here's something that set the timezone as you were trying to do.
    import java.text.DateFormat;
    import java.util.Date;
    import java.util.TimeZone;
    public class DateTest
        public static void main(String[] args)
            Date now = new Date();
            System.out.println("DEFAULT Date = " + now);
            DateFormat df = DateFormat.getDateTimeInstance(DateFormat.LONG, DateFormat.FULL);
            String[] timeZone = {"America/Los_Angeles", "MST", "JST", "US/Hawaii", "Etc/GMT-4", "CET", "GMT", "Hongkong"};
            for (int kk = 0; kk < timeZone.length; kk++)
                TimeZone tz = TimeZone.getTimeZone(timeZone[kk]);
                df.setTimeZone(tz);
                System.out.println(df.format(now));
    }

Maybe you are looking for