Inconsistent results Spotlight

I've known inconsistent results of Spotlight with OS X servers for a year or so now. I worked on that with Yosemite and El Capitan.

What is happening is that Spotlight does not see inside some files scattered in various actions. The problem is consistent if the search of a customer attached or on the server itself. It has many, many of these records.

I deleted it. Index files V100-focus on volumes several times with the following process:

sudo mdutil - a-i off

sudo rm - rfv. Spotlight-V100 (I run on each volume)

sudo mdutil - a-i on

sudo mdutil - Ea

However after letting the Spotlight re-indexing it does not fix things.

I think next reset the ACL on the volume where the data is stored. I first want to make sure that what I'm doing, that's enough:

sudo chmod-r/path/to/volume n

Then set the permissions for the shares as it should.

Suggestions or comments?

You happen to have the system during a rebuild Spotlight log tail?  If Yes, have you seen errors, files or records which failed to index, or all mdworker default processes?  The system log can provide valuable data as to why Spotlight does not complete.

Then, if you are going to strip the ACL, you will also remove user _spotlight.  This system is essential for the proper functioning of the projector.  Make sure that when you go to spread your new ACLs that account _Spotlight is listed as an ACE inherited.  All files and folders on your part must contain this account from the ACL table service.

And finally, don't forget to watch the POSIX permissions.  If you have restrictive permissions POSIX, you may have implemented a condition in which the mdworker process simply can not cross your data structure.  Search for files located at 700 or files located at 600.  Perhaps considered using the propagation process to restore all the POSIX permissions standard umask.

I hope this helps.

Reid

Apple Consultants Network

Author - "El Capitan Server - Foundation Services.

Author - "El Capitan Server - Collaboration & control»

Author - "El Capitan Server - Advanced Services '.

: IBooks exclusively available in Apple store

Tags: Servers and Enterprise Software

