"cleaning" a string

I need to strip special characters out of a string field.  Anyone know of a function or technique in Crystal Reports (XI R2) that can evaluate a string and return only the letters?  The characters themselves can vary and can occur more than once in the string.  Example: I have "Jennifer Hanson_CPA #" and would to extract "JenniferHanson" or "Jennifer Hanson".  Any suggestions would be appreciated.

Thank you.  That loop works well.  Needed to add a line to reset result variable to blank so it didn't swell.  Was getting results like this:
Jimmy Nuetron
Jimmy Nuetron Larry Ellison
Jimmy Nuetron Larry Ellison Marc Beniof
Final code is this:
stringvar strval:= {Sheet1_.Name};
stringvar array schars:= ['#','%','+','_','.','-']; 
stringvar res;
numbervar i;
res:= '';
for  i:= 1 to len(strval)
do
if not (strval<i> in schars)  then
(res:= res & strval<i>;);
res;
thanks again!!
Edited by: Darrin Farnsworth on Nov 24, 2008 11:10 PM

Similar Messages

  • ExternalInterface.call String parameter length limit???

    Is there a String length limit to the amount of chars a
    String can contain when passed as a parameter to
    ExternalInterface.call()?
    Also, are there any chars that ExternalInterface.call()
    cannot serialize in a string?? Like \n, \t ...etc.
    The livedocs don't answer these questions.

    thanks for your reply but i just figured it out.
    ExternalInterface.call("jsFunc", longString);
    There is seems to be no char limit that i came across cause i
    was able to shove 2K in there.
    The problem is the newlines in the string, they must get
    messed up during serialization. Just make sure you clean the string
    of newlines like so:
    longString = longString.split("\r").join("
    ").split("\n").join(" ");
    ExternalInterface.call("jsFunc", longString);
    works fine......

  • Re-ordering 2 files, can you help me speed it up?

    Hi all - this is kind of complicated. I have 2 files, each contains identical blocks of information (identified by the word "Processing") but in different orders. So I have to find the block in the first file, write it to an output file, and then find the matching block in the 2nd file and write it out - Thereby insuring that the processing blocks in both outfiles are in the same order. (What my end result should be is 2 files I can compare, looking for info inside the blocks that may differ).
    I've got a function now, but it's sloooooow. The biggest file that I have to read & manipulate like this is 14,406 kb in size. Takes about 15 to 20 minutes and eats up 97% of my resources. The code is below, can anyone help identify bottlenecks? (or better ways to accomplish this...)
    Thanks!!!
    /* This function reads one file line by line.  if a line contains the word "processing",
    then another stream is opened (same file, starting at same line), and data is read and
    written to the "out" file until "processing" is found again.  A 2nd file, with the same
    info but in a different order, is opened & searched for the same processing block, this
    data is entered into the 2nd out file.  This is basically a re-ordering scheme.*/
    protected void CrossThem(String outfile1, String outfile2){
         /* create the new "clean" files */
         String out1 = CreateCleanFile(outfile1);//creates the 1st file that will be written to
         String out2 = CreateCleanFile(outfile2);//creates the 2nd file that will be written to
         /* create the 3 RandomAccessFiles that will be read from */
        RandomAccessFile rf1;
        RandomAccessFile rf2;
        RandomAccessFile rf3;
         try
              BufferedWriter bw = new BufferedWriter(new FileWriter(out1, true));
              BufferedWriter bw2 = new BufferedWriter(new FileWriter(out2, true));
              rf1 = new RandomAccessFile(outfile1, "rw");//1st file to be read from
              rf2 = new RandomAccessFile(outfile2, "rw");//1st file to be searched when info is found in rf1
              rf3 = new RandomAccessFile(outfile1, "rw");//2nd file to be searched for info found in 1st
              String line1 = null;
              String line2 = null;
              while((line1 = rf1.readLine()) != null){
                  if (line1.indexOf("Processing")!= -1){
                        g_fp = rf1.getFilePointer();
                    String nextline1 = null;
                    bw.write(line1 + "\n");
                    rf3.seek(g_fp);
                    /* get rest of processing block by opening another
                     * file and starting from there
                    while(((nextline1 = rf3.readLine()) != null ) && (nextline1.indexOf("Processing") == -1)){
                          bw.write(nextline1);
                            bw.write("\n");
                    /* find block in rf2 */
                        rf2.seek(0);
                    while((line2 = rf2.readLine()) != null){
                        if((line2.equalsIgnoreCase(line1) && (line2.indexOf("Processing") != -1))){
                        long fp2 = rf2.getFilePointer();
                        String nextline2 = null;
                        bw2.write(line2);
                        bw2.write("\n");
                        rf2.seek(fp2);
                        while((nextline2 = rf2.readLine()) != null && (nextline2.indexOf("Processing")== -1)){
                             bw2.write(nextline2);
                             bw2.write("\n");
            rf1.close();
              rf2.close();
            rf3.close();
            bw.flush();
            bw2.flush();
            bw.close();
            bw2.close();
            }catch (Exception o){
                 //do something
         }     

    I'd suggest one quick and easy thing you can do is not re-scan the second file on each processing block.
    During the scan, if it is not the block you want, you could save the file location into a HashMap with the processing line/identifier as the key. You could also save the "furthest" location you've progressed into the file. Then when you get a processing block from the first file, check if it matches one in your HashMap, and immediately seek to that location and process the block. If it's not in the HashMap, seek to the furthest location you saved, and continue scanning procedure, adding processing blocks to the HashMap (again) until you find the block you want.

  • J2EE Logon Servlet Prompting For Username Email

    I have a situation in my landscape that recently, after patching the system to NW700 SPS23, some users would enter their logon and password correctly and then get confronted with an additional security screen requesting their firstname, lastname, email address and a message for the administrator (as if they were trying to perform self registration).  They would kindly enter the requested information and it would pop up again and again, preventing use of the system.  This doesn't happen to everyone though and appears to be in some way related to the URL the user was using.
    I set logging to debug and could not find any trace of an error in the java logs when this occured.  Ultimately, I provded a cleaner URL string (http://<server>:<port>/useradmin for example), had the user clear their browser cache, restart IE, and then it went away for them, even when using the old dirty URL.   I am 100% positive it was not password related as I could log in fine on my machine, but not on another with my own and other admin accounts.
    My question is: is anyone aware of any new security features implemented in NW700 SPS22 or 23 that could be causing this problem on some front-ends?  Our users use Windows 7 and IE 8.    It also occured on a calling java application server running IBM Websphere and an older OS and browser.  This is what has me so suspicious about the patches themeselves.
    The SAP app that is running on the NW700 machine is XMII 12.0.21.  Though the symptom also occurs with calls to NWA, UME, SLD, etc.  I also run a 701 webdispatcher on the machine which does some url translations, but again, it works fine on most front-ends.
    Regards,
    Phillip

    https://service.sap.com/sap/support/notes/957666
    Use this above tool, install it and it is a flash based application which runs on J2EE.
    I have resolved all my portal security issues using this tool.
    Also do you have any SPnego authentication or conventional?
    Regards
    SM.

  • Web services and control characters

    Hi,
    We are using JAXWS and JAXB to create web services. We have a problem with our current data because it sometimes contains "bad" characters, such as control characters. Is there a nice way for us to remove these characters when creating the messages or when retrieving the data from the database? We use java persistence / hibernate to retrieve the data from the database.
    I would prefer a method that doesn't include having to "clean" each string manually...
    Thanks!

    hi, i�m doing something like you but in jbuilder that is another IDE, i don�t know if it is useful for you but i entered to the help of jbuilder and i wrote in the index "web services" and then i found a topic called : "export classes as webservices" and in that place i can see some steps to follow, may be in eclipse you can find something like this.

  • DBMS_HS_PASSTHROUGH Package

    Ive configured the Heterogeneous Services on our Oracle 9.2 server and can access a variety of different non-Oracle datasources (Access, ADABAS on a mainframe, etc.). However, theres no sign of the DBMS_HS_PASSTHROUGH package referenced in the docs -- it doesn't show up in queries to all_objects and I can't reference it in PL/SQL . I would like to use this package to pass clean SQL strings to the various datasources as part of our prototyping effort.
    Is this package supposed to be installed when caths.sql is run to configure Heterogeneous Services? Is this package somehow deprecated or not included on the Oracle 9.2 developer download?
    Thanks for any insight.

    This is an internal package so it is not visible when you query the database objects.
    You should be able to use it. It is available with the developer download.
    Take a look at Chap 3 of the Heterogeneous Connectivity Administrator's Guide for more information.

  • Update Trigger Assistance - Update Same Row More than Once?

    Good morning,
    I'm new to Triggers and am not understanding why this is not working.  I've tried the web and none of the articles seem to answer my question.  What I'm trying to do is clean a string and standardize some data the users input into a 1000 character
    varchar field.  I have a source table which has a trigger on it that inserts a limited number of columns that we'll use for reporting purposes.  After the row has been inserted into the table (referred to as "destination" in the code block),
    I'm looking to update the comments string, capitalizing the first character of the string, standardizing spacing after a colon, removing hyphens at the beginning of the string.  The source and destination tables both have the comments field as a varchar
    1000, not null data type with a key id between the source and destination tables.  At another segment of our system, there were errors reporting nulls and when this was removed, everything cleared up.  I can do a series of replace statements when
    the data is required in reports but would rather have it clean in the destination table.  The code is below:
    CREATE TRIGGER [dbo].[destination_Update_trg]
    ON [dbo].[destination]
    AFTER UPDATE
    AS
    BEGIN
    SET NOCOUNT ON;
    IF EXISTS (SELECT *
    FROM destination C
    JOIN INSERTED I
    ON I.PrimaryKeyID = C.PrimaryKey
    WHERE I.Comments IS NOT NULL AND I.Comments <> '')
    BEGIN
    UPDATE T
    SET T.Comments =
    CASE
    WHEN T.Comments <> '' AND LEFT(CAST(T.Comments AS VARCHAR (1000)), 2) LIKE '- %'
    THEN SUBSTRING(T.Comments, 3, 1000)
    END
    FROM destination T
    JOIN INSERTED I
    ON T.primarykey = I.primarykey
    WHERE T.primarykey = I.primarykey
    UPDATE T
    SET T.Comments = UPPER(LEFT(CAST(T.Comments AS VARCHAR (1000)), 1)) + SUBSTRING(CAST(T.Comments AS VARCHAR (1000)), 2, 1000)
    FROM destination T
    JOIN INSERTED I
    ON T.primarykey = I.primarykey
    WHERE T.primarykey = I.primarykey
    UPDATE T
    SET T.Comments = REPLACE(SUBSTRING(T.Comments, 1, 1000), ': ', ': ')-- '[A-9]: [A-9]'
    FROM destination T
    JOIN INSERTED I
    ON T.primarykey = I.primarykey
    WHERE T.primarykey = I.primarykey
    AND SUBSTRING(T.Comments, 1, 1000) LIKE '%[A-Z]%: [A-Z]%'
    END
    RETURN
    END;
    GO
    Perhaps there's a better way to accomplish the task. I appreciate your review and assistance. Thank you.

    First, the trigger only fires when you do an UPDATE.  I'm not sure from your description whether or not you are expecting this trigger to fire when you do an insert on dbo.destination.  If you want it to fire on INSERTs, then you need to specify
    FOR INSERT (or FOR INSERT, UPDATE if you want it to fire on both inserts and updates).
    More importantly, the first update in your trigger does
    SET T.Comments =
    CASE
    WHEN T.Comments <> '' AND LEFT(CAST(T.Comments AS VARCHAR (1000)), 2) LIKE '- %' THEN SUBSTRING(T.Comments, 3, 1000)
    END
    When you do a CASE and you don't have an ELSE clause, there is an implicit ELSE NULL clause added.  So your update is equivalent to
    SET T.Comments =
    CASE
    WHEN T.Comments <> '' AND LEFT(CAST(T.Comments AS VARCHAR (1000)), 2) LIKE '- %' THEN SUBSTRING(T.Comments, 3, 1000)
    ELSE NULL
    END
    So your very first update sets the Comments column to NULL in every row that was updated where the Comments column is not like '- %'.  You want to change the case statement to be
    SET T.Comments =
    CASE
    WHEN T.Comments <> '' AND LEFT(CAST(T.Comments AS VARCHAR (1000)), 2) LIKE '- %' THEN SUBSTRING(T.Comments, 3, 1000)
    ELSE T.Comments
    END
    (Or you can put the test in the where clause so that you only update those rows where the Comments column is like '- %'.  That would look like
    UPDATE T
    SET T.Comments = SUBSTRING(T.Comments, 3, 1000)
    END
    FROM destination T
    JOIN INSERTED I
    ON T.primarykey = I.primarykey
    WHERE LEFT(CAST(T.Comments AS VARCHAR (1000)), 2) LIKE '- %'
    (Note that you do not need to include the T.Comments <> '' because if T.Comments is Like '- %', then it cannot be the empty string and you do not need to include WHERE T.primarykey = I.primarykey because you know that is true since you did an inner
    join on T.primarykey = I.primarykey.
    Tom

  • Extract multiple substrings between 2 characters from 8000 characters text .

    Hi Jonathan,
    I have a text column which has text and email addresses to which email was sent, i want to collect the list of domains in the text.
    Ex: ' email sent to abcdotcom; email sending failed; email sent to xxxdotcom; email sent to yyydotcom; email failed'
    I want to extract  list if domains listed in the text, i am trying to extract multiple sub string values in between @ and . characters.
    Thanks in advance!

    You can use SPLIT function in order to split the string into several values (In the case of using table function you get several rows return)
    Here you can find a great CLR split function that you can use:
    http://sqlblog.com/blogs/adam_machanic/archive/2009/04/28/sqlclr-string-splitting-part-2-even-faster-even-more-scalable.aspx
    Here you can see why you have to use CLR and not T-SQL function:
    http://sqlperformance.com/2012/07/t-sql-queries/split-strings
    For the
    part of cleaning the string I will recommend to use regular expression which you can combine in the SPLIT function as on function (best solution) or use before.
    check this link: http://msdn.microsoft.com/en-us/magazine/cc163473.aspx
    ** I your case you can just use Regular Expressions directly and finct what you need without split (I think.. we just need to think about the right Expressions)
    [Personal Site] [Blog] [Facebook]

  • How to find the number of occurance of a string in text field of Infopath form?

    Hi All,
    In Infopath text field, How to find the number of occurrence of a particular string in that field?
    Thanks in advance!

    You can check to see if it contains a string once by using the contains function, but there isn't a very clean way to do what you want. If you wanted to guess at the maximum number of occurrences, then you could:
    Box A has your initial. Set Box B to do a concat of string-before and string-after of Box A where it copies Box A minus the string we're looking for. Then we have Box C that does the same thing to Box B. Repeat as many times as you see necessary.
    Example:
    String: "1"
    Box A - "123451234512345"
    Box B - "23451234512345"
    Box C - "2345234512345"
    Box D - "234523452345"
    etc.
    We then have a field that has nested ifs looking backwards from Z -> A looking for a non-blank. Based on that, we return the number of occurrences. Again, this isn't clean, but it will work if you think there's a predefinable maximum.
    Andy Wessendorf SharePoint Developer II | Rackspace [email protected]

  • How setup Clean Start

    Under Resume on the Apple web page at http://www.apple.com/macosx/whats-new/features.html it talks about a Clean start. Lion lets you choose a clean start, so you return to a fresh desktop after you restart.
    I have not been able to figure out how to set up the Clean start.  I went to System Preferences/General and uncheck the box to Restore windows when quitting and re-opening apps. Unchecking the box does not give you a  clean start
    What I would like to see is when you Shut down or do Restart all open apps are closed and the only items that load as part of the restart that are those specified under System Preferences/Users & Groups/Login Items.
    I coud use some help setting up OS X 10.7 Lion for a Clean start

    The box in the General System Preferences should work for what you want. It appears it is not being set.
    I played around with it and it seemed to not set the preference every time, which may be what you are seeing.
    First, open up your ~/Library/Preferencese/ByHost folder and delete the com.apple.loginwindow.<long alpha-numeric string>
    Then, copy and paste this command into Terminal:
    defaults write com.apple.loginwindow TALLogoutSavesState 0
    The file you deleted is the one that stores which apps and windows are open.
    The command directly writes the preference for saving the logout state.
    You can read the setting by using this command, although it should reflect the setting in the General System Prefs, now.
    defaults read com.apple.loginwindow
    Look for the line with TALLogoutSavesState. It should be 0, now.
    The checkbox in the shutdown dialog will remain checked, but you won't need to change it. It should ignore that since the main preference is set to not save state.

  • Permissions errors after clean installation of 10.7.2

    hey, I'm sorry for the length of this thread.
    after upgrading to Lion (via mac app store) from the newest snow leopard, the system's performance had become worst.
    then, i decided to back up all of my files manually and do a clean install making a lion 10.7.2 bootable DVD from the .dmg file I purchased, and converting a USB flash drive to the lion recovery disk assistant.
    I decided not to back up anything (including user) using time machine and migration assisnant.
    after finishing with this process I've created a new administrator user and verified and repaired disk & permissions, and then moved back all of my data from an external HDD. putting everything back to place where it was before formatting, and changing all of the system preferences, apple software (iTunes, Safari, iPhoto, Finder) one by one.
    of course, software updates, restarts.
    I've done a few things that I might shoudn't do:
    copying the entire 'Music' folder of my user with all of its contents like 'iTunes Library Extras.itdb', 'iTunes Library Genius.itdb', 'iTunes Library.itl', 'iTunes Music Library.xml'.
    after that I also did itunes file > import playlist > Library.xml  (which i exported to external HDD before formatting).
    unfortunately, something has got very wrong with this process. now these brand new awful issues came up:
    1. everytime after logging in/restarting, it seems like the Finder 'doesn't remember' the changes i have made. and I have to manually change it back:
    - menu bar is going back to default (brings back BlueTooth and Time Machine's icons, for example)
    - the dock comes back to the default (only apple apps in the specific order, the stock icon beside the trash comes back to be Documents, etc.)
    - expose gestures are disabled again (like the default)
    2. repeatedly, every time when opening iTunes i see the Software License Agreement, scroll down, agree and iTunes refreshes itself to the default pref (with the ping window and 'iTunes Tutorials' splash screen, prefs like "prevent devices from syncing automatically" are disabled again etc.)
    the itunes album artwork screensaver says - there are no album artworks in your itunes library.
    3. on Safari, it basicly does the same as with itunes. 'forgets' all the changes. (bookmarks, bookmarks bar is reverted to the default apple,yahoo,googlemaps, forgets the homepage).
    4. iphoto - 'iphoto has detected inconsistencies in your library' every time.
    Then, with DU i performed a permissions verify:
    ACL found but not expected on “Applications/iTunes.app/Contents/Resources/Dutch.lproj/WatchFolderName.strings ”
    ACL found but not expected on “Applications/iTunes.app/Contents/Resources/English.lproj/WatchFolderName.strin gs”
    ACL found but not expected on “Applications/iTunes.app/Contents/Resources/French.lproj/WatchFolderName.string s”
    ACL found but not expected on “Applications/iTunes.app/Contents/Resources/German.lproj/WatchFolderName.string s”
    ACL found but not expected on “Applications/iTunes.app/Contents/Resources/Italian.lproj/WatchFolderName.strin gs”
    ACL found but not expected on “Applications/iTunes.app/Contents/Resources/Japanese.lproj/WatchFolderName.stri ngs”
    ACL found but not expected on “Applications/iTunes.app/Contents/Resources/Spanish.lproj/WatchFolderName.strin gs”
    ACL found but not expected on “Applications/iTunes.app/Contents/Resources/cs.lproj/WatchFolderName.strings”
    ACL found but not expected on “Applications/iTunes.app/Contents/Resources/da.lproj/WatchFolderName.strings”
    ACL found but not expected on “Applications/iTunes.app/Contents/Resources/en_GB.lproj/WatchFolderName.strings ”
    ACL found but not expected on “Applications/iTunes.app/Contents/Resources/fi.lproj/WatchFolderName.strings”
    ACL found but not expected on “Applications/iTunes.app/Contents/Resources/hu.lproj/WatchFolderName.strings”
    ACL found but not expected on “Applications/iTunes.app/Contents/Resources/ko.lproj/WatchFolderName.strings”
    ACL found but not expected on “Applications/iTunes.app/Contents/Resources/no.lproj/WatchFolderName.strings”
    ACL found but not expected on “Applications/iTunes.app/Contents/Resources/pl.lproj/WatchFolderName.strings”
    ACL found but not expected on “Applications/iTunes.app/Contents/Resources/pt.lproj/WatchFolderName.strings”
    ACL found but not expected on “Applications/iTunes.app/Contents/Resources/pt_PT.lproj/WatchFolderName.strings ”
    ACL found but not expected on “Applications/iTunes.app/Contents/Resources/ru.lproj/WatchFolderName.strings”
    ACL found but not expected on “Applications/iTunes.app/Contents/Resources/sv.lproj/WatchFolderName.strings”
    ACL found but not expected on “Applications/iTunes.app/Contents/Resources/tr.lproj/WatchFolderName.strings”
    ACL found but not expected on “Applications/iTunes.app/Contents/Resources/zh_CN.lproj/WatchFolderName.strings ”
    ACL found but not expected on “Applications/iTunes.app/Contents/Resources/zh_TW.lproj/WatchFolderName.strings ”
    Warning: SUID file “System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/MacOS/ARDAg ent” has been modified and will not be repaired.
    And tried to repair with these results:
    ACL found but not expected on “Applications/iTunes.app/Contents/Resources/Dutch.lproj/WatchFolderName.strings ”
    Repaired “Applications/iTunes.app/Contents/Resources/Dutch.lproj/WatchFolderName.strings ”
    ACL found but not expected on “Applications/iTunes.app/Contents/Resources/English.lproj/WatchFolderName.strin gs”
    Repaired “Applications/iTunes.app/Contents/Resources/English.lproj/WatchFolderName.strin gs”
    ACL found but not expected on “Applications/iTunes.app/Contents/Resources/French.lproj/WatchFolderName.string s”
    Repaired “Applications/iTunes.app/Contents/Resources/French.lproj/WatchFolderName.string s”
    ACL found but not expected on “Applications/iTunes.app/Contents/Resources/German.lproj/WatchFolderName.string s”
    Repaired “Applications/iTunes.app/Contents/Resources/German.lproj/WatchFolderName.string s”
    ACL found but not expected on “Applications/iTunes.app/Contents/Resources/Italian.lproj/WatchFolderName.strin gs”
    Repaired “Applications/iTunes.app/Contents/Resources/Italian.lproj/WatchFolderName.strin gs”
    ACL found but not expected on “Applications/iTunes.app/Contents/Resources/Japanese.lproj/WatchFolderName.stri ngs”
    Repaired “Applications/iTunes.app/Contents/Resources/Japanese.lproj/WatchFolderName.stri ngs”
    ACL found but not expected on “Applications/iTunes.app/Contents/Resources/Spanish.lproj/WatchFolderName.strin gs”
    Repaired “Applications/iTunes.app/Contents/Resources/Spanish.lproj/WatchFolderName.strin gs”
    ACL found but not expected on “Applications/iTunes.app/Contents/Resources/cs.lproj/WatchFolderName.strings”
    Repaired “Applications/iTunes.app/Contents/Resources/cs.lproj/WatchFolderName.strings”
    ACL found but not expected on “Applications/iTunes.app/Contents/Resources/da.lproj/WatchFolderName.strings”
    Repaired “Applications/iTunes.app/Contents/Resources/da.lproj/WatchFolderName.strings”
    ACL found but not expected on “Applications/iTunes.app/Contents/Resources/en_GB.lproj/WatchFolderName.strings ”
    Repaired “Applications/iTunes.app/Contents/Resources/en_GB.lproj/WatchFolderName.strings ”
    ACL found but not expected on “Applications/iTunes.app/Contents/Resources/fi.lproj/WatchFolderName.strings”
    Repaired “Applications/iTunes.app/Contents/Resources/fi.lproj/WatchFolderName.strings”
    ACL found but not expected on “Applications/iTunes.app/Contents/Resources/hu.lproj/WatchFolderName.strings”
    Repaired “Applications/iTunes.app/Contents/Resources/hu.lproj/WatchFolderName.strings”
    ACL found but not expected on “Applications/iTunes.app/Contents/Resources/ko.lproj/WatchFolderName.strings”
    Repaired “Applications/iTunes.app/Contents/Resources/ko.lproj/WatchFolderName.strings”
    ACL found but not expected on “Applications/iTunes.app/Contents/Resources/no.lproj/WatchFolderName.strings”
    Repaired “Applications/iTunes.app/Contents/Resources/no.lproj/WatchFolderName.strings”
    ACL found but not expected on “Applications/iTunes.app/Contents/Resources/pl.lproj/WatchFolderName.strings”
    Repaired “Applications/iTunes.app/Contents/Resources/pl.lproj/WatchFolderName.strings”
    ACL found but not expected on “Applications/iTunes.app/Contents/Resources/pt.lproj/WatchFolderName.strings”
    Repaired “Applications/iTunes.app/Contents/Resources/pt.lproj/WatchFolderName.strings”
    ACL found but not expected on “Applications/iTunes.app/Contents/Resources/pt_PT.lproj/WatchFolderName.strings ”
    Repaired “Applications/iTunes.app/Contents/Resources/pt_PT.lproj/WatchFolderName.strings ”
    ACL found but not expected on “Applications/iTunes.app/Contents/Resources/ru.lproj/WatchFolderName.strings”
    Repaired “Applications/iTunes.app/Contents/Resources/ru.lproj/WatchFolderName.strings”
    ACL found but not expected on “Applications/iTunes.app/Contents/Resources/sv.lproj/WatchFolderName.strings”
    Repaired “Applications/iTunes.app/Contents/Resources/sv.lproj/WatchFolderName.strings”
    ACL found but not expected on “Applications/iTunes.app/Contents/Resources/tr.lproj/WatchFolderName.strings”
    Repaired “Applications/iTunes.app/Contents/Resources/tr.lproj/WatchFolderName.strings”
    ACL found but not expected on “Applications/iTunes.app/Contents/Resources/zh_CN.lproj/WatchFolderName.strings ”
    Repaired “Applications/iTunes.app/Contents/Resources/zh_CN.lproj/WatchFolderName.strings ”
    ACL found but not expected on “Applications/iTunes.app/Contents/Resources/zh_TW.lproj/WatchFolderName.strings ”
    Repaired “Applications/iTunes.app/Contents/Resources/zh_TW.lproj/WatchFolderName.strings ”
    Warning: SUID file “System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/MacOS/ARDAg ent” has been modified and will not be repaired.
    Permissions repair complete
    after the repair i did verify again and nothing has really changed.
    I'm confuses. what have gone wrong with the permissions, libraries, .plists or account...
    it does work better then before the formatting in terms of stabillity (safari used to crash a lot, left click menu is faster now, restarting also)
    but of course, I can't live with the fact the system doesn't remember anything I do and acts almost like 'new' everytime I open an app or restart.
    is it reversible, repairable, fixable, or should I go with the last preffered option on backing up everything from the Carbon Copy Cloner user.sparseimage I have created before formatting, and maybe revert everithing back, with all of the pros and cons?
    Thank you for reading this.
    have a nice one
    Aviha

    I had a similar problem with my Mid-2010 MBP after upgrading to LION and using Target Disk Mode wherein I simply dragged and dropoped my I-tunes Library from my other MBP to the newly updated one. I began getting the same permission error messages when using DU. The problem lies in the UIagent.app as indicated in the log. The ONLY way to correct this problem I found after literally weeks of heartache was to restore my MBP to factory settings and reinstall my apps and OSX in this way, EXACTLY this way: Yes, it may be regarded as overkill to most, but I guarantee that you will be saving yourself umpteen amounts of time and frustration blindly throwing a dart hoping to hit the bullseye. Please read and print this page before you begin.
    1. reset PRAM click here to learn how to reset PRAM
    2. COMPLETE format  hard drive and reinstall of my ORIGINAL Operating System (using the grey installation disks provided to me when i bought the computer).:
    Put your install DVD into the optical drive and reboot. As soon as you hear the boot chime, hold down the "c" key on your keyboard (or the Option key until the Install Disk shows up). That will force your MacBook to boot from the install DVD in the optical drive.
    When it does start up, you'll see a panel asking you to choose your language. Just press theReturn key on your keyboard once. It will then present you with an Installation window.Completely ignore this window and click on Utilities in the top menu and scroll down to Disk Utility and click it. You should see your hard drive in the left hand column along with your other drives.
    Click on the drive and select the Erase tab. Set the format value to Mac OS Extended (Journaled) and click the Erase button. After that has finished select the Partition tab. Type in aName for your hard drive and select how many partitions you want from the Volume Scheme. The usual setting is one partition. Click on the Options button after you've selected apartition to make sure it's set for GUID. Then click the Apply button and after the Partitioning is done quitDisk Utility. You can now follow the instructions on the install screen and install your Operating System (Snow Leopard). DO NOT MIGRATE ANY DATA OR USE TIME MACHINE. INSTALL FROM THE ORIGINAL DISKS ONLY.
    After OSX Install, Insert your Applications Install DVD Disk and install.
    Now run Software Update from the Apple Menu and update and Install any Updates.
    3: Then BEFORE upgrading to LION and BEFORE migrating or copying any data to the new system via whatever source, you need to enable the Root User. But before you do this read here (and read it carefully) to leard about the "root" user.
    4. After you are logged in as the Root user, you can now begin installing whatever Applications PACKAGES to your computer individually from either: A.) original cd/dvd install disk (recommended - if you have the disk, use it!), B.) Downloaded from the web (make sure you are using an ethernet/wired connection), C.) previously downloaded Application Package, or D.) by using Target Disk Mode via firewire connected to another Mac Apple doc.#58583.   (DO NOT use time machine and do not drag and drop Applications to install - You can drag and drop the packages to the desktop and install but not by moving the wanted Applications Icon into the applications menu).
    5. After you have the applications you want installed, run software update again and install any recommended updates.
    6. Open Disk Utility and verify/repair the disk permissions.  (if no issues are present, go to #7) You need to run repairs at least twice consecutively within the root account, restarting afterwards and logging in as Root again.
    7. Open I-Tunes.Open Finder and move your I-Tunes library over by locating the Music folder which contains your music (i.e. /Users/**/Music/iTunes/iTunes Media/Music). DO NOT move the Music folder that is present as a subfolder to the user you are logged in as (i.e.: /Users/**/Music). Make sure it's the folder "Music" that is a subfolder of "I-Tunes Media" which contains all the actual subfolders of your library (i.e.: /Users/jmebenton/Music/iTunes/iTunes Media/Music/30 Seconds to Mars). The Music folder indicated in my example is the one you should drag and drop into your I-Tunes Music Library in the Open I-Tunes window.
    8. After your music transfers, Open Disk Utility and verify/repair the disk permissions AGAIN.  (if no issues are present, try to repair the permissions anyway) You need to run repairs at least twice consecutively within the root account, restarting afterwards and logging in as Root again.
    9. Now transfer any files or data you need. (DO NOT UPGRADE TO LION YET)
    10. LOG OUT and LOG IN as an Administrator (not the Root "Other User").
    11. Install LION
    12. When LION is completely installed, restart and log-in as the Root user.
    13. Open Disk Utility and verify/repair the disk permissions AGAIN.  (if no issues are present, try to repair the permissions anyway) You need to run repairs at least twice consecutively within the root account, restarting afterwards and logging in as Root again.
    14. Disable the root user
    Choose Apple menu > System Preferences, and then click Users & Groups.Open Users & Groups preferences
    Click the lock icon to unlock it, and then type an administrator name and password.
    In the Network Account Server section, click Edit.
    Click Open Directory Utility.
    Click the lock icon to unlock it, and then enter your administrator name and password.
    Choose Edit > Disable Root User.
    15. Now Log into your computer and ENJOY!!!

  • Cant erase and install cleanly. some type of hijack itseems.

    m trying to erase and install cleanly. i know the procedure, done it many times due to the fact some very malicious and tech savvy individual has a beef with me for some reason. the attacks are worse and worse. its debilitating actually. not a game anymore. i was able to save a piece of all messages log during install. much different than previous install logs. the system works although i have very limited authority. and oddities re: preference panes,( its shows it as locked yet i ca change security setting even in std user account. only some terminal commands are operable even under sudo. (error message"command not found") e.g.: env, open, history, rm, ls -A, etc..... no function.
    PLEASE NOTE : I UNDERSTAND THE SEVERITY OF THIS AND REALIZE THERE MAY NOT BE ANY RESPONSES OR RESOLUTIONS. IN ANY CASE THANKS A MILLION FOR YOUR TIME.
    SORRY BOUT THE LENGTH....ALLMESSAGESLOG:
    4/20/09 1:20:37 PM com.apple.launchctl.System[2] BootCacheControl: could not open /var/db/BootCache.playlist:
    4/20/09 1:20:37 PM com.apple.launchctl.System[2] No such file or directory
    4/20/09 1:20:38 PM com.apple.launchctl.System[2] launchctl: Please convert the following to launchd: /etc/mach_init.d/dashboardadvisoryd.plist
    4/20/09 1:20:38 PM com.apple.launchd[1] (org.cups.cupsd) Unknown key: SHAuthorizationRight
    4/20/09 1:20:38 PM com.apple.launchd[1] (org.ntp.ntpd) Unknown key: SHAuthorizationRight
    4/20/09 1:20:39 PM kernel npvhash=4095
    4/20/09 1:20:39 PM kextd[10] 394 cached, 0 uncached personalities to catalog
    4/20/09 1:20:39 PM kernel hi mem tramps at 0xffe00000
    4/20/09 1:20:39 PM kernel PAE enabled
    4/20/09 1:20:39 PM kernel 64 bit mode enabled
    4/20/09 1:20:39 PM kernel Darwin Kernel Version 9.0.0: Thu Oct 11 19:23:39 PDT 2007; root:xnu-1228~3/RELEASE_I386
    4/20/09 1:20:39 PM kernel standard timeslicing quantum is 10000 us
    4/20/09 1:20:39 PM kernel vmpagebootstrap: 973843 free pages and 74733 wired pages
    4/20/09 1:20:39 PM kernel migtable_maxdispl = 79
    4/20/09 1:20:39 PM kernel Extension "com.apple.driver.AppleACPIPlatform" has immediate dependencies on both com.apple.kernel and com.apple.kpi components; use only one style.
    4/20/09 1:20:39 PM kernel Extension "com.apple.driver.AppleIntelCPUPowerManagement" has immediate dependencies on both com.apple.kernel and com.apple.kpi components; use only one style.
    4/20/09 1:20:39 PM kernel devfsmakenode: not ready for devices!
    4/20/09 1:20:39 PM kernel AppleACPICPU: ProcessorApicId=0 LocalApicId=0 Enabled
    4/20/09 1:20:39 PM kernel AppleACPICPU: ProcessorApicId=1 LocalApicId=1 Enabled
    4/20/09 1:20:39 PM kernel Loading security extension com.apple.nke.applicationfirewall
    4/20/09 1:20:39 PM kernel Loading security extension com.apple.security.TMSafetyNet
    4/20/09 1:20:39 PM kernel calling mpopolicyinit for TMSafetyNet
    4/20/09 1:20:39 PM kernel Security policy loaded: Safety net for Time Machine (TMSafetyNet)
    4/20/09 1:20:39 PM kernel Loading security extension com.apple.security.seatbelt
    4/20/09 1:20:39 PM kernel calling mpopolicyinit for mb
    4/20/09 1:20:39 PM kernel Seatbelt MACF policy initialized
    4/20/09 1:20:39 PM kernel Security policy loaded: Seatbelt Policy (mb)
    4/20/09 1:20:39 PM kernel Copyright (c) 1982, 1986, 1989, 1991, 1993
    4/20/09 1:20:39 PM kernel The Regents of the University of California. All rights reserved.
    4/20/09 1:20:39 PM kernel MAC Framework successfully initialized
    4/20/09 1:20:39 PM kernel using 16384 buffer headers and 4096 cluster IO buffer headers
    4/20/09 1:20:39 PM kernel IOAPIC: Version 0x20 Vectors 64:87
    4/20/09 1:20:39 PM kernel Extension "com.apple.driver.AppleACPIPlatform" has immediate dependencies on both com.apple.kernel and com.apple.kpi components; use only one style.
    4/20/09 1:20:39 PM kernel ACPI: System State [S0 S3 S4 S5] (S3)
    4/20/09 1:20:39 PM kernel Extension "com.apple.driver.AppleACPIPlatform" has immediate dependencies on both com.apple.kernel and com.apple.kpi components; use only one style.
    4/20/09 1:20:39 PM kernel Extension "com.apple.driver.AppleACPIPlatform" has immediate dependencies on both com.apple.kernel and com.apple.kpi components; use only one style.
    4/20/09 1:20:39 PM kernel mbinit: done
    4/20/09 1:20:39 PM kernel Security auditing service present
    4/20/09 1:20:39 PM kernel BSM auditing present
    4/20/09 1:20:39 PM kernel rooting via boot-uuid from /chosen: 1E76D942-E07B-3808-B155-B129A649A793
    4/20/09 1:20:39 PM kernel Waiting on <dict ID="0"><key>IOProviderClass</key><string ID="1">IOResources</string><key>IOResourceMatch</key><string ID="2">boot-uuid-media</string></dict>
    4/20/09 1:20:39 PM kernel FireWire (OHCI) TI ID 8025 built-in now active, GUID 001e52fffe48209e; max speed s800.
    4/20/09 1:20:39 PM kernel Got boot device = IOService:/AppleACPIPlatformExpert/PCI0/AppleACPIPCI/SATA@1F,2/AppleAHCI/PRT0@0 /IOAHCIDevice@0/AppleAHCIDiskDriver/IOAHCIBlockStorageDevice/IOBlockStorageDrive r/ST9500325AS Media/IOGUIDPartitionScheme/Untitled@2
    4/20/09 1:20:39 PM kernel BSD root: disk0s2, major 14, minor 2
    4/20/09 1:20:39 PM kernel HFS: created HFBT on untilted
    4/20/09 1:20:39 PM kernel Jettisoning kernel linker.
    4/20/09 1:20:39 PM kernel Resetting IOCatalogue.
    4/20/09 1:20:39 PM kernel GFX0: family specific matching fails
    4/20/09 1:20:39 PM kernel Matching service count = 1
    4/20/09 1:20:39 PM kernel Matching service count = 2
    4/20/09 1:20:39 PM kernel Matching service count = 2
    4/20/09 1:20:39 PM kernel Matching service count = 2
    4/20/09 1:20:39 PM kernel Matching service count = 2
    4/20/09 1:20:39 PM kernel Matching service count = 2
    4/20/09 1:20:41 PM kernel ath_attach: devid 0x24
    4/20/09 1:20:42 PM kernel Override HT40 CTL Powers. EEPROM Version is 14.4, Device Type 5
    4/20/09 1:20:42 PM kernel NVDANV50HAL loaded and registered.
    4/20/09 1:20:42 PM kernel GFX0: family specific matching fails
    4/20/09 1:20:42 PM kernel CSRHIDTransitionDriver::start []
    4/20/09 1:20:42 PM kernel GFX0: family specific matching fails
    4/20/09 1:20:42 PM kernel athdescdmasetup: tx dddescpaddr = 0x165a3000, length 0x46500(288000) bytes
    4/20/09 1:20:42 PM kernel athdescdmasetup: beacon dddescpaddr = 0x1507a000, length 0x90(144) bytes
    4/20/09 1:20:42 PM kernel mac 12.10 phy 8.1 radio 12.0
    4/20/09 1:20:43 PM kernel CSRHIDTransitionDriver::switchToHCIMode legacy
    4/20/09 1:20:43 PM kernel USBF: 9.152 CSRHIDTransitionDriver[0x6ddda00](IOUSBCompositeDevice) GetFullConfigDescriptor(0) returned NULL
    4/20/09 1:20:43 PM kernel CSRHIDTransitionDriver... done
    4/20/09 1:20:44 PM bootlog[60] BOOT_TIME: 1240258834 0
    4/20/09 1:20:44 PM fseventsd[51] log dir: /.fseventsd getting new uuid: 1C2B66FB-7F36-44AC-82E6-865CFF20B0A8
    4/20/09 1:20:44 PM rpc.statd[42] statd.notify - no notifications needed
    4/20/09 1:20:45 PM kernel E:[AppleUSBBluetoothHCIController][FindInterfaces] mInt0InterruptMaxPacketSize = 16
    4/20/09 1:20:46 PM DirectoryService[55] Launched version 5.0 (v514)
    4/20/09 1:20:48 PM kernel yukon: Ethernet address 00:1b:63:bd:6c:4c
    4/20/09 1:20:48 PM kernel AirPort_Athr5424ab: Ethernet address 00:1e:52:73:57:e4
    4/20/09 1:20:48 PM /System/Library/CoreServices/loginwindow.app/Contents/MacOS/loginwindow[47] Login Window Application Started
    4/20/09 1:20:50 PM /System/Library/CoreServices/coreservicesd[72] SFLSharePointsEntry::InitializeSPNode: dsOpenRecord returned -14136
    4/20/09 1:20:50 PM mDNSResponder mDNSResponder-162 (Oct 15 2007 16:31:59)[46] starting
    4/20/09 1:20:50 PM configd[58] New network configuration saved
    4/20/09 1:20:51 PM airportd[86] Launching AirPort updateprefs
    4/20/09 1:20:51 PM com.apple.SecurityServer[43] Entering service
    4/20/09 1:20:51 PM Apple80211 updateprefs[87] updateprefs launchd..
    4/20/09 1:20:51 PM Apple80211 updateprefs[87] Changing version to 6 (6)
    4/20/09 1:20:52 PM airportd[86] Error: ACInterfaceGetPowerPreference() failed
    4/20/09 1:20:52 PM /usr/sbin/ocspd[92] starting
    4/20/09 1:20:53 PM kextd[10] writing kernel link data to /var/run/mach.sym
    4/20/09 1:20:53 PM com.apple.configureLocalKDC[57] ...Generating key pair...
    4/20/09 1:20:53 PM com.apple.configureLocalKDC[57] ...creating certificate...
    4/20/09 1:20:53 PM com.apple.configureLocalKDC[57] Serial Number : 3F EF 8A D8
    4/20/09 1:20:53 PM com.apple.configureLocalKDC[57] Issuer Name :
    4/20/09 1:20:53 PM com.apple.configureLocalKDC[57] Common Name : com.apple.systemdefault
    4/20/09 1:20:53 PM com.apple.configureLocalKDC[57] Org : System Identity
    4/20/09 1:20:53 PM com.apple.configureLocalKDC[57] Subject Name :
    4/20/09 1:20:53 PM com.apple.configureLocalKDC[57] Common Name : com.apple.systemdefault
    4/20/09 1:20:53 PM com.apple.configureLocalKDC[57] Org : System Identity
    4/20/09 1:20:53 PM com.apple.configureLocalKDC[57] Cert Sig Algorithm : OID : < 06 09 2A 86 48 86 F7 0D 01 01 05 >
    4/20/09 1:20:53 PM com.apple.configureLocalKDC[57] alg params : 05 00
    4/20/09 1:20:53 PM com.apple.configureLocalKDC[57] Not Before : 20:20:53 Apr 20, 2009
    4/20/09 1:20:53 PM com.apple.configureLocalKDC[57] Not After : 20:20:53 Apr 15, 2029
    4/20/09 1:20:53 PM com.apple.configureLocalKDC[57] Pub Key Algorithm : OID : < 06 09 2A 86 48 86 F7 0D 01 01 01 >
    4/20/09 1:20:53 PM com.apple.configureLocalKDC[57] alg params : 05 00
    4/20/09 1:20:53 PM com.apple.configureLocalKDC[57] Pub key Bytes : Length 140 bytes : 30 81 89 02 81 81 00 BD ...
    4/20/09 1:20:53 PM com.apple.configureLocalKDC[57] CSSM Key :
    4/20/09 1:20:53 PM com.apple.configureLocalKDC[57] Algorithm : RSA
    4/20/09 1:20:53 PM com.apple.configureLocalKDC[57] Key Size : 1024 bits
    4/20/09 1:20:53 PM com.apple.configureLocalKDC[57] Key Use : CSSMKEYUSEENCRYPT CSSMKEYUSEVERIFY CSSMKEYUSEWRAP
    4/20/09 1:20:53 PM com.apple.configureLocalKDC[57] Signature : 128 bytes : 37 79 EA DB 34 6B A9 7D ...
    4/20/09 1:20:53 PM com.apple.configureLocalKDC[57] Other field: : OID : < 06 0C 60 86 48 01 86 F8 4D 02 01 01 01 17 >
    4/20/09 1:20:53 PM com.apple.configureLocalKDC[57] Other field: : OID : < 06 0C 60 86 48 01 86 F8 4D 02 01 01 01 16 >
    4/20/09 1:20:53 PM com.apple.configureLocalKDC[57] Extension struct : OID : < 06 03 55 1D 25 >
    4/20/09 1:20:53 PM com.apple.configureLocalKDC[57] Critical : FALSE
    4/20/09 1:20:53 PM com.apple.configureLocalKDC[57] purpose 0 : OID : < 06 09 2A 86 48 86 F7 63 64 04 04 >
    4/20/09 1:20:53 PM com.apple.configureLocalKDC[57] ..cert stored in Keychain.
    4/20/09 1:20:53 PM com.apple.configureLocalKDC[57] ..identity registered for domain com.apple.systemdefault.
    4/20/09 1:20:55 PM kernel E:[AppleUSBBluetoothHCIController][StartInterruptPipeRead] there is alredy a pending read, skipping.
    4/20/09 1:20:55 PM kernel [InterruptReadHandler] Received kIODeviceNotResponding error - retrying: 1.
    4/20/09 1:20:56 PM com.apple.configureLocalKDC[57] ...Generating key pair...
    4/20/09 1:20:56 PM com.apple.configureLocalKDC[57] ...creating certificate...
    4/20/09 1:20:56 PM com.apple.configureLocalKDC[57] Serial Number : 54 E2 19 7F
    4/20/09 1:20:56 PM com.apple.configureLocalKDC[57] Issuer Name :
    4/20/09 1:20:56 PM com.apple.configureLocalKDC[57] Common Name : com.apple.kerberos.kdc
    4/20/09 1:20:56 PM com.apple.configureLocalKDC[57] Org : System Identity
    4/20/09 1:20:56 PM com.apple.configureLocalKDC[57] Subject Name :
    4/20/09 1:20:56 PM com.apple.configureLocalKDC[57] Common Name : com.apple.kerberos.kdc
    4/20/09 1:20:56 PM com.apple.configureLocalKDC[57] Org : System Identity
    4/20/09 1:20:56 PM com.apple.configureLocalKDC[57] Cert Sig Algorithm : OID : < 06 09 2A 86 48 86 F7 0D 01 01 05 >
    4/20/09 1:20:56 PM com.apple.configureLocalKDC[57] alg params : 05 00
    4/20/09 1:20:56 PM com.apple.configureLocalKDC[57] Not Before : 20:20:56 Apr 20, 2009
    4/20/09 1:20:56 PM com.apple.configureLocalKDC[57] Not After : 20:20:56 Apr 15, 2029
    4/20/09 1:20:56 PM com.apple.configureLocalKDC[57] Pub Key Algorithm : OID : < 06 09 2A 86 48 86 F7 0D 01 01 01 >
    4/20/09 1:20:56 PM com.apple.configureLocalKDC[57] alg params : 05 00
    4/20/09 1:20:56 PM com.apple.configureLocalKDC[57] Pub key Bytes : Length 140 bytes : 30 81 89 02 81 81 00 D1 ...
    4/20/09 1:20:56 PM com.apple.configureLocalKDC[57] CSSM Key :
    4/20/09 1:20:56 PM com.apple.configureLocalKDC[57] Algorithm : RSA
    4/20/09 1:20:56 PM com.apple.configureLocalKDC[57] Key Size : 1024 bits
    4/20/09 1:20:56 PM com.apple.configureLocalKDC[57] Key Use : CSSMKEYUSEENCRYPT CSSMKEYUSEVERIFY CSSMKEYUSEWRAP
    4/20/09 1:20:56 PM com.apple.configureLocalKDC[57] Signature : 128 bytes : 8F EF 0E C8 B8 76 3B A5 ...
    4/20/09 1:20:56 PM com.apple.configureLocalKDC[57] Other field: : OID : < 06 0C 60 86 48 01 86 F8 4D 02 01 01 01 17 >
    4/20/09 1:20:56 PM com.apple.configureLocalKDC[57] Other field: : OID : < 06 0C 60 86 48 01 86 F8 4D 02 01 01 01 16 >
    4/20/09 1:20:56 PM com.apple.configureLocalKDC[57] Extension struct : OID : < 06 03 55 1D 25 >
    4/20/09 1:20:56 PM com.apple.configureLocalKDC[57] Critical : FALSE
    4/20/09 1:20:56 PM com.apple.configureLocalKDC[57] purpose 0 : OID : < 06 09 2A 86 48 86 F7 63 64 04 04 >
    4/20/09 1:20:56 PM com.apple.configureLocalKDC[57] ..cert stored in Keychain.
    4/20/09 1:20:56 PM com.apple.configureLocalKDC[57] ..identity registered for domain com.apple.kerberos.kdc.
    4/20/09 1:20:56 PM com.apple.configureLocalKDC[57] launchctl: Error unloading: com.apple.kdcmond
    4/20/09 1:20:56 PM com.apple.configureLocalKDC[57] /usr/sbin/kadmin.local-q add_principal -randkey afpserver/LKDC:SHA1.C508249D73E93D92C34AA2DE76F825F0D9B3D83C@LKDC:SHA1.C508249D 73E93D92C34AA2DE76F825F0D9B3D83C
    4/20/09 1:20:57 PM com.apple.configureLocalKDC[57] WARNING: no policy specified for afpserver/LKDC:SHA1.C508249D73E93D92C34AA2DE76F825F0D9B3D83C@LKDC:SHA1.C508249D 73E93D92C34AA2DE76F825F0D9B3D83C; defaulting to no policy
    4/20/09 1:20:57 PM com.apple.configureLocalKDC[57] Authenticating as principal root/admin@LKDC:SHA1.C508249D73E93D92C34AA2DE76F825F0D9B3D83C with password.
    4/20/09 1:20:57 PM com.apple.configureLocalKDC[57] Principal "afpserver/LKDC:SHA1.C508249D73E93D92C34AA2DE76F825F0D9B3D83C@LKDC:SHA1.C508249 D73E93D92C34AA2DE76F825F0D9B3D83C" created.
    4/20/09 1:20:57 PM com.apple.configureLocalKDC[57] /usr/sbin/kadmin.local-q ktadd afpserver/LKDC:SHA1.C508249D73E93D92C34AA2DE76F825F0D9B3D83C@LKDC:SHA1.C508249D 73E93D92C34AA2DE76F825F0D9B3D83C
    4/20/09 1:20:57 PM com.apple.configureLocalKDC[57] Authenticating as principal root/admin@LKDC:SHA1.C508249D73E93D92C34AA2DE76F825F0D9B3D83C with password.
    4/20/09 1:20:57 PM com.apple.configureLocalKDC[57] Entry for principal afpserver/LKDC:SHA1.C508249D73E93D92C34AA2DE76F825F0D9B3D83C@LKDC:SHA1.C508249D 73E93D92C34AA2DE76F825F0D9B3D83C with kvno 3, encryption type Triple DES cbc mode with HMAC/sha1 added to keytab WRFILE:/etc/krb5.keytab.
    4/20/09 1:20:57 PM
    log disappeared soon after

    thanx. i took your advice, and though the passwords were different the account with apple and mobile me and email and such were the same. so i started with a new hd and took it to apple and they installed os x and all the updates THEN i made a completely new id ,address, passwords and thought how simply brilliant that was. unfortunately i need a little more advice if you could be so kind.
    so i got this person messing with me. i know this because he/she is taunting me with emails sent from "me" with subject "you looked at me today" and "i am going to bad today" and other personal messages one could only get from reading my mail.
    but i dont want to pester you with trivial matters. i have been researching what is happening and i have a ypbind that i cant seem to unbind. at least not as admin using the GUI in directory utility. i can unlock the active directory and change some of the options but the ones that matter remain grey. and the ones i do change return to their original value by the next time i open it. the directory server help apple provides is pretty thorough but the procedures just arent jiving with the machine. is there a way to unbind or delete these automatic connections for good with the command line. i disabled the root user immediately following the fresh install so that is still intact but im afraid to open it with the password. perhaps with the sudo kill?
    * ACTIVITY MONITOR ALL PROCESSES *
    Active Memory: 755.22 MB
    Free Memory: 2.76 GB
    Wired Memory: 438.53 MB
    Used Memory: 1.24 GB
    Inactive Memory: 71.50 MB
    Total VM: 38.07 GB
    Number of processes: 58
    ID Process Name User CPU RSIZE VSIZE
    0 kernel_task root 3.5 74.77 MB 1.74 GB
    1 launchd root 0.0 556.00 KB 586.74 MB
    10 kextd root 0.0 1.28 MB 586.19 MB
    11 notifyd root 0.0 476.00 KB 586.17 MB
    12 syslogd root 0.0 460.00 KB 587.24 MB
    14 ntpd root 0.0 864.00 KB 586.12 MB
    15 usbmuxd _usbmuxd 0.0 944.00 KB 587.46 MB
    16 update root 0.0 288.00 KB 585.57 MB
    17 SystemStarter root 0.0 680.00 KB 585.61 MB
    20 securityd root 0.0 2.16 MB 587.43 MB
    23 mds root 0.0 13.52 MB 64.70 MB
    24 mDNSResponder _mdnsrespo 0.0 1.21 MB 587.49 MB
    25 loginwindow ianmac 0.0 5.92 MB 787.90 MB
    26 KernelEventAgent root 0.0 652.00 KB 585.68 MB
    28 hidd root 0.0 600.00 KB 586.12 MB
    29 fseventsd root 0.0 1.38 MB 592.71 MB
    31 dynamic_pager root 0.0 608.00 KB 585.61 MB
    33 diskarbitrationd root 0.0 1,016.00 KB 585.69 MB
    34 DirectoryService root 0.0 3.93 MB 21.80 MB
    36 configd root 0.0 1.89 MB 587.20 MB
    39 autofsd root 0.0 672.00 KB 585.62 MB
    41 socketfilterfw root 0.0 2.29 MB 585.93 MB
    44 distnoted daemon 0.0 792.00 KB 585.59 MB
    45 portmap daemon 0.0 360.00 KB 585.62 MB
    46 coreservicesd root 0.0 16.61 MB 38.91 MB
    49 blued root 0.0 1.96 MB 596.99 MB
    55 WindowServer _windowser 16.6 68.21 MB 864.35 MB
    76 launchd ianmac 0.0 532.00 KB 585.74 MB
    93 hpusbmond root 0.0 784.00 KB 586.77 MB
    101 HPIO Trap Monito root 0.0 1.43 MB 588.07 MB
    106 AirPort Base Station Agen ianmac 0.0 5.35 MB 2.75 GB
    110 Spotlight ianmac 0.0 3.98 MB 731.96 MB
    111 UserEventAgent ianmac 0.0 3.19 MB 598.84 MB
    112 Dock ianmac 0.0 9.99 MB 782.59 MB
    114 Finder ianmac 0.0 38.39 MB 322.15 MB
    115 ATSServer ianmac 0.0 5.17 MB 638.64 MB
    116 pboard ianmac 0.0 588.00 KB 586.61 MB
    119 coreaudiod root 0.0 2.39 MB 588.91 MB
    123 HP Event Handler ianmac 0.0 2.91 MB 721.91 MB
    125 iTunes Helper ianmac 0.0 2.43 MB 730.67 MB
    136 AppleSpell.service ianmac 0.0 3.63 MB 601.72 MB
    306 Console ianmac 0.0 23.08 MB 847.61 MB
    572 Safari ianmac 5.8 159.05 MB 1.11 GB
    704 Terminal ianmac 0.0 6.18 MB 797.03 MB
    798 Activity Monitor ianmac 15.7 21.17 MB 867.06 MB
    799 pmTool root 1.4 1.39 MB 595.69 MB
    988 SystemUIServer ianmac 0.1 12.73 MB 233.25 MB
    1159 TextEdit ianmac 0.0 9.45 MB 814.12 MB
    1418 cupsd root 0.0 1.91 MB 586.87 MB
    2226 Mail ianmac 0.0 41.83 MB 850.06 MB
    2361 helpdatad ianmac 0.0 8.14 MB 603.46 MB
    2718 Photosmart _lp 0.0 25.29 MB 689.89 MB
    2719 usb _lp 0.0 764.00 KB 586.62 MB
    2804 Network Utility ianmac 0.0 8.91 MB 798.14 MB
    2815 pppd root 0.0 1.62 MB 587.00 MB
    2859 Directory Utility ianmac 0.0 15.32 MB 822.47 MB
    2868 Help Viewer ianmac 0.0 9.70 MB 798.31 MB
    3118 mdworker ianmac 0.0 2.04 MB 598.43 MB
    * DIRECTORY SERVICE LOG *
    2009-07-05 03:39:57 PDT - T[0xA050D720] -
    2009-07-05 03:39:57 PDT - T[0xA050D720] - DirectoryService 5.7 (v514.25) starting up...
    2009-07-05 03:39:57 PDT - T[0xB0185000] - Plugin <Cache>, Version <1.0>, processed successfully.
    2009-07-05 03:39:57 PDT - T[0xB0185000] - Plugin <Configure>, Version <3.0>, processed successfully.
    2009-07-05 03:39:57 PDT - T[0xB0185000] - Plugin <Local>, Version <1.1>, processed successfully.
    2009-07-05 03:39:57 PDT - T[0xB0185000] - Plugin <LDAPv3>, Version <3.1>, processed successfully.
    2009-07-05 03:39:57 PDT - T[0xB0185000] - Plugin <Search>, Version <3.1>, processed successfully.
    2009-07-05 03:39:57 PDT - T[0xB0185000] - Plugin <BSD>, Version <2.0>, processed successfully.
    2009-07-05 03:39:57 PDT - T[0xB030B000] - Registered node /Configure
    2009-07-05 03:39:57 PDT - T[0xB030B000] - Plug-in Configure state is now active.
    2009-07-05 03:39:57 PDT - T[0xB040F000] - Plug-in LDAPv3 state is now inactive.
    2009-07-05 03:39:57 PDT - T[0xB038D000] - Registered Locally Hosted Node /Local/Default
    2009-07-05 03:39:57 PDT - T[0xB038D000] - Registered node /Local/Default
    2009-07-05 03:39:57 PDT - T[0xB0513000] - Registered Locally Hosted Node /BSD/local
    2009-07-05 03:39:57 PDT - T[0xB0513000] - Registered node /BSD/local
    2009-07-05 03:39:57 PDT - T[0xB0513000] - Plug-in BSD state is now active.
    2009-07-05 03:39:57 PDT - T[0xB038D000] - Plug-in Local state is now active.
    2009-07-05 03:39:57 PDT - T[0xB0491000] - Registered node /Search
    2009-07-05 03:39:57 PDT - T[0xB0491000] - Registered node /Search/Contacts
    2009-07-05 03:39:57 PDT - T[0xB0491000] - Registered node /Search/Network
    2009-07-05 03:39:57 PDT - T[0xB0491000] - Plug-in Search state is now active.
    2009-07-05 03:39:57 PDT - T[0xB0420000] - Local Plugin - index passed integrity check
    2009-07-05 03:39:58 PDT - T[0xB0289000] - BSD Plugin - index passed integrity check
    2009-07-05 03:39:58 PDT - T[0xB0289000] - Registered node /Cache
    2009-07-05 03:39:58 PDT - T[0xB0289000] - Plug-in Cache state is now active.
    2009-07-05 03:39:58 PDT - T[0xB0185000] - Plugin "Active Directory", Version "1.6.5", is set to load lazily.
    2009-07-05 03:39:58 PDT - T[0xB0185000] - Plugin "PasswordServer", Version "4.0.3", is set to load lazily.
    2009-07-05 04:12:10 PDT - T[0xB0081000] - Network transition occurred.
    2009-07-05 04:12:11 PDT - T[0xB0081000] - Network transition occurred.
    2009-07-05 04:16:03 PDT - T[0xB0103000] - Plugin "Active Directory", Version "1.6.5", loaded on demand successfully.
    2009-07-05 04:16:03 PDT - T[0xB0103000] - Plug-in Active Directory state is now inactive.
    2009-07-05 07:54:25 PDT - T[0xB0081000] - Network transition occurred.
    2009-07-05 07:54:25 PDT - T[0xB0081000] - Network transition occurred.
    2009-07-05 08:22:22 PDT - T[0xA050D720] - Sleep Notification occurred.
    2009-07-05 08:53:59 PDT - T[0xA050D720] - Will Power On (Wake) Notification occurred.
    2009-07-05 09:03:31 PDT - T[0xB0081000] - Network transition occurred.
    2009-07-05 09:03:31 PDT - T[0xB0081000] - Network transition occurred.
    i dont know if these logs help. BUT THANKS A MILLION. REALLY.

  • Converting an int to a string

    i want to know how to convert an int to a string .
    I have tried toString() but it says can't dereference an int.
    any ideas ????
    thanks

    What I mean by the object being null is, say for example, you have the following method:
       public String combine(Object o1, Object o2){
          return o1.toString() + o2.toString();
       }This method will throw a NullPointerException if either or both o1 and/or o2 are null. If you use it like so:
       public String combine(Object o1, Object o2){
          return String.valueOf(o1) + String.valueOf(o2);
       }This will always work. (I know someone out there would say that this would return a String like "nullnull" if both are null, and so forth and so on, but hey, you get my drift.) I'm also not saying the you can't not check if either o1 or o2 is null before proceeding, so the following also works:
       public String combine(Object o1, Object o2){
          String s = null;    // I'm using this instead of StringBuffer for
                              // simplicity's sake so don't get this wrong
          if (o1 != null){
              s = o1.toString();
          if (o2 != null){
              s += o2.toString();
          return s;
       }As you can see, there's no right or wrong way in programming as long as you achieve the result. The only thing that would matter is how clean your code is, how efficient your code is, and how maintainable your code is.

  • Proxy Settings Re-Appear after Reboot in Registry Post Malware Clean (Windows 8.1 x64)

    Hey Guys - 
    My main system at home hosts many different things for me.  Because I'm an idiot and had protection disabled, I caught some malware which I cleaned off soon
    afterwards.  The malware was listed as Trojan.Generic.KD or something similar.  It had enabled Proxy and set it to 127.0.0.1:58054.  I ran Malwarebytes, Spybot, then ExecuteIt to clean the malware off and currently the scans from all 3 apps
    come back clean.  I also had to manually disable proxy via IE settings.
    I have one specific app which for whatever reason will use Proxy settings if they are there over anything else and doesn't offer and configuration to disable it.
     Even though proxy is disabled (and cleared) in IE, this app still doesn't work and I still seemingly get redirected to ads in Chrome sometimes.  The log file of the app showed it was trying to connect through 127.0.0.1:58054.  The thing is,
    IE Settings still show Proxy disabled!
    The Issue
    I checked many things are read a few articles to try to fix this including different Windows 8.1 settings, local Group Policy, startup items, checking Run keys
    in HKLM and HKCU for "out of place" entries, and more.  Finally, I opened the registry and did s keyword search for ":58054" and found one key with it.  I cleared out all of the data and set the EnableProxy string from "1"
    to "0", rebooted, and tried again but the app still failed with the same log message.  I went back into the registry and found out that the strings I changed had all been changed back!  Below is the key / strings I'm talking about which
    are located in HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Internet
    Settings.  It's odd because I usually deal with HKLM and HKCU and don't think I've ever worked in ".DEFAULT" on any system ever before.
    I know that a full OS re-install is suggested - and I actually do it every 3-4 months religiously - but - I currently don't have the time for the full day it
    takes to perform due to how many things it hosts.
    Any ideas on how I can get this to stop coming back after each restart until I can perform the re-install?  Below are the system specs.  Thanks!
    System Specs
    - Intel i7-3770k / 16gb RAM
    - x3 partitions  256gb SSD for OS & Apps  /  24tb Disk Pool for Storage  /  500gb Hybrid drive for App installs
    - Windows 8.1 Update 1 x64 (Fully Patched)
    Thanks again!
    Ben K.

    Hi,
    .default is the profile for the Local System account and is an alias for
    HKEY_USERS\S-1-5-18, Consequently, settings in HKEY_USERS\.Default are used by programs and services that run as Local System.
    In addition to HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Internet
    Settings, please also check HKEY_USERS\S-1-5-18\Software\Microsoft\Windows\CurrentVersion\Internet
    Settings and HKCU\Software\Microsoft\Windows\CurrentVersion\Internet
    Settings, make sure all proxy server disabled, then press F5 to refresh registry, check the application, if the issue disappears, the the registry entry is the culprit. Then please reboot the PC, if the issue appears again, the virus is not cleared in your
    system. In this case, please try other virus clean program if possible, meanwhile, check if there're unknown software installed in your system.
    Yolanda Zhu
    TechNet Community Support

  • How can I do a clean install of Mavericks?

    So I just traded my iMac for a macbook pro from someone on craigslist. Everytime I buy a computer off someone on craigslist I like to do a clean install and do a secure erase of the hard drive. Well normally I do this by taking a USB drive and making a installer on it for Mavericks and erasing the whole drive and making a new partition. Well I did this and after booting up and setting the mac up I noticed that some apps crashed a lot (Safari, iTunes, Mac app store) esspecially Safari when I try to clear the caches. Could something have gone wrong on the USB installer and do I need to redownload and recreate the USB installer and reinstall OS X again? Thanks in advance for the help!

    Launch the Console 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 Console in the icon grid.
    Step 1
    Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select
    View ▹ Show Log List
    from the menu bar.
    Enter the name of the crashed application or process in the Filter text field. Select the messages from the time of the last crash, if any. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message (command-V).
    When posting a log extract, be selective. In most cases, a few dozen lines are more than enough.
    Please do not indiscriminately dump thousands of lines from the log into this discussion.
    Important: Some private information, such as your name, may appear in the log. Anonymize before posting.
    Step 2
    In the Console window, look under User Diagnostic Reports (not "Diagnostic and Usage Messages") for crash reports related to the crashed process. The report name starts with the name of the process, and ends with ".crash". Select the most recent report and post the entire contents — again, the text, not a screenshot. I know the report is long. Please post all of it anyway.
    In the interest of privacy, I suggest that, before posting, you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header of the report, if it’s present (it may not be.)
    Please don’t post other kinds of diagnostic report — they're very long and rarely helpful.

Maybe you are looking for

  • Hard drive "I/O Error" - is disk dead?

    I have a PB G4 15" 1.25 GHz (FW 800) 1GB ram. My 80GB Hitachi hard drive suuposedly died on me a few weeks ago. I have booted up on the leopard start up disk to try disk utility, and booted into single user mode, and used fsck -f. Both processes retu

  • PDF NOT OPENING IN SAFARI

    with my switch over to my new imac and mountain lion pdfs are opening in code. originally i thought it was on one website but it is on most sites BUT NOT ALL. removing adobe plug-ins from library>internet plug-ins as suggested by applecare does not h

  • How do i deal with multiple iPhoto libraries when migrating to Photos

    how do i deal with multiple iPhoto libraries when migrating to Photos

  • Attaching file to a form

    Need to have a form that is emailed to me that has a attach file button, the form is for registration. After filling out the form there should be a button to attach a file, which will be emailed to me along with the form when the Submit button is pre

  • StartupFailureisFatal Property question

    What is name of the registeredclass that we need to specify for the startupFailureisFatal property. I have set it to the name of my virtual startup class, the name of my startup class, left it alone as registeredclass but I don't get the weblogic 4.5