Webserver Plugin not choosing secondary server

Has anyone any idea why my web server plugin will sometimes choose a secondary server and sometimes not?
I've got no cluster issues (well, no lost multicast packets) that I can see, the plugin debug information indicates that servers are available, yet I only have a single JVM chosesn and stored in my cookie
This is what I'm seeing from the cluster debug information - just a primary chosen and everything else looks normal.
Has anyone any suggestions?
Pete
Properties loaded from path: '\\?\C:\IISPlugin\PRD\iisproxy.ini'
Query String: '__WebLogicBridgeConfig'
WebLogic Cluster List:
1. Host '172.23.1.12' Port: 7030 SecurePort: 7031 Primary
Dynamic Server List:
1. Host: '172.23.1.12' Port: 7030 SecurePort: 7031 Status: OK
2. Host: '172.23.1.12' Port: 7040 SecurePort: 7041 Status: OK
3. Host: '172.23.1.11' Port: 7010 SecurePort: 7011 Status: OK
4. Host: '172.23.1.11' Port: 7020 SecurePort: 7021 Status: OK
Static Server List:
1. Host: '172.23.1.11' Port: 7010 SecurePort: 7010
2. Host: '172.23.1.11' Port: 7020 SecurePort: 7020
3. Host: '172.23.1.12' Port: 7030 SecurePort: 7030
4. Host: '172.23.1.12' Port: 7040 SecurePort: 7040

Thanks Pete. If you are saying that your JSESSIONID cookie only contains a single JVM ID, then this is usually an indication that the WL cluster node that created the session did not successfully create a replicated session on its chosen secondary server (or it believes it is not configured to replication sessions at all -- although your config looks good). As you probably know, it is the WL managed server that determines if a secondary JVM ID is populated in the session cookie based upon successful replication. The web server plugin will only use the secondary JVM ID in the session cookie if it fails to communicate with the primary server identified in the session cookie. If the web server is able to communicate with the primary owner of the session (dynamic server list includes the server and network is good) it will always route the request to the primary.
Couple of other baseline questions:
(a) what version of weblogic are you running?
(b) have you been able to confirm that replication of session data is truly occuring between your nodes (depending on your version of WL, this can be verified on the admin console by clicking on Clusters, click on your cluster name, then select the Monitoring tab. If replication of session information is occuring you will see for each server that has an active session it will display information in the form "managed_server_name:number_of_sessions" under the "Secondary Distribution Names" column. This is an indication of sessions that have been replication If replication is not enabled or not working properly, this column will be blank). You can also enable cluster debugging to see replication messages logged to your server log. In the admin console go to Servers, pick a managed server, click on the Debug tab and expand the "weblogic -> core " part of the tree and select "cluster". This will enabled all cluster debug messaging.

