[SOLVED]Couldn't open file for 'Log debug file /var/log/tor/debug.log'

Hello,
I'm trying to run a tor relay on my arch linux box. Trying to launch the tor daemon, here's the log via
$ systemctl status tor.service
May 20 11:53:10 arch tor[21726]: May 20 11:53:10.877 [notice] Tor v0.2.4.21 (git-505962724c05445f) running on Linux with Libevent 2.0.21-stable and OpenSSL 1.0.1g.
May 20 11:53:10 arch tor[21726]: May 20 11:53:10.877 [notice] Tor can't help you if you use it wrong! Learn how to be safe at https://www.torproject.org/download/download#warning
May 20 11:53:10 arch tor[21726]: May 20 11:53:10.877 [notice] Read configuration file "/etc/tor/torrc".
May 20 11:53:10 arch tor[21726]: May 20 11:53:10.909 [notice] Opening Socks listener on 127.0.0.1:9050
May 20 11:53:10 arch tor[21726]: May 20 11:53:10.909 [notice] Opening OR listener on 0.0.0.0:9798
May 20 11:53:10 arch tor[21726]: May 20 11:53:10.000 [warn] Couldn't open file for 'Log debug file /var/log/tor/debug.log': Permission denied
May 20 11:53:10 arch tor[21726]: May 20 11:53:10.000 [notice] Closing partially-constructed Socks listener on 127.0.0.1:9050
May 20 11:53:10 arch tor[21726]: May 20 11:53:10.000 [notice] Closing partially-constructed OR listener on 0.0.0.0:9798
May 20 11:53:10 arch tor[21726]: May 20 11:53:10.000 [warn] Failed to parse/validate config: Failed to init Log options. See logs for details.
May 20 11:53:10 arch tor[21726]: May 20 11:53:10.000 [err] Reading config failed--see warnings above.
May 20 11:53:10 arch systemd[1]: tor.service: main process exited, code=exited, status=255/n/a
May 20 11:53:10 arch systemd[1]: Unit tor.service entered failed state.
Why the tor daemon cannot write into /var/log/tor/debug.log ?
Here's my /etc/group
root:x:0:root
bin:x:1:root,bin,daemon
daemon:x:2:root,bin,daemon
sys:x:3:root,bin
adm:x:4:root,daemon,nue
tty:x:5:
disk:x:6:root
lp:x:7:daemon
mem:x:8:
kmem:x:9:
wheel:x:10:root,nue
ftp:x:11:
mail:x:12:
uucp:x:14:
log:x:19:root
utmp:x:20:
locate:x:21:
rfkill:x:24:
smmsp:x:25:
http:x:33:
games:x:50:
lock:x:54:
uuidd:x:68:
dbus:x:81:
network:x:90:
video:x:91:
audio:x:92:
optical:x:93:
floppy:x:94:
storage:x:95:
scanner:x:96:
power:x:98:
nobody:x:99:
users:x:100:
systemd-journal:x:190:
nue:x:1000:
avahi:x:84:
lxdm:x:121:
polkitd:x:102:
git:x:999:
transmission:x:169:
vboxusers:x:108:
tor:x:43:
mysql:x:89:
Last edited by giuscri (2014-05-20 12:18:56)

SidK wrote:You must have modified your torrc to print to that log file. systemd starts the service as the tor user (see /usr/lib/systemd/system/tor.service). So if if you want to log to a file the tor user must have write access to it. By default however tor it set to log to the journal, which doesn't require any special permissions.
Yes. I did edit the torrc file since I wanted the log to be store in that file. Indeed
## Logs go to stdout at level "notice" unless redirected by something
## else, like one of the below lines. You can have as many Log lines as
## you want.
## We advise using "notice" in most cases, since anything more verbose
## may provide sensitive information to an attacker who obtains the logs.
## Send all messages of level 'notice' or higher to /var/log/tor/notices.log
#Log notice file /var/log/tor/notices.log
## Send every possible message to /var/log/tor/debug.log
Log debug file /var/log/tor/debug.log
## Use the system log instead of Tor's logfiles
Log notice syslog
## To send all messages to stderr:
#Log debug stderr
I missed the file systemd uses to choose who's the process owner.
Course, I could edit /usr/lib/systemd/system/tor.service such that root will become the process owner; or, I could add the user I use everyday in the root group, then change the permission of /var/log/tor/debug.log such that it will be writable also for the folks in the root group.
Yet they both seems to be a bit unsafe ...
What is the best choice, to you guys?
Thanks,

