Terminal: unable to read "/private/etc/cups/cups-files.conf" due to errors

Terminal is giving me the message above every 10 seconds making it impossible to write any lines without the error message breaking up the line.  Any suggestions on how to resolve this issue?

Back up all data.
Select
          Shell ▹ New Command
from the Terminal menu bar. Uncheck the box marked
          Run command inside a shell
if checked.
Copy and paste the following line into the text box that opens, then press return:
mkdir disabled_shell_files
Close the Terminal window that opens. Repeat with this line:
mv .profile .bash_history .bash_profile .bashrc .inputrc disabled_shell_files
Your old shell initialization and history files will be saved in a directory named "disabled_shell_files" at the top level of your home directory. It's normal that some of these files will not exist, and therefore you will get some "no such file" errors.
Close the window, open a new one, and test.

Similar Messages

  • Terminal Error: Unable to read "/private/etc/cups/cups-files.conf" due to errors.

    After finding out that my Kodak ESP C310 printer was no longer printing after installing OS X Yosemite, I tried entering these into the terminal to get the driver working again.
    sudo sh -c 'echo "Sandboxing Relaxed" >> /etc/cups/cups-files.conf'
    sudo launchctl stop org.cups.cupsd
    Nothing happened the first time I tried it, so I tried it again with still no luck. Now within seconds of opening the terminal I get this message :
    " /private/etc/cups/cups-files.conf"
    It pops up every few seconds, so it is practically impossible for me to type anything into the terminal without it popping up right in the middle. I tried the fix from the other discussion on this issue, and that didn't work. also I'm noticing that my printer isn't even added under "printers and scanners" anymore. I tried to re-add it, but I cannot without a driver that functions with 10.10.1
    Any suggestions on how I should deal with this?

    The permissions and ownership on /private/etc/cups/cups-files.conf should be:
    /bin/ls -leO@ /private/etc/cups/cups-files.conf
    -rw-r--r--  1 root  _lp  compressed 3297 Mar  8  2014 /private/etc/cups/cups-files.conf
    See "man cups-files" for the format of the cups-files.conf file
    The contents of the /private/etc/cups/cups-files.conf file should look like:
    # "$Id: cups-files.conf.in 11203 2013-07-26 21:32:33Z msweet $"
    # Sample file/directory/user/group configuration file for the CUPS scheduler.
    # See "man cups-files.conf" for a complete description of this file.
    # List of events that are considered fatal errors for the scheduler...
    #FatalErrors config
    # Do we call fsync() after writing configuration or status files?
    #SyncOnClose No
    # Default user and group for filters/backends/helper programs; this cannot be
    # any user or group that resolves to ID 0 for security reasons...
    #User _lp
    #Group _lp
    # Administrator user group, used to match @SYSTEM in cupsd.conf policy rules...
    SystemGroup admin
    SystemGroupAuthKey system.print.admin
    # User that is substituted for unauthenticated (remote) root accesses...
    #RemoteRoot remroot
    # Do we allow file: device URIs other than to /dev/null?
    #FileDevice No
    # Permissions for configuration and log files...
    #ConfigFilePerm 0644
    #LogFilePerm 0644
    # Location of the file logging all access to the scheduler; may be the name
    # "syslog". If not an absolute path, the value of ServerRoot is used as the
    # root directory.  Also see the "AccessLogLevel" directive in cupsd.conf.
    AccessLog /private/var/log/cups/access_log
    # Location of cache files used by the scheduler...
    #CacheDir /private/var/spool/cups/cache
    # Location of data files used by the scheduler...
    #DataDir /usr/share/cups
    # Location of the static web content served by the scheduler...
    #DocumentRoot /usr/share/doc/cups
    # Location of the file logging all messages produced by the scheduler and any
    # helper programs; may be the name "syslog". If not an absolute path, the value
    # of ServerRoot is used as the root directory.  Also see the "LogLevel"
    # directive in cupsd.conf.
    ErrorLog /private/var/log/cups/error_log
    # Location of fonts used by older print filters...
    #FontPath /usr/share/cups/fonts
    # Location of LPD configuration
    #LPDConfigFile launchd:///System/Library/LaunchDaemons/org.cups.cups-lpd.plist
    # Location of the file logging all pages printed by the scheduler and any
    # helper programs; may be the name "syslog". If not an absolute path, the value
    # of ServerRoot is used as the root directory.  Also see the "PageLogFormat"
    # directive in cupsd.conf.
    PageLog /private/var/log/cups/page_log
    # Location of the file listing all of the local printers...
    #Printcap /Library/Preferences/org.cups.printers.plist
    # Format of the Printcap file...
    #PrintcapFormat bsd
    #PrintcapFormat plist
    #PrintcapFormat solaris
    # Location of all spool files...
    #RequestRoot /private/var/spool/cups
    # Location of helper programs...
    #ServerBin /usr/libexec/cups
    # SSL/TLS certificate for the scheduler...
    #ServerCertificate /Library/Keychains/System.keychain
    # SSL/TLS private key for the scheduler...
    #ServerKey
    # Location of other configuration files...
    #ServerRoot /private/etc/cups
    # Location of Samba configuration file...
    #SMBConfigFile
    # Location of scheduler state files...
    #StateDir /private/etc/cups
    # Location of scheduler/helper temporary files. This directory is emptied on
    # scheduler startup and cannot be one of the standard (public) temporary
    # directory locations for security reasons...
    #TempDir /private/var/spool/cups/tmp
    # End of "$Id: cups-files.conf.in 11203 2013-07-26 21:32:33Z msweet $".

  • ORA-27047: unable to read the header block of file

    My Windows 2003 crashed which was running Oracle XE.
    I installed Oracle XE on Windows XP on another machine.
    I coped my D:\oracle\XE10g\oradata folder of Win2003 to the same location in WinXP machine.
    When I start the database in WinXP using SQLPLUS i get the following message
    SQL> startup
    ORACLE instance started.
    Total System Global Area 146800640 bytes
    Fixed Size 1286220 bytes
    Variable Size 62918580 bytes
    Database Buffers 79691776 bytes
    Redo Buffers 2904064 bytes
    ORA-00205: error in identifying control file, check alert log for more info
    I my D:\oracle\XE10g\app\oracle\admin\XE\bdump\alert_xe I found following errors
    starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
    starting up 4 shared server(s) ...
    Oracle Data Guard is not available in this edition of Oracle.
    Wed Apr 25 18:38:36 2007
    ALTER DATABASE MOUNT
    Wed Apr 25 18:38:36 2007
    ORA-00202: control file: 'D:\ORACLE\XE10G\ORADATA\XE\CONTROL.DBF'
    ORA-27047: unable to read the header block of file
    OSD-04001: invalid logical block size (OS 2800189884)
    Wed Apr 25 18:38:36 2007
    ORA-205 signalled during: ALTER DATABASE MOUNT...
    ORA-00202: control file: 'D:\ORACLE\XE10G\ORADATA\XE\CONTROL.DBF'
    ORA-27047: unable to read the header block of file
    OSD-04001: invalid logical block size (OS 2800189884)
    Please help.
    Regards,
    Zulqarnain

    Try to install win 2003 server software, do the fresh installation of oracle software, now copy the datafiles and controlfiles to same locations as you did on winxp.
    get back to us, if still not out of the woods. I still doubt that a simple restore would do the trick, since you doing it across different platforms, might be I can be wrong, but this is what I personally feel, you not able to start the database on winxp.
    hare krishna
    Alok

  • Error updating AE: ERROR: DS015: Unable to read symlink target of source file "/Applications/Adobe After Effects CC 2014/Plug-ins/Effects/mochaAE/(Mocha Support)/mocha AE CC.app/Contents/MacOS/mediaioserver.app/Contents/CodeResources"(Seq 212)

    Error updating AE: ERROR: DS015: Unable to read symlink target of source file "/Applications/Adobe After Effects CC 2014/Plug-ins/Effects/mochaAE/(Mocha Support)/mocha AE CC.app/Contents/MacOS/mediaioserver.app/Contents/CodeResources"(Seq 212)
    What can I do?

    Run the cleaner tool and install from scratch.
    Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6
    Mylenium

  • Excel unable to read WEBI schedule download excel file

    Hi experts,
    We use BO central management's instance manager to schedule download a report as excel format in our ftp share folder.
    And the download did run successfully and an icon of the file been shown as excel  format in ftp folder.
    while we use excel 2007 to open the file, excel pop out the message of unable to read the file.
    it is saying the excel found unreadbale content in report. Do you want to recover the contens of this workbook? if you trust the source of this workbook, click yes. after applied the yes, excel stil pop out the message of unable to read the file.
    the general tab in excel been uncheck the "ignore other applications that use Dynamic Data Exchange (DDE), but result still shown unable to read.
    The whole set of report can be run in WEBI and using save report to my computer as excel without any issues.
    WEBI been setup as refresh on open.
    Any clues?

    Hi,
    Did you create a PivotTable report in the file? As your description, the HTML format could be used correctly in Excel 2007. Did you get the other error message?
    Such as,Unable to read file.
    When you click OK,   you receive the following error message:
    Errors were   detected in '<var>filename</var>.xls', but Microsoft Excel was   able to open the file by making the repairs listed below. Save the file to make   these repairs permanent.
    PivotTable report   '<var>report_name</var>' on   '[<var>filename</var>.xls]worksheet_name' was discarded due to   integrity problems.
    Please try to use the workaround:
    Turn off AutoRecovery when you work with any workbooks.Click Excel button>Excel options>Save>Uncheck AutoRecovery
    Following this, if the issue exists, I recommend you fix the issue the following KB:
    http://support.microsoft.com/kb/943088
    http://support.microsoft.com/kb/929766
    Regards,
    George Zhao
    TechNet Community Support

  • Java App on Linux : Unable to read iso-8859-1 encoded file correctly.

    I have a file which is encoded as iso-8859-1, and contains characters such as ô .
    I am reading this file with java code, something like:
    File in = new File("myfile.csv");
    InputStream fr = new FileInputStream(in);
    byte[] buffer = new byte[4096];
    while (true) {
    int byteCount = fr.read(buffer, 0, buffer.length);
    if (byteCount <= 0) {
    break;
    String s = new String(buffer, 0, byteCount,"ISO-8859-1");
    System.out.println(s);
    However the ô character is always garbled, usually printing as a ? .
    I am running this on a Linux machine. It works fine on my XP machine.
    I have verified that I can see the correct characters when I cat the file on the terminal.
    (Interestingly, but I think maybe only by co-incidence, it works when I run with the -Dfile.encoding=UTF16 option, but not with UTF8, although this appears a hack rather than a fix since this option was not intended for developer use by sun - but I thought mentioning it may provide some clues as to what is going on)

    I think your main probelm is with the console. When you send text to the console, it's sent in the system default encoding. On an English-locale system that might be ASCII, ISO-8859-1, windows-1252, UTF-8, MacRoman, and probably several other possibilities. Then the console decodes the the bytes using whatever encoding it feels like using--on my WinXP machine, it uses cp437 by default (just for laughs, as far as I can tell). If the text happens to be pure, seven-bit ASCII, there's no problem, since all those encodings are identical in that range.
    But if you need to output anything other than ASCII characters, avoid the console. Send the output to a file and specify an encoding that you know will be able to handle your characters--UTF-8 can handle anything. Then open the file with an editor that can read that encoding; most of them can handle UTF-8 these days, and many will even detect it automatically. You also need to be using a font that can display your characters.
    However, you're also going about the reading part wrong. Instead of reading the text in as bytes and passing them to a String constructor, you should use an InputStreamReader and read it as text from the beginning: BufferedReader br = new BufferedReader(
      new InputStreamReader(
        new FileInputStream("myfile.csv"), "ISO-8859-1"));I am curious about your statement that "it works" when you run with the -Dfile.encoding=UTF16 option. I wouldn't be surprised to see it output the correct characters (ASCII characters, anyway), but I would expect to see the characters interspersed with blank spaces or rectangles.

  • 4.1 rc1 - unable to read monochrome Sigma DP X3F files

    Sigma DP2s
    LR 4.1 rc1
    I import .X3F files to LR catalogue from SD card via card reader.
    LR reads and allows me to edit these OK
    If I then edit the .X3F files using Sigma Photo Pro  v5.1, and change WB to "Monochrome", then save the modification to the raw file (in SPP5.1), and then attempt to look at it in LR in the develop module,  I get the error "There was a problem working with the file"..
    Followed by "Lightroom has encountered problems reading this photo. You will not be able to make adjustments to the photo."
    I have tried this a number of times with different X3F image files with the same result.
    I have tried (separately) synchronizing, deleting and re-importing the file with the same result.
    LR3 worked perfectly in this regard - if a .X3F file was imported, then changed using SPP5.1 to mono, the effect would be immediately seen in LR without errors.
    NB If I then set the WB back from monochrome in SPP5.1, LR is able to work with theimage file again with noerrors.
    I have also encountered similar error messages when trying to export jpgs from edited .tiff files created using a film scanner, which may be related. When or if I can reproduce that I will start a separate thread.

    Lightroom is raw conversion software and once your camera is supported it will be able to process the raw data. However if you use other raw conversion software to process the raw data or partially process the raw file you have altered the raw file and Lightroom will no longer be able to process. With raw data you can only choose one chef.

  • Permissions errors? ./private/etc/authorization, should be 80, group is 0

    in the past 3 days i've been finding a error show up- on several machines- where programs would quit before they would even start up.
    the only way i've found to fix it, has been to run "Disk Utility" and repair the permissions for the drive management.
    Repairing permissions for “Macintosh HD”
    Determining correct file permissions.
    Group differs on ./private/etc/authorization, should be 80, group is 0
    Owner and group corrected on ./private/etc/authorization
    Permissions corrected on ./private/etc/authorization
    has anyone else found this error? where is this coming from?

    Thanks!
    Until I fixed this error using Disk Utility, I couldn't install a 3rd party software app. I didn't log in as root to do it either, just repaired permissions and the install "took" the second time. I'm a member of the admin group... at least I thought I was! My user account says I'm an administrator and I'm the only user on this mac... any way to see what my user account rights are? I know netinfo, but I don't know how to interprate it?

  • ASA: CRYPTO_PKI: Unable to read CA/RA certificates

    Hello,
    I have setup a Win2003 Server where I install a CA/RA server for SCEP enrollment of my ASA5510. I entered the following config on the ASA:
    domain-name mydomain.com
    crypto key generate rsa
    crypto ca trustpoint MYTRUSTPOINT
    crl optional
    enrollment url http://x.x.x.x/certsrv/mscep/mscep.dll
    subject-name cn=ASA5510
    Meanwhile I configured the CA Server for SCEP support by intalling the mscep executable from the Resource Kit.
    If I try to get the CA's Certificate using crypto ca authenticate MYTRUSTPOINT, i only get this error messages on my ASA console:
    Crypto CA thread wakes up!
    CRYPTO_PKI: Sending CA Certificate Request:
    GET /certsrv/mscep/mscep.dll/pkiclient.exe?operation=GetCACert&message=ITSS HTTP
    /1.0
    Host: x.x.x.x
    CRYPTO_PKI: http connection opened
    CRYPTO_PKI: Unable to read CA/RA certificates.Crypto CA thread sleeps!
    ERROR: receiving Certificate Authority certificate: status = FAIL, cert length = 0
    I have tried to reinstall the CA and SCEP over and over again but I still get the same error all the time. Is there anything wrong with my config?
    Please help me with my problem. I promise to give 5-points to anybody who can help me solve my problem. Thank you in advance.
    Lorenz

    Hi,
    Yes now I see the Bug details. But the one I am actually using is a ASA5510, I have also already upgraded it to 7.2.2 (from previous 7.0.7). I have tried this same setup before using Windows2000 Server and ASA5520, and it works. But this time I am having quite a trouble making this thing work.
    Lorenz

  • 8iR3; EJB deploy; "Unable to read class bits" error

    Hi,
    I have a strange situation going on at the moment. Every time I wish to deploy an EJB to 8iR3, the JDeveloper Message View shows the following (after app specific messages):
    "Reading Deployment Descriptor...done
    Verifying Deployment Descriptor...done
    Gathering users...done
    Generating Comm Stubs...............................................done
    Compiling Stubs...done
    Generating Jar File...done
    Loading EJB Jar file and Comm Stubs Jar file...
    Unable to read class bits from library/sqlhelper/sjb/SQLHelperOperations.class
    *** Errors occurred while deploying the EJB to 8i JVM ***
    *** Deployment completed ***
    If I then just redeploy without changing a thing, it deploys fine and everything works.
    I haven't seen a post on this forum like this, is there a configuration problem at my end?
    Cheers,
    Jono
    null

    I think it is due to the fact that I am writing a 'business interface' for my EJB, then including it in my deployment package.
    This technique is recommended in O'Reilly's 'Enterprise Java Beans' 2nd Edition p344 to ensure the bean interface and the bean match their signature.
    I don't get the 'class bits' error when I write EJB from the wizard, but when I add a business interface it happens first deploy, and is OK for the second one.
    Hope this helps anyone else who is getting this behaviour, I guess we'll have to see what happens in OC4J/Orion.

  • How can i read the data from attached file?

    using javamail i receiving a mail with attachment
    but unable to read the content of the file
    Plz help me out
    thanks in advance

    The answer is in the JavaMail FAQ.

  • Repaing Permissions = Group Differ on "private/etc/cups", should be 0, grou

    Repaing Permissions = Group Differ on "private/etc/cups", should be 0, groups is 26.
    It says this everytime, even when it was brand new...
    What does this mean? Whay doesn't it go away after repairing?

    This error message has been occurring since Mac OS X 10.5.4 I believe, it's not harmful in any way to the operation of your Mac, so I wouldn't worry about it. I'm sure Apple will have this fixed in a future update.

  • ERROR when repairing permissions: Group differs on "private/etc/cup"

    Hi,
    When I run permissions repair on my Leopard 10.5.4 I get the error message:
    ERROR when repairing permissions: Group differs on "private/etc/cup", Should be 0, group is 26
    Any idea why... It pops up every time I run permissions repair so I don't think it is really getting repaired.
    Thanks.

    Ignore it. It's been reported as a bug and is under investigation.

  • Group differs on "private/etc/cups", should be 0, group is 26.

    Greetings.
    After performing Verify Disk Permission, i have this massage:
    *Group differs on "private/etc/cups", should be 0, group is 26.*
    Immediately i performed Repair Disk Permission but in the end i still get this massage.
    Any idea what dose that means?
    Thank you so much.
    Cheers.

    ChrisWad wrote:
    How do you submit a bug to Apple as I want to put some weight behing this one.
    Chris
    Why? Who says it's a bug worth worrying about?
    Ever since Repair Permissions was introduced (around 10.1.5 I seem to remember, although it was 10.2 before it was integrated into Disk Utility) there have been occurrences of these "spurious" errors.
    Take a look at these:
    Spurious Permissions errors in 10.2
    Spurious Permission errors in OS X 10.3
    Spurious Permission errors in OS X 10.4
    Some of these disappeared with point updates, others didn't. They did not prevent anyone's system working. They were acknowledged as unimportant in this article: Disk Utility reports some messages that you can ignore when checking permissions.
    I didn't write an equivalent for 10.5, because there were so many ACL and SUID errors which changed with each version, see Mac OS X 10.5: Disk Utility's Repair Disk Permissions reports issues with SUID files.
    This particular message is of no consequence. It may or may not disappear with the next system update. But if it bothers you, the answer is simple: stop Repairing Permissions!

  • /private/etc/cups folder is missing

    I am working tech support for a college and a faculty member currently working abroad called in with a problem that Microsoft Word for Mac would lock up everytime he tried to save or print a file. I remoted into his machine and I tried the usual suspects and was able to determine that nothing would print at all from any app, and in fact when I went to system preferences and tried to open the printers, it locked up system preferences. Digging deeper, I discovered that I was getting this message in console:
    com.apple.launchd[1] (org.cups.cupsd) Throttling respawn: Will start in 10 seconds
    The error kept repeating. I researched and found this thread:
    https://discussions.apple.com/thread/2151368?start=0&tstart=0
    Which led me to try these terminal commands:
    sudo cp /etc/cups/cupsd.conf /etc/cups/cupsd.conf.old
    sudo cp /etc/cups/cupsd.conf.default /etc/cups/cupsd.conf
    I got an error in terminal that "No such file or directory existed"
    So I checked and sure enough, inside of /private/etc/ there was no folder for cups. Its just gone. I assume that the folder being missing is the root of the problem, but I cant figure out how to get it back for him, especially considering that I am trying to assist him remotely. Any help or advice would be appreciated.

    # Become root
    sudo -s
    cd /private/etc
    # Make the tar archive in /Users/Shared
    tar -cjvf /Users/Shared/cups.tar.bz2 cups
    # Exit being the root user
    exit
    cd /Users/Shared
    # Check the contents of the tar archive
    tar -tvf /Users/Shared/cups.tar.bz2
    drwxr-xr-x  0 root   _lp         0 May  6 17:33 cups/
    dr-x--x--x  0 _lp    admin       0 May  7 18:05 cups/certs/
    -rw-r--r--  0 root   _lp      4524 Jan 20  2012 cups/cupsd.conf
    -rw-r--r--  0 root   _lp      4380 Dec 23  2011 cups/cupsd.conf.O
    -rw-r--r--  0 root   _lp      5978 May 13  2010 cups/cupsd.conf.bak
    -rw-r--r--  0 root   _lp      6091 Jul  6  2011 cups/cupsd.conf.default
    drwxr-xr-x  0 root   _lp         0 May 13  2010 cups/interfaces/
    drwxr-xr-x  0 root   _lp         0 Apr 30 10:10 cups/ppd/
    -rw-------  0 root   _lp      1624 May  6 17:33 cups/printers.conf
    -rw-------  0 root   _lp      1624 May  5 16:53 cups/printers.conf.O
    -rw-r--r--  0 root   _lp       172 May 13  2010 cups/snmp.conf
    -rw-r--r--  0 root   _lp     52273 Jan 13 06:43 cups/ppd/Brother_HL_5140_series.ppd
    -rw-r--r--  0 root   _lp   1072994 Apr 30 10:10 cups/ppd/HP_Photosmart_C4200_series.ppd
    -rw-r--r--  0 root   _lp   1072931 Apr 21 13:08 cups/ppd/HP_Photosmart_C4200_series.ppd.O
    -r--r-----  0 root   admin      32 May  7 18:05 cups/certs/0

Maybe you are looking for

  • How to include non database item in the query

    Hi I have a Master-Detail form. where in the detail block one of the field is text item 'X' attached the list of values(Y). Master block includes non database items which is based in the decoding result of the database items for example: Gender(Male,

  • Ipad will not display email content

    ipad will not display email content just 2 lines

  • My first Project Siena APP! - Cooking Utility Belt

    Just started using Project Siena and I built my first app. What a fun experience. There was a bit of a learning curve and some additional documentation would have helped but the forum came through for me.  Here is my app, check it out :) Cooking Util

  • G5 will not sleep (shuts down instead) !?

    Appreciate any help here guys. Twin 2.5 G5 has started shutting itself down as opposed to sleeping. This occurs if I select sleep from the menu or the energy saver reaches the time set for it to sleep. When this happens there are 4 to 5 clicks from t

  • Firewire Scanner not recognized

    I was very excited when I saw the 10.4.4 update come thru because it said it was going to fix USB/Firewire issues. But, alas, it did not. I have a brand new G5 Quad that had 10.4.3 installed and it will not recognize my Epson scanner when attached wi