[wellylug] messages file - was: traffic accounting]

Cliff Pratt enkidu at cliffp.com
Sat Jan 13 14:56:13 NZDT 2007


William Hamilton wrote:
>>>
>>> BTW Cliff your package from your website was not able to be found.
>>>
>> OK I can probably find it if you wish, but much of the guts is in the 
>> article.
> No worries..  I just thought I would mention it.
>
Hi William, having looked at the files etc, it is significantly 
different to what I have now. I'll have to rewrite it. However, as I 
said, the guts is in the page.
 >
> I have got the machine going almost properly now it seemed to have 
> bounced quite a fw time and I wonder if that corrupted some files..  I 
> have suggested a few times that a UPS would be nice.. this may drive the 
> decision :)
> 
> I am getting the following error now when trying to install snort... 
> looking to tighten the box a bit..
> 
> williamh at spherical:~$ sudo apt-get install snort
> Reading Package Lists... Done
> Building Dependency Tree... Done
> The following NEW packages will be installed:
>   snort
> 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
> Need to get 0B/398kB of archives.
> After unpacking 893kB of additional disk space will be used.
> Preconfiguring packages ...
> (Reading database ... 27932 files and directories currently installed.)
> Unpacking snort (from .../snort_2.3.2-3_i386.deb) ...
> usermod: cannot open shadow password file
> dpkg: error processing /var/cache/apt/archives/snort_2.3.2-3_i386.deb 
> (--unpack):
>  subprocess pre-installation script returned error exit status 1
> Errors were encountered while processing:
>  /var/cache/apt/archives/snort_2.3.2-3_i386.deb
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> 
> Rights and ownership look ok to me.
> williamh at spherical:~$ ls -lh /etc/shadow
> -rw-r-----  1 root shadow 777 2006-12-19 15:58 /etc/shadow
> 
Did you get anywhere with this? Looks like it is trying to create a user 
(snort?) in one of the scripts. See the 'usermod' line. It also has a 
problem in the 'dpkg --unpack'. Weird!

If you create a user with 'usermod' under 'sudo' does it give you any 
clues? Can you 'sudo cat /etc/shadow'.

Can you do a package list from the command line : 'sudo dpkg -l'?

Justa wild guess, do you have enough space on the drive?

Cheers,

Cliff

Cheers,

Cliff




More information about the wellylug mailing list