Run OpenMQ Server with Unlimited Consume Messages.

Hi,
I am starting OpenMQ server using imqbrokerd file. After 24 hrs it don't allow any messages because destination property i.e. maxNumMsgs=100000.
I want to start OpenMQ server with unlimited consumed messages i.e. maxNumMsgs=-1.
How can i do that? I don't want to open admin gui & change the destination properties manually.
I want to know the way to start OpenMQ server with unlimited consumed messages i.e. maxNumMsgs=-1
Is it possible to pass this information at the time of startup?
With regards,
Pawan Modi

Hi,
I found the solution to my problem. Change the value for these variables as shown below in default.properties file at <MQ_HOME>/lib/props/broker/
imq.autocreate.destination.maxNumMsgs=-1
imq.autocreate.destination.maxTotalMsgBytes=-1
imq.autocreate.destination.maxNumProducers=-1
imq.autocreate.destination.maxBytesPerMsg=-1
Restart MQ server these changes will come in to effect.
Thanks & regards,
Pawan Modi

Similar Messages

  • Logins being denied on 10.4.11 Server with unlimited clients.

    I have a eMac running 10.4.11 Server with unlimited clients. This server is throwing people off the shares or denying them access, reporting that the number of shares has been exceeded despite it being an unlimited licence product. The licence information confirms that it is an unlimited licence. Restarting the server will remedy the problem for a while but is obviously impracticable. Can anyone please give me some help to remedy this problem?
    Thanks, Rob

    I am having a similar problem.
    I just updated clients to Leopard.
    Xserve is still running Tiger.
    Now clients cannot search files on the server.
    Apple support said Tiger clients used "cat search" instead of spotlight.
    Now that clients are Leopard, clients try to search with spotlight,
    but Tiger Server cannot search with spotlight.
    He suggested looking for a 3rd party cat search for Leopard clients.
    Any suggestions?

  • Running Windows Server with Hyper-V on Toshiba Laptop

    I will soon be in charge of a Windows server that my company is purchasing to run SQL Server off of. In order to further prepare myself, I want to get some extra practice outside of work with it. However, I'm thinking that my computer's requirements may
    not be up to par - and I can't really afford to buy a new computer at the moment.
    I have a Toshiba Satellite laptop running Windows 8.1 with an AMD A6-5200, 4 GB RAM and a 600 GB hard drive (HDD, not SSD). I have the book Training Guide: Administering Windows Server 2012 - and it suggests a computer with at least 8GB RAM. Also - the books
    examples and exercises use Hyper-V for virtualization.
    If my computer couldn't handle doing the exercises and examples - would Windows Server 2008 be a better idea? If so - could you point me in the right direction of guides/books/tutorials for Windows Server 2008 system administration?
    Thanks,
    -Chris

    You can try running the VM with only 2GB of Memory. Also, make sure that no other program is running in the same time other than your hypervisor. You might see some slowness on the VM that way but it should be good to do some practices.
    This posting is provided AS IS with no warranties or guarantees , and confers no rights.
    Ahmed MALEK
    My Website Link
    My Linkedin Profile
    My MVP Profile

  • Run Admin Server with multiple Managed Servers each using different userid?

    We currently run separate WebLogic domain instances for each business application in a Unix environment. Each one is created using a unix userid unique to that application and which owns all the files and is used to run the process when that particular WebLogic instance is started up. We have run this way for a while.
    I am considering altering our approach to the one that is recommended, i.e. in our Production environment we would run a single Admin instance with numerous managed servers. One issue I'm stuck on is the fact that in our current environment, each application has a different unix userid that owns the files making up the WebLogic domain instance and that WebLogic instance is run under that userid.
    I've investigated and experimented using WebLogic 10.3 preview and WebLogic 10.0, but I haven't been able to determine what I have to do to make each managed server's files and processes belong to a different unix userid, if that is even possible.
    Is there a way, using the recommended approach, where there is a single Admin instance that has multiple managed servers whose files and processes are owned by different unique, unix userids?
    If not, how would you separate access to each of the Managed Servers so that the programmers who maintain them don't have access to Managed Servers that they are not responsible for?
    Thanks for any help or suggestions.....

    Hi:
    I played with this stuff and I found that this will work, without the Location elements:
    <IfModule mod_weblogic.c>
    MatchExpression /app1 WebLogicHost=server1|WebLogicPort=7003
    MatchExpression /app2 WebLogicHost=server2|WebLogicPort=7003
    </IfModule>
    Also this will work too, with no entries inside the IfModule element:
    <Location /app1 >
    SetHandler weblogic-handler
    WebLogicHost server1
    WebLogicPort 7003
    </Location>
    <Location /app2 >
    SetHandler weblogic-handler
    WebLogicHost server2
    WebLogicPort 7003
    </Location>

  • SAPCCMSR agent running in server with several DB Services

    Hi!
    We have several Solaris clusters with 2 ORACLE and SAP instances.
    I've tried to install sapccmsr agent for DB instances, but I can only
    have one at a time. Otherwise it gives the following message:
    "INFO: Reconnected to Monitoring Segment [SAP_CCMS_XXXXXXXX_dbi], size
    [40141728], started at Mon Oct 13 16:18:03 2008
    ERROR: Monitoring segment belongs to system K02
           CCMS Agent SAPCCMSR may only be run for segments
              that belong to central system L02
           Therefore exiting....
    In this cluster I have P02 (SAP R/3 4.7 NUC) and X02 systems (SAP XI 3.0UC).
    I tried to register only one sapccmsr agent but not attached to the
    virtual DB hostname. But this brings a new problem, I cannot monitor DB
    service because the agent is attached to physical host.
    In another cluster we have different SAP Basis versions, SAP nw2004(nuc) and nw2004s (uc).
    Regards,
    Fernando Figueiredo

    For one of our clusters running 2 oracle intances on node1 and SAP on node2, I've created a specific profile  with a virtual hostname(<VIRTUAL SAPCCMSR>), and during registration I've included both systems plus Solution Manager. Then on each system I've changed the program ID of SAPCCMS.<VIRTUAL DB HOSTNAME>.99 to <VIRTUAL SAPCCMSR>.sapccmsr.99.
    You can use sap note 536954 as reference, but not as a solution.
    Anyway you still have the problem because you need to manage this manually and is node specific. If you want to change your cluster behavior then you have problems.
    Regarding the other cluster running different versions that is not an issue because ORACLE and SAP are crossed between nodes. On that cluster I've implemented SAPCCMSR clustered aware, but if one node fails you cannot monitor both systems. You can also use note 536954 as a reference.
    Anyway... SAPCCMSR monitoring for Standalone database is very limited.
    FF

  • Retiring SBS2003 with second server running 2008 server with terminal services

    Hi,
    Can i install Windows Server Essentials R2 2012 and keep the second server that is server 2008 and run it as a terminal server?

    Follow any migration document that allows you to migrate from SBS to Essentials. the domain will not change and the member server will remain intact. If it is not already an RDS/TS server you will have to install the role and add the appropriate licensing.
    If it is, and the license server is the SBS you will have to move the licensing server from the SBS to the 2008 RDS server itself.
    Larry Struckmeyer[MVP] If your question is answered please mark the response as the answer so that others can benefit.

  • BDC-Log Out from Production Server with out error message

    Hi all
    I have written one BDC for "FWZZ" transaction.
    It is wrking fine in dev & qual.
    But in prod it is logging out with out any error message.
    what might be the reason??
    Thaks & Regards
    Swathi

    Hi Swathi!
    There is little you can do. The BDC can only be shortened by avoiding unecessary steps (each return code needs some time) - but most likely you have already a short way through the transaction.
    But maybe there are some field exits / user exits / customizing settings, which start slow database actions. As long as in Dev and Qual aren't so much entries, there wasn't a problem, but now in Prod you have a performance problem.
    Make a runtime analysis or a SQL-trace to see what's happening during the call transaction. This should give you an idea, where to look for the slow parts.
    Regards,
    Christian

  • Java.security.AccessControlException while trying to run the server app

    ok, pretty new with java and rmi, so I wanted to run the application from the sun rmi tutorial
    http://java.sun.com/docs/books/tutorial/rmi/TOC.html.
    It all builds ok, i run the rmiregistry ,but when i try to run the server i get :
    java.security.AccessControlException: access denied (java.net.SocketPermission 127.0.0.1:1099 connect,resolve)
         at java.security.AccessControlContext.checkPermission(AccessControlContext.java:323)
         at java.security.AccessController.checkPermission(AccessController.java:546)
         at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
         at java.lang.SecurityManager.checkConnect(SecurityManager.java:1034)
         at java.net.Socket.connect(Socket.java:513)
         at java.net.Socket.connect(Socket.java:469)
         at java.net.Socket.<init>(Socket.java:366)
         at java.net.Socket.<init>(Socket.java:180)
         at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22)
         at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:128)
         at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:595)
         at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:198)
         at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:184)
         at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:322)
         at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source)
         at engine.ComputeEngine.main(ComputeEngine.java:30)
    what i noticed is that this output is similar to not running rmiregistry at all, so i guess the problem is with the way i'm running rmiregistry
    thx in advance

    You're running the server with a SecurityManager. There's no need to do that at first. Get rid of it. When you have it working, write yourself a .policy file that grants that permission, and any others you discover it needs, and name that as your security policy file, e.g.
    java -Djava.security.policy=my.policy -Djava.security.manager mypackage.MyServer ...

  • Unable to use endeca-cmd against the running Endeca Server

    Hello Endeca forum,
    I'm working in a client environment in which I can see that the Endeca Server is running:
    1. Going to a browser on the server itself, I can see a positive result page when I go to http://localhost:7770/admin/<datasource>?op=ping
    2. When I'm in the linux server and do a "ps -ef | grep "start", I see that there is a process running the server with "-Djetty.port=7770"
    3. Studio running on the same server has datasources pointing at localhost:7770 (and Studio is showing data)
    However, when I go to the endeca-cmd and try to create a new datasource ("./endeca-cmd create-ds <new_datasource_name>"), I see the following error:
    "*Error contacting the Endeca Server localhost:7770: com/endeca/opmodel/opSupport/MkMdexRunner*"
    I get the same error if I try to use a graph in Data Integrator with the "Create Data Store" component (taken from the quickstart InitDataStore.grf, but pointing to the client's Endeca Server).
    Running "./endeca-cmd version" gives me an equally cryptic error:
    "*Error contacting the Endeca Server localhost:7770: com/endeca/mdex/admin/_1/Admin*"
    Has anyone seen this before?
    I'm starting to think that this may be a strange environment issue, but I can't figure why I'd be able to see the server running through other means, but fail to interact with the server using endeca-cmd.
    Thanks,
    Jerome

    Hey Brett,
    Good points. Unfortunately, I can't install SoapUI on the client's server (where the Endeca Server is running), but I was able to run a graph that tries to create a dgraph on it (which is an HTTP call to the createDataStore operation). This call resulted in the same error that I saw when invoking "endeca-cmd create-ds". However, the failure of the graph gives me a little more in the form of a partial stack trace...
    org.apache.axis2.AxisFault: com/endeca/opmodel/opSupport/MkMdexRunner
    at org.apache.axis2.description.OutInAxisOperationClient$NonBlockingInvocationWorker.run(OutInAxisOperation.java:451)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:662)
    ... which doesn't really tell me anything.
    Is there a place where I can see logs for the Endeca Server? Might be able to get a little more from a full stack trace...
    I know that dgraph logs are at…
    <OEID_installation>/Server/2.3.0/endeca-server/logs
    But obviously these don’t hold anything about the dgraph that I’m trying to create.
    Thanks,
    Jerome

  • Security Manager on server with teamed NICs ?

    Can anyone confirm that Security Manager will run on server with teamed NICs (i.e. 2 physical connections, but 1 logical IP address) ?
    I ask because the data sheet for Security Manager 3.0.1 states :-
    "100BASE-T (100 Mbps) or faster network connection; single interface only". and
    "One static IP address".
    I already have a server that meets all the specs, but it has dual NICs to dual switches for resilience, teamed together with a single IP. The Cisco document is open for interpretation, so has anyone got a definitive answer or is running a setup like this already ?
    Thanks.
    Mark.

    It's recommended that you can use only one interface when installing CSM. However, if the second interface is using the same IP it should not be a problem.

  • Mail is killing the processes on my server with IMAP

    Why is mail over running my server with IMAP processes?
    I've had to start killing the process like crazy cause it was causing other services on my website to fail.
    i contact support for Hostgator and they asked if i was using Mac Mail. i said yes, and he said, yeah mac mail does that. what's that suppose to mean?
    it really hasn't happened in the past, why now?

    I have found a temporary fix, until Apple addresses the issue.
    For those with access to the cPanel for their hosting account, you will need to create a Cron Job. At blueHOST.com I have access to this feature. I created a cron job via the cPanel to run every two minutes (because I have so many users running mail at the same time.) And the command is "killall imap" (without the quotes). This will do as advertised, kill all imap processes, old and new, every two minutes. You can set the amount of minutes to anything you want.
    I can thank a senior tech at blueHOST for the idea. It may be strong-arming the situation, but it gives my client back their blog.
    In my first post here, I said I sent this to MacFixIt. They never published or followed up on the eMail I sent. But I've also formally sent this as an issue via Apple Support. With any luck it will be fixed with the 10.5.7 update when it comes out.
    If you have not made a formal report to Apple I strongly suggest you go to the Mac OS X Feedback page & file a detailed report of the issue you are having with IMAP processes & Mail.app. Reporting in the support forums may not be enough to get the full attention of Apple.
    I will also post this on my blog.

  • If I were to purchase the Apple Remote Desktop with Unlimited licenses, would I be able to install the client software on each of there computers/laptops and have them remote desktop into the server?

    I have several friends and family who are looking for a central place to access information from ( Pictures, home movies etc ).  So I am considering setting up an OSX Lion Server.  There are some other things I can use it for as well.
    Here is my question:
    If I were to purchase the Apple Remote Desktop with Unlimited licenses, would I be able to install the client software on each of there computers/laptops and have them remote desktop into the server?  Or would I have to install the Admin software on each?  Do they intend it to be used strictly as one admin to access many clients? 
    I always could set up a network drive so they can log in and just see the folders they have created with space on the server I provide them.  But I want them to be able to log an and actually use it as a Remote Desktop.
    Thanks,
    Eric

    Dave,
    Thanks for the feedback.  I understand that ARD is meant for Remote Administration, but I was not sure if it could be used for my purpose as well.  The reason I was looking to do it this was was because I read several articles online about security and performance issues with setting up VNC and activating screen sharing.  Unless I am misunderstood. 
    As far as people's activities on the server, mostly it is going to be used as a place for them to store their media.  I will only allow own person ( Who I trust and I know wont botch the server ), to run applications.  Everyone else will be restricted to uploading and downloading content to their designated account on the server as well as a community share on the server.
    I appreciate your help.
    Thanks,
    Eric

  • How can you run a command with elevated rights on a remote server with invoke-command ?

    I am trying to run a script on a remote server with invoke-command.  The script is starting and is running fine, but the problem is that it should be running with elevated rights on the remote server.  On the server where I start the invoke-command, my account has the necessary rights.
    The server were I launch the invoke-command is a W2K8 R2.  The remote box is a W2K3 with powershell v2.0 installed.
    When I launch the script on the remote-box from the command line, I don't get the access denied's.
    Is there a way to do this ?
    Thanks in advance

    The script that I want to run is to install the windows updates.  I get an access denied on the download of the updates.
    When I execute the script on an W2K8 box, (not remotely) and I run it with non-elevated rights, I get the same error.
    The script is running fine when it is launched on W2K3 box locally with a domain account that has local admin rights, or on a W2K8 R2 server with a domain account that has local admin rights, but with elevated rights.
    Thanks in advance for your help.
    #=== start script ====
    param($installOption="TESTINSTALL",$rebootOption="NOREBOOT")
    Function Show-Help
    Write-Host ""
    Write-Host "SCRIPT: $scriptName <installOption> <RebootOption>"
    Write-Host ""
    Write-Host "DESCRIPTION: Installatie van WSUS updates op de lokale server"
    Write-Host ""
    Write-Host "PARAMETERS"
    Write-Host " -installOption <[INSTALL|TESTINSTALL]>"
    Write-Host " -rebootOption <[REBOOT|NOREBOOT|REBOOT_IF_UPDATED]>"
    Write-Host ""
    Write-Host "EXAMPLE:"
    Write-Host "$ScriptName -installOption INSTALL -rebootOption REBOOT_IF_UPDATED"
    Write-Host "$ScriptNAme INSTALL NOREBOOT"
    Write-Host ""
    Write-Host "Indien beide parameter weggelaten worden zijn de defaultwaarden :"
    Write-Host " installOption=TESTINSTALL "
    Write-Host " RebootOption=NOREBOOT"
    Write-Host ""
    Exit
    #Include alle globale variablen
    $CEIF_WIN_PATH = (get-content env:CEIF_WIN_PATH)
    $includeFile=$CEIF_WIN_PATH + "\Scripts\include_win.ps1"
    . $includeFile
    #initialiseer error count
    $errcnt=0
    $scriptName=$MyInvocation.MyCommand.Name
    #argumenten controleren
    $arrInstallOption= "TESTINSTALL", "INSTALL" # Mandatory variable with predefined values
    If (!($arrInstallOption –contains $installOption)){ Show-Help }
    $arrRebootOption = "REBOOT", "NOREBOOT","REBOOT_IF_UPDATED" # Mandatory variable with predefined values
    If (!($arrRebootOption –contains $rebootOption)){ Show-Help }
    #Logfile opbouwen
    $logfile = get-logfileName($MyInvocation.MyCommand.Name)
    Log-scriptStart $MyInvocation.MyCommand.Name $logfile
    function Get-WIAStatusValue($value)
    switch -exact ($value)
    0 {"NotStarted"}
    1 {"InProgress"}
    2 {"Succeeded"}
    3 {"SucceededWithErrors"}
    4 {"Failed"}
    5 {"Aborted"}
    function boot-server()
    if ($installOption -eq "TESTINSTALL")
    logger "TESTINSTALL : - Reboot local Server" $logfile
    else
    logger " - Reboot local Server" $logfile
    $thisServer = gwmi win32_operatingsystem
    $thisServer.psbase.Scope.Options.EnablePrivileges = $true
    $thisServer.Reboot()
    $logmsg="Install option = " + $installOption + ", RebootOption = $rebootOption"
    logger "$logmsg" $logfile
    logger "" $logfile
    logger " - Creating WU COM object" $logfile
    $UpdateSession = New-Object -ComObject Microsoft.Update.Session
    $UpdateSearcher = $UpdateSession.CreateUpdateSearcher()
    logger " - Searching for Updates" $logfile
    $SearchResult = $UpdateSearcher.Search("IsAssigned=1 and IsHidden=0 and IsInstalled=0")
    logger " - Found [$($SearchResult.Updates.count)] Updates to Download and install" $logfile
    $Updates=$($SearchResult.Updates.count)
    logger "" $logfile
    foreach($Update in $SearchResult.Updates)
    if ($Update.EulaAccepted -eq 0)
    $Update.AcceptEula()
    # Add Update to Collection
    $UpdatesCollection = New-Object -ComObject Microsoft.Update.UpdateColl
    $UpdatesCollection.Add($Update) | out-null
    if ($installOption -eq "TESTINSTALL")
    else
    # Download
    logger " + Downloading Update $($Update.Title)" $logfile
    $UpdatesDownloader = $UpdateSession.CreateUpdateDownloader()
    $UpdatesDownloader.Updates = $UpdatesCollection
    $DownloadResult = $UpdatesDownloader.Download()
    $Message = " - Download {0}" -f (Get-WIAStatusValue $DownloadResult.ResultCode)
    if ($DownloadResult.ResultCode -eq 4 )
    { $errcnt = 1 }
    logger $message $logfile
    # Install
    logger " - Installing Update" $logfile
    $UpdatesInstaller = $UpdateSession.CreateUpdateInstaller()
    $UpdatesInstaller.Updates = $UpdatesCollection
    $InstallResult = $UpdatesInstaller.Install()
    $Message = " - Install {0}" -f (Get-WIAStatusValue $InstallResult.ResultCode)
    if ($InstallResult.ResultCode -eq 4 )
    { $errcnt = 1 }
    logger $message $logfile
    logger "" $logfile
    #Indien er een fout gebeurde tijdens download/installatie -> stuur mail naar windowsteam
    if ( $errcnt -gt 0 )
    logger " - Fout tijdens de uitvoering van script -> send mail" $logfile
    $mailSubject=$MyInvocation.MyCommand.Name
    $msg = new-object Net.Mail.MailMessage
    $att = new-object Net.Mail.Attachment($logfile)
    $smtp = new-object Net.Mail.SmtpClient($smtpServer)
    $msg.From = $mailFrom
    $msg.To.Add($mailTo)
    $msg.Subject = $mailSubject
    $msg.Body = “Meer details in attachement”
    $msg.Attachments.Add($att)
    $smtp.Send($msg)
    #Moet de server herstart worden ?
    if ($rebootOption -eq "REBOOT_IF_UPDATED" )
    if ($Updates -gt 0)
    #Reboot the server when updates are installed
    boot-server
    elseif ($rebootOption -eq "REBOOT")
    #reboot the server always
    boot-server
    else
    #Do not reboot the server
    logger "Do not reboot the server" $logfile
    Log-scriptEnd $MyInvocation.MyCommand.Name $logfile
    exit 0

  • How to consume message with queue payload type 'SYS.AQ$_JMS' in BPEL

    In oracle database
    1. created a queue table with multi consumer, queue_payload_type => 'SYS.AQ$_JMS_OBJECT_MESSAGE' .
    2. created a queue using this queue table.
    3. started the queue.
    4. From java class, published a message into this queue.
    Now when I try to access this queue from bpel using AQ adapters, not able to see the queue name. But if I try to consume from java, it is working fine.
    Please let me know how we need to access from bpel the messages that are not of xml type and are user defined objects.
    Thanks

    Hi
    Thank You for your information,
    I have seen that link which you have provided. Here they have given a example in which they are using Database messaging, i am working on memory/file based messaging.
    I am using default JMS Queue (jms/demoQueue) and default Connection Factory (jms/QueueConnectionFactory) which is provided by default in the server. With these i am trying to push message from process to the Queue.
    From other process i am trying to receive a message.
    For default Queue and Connection factory, i think we dont need to configure any of the xml files.
    Please try to use default Queue and Connection Factory to recevie a message from the Queue. Use two different process to develop this.
    Thank You
    Rgards
    Reddy

  • Messaging server with openldap

    Hi all,
    Is anybody here has an experience in handling sun java messaging server 7u2 with open ldap?
    I tried to connect the messaging server with open ldap but still got error "Could not connect to LDAP server".
    Isn't possible for them to communicate?
    Pls advise.

    Hi, Shane,
    I seem to be half way with the external LDAP stuff but run into problems. I added a set of objectclasses and attribute types to OpenLDAP. Next I changed the option.dat (and ran a cnbuild):
    ALIAS_URL0=extldap:///$V?*?sub?$R
    REVERSE_URL=extldap:///$V?$N?sub?$R
    LDAP_EXT_HOST=10.20.30.40
    LDAP_EXT_USERNAME=cn=Manager,dc=domain,dc=nl
    LDAP_EXT_PASSWORD=secret
    LDAP_EXT_BASEDN=dc=domain,dc=nl
    LDAP_EXT_MAX_CONNECTIONS=10
    LDAP_EXT_INITIAL_CONNECTIONS=0
    DOMAIN_MATCH_URL=extldap:///dc=domain,dc=nl?objectclass?sub?(&(objectClass=sunManagedOrganization)(|(associatedDomain=$D)(sunPreferredDomain=$D)))
    Would this constitue a valid configuration?
    The good news is that I see LDAP connections arriving at the OpenLDAP server. The bad news is that:
    1. I get errors on the ALIAS_URL0 and REVERSE_URL LDAP queries (see below for the log)
    2. the $D in the DOMAIN_MATCH_URL is not replaced by the domainname before the LDAP query is started, so in the output of imsimta test -rewrite -debug and in the log file of OpenLDAP the $D characters show up instead of the domainname they should represent
    Ad 1. error log in OpenLDAP:
    Aug 28 15:18:50 ws22763 slapd[7535]: daemon: read active on 12
    Aug 28 15:18:50 ws22763 slapd[7535]: daemon: epoll: listen=7 active_threads=0 tvp=NULL
    Aug 28 15:18:50 ws22763 slapd[7535]: daemon: epoll: listen=8 active_threads=0 tvp=NULL
    Aug 28 15:18:50 ws22763 slapd[7535]: connection_get(12)
    Aug 28 15:18:50 ws22763 slapd[7535]: connection_get(12): got connid=10
    Aug 28 15:18:50 ws22763 slapd[7535]: connection_read(12): checking for input on id=10
    Aug 28 15:18:50 ws22763 slapd[7535]: conn=10 op=0 do_bind
    Aug 28 15:18:50 ws22763 slapd[7535]: >>> dnPrettyNormal: <cn=Manager,dc=domain,dc=nl>
    Aug 28 15:18:50 ws22763 slapd[7535]: <<< dnPrettyNormal: <cn=Manager,dc=domain,dc=nl>, <cn=manager,dc=domain,dc=nl>
    Aug 28 15:18:50 ws22763 slapd[7535]: conn=10 op=0 BIND dn="cn=Manager,dc=domain,dc=nl" method=128
    Aug 28 15:18:50 ws22763 slapd[7535]: do_bind: version=3 dn="cn=Manager,dc=domain,dc=nl" method=128
    Aug 28 15:18:50 ws22763 slapd[7535]: ==> bdb_bind: dn: cn=Manager,dc=domain,dc=nl
    Aug 28 15:18:50 ws22763 slapd[7535]: conn=10 op=0 BIND dn="cn=Manager,dc=domain,dc=nl" mech=SIMPLE ssf=0
    Aug 28 15:18:50 ws22763 slapd[7535]: do_bind: v3 bind: "cn=Manager,dc=domain,dc=nl" to "cn=Manager,dc=domain,dc=nl"
    Aug 28 15:18:50 ws22763 slapd[7535]: send_ldap_result: conn=10 op=0 p=3
    Aug 28 15:18:50 ws22763 slapd[7535]: send_ldap_result: err=0 matched="" text=""
    Aug 28 15:18:50 ws22763 slapd[7535]: send_ldap_response: msgid=1 tag=97 err=0
    Aug 28 15:18:50 ws22763 slapd[7535]: conn=10 op=0 RESULT tag=97 err=0 text=
    Aug 28 15:18:50 ws22763 slapd[7535]: daemon: activity on 1 descriptor
    Aug 28 15:18:50 ws22763 slapd[7535]: daemon: activity on:
    Aug 28 15:18:50 ws22763 slapd[7535]:
    Aug 28 15:18:50 ws22763 slapd[7535]: daemon: epoll: listen=7 active_threads=0 tvp=NULL
    Aug 28 15:18:50 ws22763 slapd[7535]: daemon: epoll: listen=8 active_threads=0 tvp=NULL
    Aug 28 15:18:50 ws22763 slapd[7535]: daemon: activity on 1 descriptor
    Aug 28 15:18:50 ws22763 slapd[7535]: daemon: activity on:
    Aug 28 15:18:50 ws22763 slapd[7535]: 12r
    Aug 28 15:18:50 ws22763 slapd[7535]:
    Aug 28 15:18:50 ws22763 slapd[7535]: daemon: read active on 12
    Aug 28 15:18:50 ws22763 slapd[7535]: daemon: epoll: listen=7 active_threads=0 tvp=NULL
    Aug 28 15:18:50 ws22763 slapd[7535]: daemon: epoll: listen=8 active_threads=0 tvp=NULL
    Aug 28 15:18:50 ws22763 slapd[7535]: connection_get(12)
    Aug 28 15:18:50 ws22763 slapd[7535]: connection_get(12): got connid=10
    Aug 28 15:18:50 ws22763 slapd[7535]: connection_read(12): checking for input on id=10
    Aug 28 15:18:50 ws22763 slapd[7535]: ber_get_next on fd 12 failed errno=0 (Success)
    Aug 28 15:18:50 ws22763 slapd[7535]: connection_read(12): input error=-2 id=10, closing.
    Aug 28 15:18:50 ws22763 slapd[7535]: connection_closing: readying conn=10 sd=12 for close
    Aug 28 15:18:50 ws22763 slapd[7535]: connection_close: conn=10 sd=12
    Aug 28 15:18:50 ws22763 slapd[7535]: daemon: removing 12
    Aug 28 15:18:50 ws22763 slapd[7535]: conn=10 fd=12 closed (connection lost)
    and in the output of imsimta test -rewrite -debug:
    15:15:10.38: Looking up host "host.domain.nl".
    15:15:10.38: - found on channel l
    15:15:10.38: Routelocal flag set; scanning for % and !
    15:15:10.38: Checking reverse URL cache for: [email protected]
    15:15:10.38: Applying reverse URL pattern extldap:///$V?$N?sub?$R to: [email protected]
    15:15:10.38: Resulting URL: extldap:///$V?$N?sub?$R
    15:15:10.38: mmc_open_url_reason called to open extldap:///$V?$N?sub?$R, flags = 384
    15:15:10.38: URL with quotes stripped: extldap:///$V?$N?sub?$R
    15:15:10.38: LDAP URL identified
    15:15:10.38: URL context #1 will be used
    15:15:10.38: Performing URL search on: extldap:///$V?$N?sub?$R
    15:15:10.39: URL open result -2: Search failed: Bad search filter (87)
    15:15:10.39: URL resolution failed, status = -2
    15:15:10.39: Override postmaster:
    15:15:10.39: Mapped return address: [email protected]
    15:15:10.39: from_access mapping check: ||MAIL|l|[email protected]|
    Ad 2: the imsimta test -rewrite output:
    *** Debug output from rewriting a forward envelope address:
    15:10:59.48: Rewriting: Mbox = "user", host = "domain.nl", domain = "$*", literal = "", tag = ""
    15:10:59.48: Rewrite: "$*", position 0, hash table -
    15:10:59.48: Found: "$A$E$F$U%[email protected]"
    15:10:59.48: Match, pattern = "domain.nl", current = "(*domaincheck*)"
    15:10:59.48: old state = not checked.
    15:10:59.48: Domain check on domain.nl.
    15:10:59.49: mmc_open_url_reason called to open extldap:///dc=domain,dc=nl?objectclass?sub?(&(objectClass=sunManagedOrganization)(|(associatedDomain=$D)(sunPreferredDomain=$D))), flags = 0
    15:10:59.49: URL with quotes stripped: extldap:///dc=domain,dc=nl?objectclass?sub?(&(objectClass=sunManagedOrganization)(|(associatedDomain=$D)(sunPreferredDomain=$D)))
    15:10:59.49: LDAP URL identified
    15:10:59.49: URL context #1 will be used
    15:10:59.49: Performing URL search on: extldap:///dc=domain,dc=nl?objectclass?sub?(&(objectClass=sunManagedOrganization)(|(associatedDomain=$D)(sunPreferredDomain=$D)))
    15:10:59.50: URL open result 0: Search succeeded but result set was empty
    15:10:59.50: Added domain result 0 to cache for domain.nl.
    15:10:59.50: new state = fail pending.
    15:10:59.50: Rewrite failed due to prechannel mismatch.
    and in OpenLDAP:
    Aug 28 15:14:39 ws22763 slapd[7535]: conn=9 op=1 SRCH base="dc=domain,dc=nl" scope=2 deref=3 filter="(&(objectClass=sunManagedOrganization)(|(associatedDomain=$d)(?sunPreferredDomain=$D)))"
    Some questions:
    1. are the settings in option.dat correct
    2. if so, why is the $D not expanded before the LDAP lookup is performed?
    3. it seems OpenLDAP doesn't like the search filter; where can I find the meaning of the $R
    Your help greatly appreciated.
    /rolf

