Door in Solaris

hi,
Can anyone suggest a website/article that describes development and description/role of doors in UNIX or Solaris... the files starting with dr-xr--r--

Hello.
Solaris is currently the only OS that supports doors (there is an experimental extra module for Linux but it is still under development).
Doors are not stored on the file system but they have a file name (such as a "UNIX socket") so you can see them when typing "ls".
Doors are used to call functions that are running in different processes. One example is the "gethostbyname" function (which searches for the IP address of an internet host name).
The name service background process contains the actual implementation of gethostbyname(). It creates a door file (/var/run/name_service_door) which acts as an "entry" for other processes that want to call "gethostbyname".
A program that wants to call gethostbyname() will now open the door file and call a special function (door call) that will call the function that is located in the name service process.
I find door programming a bit complicated and prefer other communication methods (such as "UNIX sockets" or "named pipes") more handy.
Martin

Similar Messages

  • 8i on Solaris hangs during xa_open

    I just installed 8i on solaris 2.7. I start the database and then run my tried and true transaction app which calls xaoopen_help and then hangs. When I peek at the stack, I see the following... Any ideas what might be problem? Thanks
    ----------------- lwp# 1 / thread# 1 --------------------
    fe397d34 lwp_sema_wait (67e80)
    fe12b044 _park (67dd0, 67e80, 0, 1, fe14d298, 0) + 10c
    fe12ad38 _swtch (5, fe14c524, 67e60, 67e5c, 67e58, 67e54) + 350
    fe129ae0 condwait (fe3b8080, fe14dee8, 4356, fe14c524, fe3b3bb0, fe12d024) +a4
    fe12d024 rw_rdlock (fe3b8060, 5000, fe14c524, 5257, fe3b3bb0, fe3b8080) + ac
    fe38b0e4 fflushu_iops (0, 1, fe3b3bb0, ff3dfd30, fe3b3bb0, fe339388) + 2c
    fe33944c abort (fe3b3bb0, 0, ff360fb0, fe38abc0, fe3b3bb0, fe392024) + e0
    fe39207c rmutexunlock (fe3b7870, 1, 0, fe38b5e4, fe3b3bb0, fe12d144) + 68
    fe38b508 getiop (0, fe3bb7ec, fe3b7870, fe3b8044, fe14dee8, fe38abc0) + 11c
    fe38abe4 _findiop (fe7638dc, 13, fe3b3bb0, fe3b8058, fe3b8044, 678c0) + 4c
    fe38b5e4 fopen (ffbe7ae8, ffbe7bec, 0, 4, 61, ffbe7ae8) + 4
    fe7638dc snlfohd (ffbe7cf4, 1, fb360, 2a, fa83c, fa84c) + 88
    fe759e08 nlpardfile (fa84c, fa818, ffbe7fd8, ffbe7cf4, 0, fb360) + 148
    fe757358 nlpains (ffbe873c, ffbe805c, 0, ffbe7fd8, 0, 0) + e4
    fe7576ec nlpainso (ffbe873c, ffbe805c, 0, ffbe7fd8, 0, 0) + 60
    fe760178 nlstdlp_load_psource (fea7beb0, ffbe8cf4, 0, ffbe8210, 2, 0) + 108
    fe75d688 nlstdggo (0, ffbe8cf4, ffbe89d0, 100, ffbe89cc, 2) + 1d4
    fe67b15c nigini1 (ffbeb53c, 2a7c, 0, 2800, fea37914, fe9f4288) + 220
    fe5e8880 osncon (0, 1803, 0, 0, 0, 0) + 518
    fe515874 upiini (f786c, 1400, f574c, f408c, f3fe8, f646c) + 288
    fe5068f4 upiah0 (f3fe8, 0, 0, 0, efcb0, 1000) + 3c
    fe5161b8 kpuatch (f3fac, 0, f574c, efb18, f3fe8, 0) + 288
    fe567c38 OCIServerAttach (f3fac, f41d4, 0, 0, 0, 0) + 1c
    fe571c0c xaolgn_help (ffbec4d4, a0b0, ffbec4dc, 0, fea37914, ffbec4e0) + 380
    fe57241c xaolgn (cdb28, fea37914, 0, cdb28, 0, fea37914) + 34
    fe56cc1c xaoopen_help (a0b0, 0, 0, 0, fea37914, ffbec7b7) + 538
    fed34714 tpopen (ffbec7b7, fedbe84c, 0, fec6d2e8, fedbbd4c, 6ee28) + 514
    fed5c54c tx_open (6ed58, fedbbd4c, 76420, 0, 6ee28, ff332d8c) + 178
    ff1453d8 __1cCTPKopen_xa_rm6F_v_ (ff16835c, ff30b700, ff334adc, ff3e1d6c, 4, ff33484c) + 14
    00041054 __1cTbegin_transactional6F_v_ (ffbecf88, 5349c, bd, 534a8, 2d41, ff00)+ 4
    000417e4 __1cGServerKinitialize6Mippc_c_ (6e968, e, 7f268, 38, ffbeec4c, ff16835c) + 2c
    ff130104 __1cHOrbMainHstartup6Mippc_v_ (7f218, ffbeec4c, 6ee28, ff16835c, 7b730, 6ed58) + 4f4
    ff130fc8 __1cLserver_init6Fippc_i_ (7b730, 7b730, ff16835c, 0, ffbeec4c, e) + 50
    000424e8 tpsvrinit (e, ffbeec4c, 63ba4, 6eee8, 6ee28, 1) + 18
    fed4bfdc _tmmain (fed4e1c4, ffbeec4c, 1, fedbe84c, 0, fed11fc4) + 4a8
    fed3cc74 _tmstartserver (fedbbd4c, 6ee28, ffbeec4c, 644e0, fe3b3bb0, fe3201e0) + a8
    00020924 main (e, ffbeec4c, ffbeec88, 64400, 0, 0) + 64
    0001d740 _start (0, 0, 0, 0, 0, 0) + b8
    ----------------- lwp# 2 / thread# 2 --------------------
    fe397704 signotifywait ()
    fe12f590 _dynamiclwps (fe14c524, fe14de3c, 2, 0, fe3b3bb0, fe3b3bb0) + 1c
    fe392a78 thr_errnop (0, 0, 0, 0, 0, 0) + 24
    ----------------- lwp# 3 --------------------------------
    fe397ce8 lwp_cond_wait (fe150c10, fe150c20, fe3d5c40)
    fe38fa78 lwpcond_timedwait (fe150c10, fe150c20, 0, 3a0326b1, 0, 0) + 90
    fe12a728 _age (fe14c524, fe14d28c, 0, 0, 0, 4) + 90
    fe395338 doorreturn (fe14db28, fe14db40, 3, fe14c524, fe3d5d08, fe12bc18) + 68
    ----------------- lwp# 4 --------------------------------
    fe3952dc door (0, 0, 0, 0, fe0b5d68, 4)
    fe12bc18 lwpstart (0, 0, 0, 0, 0, 0) + 14
    -------------------------- thread# 3 --------------------
    fe12e64c reapwait (fe14e070, 1e184, 0, 0, 0, 0) + 34
    fe12e3d0 _reaper (fe14c524, fe14e070, fe14d308, 67e5c, 1, fe400000) + 34
    fe13b824 threadstart (0, 0, 0, 0, 0, 0) + 40
    null

    I had the same symptom from a multithreaded C++ application
    until I added the -mt option to the CC command when linking.
    You are supposed to use it for compiling, too.
    Louis Warshawsky
    Computer Associates

  • Solaris 8 & Dell PowerEdge 6300

    This message goes to Sun Microsystem.
    I work for a Small School District which is 98% Windows NT.
    For more than a year I've been looking for ways to introduce a UNIX/LINUX Solution into our network.
    Finally, the best opportunity arrives: We need to set up a Spam Filter for our Mail system.
    The target machine is a Dell PowerEdge 6300 Dual 550mhz CPU, gig of RAM, SCSI Raid.
    The School was even good enough to send me to a Solaris Admin class just to help out with the integration.
    Everything is good except Device Configuration won't recognize the AMI MegaRaid Ultra SCSI contoller.
    Hence the install won't find the Hard Disks.
    Dell Support was good, but the couldn't help, as their testing for Solaris is a bit on the slow side.
    They said SUN would have to have the final say.
    So after looking through the SUN website; at all the HCLs I come to the conclusion, (note this Spam filter project must go forward soon) That:
    1. It will install if there is a Driver, (Dell didn't have it, AMI didn't, I don't, perhaps SUN does?)
    2. It will install if I get a different Raid Controller( unlikely as the only reason for considering UNIX in the first place is cost, and I've already got a Microsoft solution lined up for less than a good conrtoller)
    3. It's not going to work, because the hardware on this Server is just not supported.
    And I call SUN. Now given that SUN and all the UNIX / Linux crowd are always griping about how they are better, and how they need a piece of the Microsoft pie, and thet fact that many many times I've gotten Microsoft to help out without charge, I would've thought that SUN might be at least remotely helpful given the chance they had someone willing to start pushing them in the door, or at least they might care about Education.
    But No. No way, no how. Not even maybe or anything.
    Thanks a lot guys for nothing.
    You assholes don't deserve a market share, and until you start either making your shit work, or at least being more helpful to those who would push your products you'll never get anywhere.
    Fuck SUN Microsystems You're a bunch of good for nothing Dickwits...
    KSchwantz

    How is it the fault of Sun Microsystems that AMI will not provide a Solaris x86 driver for their RAID controller? Do you think Sun would not jump for joy if hardware manufacturers would provide drivers for an operating system other than Windoze whatever?
    Sun is stuck in a chicken/egg situation in this case. The hardware manufacturer will not provide a driver for such a low volume product as Solaris x86, and people cannot use Solaris x86 on much current hardware due to the lack of drivers. I imagine AMI has limited resources availble for driver developement, and wants to spend its development dollars on the platform that will generate the most revenue.
    Of course Sun could pay AMI to produce such a driver, or for the specifications so they could write their own, but then the price of Solaris x86 would have to be increased to offset the increased production cost. This would seem to just push people to use linux or one of the BSD variants. Any ideas on how to resolve this conundrum?
    Now that I'm done ranting, maybe this info will actually help you. AFAICT, megaraid is the name of a product line, not for a specific card. If you could provide more detailed info about the specific AMI HBA that you have, someone might be able to provide more detailed info to you. Some locations that appear to have some form of AMI megaraid drivers:
    http://www.driverscollection.com/?H=MegaRAID%20Drivers&By=AMI&SS=Solaris%20x86
    http://support.ap.dell.com/ap/en/filelib/
    http://support.megaraid.com/support/download.cfm
    HTH

  • Logon procedure hangs on my Solaris 10, why?

    Today we added more RAM to the Virtual Machine called SRWIKI501 and now it has 1024 GB RAM but after reboot it hangs with this:
    SunOS Release 5.10 Version Generic_127128-11 64 bit
    Copyright 1983-20008 Sun Microsystems Inc. All rights reservd.
    Use is subject to license terms.
    NOTICE: MPO disabled because memory is inter leaved
    Hostname: srwiki501
    /dev/rdsk/c1t0d0s7 is clean
    srwiki501 console login: wcy (then I presses enter ...
    _ (and nothing happens, it hangs)
    I am Sun Solaris 10 (Update 5) 64 bit on Vmware ESX Server 3.0.2. I do not have Vmware Tools installed yet, I was going to, but I am left outside the door, how can I debug this in order to get the system back on track?
    I am new to SunOS 10 and I have my daily work on AIX but I want to learn this. I have googled forward and backwards and I see that other have similar problems, however I get my login they don't. I had a system running before the reboot.
    Weird, because I can do this:
    G:\>ping srwiki501
    Pinging srwiki501.postdk.net [10.135.131.37] with 32 bytes of data:
    Reply from 10.135.131.37: bytes=32 time=1ms TTL=252
    Reply from 10.135.131.37: bytes=32 time<1ms TTL=252
    Reply from 10.135.131.37: bytes=32 time<1ms TTL=252
    Reply from 10.135.131.37: bytes=32 time<1ms TTL=252
    Ping statistics for 10.135.131.37:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
    Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 1ms, Average = 0ms
    G:\>nslookup srwiki501
    Server: srdcna501.postdk.net
    Address: 193.3.121.22
    Name: srwiki501.postdk.net
    Address: 10.135.131.37
    G:\>tracert srwiki501
    Tracing route to srwiki501.postdk.net [10.135.131.37]
    over a maximum of 30 hops:
    1 <1 ms <1 ms <1 ms 10.134.18.3
    2 <1 ms <1 ms <1 ms 10.134.16.5
    3 <1 ms <1 ms <1 ms 10.135.128.3
    4 <1 ms <1 ms <1 ms srwiki501.postdk.net [10.135.131.37]
    Trace complete.
    G:\>ping 10.135.131.1
    Pinging 10.135.131.1 with 32 bytes of data:
    Reply from 10.135.131.1: bytes=32 time<1ms TTL=253
    Reply from 10.135.131.1: bytes=32 time<1ms TTL=253
    Reply from 10.135.131.1: bytes=32 time<1ms TTL=253
    Reply from 10.135.131.1: bytes=32 time<1ms TTL=253
    Ping statistics for 10.135.131.1:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
    Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 0ms, Average = 0ms
    Best regards,
    Steen Jensen, Post Danmark

    OK, now I have booted the server up with the -v options and here is the spot where it hangs:
    Jul 28 22:04:08 srwiki501 genunix: model Vmware Virtual IDE CDROM Drive
    Jul 28 22:04:08 srwiki501 genunix: ARA/ATAPI-4 supported, majver 0x1e minver 0x17
    Jul 28 22:04:08 srwiki501 pci: PCI-device: ide@0, ata0
    Jul 28 22:04:08 srwiki501 genunix: ata0 is /pci@0,0/pci-ide-@7,1/ide@0
    Jul 28 22:04:08 srwiki501 genunix: ATA DMA off: disabled. Control with "at api-cd-dma-enabled" property
    Jul 28 22:04:08 srwiki501 genunix: PIO mode 4 selected
    Jul 28 22:04:08 srwiki501 genunix: ATA DMA off: disabled. Control with "at api-cd-dma-enabled" property
    Jul 28 22:04:08 srwiki501 genunix: PIO mode 4 selected
    Jul 28 22:04:08 srwiki501 genunix: ATA DMA off: disabled. Control with "at api-cd-dma-enabled" property
    Jul 28 22:04:08 srwiki501 genunix: PIO mode 4 selected
    Jul 28 22:04:08 srwiki501 genunix: ATA DMA off: disabled. Control with "at api-cd-dma-enabled" property
    Jul 28 22:04:08 srwiki501 genunix: PIO mode 4 selected
    Jul 28 22:04:08 srwiki501 scsi: sd1 at ata0: target 0 lun 0
    Jul 28 22:04:08 srwiki501 genunix: sd1 is /pci@0,0/pci-ide@7,1/ide@0/sd@0,0
    Jul 28 22:04:09 srwiki501 pseudo: pseudo-device: dtrace0
    Jul 28 22:04:09 srwiki501 genunix: dtrace0 is /pseudo/dtrace@0
    Jul 29 07:22:53 srwiki501 genunix:: WARNING: Time of Day clock error: Reason [Stalled]. � Stopped tracking Time Of Day Clock
    IT HANGS FOR GOOD HERE :-(
    Next I will try to boot up in single user mode in order to get a breakthrough, hopefully ...
    Edited by: SteenJensen on 29-07-2008 07:59

  • Solaris MC and Sun Cluster?

    Could someone tell me the relationship between Solaris MC and Sun Cluster?
    Thanks!
    Bill

    Solaris MC is a distributed operating system for
    multi-computers (i.e., clusters of nodes) that provides a
    single-system image: a cluster appears to the user and applications
    as a single computer running the SolarisTM operating system. Solaris
    MC is built as a set of extensions to the base Solaris UNIX � system
    and provides the same ABI/API as Solaris, running unmodified
    applications. The components of Solaris MC are implemented in C++
    through a CORBA-compliant object-oriented system with all new services
    defined by the IDL definition language. Objects communicate through a
    runtime system that borrows from Solaris doors and Spring
    subcontracts. Solaris MC is designed for high availability: if a node
    fails, the remaining nodes remain operational. Solaris MC has a
    distributed caching file system with UNIX consistency semantics,
    based on the Spring virtual memory and file system architecture.
    Process operations are extended across the cluster, including remote
    process execution and a global /proc file system. The external network
    is transparently accessible from any node in the cluster.

  • Logical interface in solaris 10

    Hi there,
    I need to configure logical interface in a solaris 10 3/05 server. After reading the Solaris 10 IP services manual, I am not quite sure what to do. All the examples and explanation are about using the new subcommand addif of ifconfig. It was not clear in the documentation if the setting logical interfaces via addif will persist across boot.
    Can one still configure logical interface in Solaris 10 in a more traditional way like in Solaris 8? In an Solaris 8 server I will do the following.
    Let's assume I want to configure in a solaris 8 server a logical interface named hme0:1 with IP address 192.168.20.28 with netmask 255.255.255.0 for hostname host001
    # cat /etc/hostname.hme0:1
    host001
    ^D
    # echo "192.168.20.28 host001" >> /etc/inet/hosts
    # echo "192.168.20.0 255.255.255.0" >> /etc/inet/netmasks
    # reboot -- -r
    Can one still do that in solaris 10 3/05 server?

    Hi there,
    I need to configure logical interface in a solaris 10
    3/05 server. After reading the Solaris 10 IP services
    manual, I am not quite sure what to do. All the
    examples and explanation are about using the new
    subcommand addif of ifconfig. It was not clear in the
    documentation if the setting logical interfaces via
    addif will persist across boot.No. No 'ifconfig' command is persistent.
    Can one still configure logical interface in Solaris
    10 in a more traditional way like in Solaris 8? In an
    Solaris 8 server I will do the following.
    Let's assume I want to configure in a solaris 8
    server a logical interface named hme0:1 with IP
    address 192.168.20.28 with netmask 255.255.255.0 for
    hostname host001
    # cat /etc/hostname.hme0:1
    host001
    ^D
    # echo "192.168.20.28 host001" >> /etc/inet/hosts
    # echo "192.168.20.0 255.255.255.0" >>
    /etc/inet/netmasks
    # reboot -- -r
    Can one still do that in solaris 10 3/05 server?Absolutely.
    You don't need to reboot (you can run ifconfig for this boot and let the files do the work next time) and the -r doesn't do anything with interfaces (expecially virtual interfaces) anyway.
    Darren

  • Installation problem on Solaris

    I am trying to install sun one 7.0 on Solaris 8. The install is failing with this error:
    ERROR - library load failed with following error: Can't load library: /opt/SUNWappserver7/lib/libinstallCore.so
    INFO - End core server uninstallation
    anyone know what causes this??
    cheers

    Looks like Solaris package installation failed and installer reverted to uninstallation sequence. For low level pkgadd log please check /var/sadm/install/logs/Sun_ONE_Application_Server_install.B<timestamp> file (timestamp is date and time of your installation attempt in mmddHHMM format).
    Look for any errors in this file. Most likely thing that could have happened is that the installation of Java Help (SUNWjhrt) package failed because you didn't have existing package based J2SE installation on the system. If that's the case, workaround is to either preinstall package based J2SE installation or to selected option to install bundled J2SE that comes with application server.

  • Installation problem on Solaris 10

    Dear All,
    We are trying to install j2sdk 1.4.2_13 on solaris server zone. I have downloaded j2sdk-1_4_2_13-nb-5_0-solsparc-ml.bin
    But when I try to execute this:
    #./j2sdk-1_4_2_13-nb-5_0-solsparc-ml.bin
    It gives me error: The installer is unable to run in graphical mode. Try running the installer with the -console or -silent flag
    Tried with -console:
    The wizard cannot continue because of the following error: Invalid command line option: console is not supported (10
    01) (403)
    WARNING: could not delete temporary file /tmp/ismp001/2599368
    WARNING: could not delete temporary file /tmp/ismp001/6183226
    WARNING: could not delete temporary file /tmp/ismp001/1222839
    Then tried with -silent:
    This time command just completed w/o any output at all.
    Please suggest what can I do?
    regards, Sean.

    Dear Siddhesh,
    Thanks for your reply.
    I tried using X Manager GUI for my Solaris. But when I double click the j2sdk-1_4_2_13-nb-5_0-solsparc-ml.bin file to run it, it simply denies saying:
    The filename "j2sdk-1_4_2_13-nb-5_0-solsparc-ml.bin" indicates that this file is of type "Unknown type". The contents of the file indicate that the file is of type "Shell script". If you open this file, the file might present a security risk to your system.
    Do not open the file unless you created the file yourself, or received the file from a trusted source. To open the file, rename the file to the correct extension for "Shell script", then open the file normally. Alternatively, use the Open With menu to choose a specific application for the file.
    Also /tmp has full authorizations:
    drwxrwxrwt   7 root     sys          557 Jun 24 08:34 tmp
    I dont have Hummingbird for X11 forwarding with this client. Do I have any other option??
    regards, Sean.

  • New to Solaris, Some Samba and NTFS issues.

    Hi Im new to solaris and trying out ZFS which has been great.
    Im haivng some trouble that I cant find up to date info on so here goes:
    First how do you mount an NTFS volume in Solaris 11 Express?
    I need to access the data on an NTFS drive to populate my new ZFS tank.
    Secondly, I have read only access on my samba shares from windows machines but my smb.conf looks right. a copy of my smb.conf will follow
    Any suggestions would be appreciated.
    # This is the main Samba configuration file. You should read the
    # smb.conf(5) manual page in order to understand the options listed
    # here. Samba has a huge number of configurable options (perhaps too
    # many!) most of which are not shown in this example
    # For a step to step guide on installing, configuring and using samba,
    # read the Samba-HOWTO-Collection. This may be obtained from:
    # http://www.samba.org/samba/docs/Samba-HOWTO-Collection.pdf
    # Many working examples of smb.conf files can be found in the
    # Samba-Guide which is generated daily and can be downloaded from:
    # http://www.samba.org/samba/docs/Samba-Guide.pdf
    # Any line which starts with a ; (semi-colon) or a # (hash)
    # is a comment and is ignored. In this example we will use a #
    # for commentry and a ; for parts of the config file that you
    # may wish to enable
    # NOTE: Whenever you modify this file you should run the command "testparm"
    # to check that you have not made any basic syntactic errors.
    #======================= Global Settings =====================================
    [global]
    # workgroup = NT-Domain-Name or Workgroup-Name, eg: MIDEARTH
    workgroup = WORKGROUP
    # server string is the equivalent of the NT Description field
    server string = Samba Server
    # Security mode. Defines in which mode Samba will operate. Possible
    # values are share, user, server, domain and ads. Most people will want
    # user level security. See the Samba-HOWTO-Collection for details.
    security = share
    # This option is important for security. It allows you to restrict
    # connections to machines which are on your local network. The
    # following example restricts access to two C class networks and
    # the "loopback" interface. For more examples of the syntax see
    # the smb.conf man page
    ; hosts allow = 192.168.1. 192.168.2. 127.
    # If you want to automatically load your printer list rather
    # than setting them up individually then you'll need this
    load printers = yes
    # you may wish to override the location of the printcap file
    ; printcap name = /etc/printcap
    # on SystemV system setting printcap name to lpstat should allow
    # you to automatically obtain a printer list from the SystemV spool
    # system
    ; printcap name = lpstat
    # It should not be necessary to specify the print system type unless
    # it is non-standard. Currently supported print systems include:
    # bsd, cups, sysv, plp, lprng, aix, hpux, qnx
    ; printing = cups
    # Uncomment this if you want a guest account, you must add this to /etc/passwd
    # otherwise the user "nobody" is used
    ; guest account = pcguest
    # this tells Samba to use a separate log file for each machine
    # that connects
    log file = /var/samba/log/log.%m
    # Put a capping on the size of the log files (in Kb).
    max log size = 50
    # Use password server option only with security = server
    # The argument list may include:
    # password server = My_PDC_Name [My_BDC_Name] [My_Next_BDC_Name]
    # or to auto-locate the domain controller/s
    # password server = *
    ; password server = <NT-Server-Name>
    # Use the realm option only with security = ads
    # Specifies the Active Directory realm the host is part of
    ; realm = MY_REALM
    # Backend to store user information in. New installations should
    # use either tdbsam or ldapsam. smbpasswd is available for backwards
    # compatibility. tdbsam requires no further configuration.
    passdb backend = smbpasswd
    # Using the following line enables you to customise your configuration
    # on a per machine basis. The %m gets replaced with the netbios name
    # of the machine that is connecting.
    # Note: Consider carefully the location in the configuration file of
    # this line. The included file is read at that point.
    ; include = /usr/sfw/lib/smb.conf.%m
    # Configure Samba to use multiple interfaces
    # If you have multiple network interfaces then you must list them
    # here. See the man page for details.
    ; interfaces = 192.168.12.2/24 192.168.13.2/24
    # Browser Control Options:
    # set local master to no if you don't want Samba to become a master
    # browser on your network. Otherwise the normal election rules apply
    ; local master = no
    # OS Level determines the precedence of this server in master browser
    # elections. The default value should be reasonable
    ; os level = 33
    # Domain Master specifies Samba to be the Domain Master Browser. This
    # allows Samba to collate browse lists between subnets. Don't use this
    # if you already have a Windows NT domain controller doing this job
    ; domain master = yes
    # Preferred Master causes Samba to force a local browser election on startup
    # and gives it a slightly higher chance of winning the election
    ; preferred master = yes
    # Enable this if you want Samba to be a domain logon server for
    # Windows95 workstations.
    ; domain logons = yes
    # if you enable domain logons then you may want a per-machine or
    # per user logon script
    # run a specific logon batch file per workstation (machine)
    ; logon script = %m.bat
    # run a specific logon batch file per username
    ; logon script = %U.bat
    # Where to store roving profiles (only for Win95 and WinNT)
    # %L substitutes for this servers netbios name, %U is username
    # You must uncomment the [Profiles] share below
    ; logon path = \\%L\Profiles\%U
    # Windows Internet Name Serving Support Section:
    # WINS Support - Tells the NMBD component of Samba to enable it's WINS Server
    ; wins support = yes
    # WINS Server - Tells the NMBD components of Samba to be a WINS Client
    #     Note: Samba can be either a WINS Server, or a WINS Client, but NOT both
    ; wins server = w.x.y.z
    # WINS Proxy - Tells Samba to answer name resolution queries on
    # behalf of a non WINS capable client, for this to work there must be
    # at least one     WINS Server on the network. The default is NO.
    ; wins proxy = yes
    # DNS Proxy - tells Samba whether or not to try to resolve NetBIOS names
    # via DNS nslookups. The default is NO.
    dns proxy = no
    # These scripts are used on a domain controller or stand-alone
    # machine to add or delete corresponding unix accounts
    ; add user script = /usr/sbin/useradd %u
    ; add group script = /usr/sbin/groupadd %g
    ; add machine script = /usr/sbin/adduser -n -g machines -c Machine -d /dev/null -s /bin/false %u
    ; delete user script = /usr/sbin/userdel %u
    ; delete user from group script = /usr/sbin/deluser %u %g
    ; delete group script = /usr/sbin/groupdel %g
    #============================ Share Definitions ==============================
    [homes]
    comment = Home Directories
    browseable = no
    writable = yes
    # Un-comment the following and create the netlogon directory for Domain Logons
    ; [netlogon]
    ; comment = Network Logon Service
    ; path = /usr/sfw/lib/netlogon
    ; guest ok = yes
    ; writable = no
    ; share modes = no
    # Un-comment the following to provide a specific roving profile share
    # the default is to use the user's home directory
    ;[Profiles]
    ; path = /usr/local/samba/profiles
    ; browseable = no
    ; guest ok = yes
    # NOTE: If you have a BSD-style print system there is no need to
    # specifically define each individual printer
    [printers]
    comment = All Printers
    path = /var/spool/samba
    browseable = no
    # Set public = yes to allow user 'guest account' to print
    guest ok = no
    writable = no
    printable = yes
    # This one is useful for people to share files
    ;[tmp]
    ; comment = Temporary file space
    ; path = /tmp
    ; read only = no
    ; public = yes
    # A publicly accessible directory, but read only, except for people in
    # the "staff" group
    ;[public]
    ; comment = Public Stuff
    ; path = /home/samba
    ; public = yes
    ; writable = no
    ; printable = no
    ; write list = @staff
    # Other examples.
    # A private printer, usable only by fred. Spool data will be placed in fred's
    # home directory. Note that fred must have write access to the spool directory,
    # wherever it is.
    ;[fredsprn]
    ; comment = Fred's Printer
    ; valid users = fred
    ; path = /homes/fred
    ; printer = freds_printer
    ; public = no
    ; writable = no
    ; printable = yes
    # A private directory, usable only by fred. Note that fred requires write
    # access to the directory.
    ;[fredsdir]
    ; comment = Fred's Service
    ; path = /usr/somewhere/private
    ; valid users = fred
    ; public = no
    ; writable = yes
    ; printable = no
    # a service which has a different directory for each machine that connects
    # this allows you to tailor configurations to incoming machines. You could
    # also use the %U option to tailor it by user name.
    # The %m gets replaced with the machine name that is connecting.
    ;[pchome]
    ; comment = PC Directories
    ; path = /usr/pc/%m
    ; public = no
    ; writable = yes
    # A publicly accessible directory, read/write to all users. Note that all files
    # created in the directory by users will be owned by the default user, so
    # any user with access can delete any other user's files. Obviously this
    # directory must be writable by the default user. Another user could of course
    # be specified, in which case all files would be owned by that user instead.
    ;[public]
    ; path = /usr/somewhere/else/public
    ; public = yes
    ; only guest = yes
    ; writable = yes
    ; printable = no
    # The following two entries demonstrate how to share a directory so that two
    # users can place files there that will be owned by the specific users. In this
    # setup, the directory should be writable by both users and should have the
    # sticky bit set on it to prevent abuse. Obviously this could be extended to
    # as many users as required.
    ;[myshare]
    ; comment = Mary's and Fred's stuff
    ; path = /usr/somewhere/shared
    ; valid users = mary fred
    ; public = no
    ; writable = yes
    ; printable = no
    ; create mask = 0765
    [Series]
    comment = TV Series
    path = /home/Kirby/Series
    public = yes
    only guest = yes
    writable = yes
    printable = no

    875739 wrote:
    Hi Im new to solaris and trying out ZFS which has been great.
    Im haivng some trouble that I cant find up to date info on so here goes:
    First how do you mount an NTFS volume in Solaris 11 Express?
    I need to access the data on an NTFS drive to populate my new ZFS tank.I never had a need for it but I think you'll have to compile fuse ntfs-3g manually.
    http://web.archiveorange.com/archive/v/u46DbWSGcIzl7pexf4hQ
    >
    Secondly, I have read only access on my samba shares from windows machines but my smb.conf looks right. a copy of my smb.conf will follow
    Any suggestions would be appreciated.You don't need to use Samba in Solaris 11 Express.
    http://download.oracle.com/docs/cd/E19963-01/html/821-1448/gaynd.html#gayne

  • Error while creating a Solaris Resource

    I got the following error while creating the following solaris resource:
    Test connection failed for resource(s):
    Solaris: Script failed waiting for "ASSWORD:" in response "_,)#+(:" ==> com.waveset.util.WavesetException: Script processor timed out with nothing to read and the following unprocessed text: "_,)#+(:".\n
    I have the sudo permissions for the following commands:
    (ALL) NOPASSWD: /usr/bin/auths, /usr/sbin/groupadd, /usr/sbin/groupdel, /usr/sbin/groupmod, /usr/bin/last, /usr/bin/listusers, /usr/bin/logins, /usr/bin/passwd, /usr/bin/profiles, /usr/bin/roles, /usr/sbin/useradd, /usr/sbin/userdel, /usr/sbin/usermod, /usr/bin/ypmatch, /usr/bin/ypcat, /usr/bin/ypasswd, /usr/bin/awk, /usr/bin/cat, /usr/bin/chmod, /usr/bin/chown, /usr/bin/cp, /usr/bin/cut, /usr/bin/diff, /usr/bin/echo, /usr/bin/grep, /usr/bin/ls, /usr/bin/mv, /usr/bin/rm, /usr/bin/sleep, /usr/bin/sort, /usr/bin/tail, /usr/bin/touch, /usr/bin/which
    Please let me know what could be the problem?

    This doesn't look like a Sun Directory Server issue. You may want to post this to another forum.
    Regards,
    Ludovic.

  • Error ora-15081 (and several others) while creating a new db in Solaris

    Hi all,
    OS: Solaris 11
    DB: 11.2.0.3.5 (2 node rac)
    While creating a new db on a Solaris 11 env, via dbca, the following stack error appeared to me:
    ORA-19624: operation failed, retry possible
    ORA-19870: error while restoring backup piece path[...]
    ORA-19504: failed to create file "+MYDG"
    ORA-00372: file cannot be modified at this time
    ORA-15196: invalid ASM block header [kfc.c:19572] [1] [257] [0 != 821602346]
    ORA-15081: failed to submit an I/O operation to a disk
    ORA-15066: offlining disk "dsk_0001" in group "MYDG" may result in data loss
    ORA-06512: at SYS.X$DBMS_BACKUP_RESTORE, line5827The dbca (ran as oracle user) aborts at 15%.
    There are a lot of errors in this stack, and i'm not pretty sure which error is the main cause of this issue, but I think it's the "ORA-15081: failed to submit an I/O operation to a disk" that is the bad guy here. I did some researches and found that some possible sollutions:
    1) One said that this error might be caused by bad permissions on the raw devices used in the "MYDG" diskgroup (i'm using 6 devices with external redundancy), but my devices are all with the grid:asmadmin and 660 permissions
    2) Another said that this might be a problem with the owner:group of the oracle binaries. In ny installation the oracle binaries ($ORACLE_HOME/bin) are with the oracle:oinstall. I thougth of addind the asmadmin group to the oracle user, but i'm not sure what are the implications of this change. What do you thing?
    What am I doing wrong and how can i solve it?
    Thanks in advance for your pacience and attention.

    Here follows the output:
    NAME                           MOUNT_S     HEADER_STATU MODE_ST STATE    GROUP_NUMBER PATH
    DG02HML_0000                   CACHED  MEMBER       ONLINE  NORMAL              3 /dev/rdsk/c0t60060E8005487F000000487F000                                                                                  00500d0s0
    DG02HML_0001                   CACHED  MEMBER       ONLINE  NORMAL              3 /dev/rdsk/c0t60060E8005487F000000487F000                                                                                  00502d0s0
    DG02HML_0002                   CACHED  MEMBER       ONLINE  NORMAL              3 /dev/rdsk/c0t60060E8005487F000000487F000                                                                                 00504d0s0
    DG02HML_0003                   CACHED  MEMBER       ONLINE  NORMAL              3 /dev/rdsk/c0t60060E8005487F000000487F000                                                                               00506d0s0
    DG02HML_0004                   CACHED  MEMBER       ONLINE  NORMAL              3 /dev/rdsk/c0t60060E8005487F000000487F000                                                                                  00508d0s0
    DG02HML_0005                   CACHED  MEMBER       ONLINE  NORMAL              3 /dev/rdsk/c0t60060E8005487F000000487F000                                                                                  0050Ad0s0

  • How to create HP LaserJet 2420 printer queue on Solaris 10

    Hi Solaris Gurus,
    I am having difficulty creating a printer queue for HP LaserJet 2420 on Solaris 10 (11/9) Sparc (Sun Fire T5220) server. A popular method used is with hppi (HP Jet Direct) tool but it does not have the exact printer driver and alternative printer drivers (e.g. HP LaserJet 4 / 4M, HP LaserJet 2000 series) resulted in only part of the text occupying the wrong side of an A5 page.
    An alternative approach that has worked in the past for simple default paper tray 2 (single paper tray), with tray 1 reserved for manual feed. This method involves creating a working printer queue on a Windows workstation (XP) / server (2000) with the correct driver and having configured to support Unix printing to receive LPR request from Unix systems in general. A remote printer queue would then be defined on Solaris 10 system which points to the Windows system. However, the printing jobs kept going to tray 1 (top manual feed) even though the Windows printer queue was configured to go to tray 3 (bottom tray).
    The earlier method would be simplest but needs the right driver (PDD) but I don’t know where to find it. The latter approach is also not working despite having got the right driver on Windows. A test page on the target Windows printer queue would print to tray 3 (bottom tray) of the printer correctly.
    Printmgr does not work well with HP printers from experience. It is good for serial and local printers.
    Your advice would be much appreciated.
    Thanks,
    Crystal

    Hi Giogio, and welcome to the HP Forums.
    I am sorry to be the bearer of this news, but do the age of the printer, it is not supported by Mac OS X 10.9. I am including a list below of the supported printers from Apple:
    OS X: Printer and scanner software available for download.
    For more information, I would recommend contacting the Apple Support Communities.
    Thank you for posting on the HP Forums.
    Please click “Accept as Solution " if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the right to say “Thanks" for helping!
    Jamieson
    I work on behalf of HP
    "Remember, I'm pulling for you, we're all in this together!" - Red Green.

  • How do I find a "back door" program or process to re-start my cd drive?

    Hi all,
    I have an i Mac that I am attempting to update to a Panther in order to be able to install and use some of my more recent program purchases, including Quickbooks 6 and Turbotax Premium 2005, which require at least a 10.2.8 upgrade to install and run. Within the last week, my cdrw drive in my i Mac has died and we have tried everything we can think of to do or could find ideas for in Macos trouble-shooting books to try to get the upgrade to install. Because the drive isn't working, it would not boot directly under any method, including trying starting from shutoff holding the c, or the Control and c, to get it to boot; it would ask for my administrator password, then tell us to start; then back to the password...an endless cyle.
    When none of that worked, we tried loading the upgrade to Panther from my external drive Iomega CDRW but it put us into the same cycle; the man who set up my system (he lives out of state and cannot help us to set it up) said that the 10.1 operating system will allow us to only boot or install the upgrade from a working crdw drive in the i Mac itself.
    Because of my current financial situation being what it is, I cannot at this time afford to pay a Mac tech at $90.00/hour or more to work on it, that option is a very last choice on my list I need this upgrade to be able to install the Turbotax to bring in some income.
    I have been told by people who are computer techs at Intuit that there are back door programs available that will allow us to install or write a temporary program to re-start my cdrw drive in the i Mac for long enough to do the install and programs I need and for us to make sure everything is operating properly. Can anyone help me out with this? Any and all help will be greatly appreciated.
    Also, just a couple of minor questions:
    1. Am I able to install regular software programs, such as Turbotax, without issues, from my external cdrw?
    2. How do I get directly in contact with apple tech help (live help, chat) to get their input as well? I'm not sure how to get there.
    Thank you,
    Old Native Soul
    i Mac   Mac OS X (10.1.x)   Iomega CDRW 52x24x52, HP printers

    There are no "backdoor" programs that will make a defective optical drive work.
    If your iMac has a Firewire port you can use an external Firewire optical drive to boot the Panther Installer Disc provided the external optical drive is bootable. Otherwise, you will need to replace the internal optical drive. If your iMac does not have a Firewire port, then I believe you are out of luck unless you can get the Panther Installer Disc to boot from a USB external drive - doubtful at best.
    If you can't afford to have someone fix your computer, then you should consider fixing it yourself. You can find repair manuals here: http://www.whoopis.com/computer_repair/. You can buy a bare optical drive most anywhere on the internet. Other parts resources include www.welovemacs.com, www.applerescue.com, www.shreevesystems.com. You can also find user review information at www.xlr8yourmac.com.

  • PMTU discovery in IPv6 based on IPV6_RECVPATHMTU in Solaris 10

    Our application works with raw sockets and needs to discover PMTU of IPv6 paths.
    According to the RFC-3542 (http://tools.ietf.org/html/rfc3542, section 11) the socket option IPV6_RECVPATHMTU allows applications to know about the change of path MTU by receipt of new ancillary data item (IPV6_PATHMTU) which is delivered to recvmsg() without any actual data. Following construction should be used to enable this option:
        int  on = 1;
        setsockopt(fd, IPPROTO_IPV6, IPV6_RECVPATHMTU, &on, sizeof(on));In the online Sun documentation I found that this socket option is supported since Solaris 10 (http://docs.sun.com/app/docs/doc/816-5177/ip6-7p).
    However, in our test this socket option appears to be not working. After decrease of the PMTU via ifconfig and sending a big enough packet an ICMP (Packet Too Big) is received but there is no event with ancillary data item on the socket.
    One peculiarity that may be essential is that our application binds to a specific port in a raw socket (i.e. to IP address : port pair).
    Does anyone have information if the IPV6_RECVPATHMTU socket option is really supported in Solaris 10?
    Probably, ICMP should be off to be able to receive this event with ancillary data on the socket?
    Will appreciate any ideas how to make it working.
    Thanks in advance,
    Mike.

    Hi,
    I have a Sunfire V100 - and have the exact same problem. The settings are correct; I have configure dual-NIC cards many times in the past - but this issue is simply eluding me. I can swap in a Linux machine in router / ip forwarding mode and there are no problems, but when I put back in the Sunfire I encounter the same issues you have.
    In effect, packets from the LAN arrive at the NIC on the Solaris machine, but then don't get forwarded to the other NIC's gateway. I'm at a loss, but I have seen this problem pop-up (without answer) a half-dozen times in this forum alone, and multiple times on different support sites. Did you (or anyone) ever come across a solution for this? Is this not some easily overlooked yet possibly cryptic flag or variable that I've missed? Anyone?

  • Solaris: OC4J: 9.0.2.0.0 or 9.0.3.0.0

    I'm a bit puzzled as to versioning of oc4j running applications created with Jdeveloper RC2 / BI Beans RC2 .
    I downloaded a file called oc4j_extended.zip (of 25. March).
    I would have thought this to be the latest distro of oc4j.
    When I invoke the oc4j.jar, I receive a message like this:
    "Oracle9iAS (9.0.2.0.0) Containers for J2EE initialized"
    I see other people are running version 9.0.3.0.0, and most Jdeveloper references are for this version as well.
    Is there a later version (for Solaris) that I need to download/install?
    If so, where can it be found?
    Or am I fine running with the one I have?
    (Reason for asking is that I am running into problems that could possibly be related to versioning.)
    Jens

    Thanks for quick response, I am located in Norway, 6 hours in front of the US, so days can easily be "wasted" waiting for you guys. Maybe we'll manage to squeeze in 2 answers today ;-)
    Here are the answers to your question:
    myhost% java -version -jar oc4j.jar
    java version "1.3.1_01"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_01)
    Java HotSpot(TM) Client VM (build 1.3.1_01, mixed mode)
    myhost% java -jar oc4j.jar -version
    Oracle9iAS (9.0.2.0.0) Containers for J2EE
    myhost% java -jar ./oc4j.jar -version
    Oracle9iAS (9.0.2.0.0) Containers for J2EE
    This is a bit complicated, but here's a quick resume of what I did:
    * Install Oracle 9.0.1.0.0, including the http-server.
    * Patch to 9.0.1.2.0
    * download oc4j_extended, unzip to a new $ORACLE_HOME/oc4j
    * Source the following file:
    myhost% more java131.sh
    setenv PATH /usr/j2se/bin:/u01/app/oracle/product/901/bin:/bin:/usr/bin:/usr/cc
    /bin:/etc:/opt/bin:/usr/ucb:.:/usr/openwin/bin:/usr/openwin/lib
    setenv CLASS_PATH /usr/j2se/lib:/u01/app/oracle/jre/1.1.8/lib:/u01/app/oracle/p
    oduct/901/jlib:/u01/app/oracle/product/901/wmt/jlib
    setenv CLASSPATH /usr/j2se/lib:/u01/app/oracle/jre/1.1.8/lib:/u01/app/oracle/pr
    duct/901/jlib:/u01/app/oracle/product/901/wmt/jlib
    alias java="/usr/j2se/bin/java"
    myhost%
    * Check that the right java verson is running:
    myhost% which java
    /usr/j2se/bin/java
    myhost%
    * start the oc4j server with :
    java -Xmx256m -Dorg.omg.CORBA.ORBClass=com.inprise.vbroker.orb.ORB -Dorg.omg.COR
    BA.ORBSingletonClass=com.inprise.vbroker.orb.ORB -jar oc4j.jar
    And it reports back v. 9.0.2.0.0
    So what am I doing wrong?
    Any input will be appreciated.
    Jens

Maybe you are looking for

  • ICloud has wrong apple id.  How do I change it?

    I have multiple apple id's and iCloud on my Mac somehow assumed the wrong one.  I see no option to change it to the correct one.

  • Unable to turn my computer off

    I can't turn my computer off at the moment cuz it's saying the finder is working something.But I don't figure out what it is. Did anyone face it before?May you help? Thanks.

  • MRP for production version.

    Hello all. Is it possible what MRP does the selection of the production version for the semi-finishings depending on the version of production of the finished product? <b>Example</b>: If I plan the <b>Finished Product 1</b> in the <b>version of produ

  • Update rules mapping

    Hi Friends, I have ZSTCSDF coming from transfer structure now I need to map this field with InfoCube field ZCUSTOMER. ZSTCSDF is using ZCUSTOMER as a reference characteristic. If it is an attribute then I can map that in update rules but it is refere

  • How to compare any type of image with any Palette ?

    How can I compare any image with any Palette file (ex. sample.pal file) ? If that image don't satisified selected Palette file then show me exception or any kind of message. Plz reply me with proper guidence or any hints. Thanks Harshal