Similar Messages

  • (JE 3.2.44) Couldn't open file

    Hello!
    We recently upgraded to newer version of BDB JE, and failed with random, but weird issue:
    17/Oct/2007 04:49:38 ERROR [pool-97-thread-2] - com.sleepycat.je.DatabaseException: (JE 3.2.44) Database r
    elations_database14269 id=26 rootLsn=0xffffffff/0xffffffff  IN type=DBIN/2 id=29976291 not expected on INL
    ist
    com.sleepycat.je.DatabaseException: (JE 3.2.44) Database relations_database14269 id=26 rootLsn=0xffffffff/
    0xffffffff  IN type=DBIN/2 id=29976291 not expected on INList
            at com.sleepycat.je.evictor.Evictor.selectIN(Evictor.java:511)
            at com.sleepycat.je.evictor.Evictor.evictBatch(Evictor.java:354)
            at com.sleepycat.je.evictor.Evictor.doEvict(Evictor.java:249)
            at com.sleepycat.je.evictor.Evictor.doCriticalEviction(Evictor.java:274)
            at com.sleepycat.je.dbi.CursorImpl.close(CursorImpl.java:684)
            at com.sleepycat.je.Cursor.close(Cursor.java:262)
            at com.sleepycat.je.Cursor.close(Cursor.java:250)
            at com.sleepycat.je.Database.putInternal(Database.java:667)
            at com.sleepycat.je.Database.put(Database.java:609)
            at com.redwerk.webcrawler.storage.url.bdbje.BDBJEStorage.saveRelations(BDBJEStorage.java:361)
            at com.redwerk.webcrawler.storage.url.bdbje.BDBJEStorage.update(BDBJEStorage.java:396)
            at com.redwerk.webcrawler.storage.url.RetryHandlingStorageDecorator.update(RetryHandlingStorageDec
    orator.java:159)
            at com.redwerk.webcrawler.storage.url.CountHandlingStorageDecorator.update(CountHandlingStorageDec
    orator.java:86)
            at com.redwerk.webcrawler.filter.record.UrlProcessedFilter._accept(UrlProcessedFilter.java:34)
            at com.redwerk.webcrawler.filter.record.ChainedFilter.accept(ChainedFilter.java:23)
            at com.redwerk.webcrawler.filter.record.ChainedFilter.accept(ChainedFilter.java:25)
            at com.redwerk.webcrawler.Crawler.addRecord(Crawler.java:731)
            at com.redwerk.webcrawler.ConsumerThread.run(ConsumerThread.java:301)
            at edu.emory.mathcs.backport.java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:44
    2)
            at edu.emory.mathcs.backport.java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
            at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:135)
            at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.
    java:990)
            at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
    .java:531)
            at java.lang.Thread.run(Thread.java:595)
    17/Oct/2007 04:49:38 ERROR [pool-97-thread-4] - com.sleepycat.je.DatabaseException: (JE 3.2.44) fetchTarge
    t of 0x1d3/0x472b30 parent IN=32738188 lastFullVersion=0x1d3/0x479cdc parent.getDirty()=true state=2 com.s
    leepycat.je.log.LogFileNotFoundException: (JE 3.2.44) 0x1d3/0x472b30 (JE 3.2.44) Couldn't open file db/000
    001d3.jdb: db/000001d3.jdb (No such file or directory)
    com.sleepycat.je.DatabaseException: (JE 3.2.44) fetchTarget of 0x1d3/0x472b30 parent IN=32738188 lastFullV
    ersion=0x1d3/0x479cdc parent.getDirty()=true state=2 com.sleepycat.je.log.LogFileNotFoundException: (JE 3.
    2.44) 0x1d3/0x472b30 (JE 3.2.44) Couldn't open file db/000001d3.jdb: db/000001d3.jdb (No such file or dire
    ctory)
            at com.sleepycat.je.tree.ChildReference.fetchTarget(ChildReference.java:143)
            at com.sleepycat.je.tree.DIN.getDupCountLN(DIN.java:147)
            at com.sleepycat.je.dbi.CursorImpl.lockDupCountLN(CursorImpl.java:2409)
            at com.sleepycat.je.tree.Tree.insertDuplicate(Tree.java:2703)
            at com.sleepycat.je.tree.Tree.insert(Tree.java:2652)
            at com.sleepycat.je.dbi.CursorImpl.putLN(CursorImpl.java:1004)
            at com.sleepycat.je.dbi.CursorImpl.put(CursorImpl.java:1027)
            at com.sleepycat.je.Cursor.putAllowPhantoms(Cursor.java:871)
            at com.sleepycat.je.Cursor.putNoNotify(Cursor.java:808)
            at com.sleepycat.je.Cursor.putInternal(Cursor.java:762)
            at com.sleepycat.je.Database.putInternal(Database.java:663)
            at com.sleepycat.je.Database.put(Database.java:609)
            at com.redwerk.webcrawler.storage.url.bdbje.BDBJEStorage.saveRelations(BDBJEStorage.java:361)
            at com.redwerk.webcrawler.storage.url.bdbje.BDBJEStorage.update(BDBJEStorage.java:396)
            at com.redwerk.webcrawler.storage.url.RetryHandlingStorageDecorator.update(RetryHandlingStorageDec
    orator.java:159)
            at com.redwerk.webcrawler.storage.url.CountHandlingStorageDecorator.update(CountHandlingStorageDec
    orator.java:86)
            at com.redwerk.webcrawler.filter.record.UrlProcessedFilter._accept(UrlProcessedFilter.java:34)
            at com.redwerk.webcrawler.filter.record.ChainedFilter.accept(ChainedFilter.java:23)
            at com.redwerk.webcrawler.filter.record.ChainedFilter.accept(ChainedFilter.java:25)
            at com.redwerk.webcrawler.filter.record.ChainedFilter.accept(ChainedFilter.java:25)
            at com.redwerk.webcrawler.Crawler.addRecord(Crawler.java:731)
            at com.redwerk.webcrawler.ConsumerThread.run(ConsumerThread.java:301)
            at edu.emory.mathcs.backport.java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:44
    2)
            at edu.emory.mathcs.backport.java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
            at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:135)
            at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.
    java:990)
            at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
    .java:531)
            at java.lang.Thread.run(Thread.java:595)
    Caused by: com.sleepycat.je.log.LogFileNotFoundException: (JE 3.2.44) 0x1d3/0x472b30 (JE 3.2.44) Couldn't
    open file db/000001d3.jdb: db/000001d3.jdb (No such file or directory)
            at com.sleepycat.je.log.LogManager.getLogSource(LogManager.java:760)
            at com.sleepycat.je.log.LogManager.getLogEntry(LogManager.java:594)
            at com.sleepycat.je.log.LogManager.get(LogManager.java:735)
            at com.sleepycat.je.tree.ChildReference.fetchTarget(ChildReference.java:135)
            ... 27 moreWe checked our code and found we are not doing any removal of JE files at this stage (we had to implement removal of JE files BEFORE thread start to avoid cases when corrupted environment causes current task to not start, probably there's a better way? However this is definitely not a cause of the error, because removal is performed before environment is created)
    The je.properties we're using is:
    je.cleaner.threads=7
    je.maxMemoryPercent=40
    je.cleaner.deadlockRetry=7
    #je.cleaner.minFileUtilization=20
    je.cleaner.readSize=1048576
    je.cleaner.lookAheadCacheSize=262144
    #je.evictor.lruOnly=false
    #je.evictor.nodesPerScan=100
    je.log.faultReadSize=102400So the question is - is this is some bug in BDB JE, or we just missed things?

    Hi Eugene,
    We recently upgraded to newer version of BDB JE, and
    failed with random, but weird issue:Were any of the log files for this environment created with an earlier version of JE? If so, what version?
    Are you using DeferredWrite? There were bugs in earlier JE releases involving DeferredWrite and database removal/truncation and duplicates. I see from the information in your post that you are using database removal/truncation and duplicates.
    We checked our code and found we are not doing any removal
    of JE files at this stage (we had to implement
    removal of JE files BEFORE thread start to avoid
    cases when corrupted environment causes current task
    to not start, probably there's a better way? However
    this is definitely not a cause of the error, because
    removal is performed before environment is created)I'm not sure I understand. Before opening an environment, if you wish to clear out all data in the environment directory and start from scratch, then the right thing to do is delete all the log files. If that's what you're doing, that's fine.
    --mark                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Premiere Elements - Error 2048 couldn't open file......Question

    Windows 8.1
    6 gigs of ram
    I get the following error when I attempt to open a created file for viewing.
    "Error- 2048: Couldn't open file.....not a file Quicktime understands.
    I am creating the file in the default NTSC 720 format. I get the same message with trying to wide screen format.
    This error seems new as it did not use to happen.
    Can someone explain how to correct this error. In researching the problem I came across:
    1. trying third party repair software (which doesn't seem to solve the problem.)
    2. that the error refers to an error with the movie rendering (as opposed to the audio.)
    Been working on this for four hours. Any help is certainly appreciated. Thanks.
    - Craig

    Craig
    What version of Premiere Elements on your Windows 8.1 (assumed 64 bit)? For now I will assume 11, 12, or 13.NT
    Please confirm that your export setting from Premiere Elements were
    Publish+Share
    Computer
    QuickTime
    with Presets = NTSC DV 16:9
    and that you did not customize the settings, just hit save to get your widescreen DV.mov export.
    That export should be fully playable with the latest version of QuickTime.
    If you confirm that QuickTime player is rejecting it with your error 2048, then uninstall and install QuickTime
    with the antivirus and firewall(s) disabled.
    a. Try to open the existing DV.mov again in QuickTime
    and
    b. Create a new DV.mov in Premiere Elements and try to open it in QuickTime.
    What are the results from a and b?
    We will be watching for your progress.
    Thank you.
    ATR

  • Error: the document could not be open. Couldn't open file. It may becorrupt

    Have a MacBook Pro/ OSX ver 10.4.11/Tiger/Use Entorage for my email which is imap and get an error everytime i open or save an attachment in my email.
    Couldn't open file. It may be corrupt or a file format that preview doesn't recognize"

    I am unable to open attachments now that I am receiving my email on an
    IMAP server. The same attachments can be opened if I email to an
    account using a POP server.

  • [SOLVED]Pacman error: could not open file /var/.../portaudio

    Anyone got any insight?
    Any pacman or AUR-helper operation I try to do results in many repititions of this error.
    [marcus@ARCH ~]$ packer -Syu
    Password:
    :: Synchronizing package databases...
    core is up to date
    extra 450.4K 401.0K/s 00:00:01 [##########################################] 100%
    error: failed retrieving file 'community.db.tar.gz' from mirrors.easynews.com#####-------------] 68%
    community 372.7K 997.9K/s 00:00:00 [##########################################] 100%
    :: Starting full system upgrade...
    error: could not open file /var/lib/pacman/sync/community/portaudio-19_20071207-2/desc: No such file or directory
    error: could not open file /var/lib/pacman/sync/community/portaudio-19_20071207-2/desc: No such file or directory
    error: could not open file /var/lib/pacman/sync/community/portaudio-19_20071207-2/desc: No such file or directory
    error: could not open file /var/lib/pacman/sync/community/portaudio-19_20071207-2/desc: No such file or directory
    error: could not open file /var/lib/pacman/sync/community/portaudio-19_20071207-2/desc: No such file or directory
    [snip many repeats of same error]
    [marcus@ARCH ~]$ packer portaudio
    0 error: could not open file /desc: could not open file /var/lib/pacman/sync/community/portaudio-19_20071207-2/desc: No such file or directory
    1 community/desc: 19_20071207-2error: could not open file /var/lib/pacman/sync/community/portaudio-19_20071207-2/desc: No such file or directory
    error: could not open file /var/lib/pacman/sync/community/portaudio-19_20071207-2/desc: No such file or directory
    2 aur/haskell-portaudio 0.0.1-2
    Haskell bindings for the PortAudio library.
    3 aur/mingw32-portaudio 19_20071207-1
    A free, cross-platform, open source, audio I/O library (mingw32)
    4 aur/portaudio-svn 1384-3
    PortAudio is a free, cross platform, open-source, audio I/O library.
    5 aur/pyaudio 0.2.3-3
    Python bindings for PortAudio, the cross-platform audio I/O library
    6 aur/portaudio_v18 pa_snapshot_v18-3
    A free, cross-platform, open source, audio I/O library
    Type numbers to install. Separate each number with a space.
    Numbers: 1
    error: could not open file /var/lib/pacman/sync/community/portaudio-19_20071207-2/depends: No such file or directory
    desc: package not found, searching for group...
    error: could not open file /var/lib/pacman/sync/community/portaudio-19_20071207-2/desc: No such file or directory
    error: 'desc:': not found in sync db
    Last edited by Skripka (2010-05-11 18:21:11)

    hokasch wrote:looks like that mirror has some problem, switch to another one for the time being
    That mirror does have a problem...but switching to a different mirror returns the same mystery local error.  PS-I haven't had portaudio installed on my system in at least 6 months, and pacman has started returning errors about it this morning
    Last edited by Skripka (2010-05-11 18:15:33)

  • [Solved] error could not open file /var/lib/pacman/sync/core.db

    I am trying to install Arch but when I type "pacstrap /mnt base base-devel"  I keep on getting this error "error could not open file /var/lib/pacman/sync/core.db unrecognized archive format".
    I have tried:
    # rm -R /var/lib/pacman/sync/
    # pacman -Syuf
    I have also tried pacman -Syy with no luck.
    What more is there to do besides installing ubuntu?
    Last edited by johane (2012-08-11 08:22:07)

    johane wrote:
    I am trying to install Arch but when I type "pacstrap /mnt base base-devel"  I keep on getting this error "error could not open file /var/lib/pacman/sync/core.db unrecognized archive format".
    I have tried:
    # rm -R /var/lib/pacman/sync/
    Pacstrap was telling you it couldn't open a file, so you just deleted the entire directory tree? Did it appear to be downloading the database files correctly before this? Did you try running pacstrap again after you deleted everything?
    And then you tried to run pacman with the -f (force) option? What happened? "no luck" doesn't tell us anything.
    What more is there to do besides installing ubuntu?
    There are many things you can do. You can give us more information about what you did and what happened. Did you follow all the steps in the Beginners Guide up to the pacstrap step? Did you get any errors or warnings before that step? Are you sure you had a working network connection? Did you interrupt the pacstrap process at any time? Did you try running it again after you deleted /var/lib/pacman/sync?
    Did you check the sha1sum of the iso you downloaded before you put it on a usb stick?
    https://wiki.archlinux.org/index.php/Be … oaded_file
    How did you put it on the usb stick?
    When you got the error, did you do
    ls /var/lib/pacman/sync
    to see what (if anything) was there?
    Last edited by 2ManyDogs (2012-08-06 23:38:27)

  • [SOLVED] error: could not open file /var/lib/pacman/local/qt-4.5.2-4/

    Hi all,
    So there I was, running pacman -Syu on all my Arch machines, and I get to my desktop PC at work, and half way through X decides to crash and kick me back to the CLI. Fair enough
    Now when I try and use pacman, I get a whole bunch of errors about a missing 'depends' directory:
    root ~ # pacman -S amarok
    resolving dependencies...
    error: could not open file /var/lib/pacman/local/qt-4.5.2-4/depends: No such file or directory
    error: could not open file /var/lib/pacman/local/qt-4.5.2-4/depends: No such file or directory
    error: could not open file /var/lib/pacman/local/qt-4.5.2-4/depends: No such file or directory
    error: could not open file /var/lib/pacman/local/qt-4.5.2-4/depends: No such file or directory
    error: could not open file /var/lib/pacman/local/qt-4.5.2-4/depends: No such file or directory
    error: could not open file /var/lib/pacman/local/qt-4.5.2-4/depends: No such file or directory
    error: could not open file /var/lib/pacman/local/qt-4.5.2-4/depends: No such file or directory
    error: could not open file /var/lib/pacman/local/qt-4.5.2-4/depends: No such file or directory
    error: could not open file /var/lib/pacman/local/qt-4.5.2-4/depends: No such file or directory
    error: could not open file /var/lib/pacman/local/qt-4.5.2-4/depends: No such file or directory
    error: could not open file /var/lib/pacman/local/qt-4.5.2-4/depends: No such file or directory
    error: could not open file /var/lib/pacman/local/qt-4.5.2-4/depends: No such file or directory
    error: could not open file /var/lib/pacman/local/qt-4.5.2-4/depends: No such file or directory
    error: could not open file /var/lib/pacman/local/qt-4.5.2-4/depends: No such file or directory
    error: could not open file /var/lib/pacman/local/qt-4.5.2-4/depends: No such file or directory
    error: could not open file /var/lib/pacman/local/qt-4.5.2-4/depends: No such file or directory
    error: could not open file /var/lib/pacman/local/qt-4.5.2-4/depends: No such file or directory
    error: could not open file /var/lib/pacman/local/qt-4.5.2-4/depends: No such file or directory
    error: could not open file /var/lib/pacman/local/qt-4.5.2-4/depends: No such file or directory
    error: could not open file /var/lib/pacman/local/qt-4.5.2-4/depends: No such file or directory
    error: could not open file /var/lib/pacman/local/qt-4.5.2-4/depends: No such file or directory
    error: could not open file /var/lib/pacman/local/qt-4.5.2-4/depends: No such file or directory
    error: could not open file /var/lib/pacman/local/qt-4.5.2-4/depends: No such file or directory
    error: could not open file /var/lib/pacman/local/qt-4.5.2-4/depends: No such file or directory
    error: could not open file /var/lib/pacman/local/qt-4.5.2-4/depends: No such file or directory
    error: could not open file /var/lib/pacman/local/qt-4.5.2-4/depends: No such file or directory
    error: could not open file /var/lib/pacman/local/qt-4.5.2-4/depends: No such file or directory
    error: could not open file /var/lib/pacman/local/qt-4.5.2-4/depends: No such file or directory
    error: could not open file /var/lib/pacman/local/qt-4.5.2-4/depends: No such file or directory
    error: could not open file /var/lib/pacman/local/qt-4.5.2-4/depends: No such file or directory
    error: could not open file /var/lib/pacman/local/qt-4.5.2-4/depends: No such file or directory
    error: could not open file /var/lib/pacman/local/qt-4.5.2-4/depends: No such file or directory
    error: could not open file /var/lib/pacman/local/qt-4.5.2-4/depends: No such file or directory
    error: could not open file /var/lib/pacman/local/qt-4.5.2-4/depends: No such file or directory
    error: could not open file /var/lib/pacman/local/qt-4.5.2-4/depends: No such file or directory
    error: could not open file /var/lib/pacman/local/qt-4.5.2-4/depends: No such file or directory
    looking for inter-conflicts...
    error: could not open file /var/lib/pacman/local/qt-4.5.2-4/depends: No such file or directory
    error: could not open file /var/lib/pacman/local/qt-4.5.2-4/depends: No such file or directory
    error: could not open file /var/lib/pacman/local/qt-4.5.2-4/depends: No such file or directory
    error: could not open file /var/lib/pacman/local/qt-4.5.2-4/depends: No such file or directory
    error: could not open file /var/lib/pacman/local/qt-4.5.2-4/depends: No such file or directory
    error: could not open file /var/lib/pacman/local/qt-4.5.2-4/depends: No such file or directory
    error: could not open file /var/lib/pacman/local/qt-4.5.2-4/depends: No such file or directory
    error: could not open file /var/lib/pacman/local/qt-4.5.2-4/depends: No such file or directory
    error: could not open file /var/lib/pacman/local/qt-4.5.2-4/depends: No such file or directory
    error: could not open file /var/lib/pacman/local/qt-4.5.2-4/depends: No such file or directory
    error: could not open file /var/lib/pacman/local/qt-4.5.2-4/depends: No such file or directory
    error: could not open file /var/lib/pacman/local/qt-4.5.2-4/depends: No such file or directory
    error: could not open file /var/lib/pacman/local/qt-4.5.2-4/depends: No such file or directory
    error: could not open file /var/lib/pacman/local/qt-4.5.2-4/depends: No such file or directory
    error: could not open file /var/lib/pacman/local/qt-4.5.2-4/depends: No such file or directory
    error: could not open file /var/lib/pacman/local/qt-4.5.2-4/depends: No such file or directory
    error: could not open file /var/lib/pacman/local/qt-4.5.2-4/depends: No such file or directory
    error: could not open file /var/lib/pacman/local/qt-4.5.2-4/depends: No such file or directory
    error: could not open file /var/lib/pacman/local/qt-4.5.2-4/depends: No such file or directory
    It still asks me to continue with installing the new package, but I'd rather get this fixed first in case it buggers it up worse
    Last edited by fukawi2 (2009-07-30 05:44:25)

    Once again my saviour Allan -- I had to -Sf it due to file already existing, but seems to be good now

  • [SOLVED] pacman error: could not open file /var/lib ...

    the actual error is
    error: could not open file /var/lib/pacman/sync/community/fonteditfs-1.2-2/desc: No such file or directory
    removing that folder fixed it. i dont know if it was a coding mistake or just my box did something stupid today :S
    any thoughts?
    Last edited by eldragon (2010-04-20 17:25:18)

    geniuz wrote:
    I don't know if this error occured during an update of right after you've invoked pacman, but in any way synchronizing pacman I think should fix the issue. This is something you might have tried before deleting the file, but then again I don't know when the error occured. If it occured immediately deleting the file would probably be the easiest solution. I would've done the same.
    If you've synchronized pacman after you've removed the file all should be well now, maybe something indeed went wrong during an update (maybe your mirror went down or something, you never know).
    yes, the error apperared right after syncing the databases. the update went as expected...

  • PDF Generation Error Message:Couldn't open File while generating PDF from a Frame (7.2 Version) book

    Hi,
    I'm trying to convert a book into PDF and I get the error message Couldn't open a file (... <filename>.fm) and the unavailable Fonts dialog box also appears. The tricky thing is I've converted the same book into PDF just a couple of days ago. Now when I tried to do it again, I get the above mentioned error message. I tried unselecting the File > Prefrences > General > Remember Missing Fonts checkbox too. However, it didn't help in generating the PDF. I will be thankful if anyone suggests a suitable workaround for this issue. Thanks in advance.

    Usually, deselecting Remember missing fonts works.
    The missing fonts message displays when you or FrameMaker opens the file. The workaround is to open all the files in the book, or at least those with the "missing" font, clearing the message for each file. Now print the book to PDF, while keeping the files open. This usually works because you have already cleared any missing fonts messages.

  • Couldn't open files

    Have reinstalled latest GB after migrating from TM after HD damage. Everytime attempt create .band voice file create attempted, get message "the file couldn't be opened", although it is created. When I try to open that or any previously created .band file in choosing "open an existing file" I get the message "(file name)" could not be opened. Any help more than appreciated.

    Same story here. Only I haven't recovered from TM, but my GB suddenly lost its ability to open files. Also it will not create a new file. I have repaired permissions (several times), and even erased GB, to install it from the Appstore again.. Still doesn't work..!
    I'm beginning to wonder if I should migrate to the Evil Empire, to get Cubase..?

  • Preview File error - couldn't open File

    I have started getting a number of error messages when I try to open some PDF files with Preview. I've received all the troublesome files by email (Mail). I get the message:
    File error. Couldn't open the file.
    I've tried repairing permissions etc., but the problem seems recurrent, affecting about 1/4 of the PDF files I receive.
    I've just tried downloading Acrobat Reader, and that can't open the files, either. However, PC users say they can open their copies.

    The only solution to corrupted files is to restore from your back up.
    Regards
    TD

  • [SOLVED] VLC Media Open File issue

    When I open VLC, then select: Media > Open File, the dialog box disappears behind the VLC main window. If I minimize the VLC main window, the Open File dialog box is there on the desktop. Then from there I can select a video file and the video will show and play on the desktop.
    This is not normal behavior for VLC. I do not see this behavior in Fedora 20 Gnome or Mageia 4 KDE, nor previously in Arch XFCE. In fact I have never seen this happen with VLC before - even when I was running Bodhi Linux with Enlightenment 17.
    I am currently using Arch Linux Enlightenment 0.18.7-1, with VLC 2.1.4-2.
    I ran into something similar once with Fedora 19 Gnome, where I had to install usermode-gtk for a password dialog box to appear. However I don't see this package available in Arch. Besides, VLC uses QT.
    Works normally:
    Mageia 4 KDE
    VLC 2.1.2
    QT4 4.8.5
    Fedora 20 Gnome
    VLC 2.1.4-1
    QT 4.8.6-2
    Any ideas on how to keep the "Open File" dialog box from being a pop-under window?
    Last edited by David Batson (2014-05-12 16:03:21)

    That was the solution.  Thanks!
    EDIT: Also, changing the Focus Policy from "Sloppy" to "Pointer" results in much better behavior IMO (at least on my conventional ThinkPad X220 laptop).
    Last edited by David Batson (2014-05-13 08:29:47)

  • [SOLVED]Long delay opening files if multiple selection in file chooser

    neok wrote:
    Hi,
    When I try to open several files in an application, (example: Gimp), by multiple selection in the 'open' filechooser, there is a long delay (about 1 sec per file) before the Gimp starts opening image files. During this delay, the disk access LED flashes continuously and iotop indicates that its jbd2 accessing (writing) on the / partition on my SSD drive. This is despite the fact that the image files are on an external USB hard disk and the Gimp would have no reason to write anything on the / partition. Even if it did, the image files are small (50-100 kb) and such a long delay would be out of place.
    The significant thing is that the delay occurs _before_ the Gimp starts opening files. It seems the delay is in the filechooser making a list of the files to be opened. Once the Gimp starts opening files, it finishes quickly.
    This sort of thing happens with other apps that can open several files by multiple selection in a filechooser.
    Any hints please? I am lost here :-(
    The delay is caused by (apparently) GTK which writes to the ~/.local/share/recently-used.xbel file, to record all the files that are opened in the multiple selction. Even so, this writing seems too slow, even when opening a large number of files (the ones that I open by multiple selection, by an app that I am working on, are about 10k each, so opening a few hundred should not take the delay I see, about 30 sec).
    Anyhow, I patched the problem eventually by chattr +i ~/.local/share/recently-used.xbel to stop the writing. But I would prefer to disable the use of this file by configurtion rather than brute force, if there is such a choice.
    Last edited by neok (2012-03-13 04:55:31)

    neok wrote:
    Hi,
    When I try to open several files in an application, (example: Gimp), by multiple selection in the 'open' filechooser, there is a long delay (about 1 sec per file) before the Gimp starts opening image files. During this delay, the disk access LED flashes continuously and iotop indicates that its jbd2 accessing (writing) on the / partition on my SSD drive. This is despite the fact that the image files are on an external USB hard disk and the Gimp would have no reason to write anything on the / partition. Even if it did, the image files are small (50-100 kb) and such a long delay would be out of place.
    The significant thing is that the delay occurs _before_ the Gimp starts opening files. It seems the delay is in the filechooser making a list of the files to be opened. Once the Gimp starts opening files, it finishes quickly.
    This sort of thing happens with other apps that can open several files by multiple selection in a filechooser.
    Any hints please? I am lost here :-(
    I re-installed and reconfigured Arch so that I now have a fresh, uptodate system. In the process, I found that this problem occurs when I run the Gimp as a normal user. If I run it under sudo, all is well. I am strggling to find out why, but no results so far (have checked file permissions where I thought there may be a problem, but no joy).
    Any hints much appreciated.

  • Scanned a doc and got message "couldn't open file because you don't have permission to view it. what should I do?

    I scanned a doc into my mac air and I got a message: file couldn't not be opened because you don't have permission to view it.  I have done this many times before and never had a problem.  What should I do?

    cashewnut12 wrote:
    Please help.   I need to get this work done.
    the problem is not solved.  I need help
    Now that you have marked your question as solved there will be little interest in it and little chance of a solution for you.
    Start a new thread, don't mark it as solved until it is.

  • Ibook G4 using iPhoto 5. Some photos in library cannot be opened.               An error -couldn't open file. it may be corrupt or a file format that preview does not recognize.  HELP!!

    I have an ibook G4 using iphoto5.  Some photos in my library cannot be opened.  It hasn't always been this way.  I have tried to click and drag to a folder in finder and when i do i get an error !Coundn't open the file. It may be corrupt or a file format that Preview doesn't recognize.  Can anyone help in solving this problem?

    The only solution to corrupted files is to restore from your back up.
    Regards
    TD

Maybe you are looking for