Similar Messages

  • How to configure webserver plugin for IIS to fwd request to multiple server

    Hi,
    Have configured Sun One webserver plugin for IIS is configured as per the documentation - http://docs.sun.com/source/816-7156-10/agplugin.html
    Have a requirement to forward the request to three different servers
    Eg : http://www.host1.com/app1
    http://www.host2.com/app2
    http://www.host3.com/app3
    Getting bad gateway error when this is configured in sun-passthrough.properties file
    serverpool1.server=http://www.host1.com
    serverpool1.passthrough=/app1
    serverpool2.server=http://www.host2.com/
    serverpool2.passthrough=/app2
    Is this configuration wrong?
    Thanks

    First, set the user back to www or whatever it was. To do namebased virtual hosting, you'll need to change two things. The first is to add a NameVirtualHost directive to /etc/httpd/sites/virtualhostglobal.conf
    This is one of the VirtualHost stanzas from my Linux box, you just have to adjust the paths for your machine:
    <VirtualHost www.mydomain.com>
    ServerAlias mydomain.com
    ServerAdmin [email protected]
    DocumentRoot /usr/people/httpd/html/www
    <Directory /usr/people/httpd/html/www>
    Options Includes
    AllowOverride AuthConfig
    </Directory>
    ScriptAlias /bin /usr/people/httpd/cgi-bin/www
    ScriptAlias /cgi-bin /usr/people/httpd/cgi-bin/www
    </VirtualHost>
    Restart Apache and you should be good to go. If there are errors, could you post them from /var/log/httpd/error_log ?
    Roger

  • Script to redirect a Application to secondary server if primary server is not available in a .ini file

    Hi Team,
    I want to write a script in the .ini file of an excel add-in on the users windows system , where if the primary server is not available it should automatically redirect to the secondary server. 
    Can someone help me in this?

    Hi Jrv, 
    As I said its an Add-in (Twuploader) in excel which uses a ini file to connect to a server. I want the addin to connect to another available server when the primary is not available. This is the ini file content below:
    [TradeWeb]
    Host=Server1
    Port=8002
    User=abcd
    [Upload]
    AutoMode=N
    UserInt=5
    [Toolbar]
    Visible=Y
    Row=26
    Pos=1
    Top=-32000
    Left=-32000
    Let me know how to edit this ini file so that if Server1 is unavailable it should connect server2. 

  • 3.3.3 to 4.0.1.42 not working on secondary server

    I upgraded from 3.3.3 to 4.0.1.42 but still with old Base Image for now:
    Cisco Secure ACS 4.0.1.42
    Appliance Management Software 4.0.1.42
    Appliance Base Image 3.3.1.8
    CSA build 4.0.1.543.2 (Patch: 4_0_1_543)
    I upraded first my master server, that worked fine (after resolving some problems). When I tried to upgrade the "secondary" server, I get the following (in CLI because WEB does not work because services are not started):
    CSAdmin starting
    CSAuth starting
    CSDbSync starting
    CSLog stopping
    CSMon starting
    CSRadius starting
    CSTacacs stopped
    CSAgent stopped
    Appliance upgrade in progress...
    The "upgrade in progress" is for almost 60 minutes now.
    How do I recover the Web access?

    Hi.
    OK, it's not anymore with "upgrade in progress" and CPU went down from 100% to 0%. Some services are still in these states:
    CSAdmin stopped
    CSAuth stopped
    CSDbSync starting
    CSLog starting
    CSMon starting
    CSRadius starting
    CSTacacs stopped
    I tried stoping/starting/restarting them without success, getting this message:
    xxxxxxx> restart all
    CSAdmin is not running
    CSAuth is not running
    Error: Failed to stop service: rc = [1052] The requested control is not valid for this service.
    So I tried to do a shutdown. After coming back up, CPU is back to 100% and services look this way:
    CSAdmin starting
    CSAuth starting
    CSDbSync starting
    CSLog stopping
    CSMon starting
    CSRadius starting
    CSTacacs stopped

  • Secondary DPM server does not show "protected server group" when attempting to protect primary server

    Hi Guys,
    I have a bit of a weird situation with DPM 2012(pre SP1). We have a primary server which is running quite happily(protects 8 SQL servers). I'm attempting to setup a secondary. When I've done this in the past with other DPM versions(this version included)
    all i have to do is this following:
    Install the same version of DPM on the "secondary machine"
    Attach the agent on the "primary server"
    Create a new protection group for everything
    The catch is that I only see the following:
    I can successfully protect the database of the primary server. However the secondary server cannot see any computers protected on the primary for some reason. Any ideas why this object doesn't show at all? 

    Hi,
    At any time, was the primary DPM Server rebuilt and it's database restored ?
    Can you verify that the DPMWriter service is running.
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. Regards, Mike J. [MSFT]
    This posting is provided "AS IS" with no warranties, and confers no rights.

  • In Log-shipping what is load delay period on secondary server - Skipping log backup file since load delay period has not expired ....

    During logshipping, job on secondary server is ran successfully BUT give this information
    "Skipping log backup file since load delay period has not expired ...."
    What is this "Load delay period" ? Can we configure this somehow, somewhere ?
    NOTE : The value on "Restore Transasction Log tab", Delay Restoring backups at least = Default (zero minutes)
    Thanks
    Think BIG but Positive, may be GLOBAL better UNIVERSAL.

    How to get the LSBackup, LSCopy, and LSRestore jobs back in sync...
    Last I posted the issue was that my trn backups were not being copied from Primary to Secondary. 
    I found upon further inspection of the LS related tables  in MSDB the following likely candidates for adjustment:
    1) dbo.log_shipping_monitor_secondary, column  last_copied_file 
    change last copied file column to something older than the file that is stuck. For example, the value in the table was 
    E:\SQLLogShip\myDB_20140527150001.trn
    I changed last_copied_file to E:\SQLLogShip\myDB_20140525235000.trn. Note that this is just a made up file name that is a few minutes before the actual file that I would like to restore (myDB_2014525235428.trn). 4 mins and 28 seconds before, to
    be exact.
    LSCOPY runs and voila! now it is copied from primary to secondary. That appears to be the only change needed to get the copy going again.
    2) For LSRestore, see the MSDB table dbo.log_shipping_monitor_secondary, change
    last_restored_file
    again I used the made up file E:\SQLLogShip\myDB_20140525235000.trn
    LSRESTORE runs and my just copied myDB_2014525235428.trn is restored
    ** note that
    dbo.log_shipping_secondary_databases also has a last_restored_file column - this did not seem to have any effect, though I see that it updates after completing the above and LSRestore has run successfully, so now it is correct as well
    3) LSBackup job is still not running, the job still has a last run date in the future. Could just leave it and eventually it will come right, but I made a fairly significant time change, plus it's all an experiment....back to MSDB.
    look at dbo.sysjobs, get the job_id of your LSBackup job
    edit dbo.sysjobschedules - change next_run_date  next_run_time as needed to a datetime before the current time, or when you would like the job to start running. 
    I wouldn't be so cavalier with data that was important, but that's the benefit of being in Test, and it appears that these time comparisons are very rudimentary - a value in the relevant log shipping table and the name of the trn file. That said, if you
    were facing a problem of this nature due to lost trn files, corrupted, or some similar scenario, this wouldn't fix your problem, though it _might_ allow you to continue? But in my case I know I have all the trn files, it's just the time that changed, in this
    case on my Primary server, and thus the names of the trn logs got out sync.

  • BEA-000802: Could not find secondary on remote server

              I have a WebLogic cluster setup with two WebLogicServers, Admin Server and LoadBalancer
              with HttpClusterServlet.
              The first time I log into my web application I get the following error on managedServer
              1:
              ####<Jun 3, 2003 5:27:01 PM EDT> <Notice> <Cluster> <freerider1> <managedServer_1>
              <main> <<WLS Kernel>> <> <BEA-000102> <Joining cluster cluster on 237.0.0.1:7001>
              ####<Jun 3, 2003 5:27:01 PM EDT> <Notice> <WebLogicServer> <freerider1> <managedServer_1>
              <main> <<WLS Kernel>> <> <BEA-000330> <Started WebLogic Managed Server "managedServer_1"
              for domain "mydomain" running in Production Mode>
              ####<Jun 3, 2003 5:27:01 PM EDT> <Notice> <WebLogicServer> <freerider1> <managedServer_1>
              <main> <<WLS Kernel>> <> <BEA-000365> <Server state changed to RUNNING>
              ####<Jun 3, 2003 5:27:01 PM EDT> <Notice> <WebLogicServer> <freerider1> <managedServer_1>
              <main> <<WLS Kernel>> <> <BEA-000360> <Server started in RUNNING mode>
              ####<Jun 3, 2003 5:27:03 PM EDT> <Info> <WebLogicServer> <freerider1> <managedServer_1>
              <ListenThread.Default> <<WLS Kernel>> <> <BEA-000213> <Adding address: 165.218.167.197
              to licensed client list>
              ####<Jun 3, 2003 5:29:10 PM EDT> <Info> <WebLogicServer> <freerider1> <managedServer_1>
              <ListenThread.Default> <<WLS Kernel>> <> <BEA-000213> <Adding address: 165.218.167.196
              to licensed client list>
              ####<Jun 3, 2003 5:29:10 PM EDT> <Info> <HTTP> <freerider1> <managedServer_1>
              <ExecuteThread: '12' for queue: 'weblogic.kernel.Default'> <<anonymous>> <> <BEA-101047>
              <[ServletContext(id=23107068,name=smc,context-path=/smc)] /*: init>
              ####<Jun 3, 2003 5:29:10 PM EDT> <Info> <HTTP> <freerider1> <managedServer_1>
              <ExecuteThread: '12' for queue: 'weblogic.kernel.Default'> <<anonymous>> <> <BEA-101047>
              <[ServletContext(id=23107068,name=smc,context-path=/smc)] /*: Using standard I/O>
              ####<Jun 3, 2003 5:29:23 PM EDT> <Error> <Kernel> <freerider1> <managedServer_1>
              <ExecuteThread: '13' for queue: 'weblogic.kernel.Default'> <<WLS Kernel>> <> <BEA-000802>
              <ExecuteRequest failed
              weblogic.utils.NestedError: Could not find secondary on remote server - with
              nested exception:
              [weblogic.cluster.replication.NotFoundException: Unable to find object 823670646633126749].
              weblogic.cluster.replication.NotFoundException: Unable to find object 823670646633126749
                   at weblogic.cluster.replication.ReplicationManager.getPrimary(ReplicationManager.java:867)
                   at weblogic.cluster.replication.ReplicationManager.updateSecondary(ReplicationManager.java:712)
                   at weblogic.servlet.internal.session.ReplicatedSessionData.syncSession(ReplicatedSessionData.java:486)
                   at weblogic.servlet.internal.session.ReplicatedSessionContext.sync(ReplicatedSessionContext.java:176)
                   at weblogic.servlet.internal.ServletRequestImpl.syncSession(ServletRequestImpl.java:2440)
                   at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3633)
                   at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2573)
                   at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)
                   at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151)
              --------------- nested within: ------------------
              weblogic.utils.NestedError: Could not find secondary on remote server - with nested
              exception:
              [weblogic.cluster.replication.NotFoundException: Unable to find object 823670646633126749]
                   at weblogic.servlet.internal.session.ReplicatedSessionData.syncSession(ReplicatedSessionData.java:494)
                   at weblogic.servlet.internal.session.ReplicatedSessionContext.sync(ReplicatedSessionContext.java:176)
                   at weblogic.servlet.internal.ServletRequestImpl.syncSession(ServletRequestImpl.java:2440)
                   at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3633)
                   at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2573)
                   at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)
                   at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151)
              Does anybody know this problem? Any help on this greatly appreciated.
              Thanks, Marcel
              

    Hello Rozi,
              I've got the same error that you.
              Have you find out what is causing it?
              Thank you.

  • Clients are not getting assigned to Secondary Server SUP

    Hi
    We have one primary server with SUP role installed, it is set to replicate from Microsoft Update every six hours. It has no issue in synchronizing with Microsoft Update.
    We have recently, installed WSUS 3.0 and SUP in each secondary server, so that client should point to respective secondary server. However the local policy of the client will point to primary server.
    I have noticed in wsyncmgr.log of primary server, is that the content version of update source fro primary site is 2163, while its different for the secondary sites. For some it is 2157, for some it will 2152. But none of the secondary site has the version
    equals to 2163. Here is the wsyncgr.log snippet from primary server
    From the location services log in clients, it appears that it sets the update source to the server which has the latest content version, i.e., 2163 in my case. Here is the snippet of location services log.
    The secondary servers are also proxy management point.
    Any help is much appreciated.
    Thanks
    Pradipta

    Hello !
    "Configuration Manager 2007 clients cannot be assigned to secondary sites; they are always assigned to the parent primary site. However,
    if they reside in the boundaries of the secondary site, they can take advantage of any proxy management points and distribution points at the secondary site."
    You can refer to this link : http://technet.microsoft.com/en-us/library/bb681005.aspx
    Hope this helps.
    Note: This posting is provided 'AS IS' with no warranties or guarantees, and confers no rights. Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable. This helps the community, keeps the forums tidy, and
    recognises useful contributions.

  • Httpd: Could not determine the server's fully qualified domain name, using

    Hello, I am checking why the response time of the display of the pages of the sites are slow, then I checked the error_log file in /var/log/httpd and I got this texts: (I am hosting 3 sites in the server)
    [Mon May 14 21:21:37 2007] [alert] httpd: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
    Processing config directory: /etc/httpd/sites/*.conf
    Processing config file: /etc/httpd/sites/000010.129.0.37_80avepublishing.com.conf
    Processing config file: /etc/httpd/sites/000110.129.0.37_80escuelamovil.com.conf
    Processing config file: /etc/httpd/sites/000210.129.0.37_80sabiduria.com.mx.conf
    Processing config file: /etc/httpd/sites/0003any_80default.conf
    Processing config file: /etc/httpd/sites/virtualhostglobal.conf
    [Mon May 14 21:21:37 2007] [alert] httpd: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
    [Mon May 14 21:21:38 2007] [notice] Apache/1.3.33 (Darwin) mod_jk/1.2.6 DAV/1.0.3 mod_ssl/2.8.24 OpenSSL/0.9.7l PHP/4.4.4 configured -- resuming normal operations
    [Mon May 14 21:21:38 2007] [notice] Accept mutex: flock (Default: flock)
    [Mon May 14 22:12:18 2007] [error] [client 10.129.0.37] File does not exist: /Library/WebServer/Documentsescuelamovil/robots.txt
    [Mon May 14 22:12:18 2007] [error] [client 10.129.0.37] File does not exist: /Library/WebServer/Documentsescuelamovil/error.html
    with the alert:
    [Mon May 14 21:21:37 2007] [alert] httpd: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
    the virtual host file (virtualhostglobal.conf) is:
    # This file is auto-generated by the Server Admin Web
    # backend plugin whenever settings are saved.
    # The Listen and NameVirtualHost directives are generated
    # based on the VirtualHost directive inside
    # each site configuration file found in this directory.
    # Please add appropriate Listen and NameVirtualHost directives
    # if a site is manually edited
    # i.e. the site is moved from sites to sites_disabled (or vice versa)
    # or the site's Virtual Host ip address and/or port is modified
    # Last updated at 2007-05-07 14:22:34 -0500
    Listen 10.129.0.37:16080
    NameVirtualHost 10.129.0.37:16080
    Listen *:16080
    NameVirtualHost *:16080
    how can I correct this alert?
    thanks
    Dual 2 GHz PowerPC G5   Mac OS X (10.4.9)   4GB DDR SDRAM, MAC OS X Server
    Dual 2 GHz PowerPC G5   Mac OS X (10.4.9)   4GB DDR SDRAM, MAC OS X Server

    >how can I correct this alert?
    Fix your DNS.
    This non-fatal error is Apache's way of telling you that it can't work out the hostname of the machine it's running on.
    It uses reverse DNS to determine this information. If you don't have a reverse DNS entry for your server's IP address, this is what you get.
    Fix your DNS and the alert will go away, or just ignore it.

  • Can I configure two webserver domain in one windows server

    Can I configure two webserver domain in one windows server with default port. ( i.e 80 )
    For Ex:- http://server-name/psp/DOMAIN/?cmd=login and another one
    http://server-name/psp/DOMAIN2/?cmd=login.
    If not please let me know the workaround to do so. B'coz i don't want to put portnumber in my second URL..

    Hi,
    You can even have serveral domains within the same webserver instance.
    During PIA installation (of the second) choose option existing domain and then add an additional site.
    Give the domain a unique name and port to your second application server and you are ready to go.
    I usually do this on sandbox environments to keep the sandbox small , with several databases (Portal, HCM, FIN, CRM) and one PIA with serveral domain.
    But is definitely not what you should do for production systems.
    Each application should have it's one PIA instance.
    Hakan
    I didn't read the port number requirement.
    You can only run one webserver instance on a port number for example port 80.
    But you can still have one webserver PIA with serveral domain on the same port number as described above.
    Edited by: Hakan Biroglu on Mar 14, 2012 2:28 PM

  • I get the "Fast Browser Plugin not loaded" message every time i run  safari and I can't find an MTWB folder anywhere on my hard drive?

    I get the "Fast Browser Plugin not loaded" message every time I run  Safari and I can't find an MTWB folder anywhere on my hard drive?  This doesn't seem to be causing a problem, but is a puzzle?

    1. This procedure is a diagnostic test. It changes nothing, for better or worse, and therefore will not, in itself, solve the problem.
    2. If you don't already have a current backup, back up all data before doing anything else. The backup is necessary on general principle, not because of anything in the test procedure. There are ways to back up a computer that isn't fully functional. Ask if you need guidance.
    3. Below are instructions to run a UNIX shell script, a type of program. All it does is to collect information about the state of the computer. That information goes nowhere unless you choose to share it. However, you should be cautious about running any kind of program (not just a shell script) at the request of a stranger on a public message board. If you have doubts, search this site for other discussions in which this procedure has been followed without any report of ill effects. If you can't satisfy yourself that the instructions are safe, don't follow them. Ask for other options.
    Here's a summary of what you need to do, if you choose to proceed: Copy a line of text from this web page into the window of another application. Wait for the script to run. It usually takes a few minutes. Then paste the results, which will have been copied automatically, back into a reply on this page. The sequence is: copy, paste, wait, paste again. Details follow.
    4. You may have started the computer in "safe" mode. Preferably, these steps should be taken in “normal” mode. If the system is now in safe mode and works well enough in normal mode to run the test, restart as usual. If you can only test in safe mode, do that.
    5. If you have more than one user, and the one affected by the problem is not an administrator, then please run the test twice: once while logged in as the affected user, and once as an administrator. The results may be different. The user that is created automatically on a new computer when you start it for the first time is an administrator. If you can't log in as an administrator, test as the affected user. Most personal Macs have only one user, and in that case this section doesn’t apply. Don't log in as root.
    6. The script is a single long line, all of which must be selected. You can accomplish this easily by triple-clicking anywhere in the line. The whole line will highlight, though you may not see all of it in the browser window, and you can then copy it. If you try to select the line by dragging across the part you can see, you won't get all of it.
    Triple-click anywhere in the line of text below on this page to select it:
    PATH=/usr/bin:/bin:/usr/sbin:/sbin; clear; Fb='%s\n\t(%s)\n'; Fm='\n%s\n\n%s\n'; Fr='\nRAM details\n%s\n'; Fs='\n%s: %s\n'; Fu='user %s%%, system %s%%'; AC="com.autodesk.AutoCAD  com.google.GoogleDrive"; H='^[[:space:]]*((127\.0\.0\.1|::1|fe80::1%lo0)[[:space:]]+local|(255\.){3}255[[:space:]]*broadcast)host[[:space:]]*$'; NS=networksetup; PB="/usr/libexec/PlistBuddy -c Print"; A () { [[ a -eq 0 ]]; }; M () { find -L "$d" -type f | while read f; do file -b "$f" | egrep -lq XML\|exec && echo $f; done; }; AT () { o=`file -b "$1" | egrep -v '^(A.{16}t$|cann)'`; Ps "${1##*/} format"; }; Pc () { o=`grep -v '^ *#' "$2"`; l=`wc -l <<< "$o"`; [[ l -gt 25 ]] && o=`head -n25 <<< "$o"`$'\n'"[$((l-25)) more line(s)]"; Pm "$1"; AT "$1"; }; Pm () { [[ "$o" ]] && o=`sed -E '/^ *$/d;s/^ */   /;s/[-0-9A-Fa-f]{22,}/UUID/g;s/(ochat)\.[^.]+(\..+)/\1\2/;/Shared/!s/(\/Users\/)[^/]+/\1-/g' <<< "$o"` && printf "$Fm" "$1" "$o"; }; Pp () { o=`$PB "$2" | awk -F'= ' \/$3'/{print $2}'`; Pm "$1"; }; Ps () { o=`echo $o`; [[ ! "$o" =~ ^0?$ ]] && printf "$Fs" "$1" "$o"; }; R () { o=; [[ r -eq 0 ]]; }; SP () { system_profiler SP${1}DataType; }; id -G | grep -qw 80; a=$?; A && sudo true; r=$?; t=`date +%s`; clear; { A || echo $'No admin access\n'; A && ! R && echo $'No root access\n'; SP Software | sed -n 's/^ *//;5p;6p;8p'; h=(`SP Hardware | awk '/ Id/{print $3}; /Mem/{print $2}'`); o=$h; Ps "Model"; o=$((h[1]<4?h[1]:0)); Ps "Total RAM (GB)"; o=`SP Memory | sed '1,5d;/[my].*:/d'`; [[ "$o" =~ s:\ [^O]|x([^08]|0[^2]|8[^0]) ]] && printf "$Fr" "$o"; o=`SP Diagnostics | sed '5,6!d'`; [[ "$o" =~ Pass ]] || Pm "POST"; p=`SP Power`; o=`awk '/Cy/{print $NF}' <<< "$p"`; o=$((o>=300?o:0)); Ps "Battery cycles"; o=`sed -n '/Cond.*: [^N]/{s/^.*://p;}' <<< "$p"`; Ps "Battery condition"; for b in FireWire Thunderbolt USB; do o=`SP $b | sed -En '/:$/{s/ *:$//;x;s/\n//;s/\n.*//;/\)/p;};/^ *(V.+ [0N]|Man).+ /{s/ 0x.... //;s/[()]//g;s/(.+: )(.+)/ (\2)/;H;};/Apple|Genesy|Intel|SMSC/{s/.//g;h;}'`; Pm $b; done; o=`pmset -g therm | sed 's/^.*C/C/'`; [[ "$o" =~ No\ th|pms ]] && o=; Pm "Thermal conditions"; o=`pmset -g sysload | grep -v :`; [[ "$o" =~ =\ [^GO] ]] || o=; Pm "System load advisory"; o=`nvram boot-args | awk '{$1=""; print}'`; Ps "boot-args"; fdesetup status | grep -q On && o=on || o=; Ps "FileVault"; a=(/ ""); A=(System User); for i in 0 1; do o=`cd ${a[$i]}L*/Lo*/Diag* || continue; for f in *.{cr,h,pa,s}*; do [[ -f "$f" ]] || continue; d=$(stat -f%Sc -t%F "$f"); [[ "$f" =~ h$ ]] && grep -lq "^Thread c" "$f" && f="$f *"; echo "$d ${f%%_2*} ${f##*.}"; done | sort | tail`; Pm "${A[$i]} diagnostics"; done; grep -lq '*$' <<< "$o" && printf $'\n\t* Code injection\n'; o=`syslog -F bsd -k Sender kernel -k Message CReq 'caug|GPU |hfs: Ru|last value [1-9]|n Cause: -|NVDA\(|pagin|proc: t|Roamed|rror|ssert|Thrott|timed? ?o|WARN' -k Message Ane 'SMC:' | tail -n25 | awk '/:/{$4=""; $5=""};1'`; Pm "Kernel messages"; o=`df -m / | awk 'NR==2 {print $4}'`; o=$((o<5120?o:0)); Ps "Free space (MiB)"; o=$(($(vm_stat | awk '/eo/{sub("\\.",""); print $2}')/256)); o=$((o>=1024?o:0)); Ps "Pageouts (MiB)"; s=( `sar -u 1 10 | sed '$!d'` ); [[ s[4] -lt 85 ]] && o=`printf "$Fu" ${s[1]} ${s[3]}` || o=; Ps "Total CPU usage" && { s=(`ps acrx -o comm,ruid,%cpu | sed '2!d'`); n=$((${#s[*]}-1)); c="${s[*]}"; o=${s[$n]}%; Ps "CPU usage by process \"${c% ${s[$((n-1))]}*}\" with UID ${s[$((n-1))]}"; }; s=(`top -R -l1 -n1 -o prt -stats command,uid,prt | sed '$!d'`); n=$((${#s[*]}-1)); s[$n]=${s[$n]%[+-]}; c="${s[*]}"; o=$((s[$n]>=25000?s[$n]:0)); Ps "Mach ports used by process \"${c% ${s[$((n-1))]}*}\" with UID ${s[$((n-1))]}"; o=`kextstat -kl | grep -v com\\.apple | cut -c53- | cut -d\< -f1`; Pm "Loaded extrinsic kernel extensions"; R && o=`sudo launchctl list | awk 'NR>1 && !/0x|com\.(apple|openssh|vix\.cron)|org\.(amav|apac|calendarse|cups|dove|isc|ntp|openld|post[fg]|x)/{print $3}'`; Pm "Extrinsic daemons"; o=`launchctl list | awk 'NR>1 && !/0x|com\.apple|org\.(x|openbsd)|\.[0-9]+$/{print $3}'`; Pm "Extrinsic agents"; o=`for d in {/,}L*/Lau*; do M; done | egrep -v 'com\.apple\.(CSConfig|server)' | while read f; do ID=$($PB\ :Label "$f") || ID="No job label"; printf "$Fb" "$f" "$ID"; done`; Pm "launchd items"; o=`for d in /{S*/,}L*/StartupItems; do M; done`; Pm "Startup items"; sys=`pkgutil --regexp --only-files --files com.apple.pkg.* | sort | uniq | sed 's:^:/:'`; b=`sed -E '/^.+Lib.+\/Contents\/Info.plist$/!d;s/\/Info.plist$//;/Contents\/./d' <<< "$sys"`; l=`egrep '^/usr/lib/.+dylib$' <<< "$sys"`; [[ "$b" && "$l" ]] && { o=`find -L /S*/L*/{C*/Sec*A,E}* {/,}L*/{A*d,Compon,Ex,In,iTu,Keyb,Mail/B,P*P,Qu*T,Scripti,Sec,Servi,Spo}* -type d -name Contents -prune | grep -Fv "$b" | while read d; do test -f "$d/Info.plist" || continue; ID=$($PB\ :CFBundleIdentifier "$_") || ID="No bundle ID"; printf "$Fb" "${d%/Contents}" "$ID"; done`; Pm "Extrinsic loadable bundles"; o=`find /usr/lib -type f -name *.dylib | grep -Fv "$l"`; Pm "Extrinsic shared libraries"; :; } || echo $'\nReceipts missing'; o=`for e in INSERT_LIBRARIES LIBRARY_PATH; do launchctl getenv DYLD_$e; done`; Pm "Inserted dylibs"; o=`find -L {,/u*/lo*}/e*/periodic -type f -mtime -10d`; Pm "Modified periodic scripts"; o=`scutil --proxy | grep Prox`; Pm "Proxies"; o=`scutil --dns | awk '/r\[0\] /{if ($NF !~ /^1(0|72\.(1[6-9]|2[0-9]|3[0-1])|92\.168)\./) print $NF; exit}'`; i=`route -n get default | awk '/e:/{print $2}'`; I=`$NS -listnetworkserviceorder | sed -En '/ '$i'\)$/{x;s/^\(.+\) //p;q;};x'`; n=`$NS -getdnsservers "$I" | awk '!/^T/{printf "not "; exit}'`; Ps "DNS (${n}from DHCP)"; o=`$NS -getinfo "$I" | awk '/k:/{if ($3 !~ "(255\.){3}0") print $3}'`; Ps "Netmask"; R && o=`sudo profiles -P | grep : | wc -l`; Ps "Profiles"; f=auto_master; [[ `md5 -q /etc/$f` =~ ^b166 ]] || Pc $f /etc/$f; for f in fstab sysctl.conf crontab launchd.conf; do Pc $f /etc/$f; done; f=/etc/hosts; Pc "hosts" <(egrep -v "$H" $f ); AT $f; Pc "User launchd" ~/.launchd*; R && Pc "Root crontab" <(sudo crontab -l); Pc "User crontab" <(crontab -l); R && o=`sudo defaults read com.apple.loginwindow LoginHook`; Pm "Login hook"; LD="$(`find /S*/*/F* -type f -name lsregister | head -n1` -dump)"; o=`for ID in $AC; do [[ "$LD" =~ $ID ]] && echo $ID; done`; Pm "Application check"; Pp "Global login items" /L*/P*/loginw* Path; Pp "User login items" L*/P*/*loginit* Name; Pp "Safari extensions" L*/Saf*/*/E*.plist Bundle | sed -E 's/(\..*$|-[1-9])//g'; o=`find ~ $TMPDIR.. \( -flags +sappnd,schg,uappnd,uchg -o ! -user $UID -o ! -perm -600 \) | wc -l`; Ps "Restricted user files"; cd; o=`SP Fonts | egrep 'id: N|te: Y' | wc -l`; Ps "Font problems"; o=`find L*/{Con,Pref}* -type f ! -size 0 -name *.plist | while read f; do plutil -s "$f" >&- || echo $f; done`; Pm "Bad plists"; d=(Desktop L*/Keyc*); n=(20 7); for i in 0 1; do o=`find "${d[$i]}" -type f -maxdepth 1 | wc -l`; o=$((o<=n[$i]?0:o)); Ps "${d[$i]##*/} file count"; done; o=; [[ UID -eq 0 ]] && o=root; Ps "UID"; o=$((`date +%s`-t)); Ps "Elapsed time (s)"; } 2>/dev/null | pbcopy; exit 2>&-
    Copy the selected text to the Clipboard by pressing the key combination command-C.
    7. Launch the built-in Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Click anywhere in the Terminal window and paste (command-V). The text you pasted should vanish immediately. If it doesn't, press the return key.
    8. If you see an error message in the Terminal window such as "syntax error," enter
    exec bash
    and press return. Then paste the script again.
    9. If you're logged in as an administrator, you'll be prompted for your login password. Nothing will be displayed when you type it. You will not see the usual dots in place of typed characters. Make sure caps lock is off. Type carefully and then press return. You may get a one-time warning to be careful. If you make three failed attempts to enter the password, the test will run anyway, but it will produce less information. In most cases, the difference is not important. If you don't know the password, or if you prefer not to enter it, press the key combination control-C or just press return three times at the password prompt. Again, the script will still run.
    If you're not logged in as an administrator, you won't be prompted for a password. The test will still run. It just won't do anything that requires administrator privileges.
    10. The test may take a few minutes to run, depending on how many files you have and the speed of the computer. A computer that's abnormally slow may take longer to run the test. While it's running, there will be nothing in the Terminal window and no indication of progress. Wait for the line
    [Process completed]
    to appear. If you don't see it within half an hour or so, the test probably won't complete in a reasonable time. In that case, close the Terminal window and report the results. No harm will be done.
    11. When the test is complete, quit Terminal. The results will have been copied to the Clipboard automatically. They are not shown in the Terminal window. Please don't copy anything from there. All you have to do is start a reply to this comment and then paste by pressing command-V again.
    If any private information, such as your name or email address, appears in the results, anonymize it before posting. Usually that won't be necessary.
    12. When you post the results, you might see the message, "You have included content in your post that is not permitted." It means that the forum software has misidentified something in the post as a violation of the rules. If that happens, please post the test results on Pastebin, then post a link here to the page you created.
    Note: This is a public forum, and others may give you advice based on the results of the test. They speak only for themselves, and I don't necessarily agree with them.
    Copyright © 2014 by Linc Davis. As the sole author of this work, I reserve all rights to it except as provided in the Terms of Use of the Apple Support Communities website ("ASC"). Readers of ASC may copy it for their own personal use. Neither the whole nor any part may be redistributed.

  • Using OSX 10.8 DW CS6 when I click "live" it says "flash plugin" "not found".

    Using DW CS6 when I click "live" it says "Flash Plugin was not found. To view Flash content in Live View install the Firefox Flash Plugin from www.adobe.com."
    My default browser is Chrome. DW uses Chrome as the primary browser. (FFox is secondary.)
    I do have Firefox and do not have Flash on it. I open Flash content Chrome, and I installed an HTML5 video viewer add-on in FFox (but haven't tried it yet).
    I also have the Dreamweaver HTML5 Video View add-on, so why am I getting that message? Furthermore, the HTML code doesn't have any Flash objects. (The code is the source HTML from www.google.com page, without any changes.)
    How do I make DW display the "Live" view of the code without giving me an error? (My end goal is to find out what google does when you enter something in the search box and hit the Enter key, actually, I'd like to see why the result of the search is displayed the way it is - default should be Web view, but Image view shows instead. I want Web to show!)

    "Why would anybody paste Google's source code into their own web page?" To learn from it.
    I'm sorry Phil, but you can't learn much from Google's source code because search engines are dynamically programed with behind-the-scenes code and content from databases that you can't see.  You're just spinning your wheels here.  If you want to learn how to make a search engine, I'd be happy to point you to some relevant PHP & MySql tutorials.
    The issue still remains that DW is giving me the error (flash plugin not found)
    When DW starts acting weird, the first thing to try is Deleting Corrupted Cache in DW
    http://forums.adobe.com/thread/494811
    If that doesn't help, try Restore Preferences
    http://helpx.adobe.com/dreamweaver/kb/restore-preferences-dreamweaver-cs4-cs5.html
    If all else fails, use the CC Cleaner Tools below followed by a software re-install.
    Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6
    Nancy O.

  • Want to delete mails from Thunderbird but not from the server?

    Hi,
    Please tell me how to configure the settings of Thunderbird so that if i delete any mail from Thunderbird that mail would be delete only from Thunderbird not from server. I'm using IMAP configuration for all my mail accounts and I'm using Thunderbird in my laptop and tablet both.
    Currently i'm using Thunderbird 24.4.0 and i just want to delete my useless mails from Thunderbird but not from the server without using pop-3 settings.
    Actually the reason for this Question arises because whenever i use to uninstall and reinstatement Thunderbird, i use to take "profiles" as a back up and its size is increasing day by day that is making a big issue to me as i cant take a back up of such a big size file.

    Imap mail accounts keep the emails on the server and you see a remote view of those emails and folders.
    When you subscribe to see a folder, the headers are downloaded, when you select an email to read, the entire folder is downloaded to a temp cache facilitating quicker access. If you synchronize folders, then a copy of that folder is downloaded to an mbox file in your profile, so that you have a copy of the server folder. When you make any changes to a synchronized folder, read an email, delete or move etc, then Thunderbird will resynchronize with the server to update the server. A synchronized folder allows you to work in 'offline' mode and this is the best time to perform a backup as you know there is a temporary stop on synchronizing as you are offline. They will resynchronize when you go back into 'online' mode.
    So, with IMAP mail accounts, the folders you see in Thunderbird are the same folders on the webmail server. If you make any changes via Thunderbird or webmail then you are changing the same folder. You cannot delete an email without deleting it from the server, they are one and the same.
    What you can do is move/copy an email into Local Folders and delete the one on the server. The Local Folders emails are kept in your Profile on your computer, these folders/emails are not on the server, unless you chose to keep a copy of them on the server.
    Pop mail accounts cannot see the folders on the server. They only access the server Inbox folder and download emails not previously downloaded to the mail account Inbox in Thunderbird. These emails are kept on your computer in your profile folder. You can select to keep a copy on the server or not. You can choose to delete emails off your computer and off the server or not.
    If the mail account is gmail , have you subscribed or even synchronized to see the 'All Mail' folder ? Gmail's all Mail folder is their Archive folder, it keeps a copy of all of your non-deleted emails. So, you do not need to subscribe to see this folder as it only shows you what you can already see in other folders. It doubles the disc space.
    Please read section on 'All Mail' at this link.
    * http://kb.mozillazine.org/Using_Gmail_with_Thunderbird_and_Mozilla_Suite
    You do not have to download/synchronize the entire folder. You could select to only synchronize the most recent xx days of emails.
    see info here:
    * https://support.mozilla.org/en-US/kb/imap-synchronization#w_configuring-synchronization-and-disk-space-usage

  • Primary and Secondary Server  - odbc.ini entry

    Hi BI Experts,
    We are using OBIEE 10g and source is Teradata 13. We have to configure the DSN in such a way that if the primary server A goes down BI application should point to secondary server B on which the report can run. Please note that severs A and B will always be in sync. Is there any way to achieve this?
    Kindly help me on this.
    Thanks.

    Hello Torsten, if you not able to give proper solution, please dont start to reply
    Why the rudeness? If your problem was simple or the solution obvious, it wouldn't happen in the first place. Replication is one of the most complex things in all of software to troubleshoot and can be caused by an infinite number of things. On top of that,
    you're giving no details whatsoever so there's almost no way to know what's going on -- we don't have crystal balls or know the magic incantation that will miraculously make it work. You have to us help you, simply saying it's broke, and yes/no to probing
    questions is pretty much useless. You need to provide as much detail as possible so that we can help. The keyword here is "help" though, we can't do it for you.
    Jason | http://blog.configmgrftw.com

  • Previously deleted messages are re-downloaded, not removed from server??

    I have a POP email account that I access from my iMac using Mail. I regularly delete mail from my inbox in Mail, so there are only a few hundred messages in the inbox. But the other day I logged onto my mail account via the web and discovered thousands of my previously deleted messages still in my inbox on the server. I opened Mail Preferences and discovered that the checkbox "Remove mail from Server ... when I move it from my inbox" was not checked, so I checked that box. However, I figured that would only cause future messages that are removed form my inbox to be removed from the server, but would not do anything about the thousands of previously deleted messages that were still on the server. So I also clicked the button labeled "Remove Now". I figured that would cause Mail to tell the server to remove all the old messages on the server that had previously been removed from the local Mail inbox.
    The next day I discovered that thousands of old messages I had already deleted (many of them long ago) had mysteriously reappeared in my Mail inbox. And of course, checking the account via the web, I discovered they were still on the server too. What did I do wrong? I thought Mail would tell the server to delete all those old messages. Instead it seems to have told the server to download them all to my Mail inbox again, the exact opposite of what I intended. I don't know if this is a disconnect between the Mac Mail client and the mail server, or if I misunderstood the purpose of these options in the Mail preferences dialog.

    Hello,
    I have never tried this exact action, but I think the Remove Now will not do much, with When Moved from the Inbox. This would require the action of removing the message, after this setting has been changed. I don't think it would remove any previously moved from the Inbox, because no check to correlate the current contents of Inbox to a POP account.
    Does this make sense, to you?
    However, there would appear to be some corruption in the file to prevent duplicate downloads, or messages previously downloaded.
    In Mail 2.x, Apple introduced a way to look a the server, of even POP accounts. To do this, control-click on any inbox or any mailbox, and choose Get Info. Once the dialogue window is presented, and if you have more than one account, choose the account, and you can not observe the server contents, but also choose and delete individual messages.
    Keep us posted about future behavior.
    Ernie

Maybe you are looking for