Similar Questions

  • Definition of the XMP data with inconsistent results

    $. pipelineTools.MetadataController.prototype.setMediaStartTimecode = {function (timecode)}

    var path = "Column.Intrinsic.MediaStart".

    Test

    Val = this.xmpMetadata.setStructField)

    XMPConst.NS_DM,

    "startTimecode,"

    XMPConst.NS_DM,

    'timeValue ',.

    '00:00:00:00 '.

    )

    this.xmpMetaChanges.push (path)

        // " http://ns.Adobe.com/XMP/1.0/DynamicMedia/ "

    var val = this.xmpMetadata.setStructField)

    XMPConst.NS_DM,

    "altTimecode,"

    XMPConst.NS_DM,

    'timeValue ',.

    timecode

    )

    this.xmpMetaChanges.push (path)

    }

    He always pays in ESTK correct timecode, but it is not always set the same value.

    As you can see in ESTK:

    However, the clips at random are preparing to 00:00:00:00

    There is a logic to the way in which metadata are drawn? I tried to make sure that there is a field startTimecode first (because sometimes this field does not exist in some cases completely and must be created), but it doesn't matter. Alttimecode is the one we want to use because it is the lag that we use for the potential for additional images being made at some point.

    Above is a clip that was supposed to have MediaStart the 00:00:04:05 value and this is a clip that was correctly configured value:

    The two using the same code, the same calculation, the same session.

    Seems to be incompatible and dumping the XMP files results in this:

    grw020 (Successful):

    < xmpDM:startTimecode rdf:parseType = "Resource" >

    < xmpDM:timeFormat > 24Timecode < / xmpDM:timeFormat >

    < xmpDM:timeValue > 00:00:00:00 < / xmpDM:timeValue >

    < / xmpDM:startTimecode >

    < xmpDM:altTimecode rdf:parseType = "Resource" >

    < xmpDM:timeValue > 00:00:04:05 < / xmpDM:timeValue >

    < xmpDM:timeFormat > 24Timecode < / xmpDM:timeFormat >

    < / xmpDM:altTimecode >

    soc020 (qualifications):

    < xmpDM:altTimecode rdf:parseType = "Resource" >

    < xmpDM:timeValue > 00:00:04:05 < / xmpDM:timeValue >

    < / xmpDM:altTimecode >

    < xmpDM:startTimecode rdf:parseType = "Resource" >

    < xmpDM:timeValue > 00:00:00:00 < / xmpDM:timeValue >

    < / xmpDM:startTimecode >


    As you can see, grw020 somehow magically Gets the timeFormat string and using the same code in the same session, soc020 not get the timeFormat value.
    Now I'm curious to know how the successful clip becomes the value lost, and secondly - why is it fill properly? There is a sequence to 23.976 and it is filling with 24Timecode - when it should be filling with 23976Timecode as I have seen in other clips.

    Overall, this seems to be a very inconsistent data set.

    Thank you.

    I don't think that it is possible to set the framerate on a clip using XMP metadata project and first noticing the change. I am successfully able to change the startTimecode, altTimecode and other values, but if I put the XMP value or project metadata, there is no change in framerate.

    It seems that for a period indeterminate media Timebase will replace all attempts to set the framerate, even if the correct and desired information are in the XMP output and the metadata project out after importation.

    I test this by setting the Timebase of media for an indefinite period to 59,97 fps and import a clip with no metadata on it.

    Once this process is complete, waiting for the event loop complete the import and then try to set the framerate to 23.976 both XMP and metadata to the project. It does not change. However, all other values will not change.

  • assessment polynomial vi giving inconsistent results

    I'm looking at an easier method to evaluate polynomial, rather than using formulas nodes that I currently use.  I found the "polynomial evaluation vi' who would think based on aid would be able to calculate the result of a polynomial Exhibitor multi.

    Currently, I would do something like the following in a node of the formula:

    float64 D1 = 0.387481063640E - 01;
    float64 D2 = 0.332922278800E - 04;
    float64 D3 = 0.206182434040E - 06;
    float64 D4 = - 0.218822568460E - 08.
    float64 D5 = 0.109968809280E - 10;
    float64 D6 = - 0.308157587720E - 13;
    float64 D7 = 0.454791352900E - 16;
    float64 D8 = - 0.275129016730E - 19;

    DC = (V * D1) +(D2*V**2) +(D3*V**3) +(D4*V**4) +(D5*V**5) +(D6*V**6) +(D7*V**7) +(D8*V**8).

    I tried the same calculation by writing a little VI which used the polymomial assessment vi and get seriously incorrect results.  (my vi attached).

    Research in the evaluation of the polynomial vi, honestly, I don't know how it is supposed to work, unless he's trying to do something completely different that I do.   (With the help of labview 2015)

    I'm open to suggestions here.  Thank you!  Mitch

    The first table is the constant term (V ^ 0 = 1), if you need to add an element that is equal to zero in the table of coefficients.

    The polynomial is defined as:

    DC = D0 + (V * D1) +(D2*V**2) +(D3*V**3) +(D4*V**4) +(D5*V**5) +(D6*V**6) +(D7*V**7) +(D8*V**8)

    In your case, D0 = 0, but there still need to be there.

    ... and are not the constant diagram EXT. As you can see about to constraint, it will be converted in any case to DBL.

  • Inconsistent results with Julian dates using OpenQuery

    We have a MS SQL Server using Oracle via a linked server using the OleDb driver.

    When I run the following query to MS SQL Server:

    Select * from OPENQUERY (GMENU, 'select to_char (to_date(''01-JAN-2015''), 'J') of the double')

    I get: 1721443

    When I run this query in Oracle: select to_char (to_date('01-JAN-2015'), 'J') of the double

    I get: 2457024

    Can someone explain how I can get consistent results? Specifically, I'm trying to run queries that use dates in the where clause, and it seems that the only way to do that is using Julien dates. I had it once before, but now it is glitchy because the results are not consistent.

    results change when you actually provide a format mask?

    Select to_char (to_date('01-JAN-2015','DD-MON-YYYY'), 'J') of the double

  • sdo_union gives inconsistent results

    Hello

    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0

    We use sdo_union to convert the geometries of the line. Some geometries inserted in our database have sdo_gtype 2006, but can be easily converted in 2002 using a query like:
    update lines_tb l 
    set    shape = case when sdo_geom.sdo_union(l.shape, l.shape, 0.001).sdo_gtype = 2002 
                        then sdo_geom.sdo_union(l.shape, l.shape, 0.001) 
                        else l.shape 
                   end 
    where  l.shape.sdo_gtype = 2006;
    We note however is you run the query again, he continues to find results! It makes no sense at all...

    Modesty only that I can do, is that sdo_union is not consistent with its findings!

    Can someone confirm this behavior?

    Thank you

    ROP

    Hi Rop,

    Then it must be a problem already fixed, because I am using Oracle Database 11 g Enterprise Edition Release 11.2.0.1.0 - Production, and whenever I run this 2002 returns.

    Time to migrate to 11g :)

    It seems therefore ;-)

    See you soon,.
    Stefan

  • Recordset to return inconsistent results

    I'm developing a site in php using mysql and apache.

    I have finally managed to get a database connection and is trying to create recordsets.

    This is where the difficulties lie.

    I have 14 tables, with the majority of the drop down menus. -All these (single column) return recordsets without any problem.

    The two main relational tables have several columns.

    If I select a most simple selected columns, I have no problem, but there are two columns where no recordset is returned. I tried to rename these columns without effect. The sql query looks very good and works with two columns.

    Ayone explain this inconsistency?

    Is this something to do with the field definition?

    I'm really dying for any help here.

    many apologies - it's my first time here - I have indeed will take on David Power response.

    Thank you

  • Question about the inconsistent results when you query v$ sqlarea

    Good evening

    I do an exercise on threads that consume too much CPU to find and why.

    I have the following (bad code) running in the session from a client to create a problem to diagnose:
    USER is "SCOTT"
    SQL> declare
      2    l_date  date;
      3  begin
      4    for i in 1..10000000 loop
      5      select sysdate into l_date from dual;
      6    end loop;
      7  end;
      8  /
    In another session, logged in as SYS, I execute the following query:
    col sid         format 9999
    col serial#     format 9999999
    col ospid       format a8
    col sql_text    format a40
    col sql_cn      format 9999
    
    select s.sid
         , s.serial#
         , p.spid                   ospid
         , q.sql_text
         , s.sql_child_number       sql_cn
      from v$process p
         , v$session s
         , v$sqlarea q
     where p.addr = s.paddr
       and s.sql_id = q.sql_id(+)
       and p.spid = &os_process_id;
    The results I get from the above query vary as shown below:
    SQL> @tcpu
    Enter value for os_process_id: 1104
    old  11:    and p.spid = &os_process_id
    new  11:    and p.spid = 1104
    
      SID  SERIAL# OSPID    SQL_TEXT                                 SQL_CN
    ----- -------- -------- ---------------------------------------- ------
       31     8564 1104     SELECT SYSDATE FROM DUAL                      0
    
    SQL> @tcpu
    Enter value for os_process_id: 1104
    old  11:    and p.spid = &os_process_id
    new  11:    and p.spid = 1104
    
      SID  SERIAL# OSPID    SQL_TEXT                                 SQL_CN
    ----- -------- -------- ---------------------------------------- ------
       31     8564 1104     declare   l_date  date; begin   for i in      0
                             1..10000000 loop     select sysdate int
                            o l_date from dual;   end loop; end;
    Is: why is it that sometimes the result of the query shows that the "SELECT SYSDATE FROM DUAL" and other times it shows the entire text of PL/SQL? I would have guessed that SQL_TEXT content would remain constant during execution of the block of code - that's a wrong assumption?

    Thank you for your help,

    John.

    Hello
    There's a thing in the execution of PL/SQL which is called context switching, your PL/SQL is executed by PL/SQL engine and when there is a SQL in Pl/SQL, it is performed by the SQL engine and it runs separately and as a result some time when you ask, the execution pointer is on your PL/SQL for loop and some times it is the select statement.

    Salman

  • To_date gives inconsistent results?

    I have a stored function that returns T or F depending on whether the past is valid for a past format string date. The relevant part of this function is

    v_Result: = 't';
    BEGIN
    SELECT to_date (in_date_string, in_format_string) IN double v_good_date;
    IF v_good_date IS NULL THEN
    v_Result: = 'F';
    END IF;
    EXCEPTION WHEN OTHERS THEN
    v_Result: = 'F';
    END;
    RETURN (v_Result);

    Now, I have a table that contains the dates as varchar2 strings in the format YYYYMMDD. The dates may be incomplete, and I'm only interested in complete dates. If I use the function

    Select a.stop_dt
    address a
    where is_valid_date (a.stop_dt, 'yyyymmdd') = 't'

    It returns 69 lines.

    But now I am only interested in the dates that are later than today ' hui. I add the line

    and to_date (a.stop_dt, 'yyyymmdd') > trunc (sysdate)

    Suddenly, I get an error ORA-01843. When I list the 69 records, none has an invalid month.

    Does anyone have an idea what might be going on here? I guess my is_valid_date function is something unexpected, but I can't imagine what it might be. It seems that if somehow to_date in one case returns non null even if the date is not valid and in the other case will raise an error.
    --
    Helge moulding

    Hi, Helge,

    Welcome to the forum!

    If you run a query like this:

    select  a.stop_dt
    from    address          a
    where       is_valid_date (a.stop_dt,'yyyymmdd')     = 'T'
    and         to_date (a.stop_dt,'yyyymmdd')           > trunc (sysdate)
    

    The optimizer decides which of the conditions to assess the first; Apparently, he thinks that the new condition, using TO_DATE, will restrict the faster search, so he dioes than a first.

    The best solution could be to o re is_valid_date - write or write a similar function, which, instead of return 't' or 'F', it returns the DATE when the string can be converted to a DATE, and NULL otherwise. The function will be equally effective; You must call TO_DATE anyway. In this case, it will be actually more efficient, since you only have to call time, inside the function TO_DATE, once again not in the query.
    At the heart of the function can then be:

    BEGIN
         SELECT  v_Result := to_date ( in_date_string, in_format_string);
    
    EXCEPTION WHEN OTHERS THEN
          v_Result := NULL ;
    END ;
    
    RETURN( v_Result ) ;
    

    Note that there is no need to use the table of double. In PL/SQL, you can call functions directly.

    Without changing the function, you can make sure the conversion is made first, like this:

    select  a.stop_dt
    from    address          a
    where       to_date ( CASE
                    WHEN  is_valid_date (a.stop_dt,'yyyymmdd')     = 'T'
                    THEN  a.stop_dt
                    ELSE  NULL    -- This is the default; you don't have to say it explicitly
                END
              , 'yyyymmdd'
              )          > trunc (sysdate)
    

    or you can compare strings rather than DATEs:

    select  a.stop_dt
    from    address          a
    where       is_valid_date (a.stop_dt,'yyyymmdd')     = 'T'
    and         a.stop_dt,'yyyymmdd'                > to_char (sysdate, 'yyyymmdd')
    

    The results of the 2nd condition will be unreliable if a.stop_dt is incorrect. It's OK; the 1st condition will exclude any way these lines.

    Published by: Frank Kulash, August 27, 2010 18:37
    Additional function code

  • Center solutions Lenovo - inconsistent results with my new Z51-70?

    Hello world

    I just got a new laptop Lenovo Z51, model 80K6002QUS, lit, implement all downloaded some programs for my academics (programming, AutoCAD, Microsoft, Skype, etc.) and the center of Solution of Lenovo (LSC) have also downloaded.

    I have done a scan with the LSC full diagnostic equipment and found my new laptop passed all tests except the SMART short self-test and the SMART self test drive. For these two areas, the LSC has given a 'warning' instead of 'passed' as others.

    I turned off my laptop and it restarted this morning. I ran a quick scan of material for only short SMART and Drive Self Tests and would have said LSC they both passed. I ran another full, although quick scan with the LSC and it has passed the tests of SMART again without any warning.

    What does this mean? Won't the LSC or my hard drive has fixed itself somehow? I'll do another scan of diagnostics later today.


  • right-click inconsistent results

    Why is that sometimes in a Flash site on right-click I have 6 options - zoom, quality, printing, show all, settings, about, and other times, just 2 options - settings and everything? What determines the options that we have on the right click and how do I / can I control this? I wish I had all 6 options whenever I go to flash, but it can be different, even in the same website on different pages of flash. In addition, in the programming of flash sites, how can I make sure that the 6 options are available to viewers so that they can zoom in and print a page of my Web site?

    Help, please!

    Its up to the one who wrote the flash FLA file to control what is on the menu.
    Some control also via the HTML (showmenu parameters). As spectator-end of a
    site, you can not control yourself
    --
    Jeckyl

  • Why the division operator give me different results in different screws?

    Hi all

    I'm quite the LabVIEW newbie, so please forgive me if it's elementary.  I have a signal that I'm acquisition.  The signal is fairly low amplitude (.01-0,1 V).  During each acquisition, I share the values of the sample defined by another few (0.047) using the division operator.  I see inconsistent results and I am puzzled as to why.

    In ex1, which I built from scratch for this post, everything works as expected.  I can confirm with the debugger that every reading of the sample overall is well divided and the average, max and waveform graph look like I expect.

    When I use a similar construction in my real application, however, the division often results in the INF file, and when I look with the debugger I see after fracture of the values of the signal... just don't make sense to me (x 2).

    I thought I must be missing something in the real application associated with split and merge multiple signals, so I ripped out everything except the Division (ex3).  Although this code looks a lot like the ex1 works well, the product always division infs and strange results.

    These three examples receive the same signal.  My best guess is at this point that the built-from-scratch example is force double passes to the operator of division "the right way" and that the examples of dysfunction are force double in a different way, incorrect.  I tried to delete and re-create the signal path in the examples of dysfunction without result.  My problem is that I don't know enough about the LabVIEW data types to find out how to impose the appropriate constraint.

    Can someone point me in the right direction for a solution?  I would be very happy to help.

    Your first image divides your signal of 0.047. Your second and third images are 0.047 dividing your signal. Reverse your son in fracture on image 2 and 3 knots, and I think you should be ok.

  • jQuery ui datepicker inconsistency

    I'm trying to influence the behavior of a popup datepicker in a region of interactive report and getting inconsistent results. I use v4.2.4.00.08 Apex

    I created a SORT on a table with a date column. Once created, I use Actions = > filter, then select the date column. I use generally between the operator and select the date picker icon to select dates. (I intend to make a saved filter report).

    I need to change the datepicker popup to allow the user to see more than one month at a time. With a few tries, I added this code in the Page = > Javascript = > :

    {$(document) .ready (function ()}

    change to display 3 months at a time and a sign of button to select today

    $. datepicker.setDefaults({)

    ({'numberOfMonths': 3, 'dateFormat': 'JJ-M-AA', 'showButtonPanel': true});

    });

    I go back to datepicker and successfully get 3 months in the context menu and the Panel down with close buttons and today. However, I really want that month and year like select from drop-down menus. I now make this change to the Javascript:

    {$(document) .ready (function ()}

    change to display the month and year as select in the drop-down menus

    $. datepicker.setDefaults({)

    ({'changeMonth': true, 'changeYear': true, 'dateFormat': 'JJ-M-AA', 'showButtonPanel': true});

    });

    DatePicker returned to the single month pop-up window, select no menus, but the Panel remains. My question is why is the datepicker editable with a default value, but not another? I tried the sandbox sand Apex v5 adopteur early and had the same results.

    Thank you

    Kelly

    This is because as the bodies to initialize some of the options, that are not replaced by setting global values by default. It is that changeMonth and changeYear are two of them. Same behavior for an ordinary page element, incidentally, where the selection lists are an attribute for the element and false as a default value.

    When the filter Panel is open certain HTML is retrieved on the server, and this includes the initialization of date picker:

    (function(){apex.widget.datepicker("#apexir_BETWEEN_FROM",{"buttonImage":"\u002Fi\u002Fasfdcldr.gif","buttonImageOnly":true,"buttonText":"Popup Calendar: ","showTime":false,"defaultDate":new Date(2014,9,14,07,15,52),"showOn":"button","showOtherMonths":false,"changeMonth":false,"changeYear":false},"dd-M-y","en");})();
    (function(){apex.widget.datepicker("#apexir_BETWEEN_TO",{"buttonImage":"\u002Fi\u002Fasfdcldr.gif","buttonImageOnly":true,"buttonText":"Popup Calendar: ","showTime":false,"defaultDate":new Date(2014,9,14,07,15,52),"showOn":"button","showOtherMonths":false,"changeMonth":false,"changeYear":false},"dd-M-y","en");})();
    

    As you can see, the changeMonth and changeYear set to false. Change the overall default values so will not influence these options. To do this, you need to change the option in the instance itself. Challenge with that though is that there is no check mark to know when the Panel has loaded... There are only the means hacky.

  • How to obtain consistent results of execution of requests

    We use the Oracle 10 g on Linux platform.

    We have a 6 monthly partitioned table. I now want to partition on monthly basis. To see the impact of this change on the sub query, I compare the runtime of the two tables. I run the test on a test database where there is no session of another user. But I get inconsistent results. Sometimes, the query took more than a second and sometimes it takes about 500 Mill seconds.

    SELECT systimestamp FROM dual;
    SELECT
            A.code, A.branch, A.number, A.currency, A.id, A.system,  b.calculation_date, b.intraday_timestamp
        FROM accounts A, balances_monthly b
      WHERE (A.code, A.branch, A.number, A.currency, A.id, A.system) IN
                (('AGB', '830402', '10008405', '  ', 'BOS', 'ACST'),
                  ('AGB', '830402', '10008480', '  ', 'BOS', 'ACST'),
                  ('AGB', '830402', '10008561', '  ', 'BOS', 'ACST'),
                  ('AGB', '830402', '10008618', '  ', 'BOS', 'ACST'),
                  ('AGB', '830402', '10008634', '  ', 'BOS', 'ACST'),
                  ('AGB', '830402', '10008677', '  ', 'BOS', 'ACST'),
                  ('AGB', '830402', '10008731', '  ', 'BOS', 'ACST'),
                  ('AGB', '830402', '10008790', '  ', 'BOS', 'ACST'),
                  ('AGB', '830402', '10008855', '  ', 'BOS', 'ACST'),
                  ('AGB', '830402', '10008871', '  ', 'BOS', 'ACST')
                )
        AND b.calculation_date BETWEEN TO_DATE ('2013-08-01', 'YYYY-MM-DD') AND TO_DATE ('2013-10-31', 'YYYY-MM-DD')
        AND b.code = A.code
        AND b.account_id = A.ID;
    SELECT systimestamp FROM dual;
    
    

    I'm clear cache buffers and cache library every time before you run the query:

    ALTER SYSTEM FLUSH SHARED_POOL;
    ALTER SYSTEM FLUSH BUFFER_CACHE
    

    Is there a better way to get consistent results?

    How you calculate the time won't. Do not like that. Enable SQL_TRACE in your session and run your query. Then use TKPROF to format the output to know the exact details of the execution of the query of the trace.

  • -DVD burn does not work in the DVD player sometimes

    I have a Mac Pro from the beginning of 2008, and it came with a DVD drive (OPTIARC DVD RW AD - 7170A).  I was able to burn DVDs with using toast in the past.

    But lately, the half of the DVD burn won't play in my DVD consumer player.  I get a "Disk error" message when I try to play them, and they do not load.  It's a strange problem, because some of them work and some do not.  I can't tell where the problem is.

    Is there a way to test the DVD player?  Should I just replace it?

    Many brands of blank DVDs gives very inconsistent results when burning. If you use a brand store or generic blanks, that may be the problem.

  • Bulk move send email to Mac native format on my hard drive?

    Can I to bulk move/export Send Mail on my hard drive to the native format of Mail? My goal is to move mail from a value of savings of online web email accounts in my hierarchy of folders on the local hard disk. Check the mail - like and export functions do not seem to do that.

    I can drag an email both of Mail on my local drive and it works, but by dragging multiple messages at the same time produces inconsistent results.

    I assume you mean you want to move mail from your IMAP account in the messaging app for local folders to remove the server. Is this correct?

    Create local mailbox slot on my Mac. You can create the mailboxes also sup. If you move messages from a mailbox in the IMAP account to local mailboxes, then they will only be kept on the computer.

    Select all the messages you want and right-click. Choose Move Messages to and select the mailbox to move too.

Maybe you are looking for