Maybe you are looking for

  • When i try to connect my Ipod Touch 5th gen to Itunes it gives an error any idea's?

    When i connect to the latest version of Itunes it gives an error message that says "The Ipod "ipod touch" could not be synced because the sync session failed to start." i've tried restarting it sevral times and even restored a backup but to no avail.

  • Error while checking in document using CV01/02N

    While trying to check in a document I get an error saying: Error while checking in and storing: C:\Documents and Settings\sarita\Desktop\9011_SND_. This is while trying to check in from my desktop. The content server and the repository have been defi

  • Adobe Photoshop CS5 is not working with Lion.

    Adobe Photoshop CS5 is not working with Lion. It is totally non responsive to a point where i cannot work. all other CS5 programs seem to be running well so far. any advice? if no, then how do i revert back to Snow leopard?

  • Error occured while installing the add-on CPRXRPM 400

    Dear Members, We planned to install cProject suite for our system and downloaded the add-on. When installing the add-on CPRXRPM 400 we got the error message "Conflict with Add-Ons". The conflict is between this add-on (CPRXRPM 400) and the support pa

  • Sap hana development through trial account

    Hi everyone, I am unable to create a xsproject in eclipse (in creation there is no such a project type) I have installed all the tools from https://tools.hana.ondemand.com/luna Please help me how to get rid of this