Help!

"Dependency info is missing!"

 
  

Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> General Discussions RSS
Next:  Watchdog functionality?  
Author Message
Adrian
External


Since: Mar 04, 2007
Posts: 2



PostPosted: Sun Mar 04, 2007 12:30 am    Post subject: "Dependency info is missing!"
Archived from groups: alt>os>linux>gentoo (more info?)

After I have done update/emerge of 'debianutils' my system is severely
mulfunctioning now.

No service could be run, and after booting (or switching a runlevel) the
following message arrives:

Dependency info is missing! Please run
# /sbin/depscan.sh
to fix this.

(No to mention running 'depscan.sh' does nothing.)

Please help!

--
Adrian
Back to top
Adrian
External


Since: Mar 04, 2007
Posts: 2



PostPosted: Sun Mar 04, 2007 4:29 pm    Post subject: Re: "Dependency info is missing!" [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Adrian <adrn.TakeThisOut@virtualpoland.wp.pl> wrote in
news:Xns98E966B11B6Eadrnwppl@194.177.96.78:

> Dependency info is missing! Please run
> # /sbin/depscan.sh
> to fix this.

Please, help me! I have the whole system stranded Sad
No service could run...
Running #/sbin/depscan.sh doesn't help at all!

I have no idea what could happen and suspect 'depedency info' is not the
clue...

--
Adrian
Back to top
Unruh
External


Since: May 27, 2005
Posts: 2213



PostPosted: Sun Mar 04, 2007 6:19 pm    Post subject: Re: "Dependency info is missing!" [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Adrian <adrn RemoveThis @virtualpoland.wp.pl> writes:

>Adrian <adrn RemoveThis @virtualpoland.wp.pl> wrote in
>news:Xns98E966B11B6Eadrnwppl@194.177.96.78:

>> Dependency info is missing! Please run
>> # /sbin/depscan.sh
>> to fix this.
>
>Please, help me! I have the whole system stranded Sad
>No service could run...
>Running #/sbin/depscan.sh doesn't help at all!

>I have no idea what could happen and suspect 'depedency info' is not the
>clue...

Please reread that post and try to figure out how anyone else could figure
out what you are talking about.
Back to top
Arthur Hagen
External


Since: May 30, 2004
Posts: 45



PostPosted: Sun Mar 04, 2007 9:11 pm    Post subject: Re: "Dependency info is missing!" [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Mon, 2007-03-05 at 00:52 +0100, Michael Mauch wrote:
>
> I had the same problem today, but I believe that the cause was a kernel
> panic (and the tendency of XFS to write '\0' bytes into files in case of
> a crash).

Malapropos the original problem, but XFS does that deliberately, for
security reasons. The file system can't know whether a file that was
being written to was a temporary file containing sensitive information,
so it overwrites the original data and zeroes it out (IIRC, first with
0xAA (10101010 pattern), then 0x55 (01010101 pattern) and finally 0x00).

These days, it's less common to get zeroed out files after a crash,
unless you have mounted xfs partitions with "nobarrier" option, as
"barrier" is the default on kernel 2.6.18(?) or newer. With "barrier"
in effect, the journal data is always flushed when the metadata is,
meaning the files are more often OK, at the price of a (sometimes
severe) speed penalty. Due to this speed penalty, I recommend
mounting /var/tmp, /var/cache and similar file systems with "nobarrier"
for speed, but make sure that root is mounted with barriers enabled.

And, for dog's sake, if using any journalling file system, put "sync"
in /etc/conf.d/local.stop, as the 1 second delay after the final sync
that the system does isn't always enough to flush a full set of buffers
(unless you turn of the HD write cache).

Regards,
--
*Art
Back to top
Arthur Hagen
External


Since: May 30, 2004
Posts: 45



PostPosted: Sun Mar 04, 2007 9:16 pm    Post subject: Re: "Dependency info is missing!" [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Mon, 2007-03-05 at 01:28 +0100, J.O. Aho wrote:
> Michael Mauch wrote:
>
> > I had the same problem today, but I believe that the cause was a kernel
> > panic (and the tendency of XFS to write '\0' bytes into files in case of
> > a crash).
>
> Have you disabled write ahead?
> SGi writes in their on-line documentation that if you have write ahead enabled
> on the hard drives you will have the risk of corrupting files.

Old docs. These days, the barrier mount option fixes most of that
problem. You might want to turn off write caching during shutdown,
though. But only if either (a) your HDs default to write caching
enabled without remembering the previous settings, or (b) all the OSes
you use can turn it back on during startup. So if you have a fairly
recent HD and dual-boot with Windows, that's a "no".

Regards,
--
*Art
Back to top
Michael Mauch
External


Since: May 21, 2004
Posts: 45



PostPosted: Mon Mar 05, 2007 12:52 am    Post subject: Re: "Dependency info is missing!" [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Adrian wrote:
> Adrian <adrn.DeleteThis@virtualpoland.wp.pl> wrote in
> news:Xns98E966B11B6Eadrnwppl@194.177.96.78:
>
>> Dependency info is missing! Please run
>> # /sbin/depscan.sh
>> to fix this.
>
> Please, help me! I have the whole system stranded Sad
> No service could run...
> Running #/sbin/depscan.sh doesn't help at all!
>
> I have no idea what could happen and suspect 'depedency info' is not the
> clue...

I had the same problem today, but I believe that the cause was a kernel
panic (and the tendency of XFS to write '\0' bytes into files in case of
a crash).

Here I could fix it by removing /var/lib/init.d/depcache and
/var/lib/init.d/deptree, both of which showed only "^@^@^@..." when I
looked into them with "less". Running depscan.sh afterwards recreated
these files.

Regards...
Michael
Back to top
J.O. Aho
External


Since: Mar 26, 2004
Posts: 2216



PostPosted: Mon Mar 05, 2007 1:28 am    Post subject: Re: "Dependency info is missing!" [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Michael Mauch wrote:

> I had the same problem today, but I believe that the cause was a kernel
> panic (and the tendency of XFS to write '\0' bytes into files in case of
> a crash).

Have you disabled write ahead?
SGi writes in their on-line documentation that if you have write ahead enabled
on the hard drives you will have the risk of corrupting files.




--

//Aho
Back to top
Michael Mauch
External


Since: May 21, 2004
Posts: 45



PostPosted: Mon Mar 05, 2007 6:09 pm    Post subject: Re: "Dependency info is missing!" [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Arthur Hagen wrote:

> These days, it's less common to get zeroed out files after a crash,
> unless you have mounted xfs partitions with "nobarrier" option, as
> "barrier" is the default on kernel 2.6.18(?) or newer. With "barrier"
> in effect, the journal data is always flushed when the metadata is,
> meaning the files are more often OK, at the price of a (sometimes
> severe) speed penalty. Due to this speed penalty, I recommend
> mounting /var/tmp, /var/cache and similar file systems with "nobarrier"
> for speed, but make sure that root is mounted with barriers enabled.

Oh, you're my hero! I just remounted my video partition "nobarrier", and
now it's really a lot faster. Especially with large writes, i.e. cutting
a video, the system is a lot more responsive now. I always wondered why
the system got so slow in these situations, for a few months now.

I'll move /var/tmp etc. to a different partition with nobarrier as soon
as I get my other disk back from repair. Extracting large .bz2 files
(e.g. kernel sources) also makes the system slow down at the moment.

> And, for dog's sake, if using any journalling file system, put "sync"
> in /etc/conf.d/local.stop, as the 1 second delay after the final sync
> that the system does isn't always enough to flush a full set of buffers
> (unless you turn of the HD write cache).

"sync" in local.stop sounds like a good idea, too.

Thanks...
Michael
Back to top
lubo777



Joined: Jun 27, 2008
Posts: 1



PostPosted: Fri Jun 27, 2008 1:31 am    Post subject: Re: [Login to view extended thread Info.]

Michael Mauch wrote:
Adrian wrote:

...

Here I could fix it by removing /var/lib/init.d/depcache and
/var/lib/init.d/deptree, both of which showed only "^@^@^@..." when I
looked into them with "less". Running depscan.sh afterwards recreated
these files.

Regards...
Michael


yes, I fixed the problem the same way following the info here.
My /var/lib/init.d/deptree was zero size, because of that depscan.sh wasn't fixing it.
I deleted /var/lib/init.d/deptree, run depscan.sh --debug and everything was OK. Smile
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> General Discussions All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum