search for: updatedb

Displaying 20 results from an estimated 149 matches for "updatedb".

Did you mean: updated
2012 Aug 28
1
updatedb taking too long
Hi list For some reason mlocate is taking a long time when I run the updatedb command. Have a look! [root at beta:~] #time updatedb real 19m48.729s user 0m0.400s sys 0m2.728s It's not a big volume by any means [root at beta:~] #df -h Filesystem Size Used Avail Use% Mounted on /dev/xvda1 75G 9.1G 63G 13% / So I'm wondering wha...
1997 Oct 06
0
KSR[T] Advisory #3: updatedb / crontabs
...KSR[T] Advisory #003 Date: Aug 05, 1997 ID #: lin-cron-003 Operating System(s): Redhat linux 4.1, SuSE Linux 5.0, Slackware 3.3 Affected Program: updatedb / crontabs Problem Description: There are numerous problems in the default root crontabs for several flavors of UNIX. This advisory will contain a brief description of several vulnerabilities that we have discovered....
2020 Mar 02
2
mlocate-updatedb.timer not working?
I set this computer up with Centos 8 a few days ago. "systemctl status mlocate-updatedb.timer" says "Active (waiting)". But the mlocate database hasn't been updated since the last time I ran updatedb manually. # ls -l /var/lib/mlocate/* -rw-r-----. 1 root slocate 22944208 Feb 29 10:30 /var/lib/mlocate/mlocate.db What have I missed? -- MELVILLE THEATRE ~ Real D...
2001 Sep 20
1
fstype=auto breaks updatedb
It turns out that if you specify filesystem type `auto' in /etc/fstab, updatedb (the thing which updates your `locate' database) ceases to work. Here's the contents of my /etc/updatedb.conf: PRUNEFS="devpts NFS nfs afs proc smbfs autofs auto iso9660" PRUNEPATHS="/tmp /usr/tmp /var/tmp /afs /net" export PRUNEFS export PRUNEPATHS deleting the `au...
2015 Apr 03
1
mlocate/updatedb and btrfs subvolume mounts
I've just noticed that I'm having issues with finding files using "locate" when those files are on btrfs subvolume mounts. The issue is that updatedb cannot discern the difference between a btrfs bind mount and btrfs subvolume [1]. This generally means that if you're using btrfs subvolume mounts and updatedb at the same time, and you want to index those subvolumes, you'll need to set PRUNE_BIND_MOUNTS to 0 or "no". And then dea...
1998 Mar 01
0
overwrite any file with updatedb
[Mod: Headers modified -- alex] If this is already known, my apologies. It seemed very strange that this worked, so I thought it would be mentionable. On many linux systems(Redhat imparticularly) updatedb is run nightly around 1:00. When it sorts the files that find gets, it creats a few files in /tmp called sort0<pid>000{1,2,etc}. Each is around 512k. The first file is created and filled, then if necassary, another is created and so on until it has your whole filesystem into a nice database....
2020 Mar 04
0
mlocate-updatedb.timer not working?
On Mon, 2 Mar 2020 09:16:16 -0600 Frank Cox wrote: > I set this computer up with Centos 8 a few days ago. > > "systemctl status mlocate-updatedb.timer" says "Active (waiting)". > > But the mlocate database hasn't been updated since the last time I ran > updatedb manually. Just to follow this up, the mlocate database update started working automatically again by magic. I didn't change anything but it's...
2009 Jun 30
0
GlusterFS slowness due to updatedb cron job
We have seen at a number of deployments, users experiencing slowness of GlusterFS over a period of time (as the volume usage grows). Some times it happens once in a day. This is due to updatedb cron job script that wakes up once in a day to index all the files it can find. It is configured by default to ignore network file systems such as NFS and lustre. Please add fuse.glusterfs to the list. Edit /etc/updatedb.conf: PRUNEFS="fuse.glusterfs NFS nfs nfs4 rpc_pipefs afs binfmt_misc pr...
2007 Dec 03
3
exec when missing a file but service installed.
...le created by that service needs to be created, but is done by the service/program itself. One of these is the slocate databases so I require a manifest that does the following: Check that slocate is installed Check if the slocate db exists (/var/lib/slocate/slocatedb) And if not run ''updatedb'' Else Do nothing. I did come up with the following but it does not work. File { "/var/lib/slocate/slocate.db": requires => Package["slocate"], notify => Exec[/usr/bin/updatedb"] } Can anyone point me in the right direction. Guy _______________...
2002 Jul 22
1
killing "uninterruptible sleep" process
Hi I logged in to one of my servers today and noticed that the load average is very high. After investigating the problem I found two processes in "D" stat ("uninterruptible sleep"): root 24344 0.0 0.2 1532 584 ? DN Jul21 0:01 /usr/bin/updatedb -f NFS,SMBFS,NCPFS,PROC,DEVPTS -e /tmp,/var/tmp,/usr/tmp,/afs,/net root 25899 0.0 0.2 1532 584 ? DN 06:26 0:01 /usr/bin/updatedb -f NFS,SMBFS,NCPFS,PROC,DEVPTS -e /tmp,/var/tmp,/usr/tmp,/afs,/net Their parent - pid 1532 is already dead. My guess is that SMB share that I had mo...
2014 Dec 09
5
get /full/path/filename.ext from filename.ext
This should be simple, but it's not, unless I'm forgetting something. Writing a script, an arg is a filename. So fname=$1 But I want that expanded to include the full path and filename, not just what is given as the arg on the command line. E.g., if the user's cwd is /home/joe/a/b/c/ and he specifies ../x/file-a.ext then the function/utility should transform that into the
2009 Jul 27
3
I/O load distribution
Hi, What is the best way to deal with I/O load when running several VMs on a physical machine with local or remote storage? What I'm primarily worried about is the case when several VMs cause disk I/O at the same time. One example would be the "updatedb" cronjob of the mlocate package. If you have say 5 VMs running on a physical System with a local software raid-1 as storage and the all run updatedb at the same time that causes all of them to run really slowly because the starve each other fighting over the disk. What is the best way to...
2012 Mar 23
10
Where are the programs installed?
This is my question. I want to install some mods to my games, but the program files folder in wine looks empty (only IE) Where are the game folders?? Thanks.
2006 Aug 30
2
CentOS-4.4 update: don't forget those rpmsave and rpmnew files folks!
After you do your update, done forget to do updatedb, makewhatis, ... The locate for rpmnew has a couple items of interest and the locate for rpmsave returns one that occupies 24MB of your precious disks - /var/lib/Pegasus/prev-repository*. It compresses nicely to appx. 1MB, cpio bzipped --best. Change in your rndc key too, for DNS.
2006 Apr 16
1
[Fwd: Re: voicemail email-from]
...gt;>>> >>>> Check the vm_general.inc file >>>> >>>> >>> Where should this file be? >>> >>> >>> bye >>> >>> Ronald Wiplinger >>> >>> >> You could probably find it using "updatedb" and then "slocate" or >> "locate" or Google the wiki will almost definitely give you the >> location. > > Short, you do not know it, .... > > > bye > > Ronald Wiplinger Short= I like to help. Give a man a fish and he will eat for a day....
2007 Sep 20
5
Disk De-Fraging in Linux
A couple of questions. Are there any linux tools that can de-frag an ext2/3 partition? Are there any advantages to doing so if you're running hardware RAID5? Are there advantages / disadvantages if you're running LVM? === Al
2003 Jun 08
2
Periodic scripts
Why there is a weekly script that rebuilds the locate database when: >>> WARNING >>> Executing updatedb as root. This WILL reveal all filenames >>> on your machine to all login users, which is a security risk. Is there a way to put dates on the periodic scripts report output for those who redirect the reports to files instead of mail messages? There is no easy way to tell what date a r...
2010 Jul 22
1
Updating a Data Frame
...ns of this data-frame by calling in an update function. The function looks like this: # get events data. This populates a global event data frame in the R-script events <- getEvents(con, eventsFilePath) # events has columns eventid, timeStamp, isSynchronized, timeDiff; with millions of rows updateDB <- function(eventid, newTimeStamp, oldTimeStamp){ timeDiff <- newTimeStamp - oldTimeStamp #Update the events Data Frame events[events$eventid == eventid, "timestamp"] <<- newTimeStamp events[events$eventid == eventid, "isSynchronized"] <<- 1 events[events$e...
2019 Oct 17
4
Offline logon and NSS...
...AM_Offline_Authentication and smb.conf manpage, it is clear that 'offline logon' is a pam/authentication only, does not involve NSS. Considering a 'full offline' DM client (supposing a portable), there's a 'winbind permanent nss cache' or a general nss cache (like nss-updatedb): https://wiki.debian.org/LDAP/NSS#Offline_caching_of_NSS_with_nscd have to be used? Thanks. -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia'' http://www.lanostrafamiglia.it/ Polo FVG - Via della Bont?, 7 - 33078 - San Vito...
2002 Jan 06
3
puzzling error message
Hi RedHat 7.2, ext3 on /, kernel 2.4.18p1. whilst updatedb was running, i had these messages appear... Jan 6 22:18:42 jaguar kernel: EXT3-fs error (device ide0(3,3)): ext3_readdir: bad entry in directory #147553: rec_len %% 4 != 0 - offset=0, inode=1651076143, rec_len=19527, name_len=85 Jan 6 22:18:42 jaguar kernel: EXT3-fs error (device ide0(3,3)):...