Ubuntu :: Updatedb Not Working \ Cannot Open A Temporary File?
Mar 20, 2011
On fedora system I do a updatedb command and thereafter a simple locate to look for files and softwares. But on my ubuntu 10.10 install, when I do a updatedb, I get Quote:nishith@nishith-Aspire-4720:~$ updatedbupdatedb: can not open a temporary file for `/var/lib/mlocate/mlocate.db'Also locate doesnot do anything, just gives back the shell prompt! what could be the issue here? BTW my install is on a usb 8 gb stick
View 2 Replies
ADVERTISEMENT
Feb 1, 2010
when I opened /etc/updatedb.conf it says there in the file that one should make ones own updatedb.local. But how, exactly? Presumably I create /etc/updatedb.local but what do I put into that? With all those $-signs I'm pretty much lost. Could anyone post his/her example of a PRUNE_FS statement or point me to some reference where I can read up on this
View 10 Replies
View Related
Nov 21, 2010
where is the folder with the temporary file kept?
View 1 Replies
View Related
Aug 3, 2011
i was copying a large file through scp (in root account), suddenly had to turn off remote machine. i suspect the unfinshid file is somewhere in my system , i need to find and delete it
Code:
Filesystem Size Used Avail Use% Mounted on
rootfs 13G 12G 966M 93% /
[code]...
View 1 Replies
View Related
Jan 7, 2010
I get the error message in the subject line, followed by a red failed message.
However, once the system is finished booting, I can log in and
Code:
sudo /etc/init.d/apparmor start
and it starts normally.
View 7 Replies
View Related
Jan 5, 2015
My printer has stopped working.
1. I am unsure if any system changes have occured. I am sure I must have changed something, but apparently did not document it.
2. Printer does work from other computers
3 Computer was originally wireless connected, but switched to USB. This had no affect. Well I can scan now so great.
4, Printer is HP 6500a.
5. Printer has worked from this computer before
6 This is from cups error log:
D [05/Jan/2015:11:47:48 -0500] [Job 147] Set job-printer-state-message to "Can't copy stdin to temporary file", current level=ERROR
D [05/Jan/2015:11:47:48 -0500] [Job 147] prnt/hpcups/HPCupsFilter.cpp 536: cupsRasterOpen failed, fd = 0
View 7 Replies
View Related
Feb 8, 2011
I opened a text file and read some stuff. Then I (think) I closed it. Then I tried to open another one and it stopped working. It seemed to compile fine though. Why would this be?
Code:
#include <iostream>// Libraries included
#include <string>
#include <fstream>
#include <sstream>
#include <list>
[Code]....
View 3 Replies
View Related
May 23, 2010
Can "locate" or "updatedb" be set to print file names with white space properly escaped? For example, I want it to print, "/home/USER/My Files" and not, "/home/USER/My Files". I've googled around, read the man pages, checked the forum, and I'm still stuck.
View 2 Replies
View Related
May 17, 2010
I have a WebDav (davfs2) mounted in /home/myuser/mydavmountI would like to prevent updatedb from indexing the content of the mounted drive. I tried editing /etc/updatedb.conf and setting the following:
Code:
PRUNEPATHS="/tmp /var/spool /media /home/myuser/mydavmount"
also tried these:
[code]...
View 2 Replies
View Related
Jul 10, 2011
I want to use updatedb to index an external hard disk drive. I mount the drive under /media/external and removed '/media' from the PRUNEPATHS in /etc/updatedb.conf file.This works and I can search for files when the drive is not connected using slocate. However it takes sometime to index the drive and I do not want updatedb to run on its own (if it ran while external is disconnected well...) and seeing as the box in question is on 24/7 if it should run by itself it will most certainly ruin the slocate db.I was thinking of plugging the drive in and running updatedb again, once completed will this work
Code:
# slocate '/media/external' > ext_file_list
and then to find a file even when external is disconnected
[code]...
View 3 Replies
View Related
Mar 21, 2009
I have been trying to find a solution for my problem but I can't find it.
Does anyone know how I can add my external HD (USB 400GB) to the "updatedb" so I can find files in my hard drive? code...
View 5 Replies
View Related
Jul 5, 2010
I recently installed 10.04, in the process of installing MythTV... I'm looking for installed files and find bash no longer finds updatedb or locate commands. I did change /etc/hosts and /etc/hostname to change the name of the box. Could this have hosed those commands? I tried them as root... sudo -i, same result...
View 6 Replies
View Related
Feb 16, 2010
If I want to use the locate command on a Linux machine, I usually run sudo updatedb first to update the database. I can run the locate command on OS X 10.5 but I can't find updatedb. What's the corresponding updatedb for the mac?
View 2 Replies
View Related
Aug 26, 2010
kernel 2.6.21.5, GNU (Slackware 12.0).updatedb: Secure Locate 3.1 - Released March 7, 2006.
Cdrecord-ProDVD-Clone 2.01.01a23.Some script in my system runs updatedb (in the background) on a periodic basis. I am wondering what would happen if it runs while I am burning a CD/DVD, a thing I usually do with cdrecord. Cannot this cause a buffer underrun
View 2 Replies
View Related
Jan 21, 2010
I would like an NFS drive to be added to the drives that are updated by updatedb. Here is my update.conf (default values):
Code:
PRUNE_BIND_MOUNTS = "yes"
PRUNEFS = "auto afs gfs gfs2 iso9660 sfs udf"
PRUNENAMES = ".hg .svn"
PRUNEPATHS = "/afs /net /sfs /tmp /udev /var/spool/cups /var/spool/squid /var/tmp"
As far as I can see, there is no option explicitly excluding NFS drives. Neither, as far as my perusal of man updateddb.conf is there any way to telling updatedb to include a given path, only exclude one.getting it to include a path on an NFS drive?
View 1 Replies
View Related
May 22, 2010
I used to be able to run locate and updatedb, but after an OpenSUSE update, they no longer work. I've reinstalled findutils and it appears to install correctly, but the commands still don't work.
server:/tmp # rpm -Uvh --force findutils-4.2.28-24.i586.rpm
Preparing... ########################################### [100%]
1:findutils ########################################### [100%]
[code]...
View 3 Replies
View Related
May 31, 2011
Kernel 2.6.21.5, Slackware 12.0
Code:
bash-3.1$ cat /etc/cron.daily/slocate
#!/bin/sh
[code]...
View 10 Replies
View Related
Apr 16, 2010
I've used updatedb to catalog a remote XP drive as follows:
Code:
sudo mkdir /mnt/xpcdrive
sudo mount //winxp/c$ /mnt/xpcdrive -o username=administrator,password=mypassword
[code]...
View 2 Replies
View Related
Mar 8, 2010
I am trying to install the locate and the updatedb command as they were not intially installed during the desktop installation of linux. How do I do this
View 1 Replies
View Related
Mar 17, 2009
I have a MS Access database I would love to able to use in OOo. How do I do it
View 2 Replies
View Related
Feb 15, 2010
there are number of threads floating on installation of ns2..however i am unable to get it on my 64 bit system ns: error while loading shared libraries: libotcl.so: cannot open shared object file: No such file or directory
View 1 Replies
View Related
Jun 2, 2010
I downloaded the demo of Penumbra Overture, it is a .sh file (113Mb). I can't open the file. In a terminal I ran chmod +x PenumbraOvertureDemo-2553.sh and then sudo ./PenumbraOvertureDemo-2553.sh and I get an error "./PenumbraOvertureDemo-2553.sh: 2: Syntax error: "(" unexpected" . The quotation marks are my own. Is the file corrupted? One of my lugmates thinks it might be a shar file, but Karmic says that it is a shell script. Another friend says that it is too large to be a shell script. Here is the code:
john@john-laptop:~$ cd /home/john/00
john@john-laptop:~/00$ chmod +x PenumbraOvertureDemo-2553.sh
john@john-laptop:~/00$ sudo ./PenumbraOvertureDemo-2553.sh
[code]....
View 4 Replies
View Related
Jul 27, 2010
When running the beta of blender 2.5, I get the following error. blender: error while loading shared libraries: libpython2.5.so.1.0: cannot open shared object file: No such file or directory In previous versions of ubuntu you could 'apt-get install python2.5' to resolve the issue, but it doesn't appear in any/all of the repositories. where I can get python2.5 for lucid-lynx?
View 1 Replies
View Related
Aug 8, 2010
I was looking to download "America's Army" and was doing alright until I hit a slight snag, It had an error while loading libgtk1.2, so I scoured the Internet for a way to fix this and the find command I found just told me it couldn't find the package, this is the first error I got when I tried to uncompress the "America's Army" version I downloaded:
/home/zac/.setup3597: error while loading shared libraries: libgtk-1.2.so.0: can not open shared object file: No such file or directory.
View 1 Replies
View Related
Aug 24, 2010
When i open any .pps file with OO.org (impress), it starts a slideshow and it doesn't let me edit the file. If i click on "end slideshow", the program exits.i ran it in a terminal and there's no error messages.[EDITED]Well, i found the answer, just renaming it to ".ppt".
View 2 Replies
View Related
Dec 22, 2010
I followed [URL] that thread for installing BitPim on 10.04, but am getting this error:
Quote:
Traceback (most recent call last):
File "/opt/cx_Freeze-3.0.3/initscripts/ConsoleSetLibPath.py", line 35, in <module>
File "src/bp.py", line 20, in <module>
File "src/bp_cli.py", line 21, in <module>
[code]....
View 1 Replies
View Related
May 11, 2010
I've got a problem with running a program called Synapse in ubuntu 10.04.
When i run "runSynapse.sh" script nothing happens. Then i tried running it from terminal with sudo command and this is what i got:
Code:
error while loading shared libraries: libalter.so.1: cannot open shared object file: No such file or directory
I checked the synapse directory but libalter.so.1 was there.
View 1 Replies
View Related
Sep 6, 2010
Whenever I try to install a game thats in a .run file format, I get the following error. libgtk-1.2.so.0: cannot open shared object file: No such file or directory
I am trying to install Unreal Tournament.
View 4 Replies
View Related
Jan 6, 2010
my squid show like this when i try create swap directory
[Code]....
View 2 Replies
View Related
Oct 31, 2010
After upgrading from 10.4 to 10.10, the Ubuntu Software Center refused to start, and I got an icon in the notification area saying that "a problem occurred when checking for the updates." When I run software-center in the terminal, I get this error message:
Code:
Traceback (most recent call last):
File "/usr/bin/software-center", line 88, in <module>
from softwarecenter.app import SoftwareCenterApp
File "/usr/share/software-center/softwarecenter/app.py", line 32, in <module>
[code]...
I've tried re-installing apt and all related packages, even dpkg, and even downloaded the apt package directly from the ubuntu web site, but no matter what I do, I can't run these things. Aptitude and apt-get seem to work fine.
View 7 Replies
View Related