Solved System crashes when modifying net/wireshark

D

Deleted member 65433

Guest
So, I was trying to install net/wireshark when there was a power outage.
I tried to resume the installation with make clean distclean install it said it was already installed so did make reinstall this is when it crashed. Upon boot up I checked /var/crash/core.txt.0 & this line caught my eye
Code:
   7 panic: ufs_dirbad: /: bad dir ino 40941487 at offset 13312: mangled entry

And so I did:
# ls /usr/local/bin/wireshark
ls: /usr/local/bin/wireshark: No such file or directory


This doesn't affect other packages and or ports.
 
Looks like your filesystem got mangled when the power went out. Boot to single user mode and run fsck(8) to fix the filesystem. Then see if you can reinstall wireshark.
 
What didn't work with # fsck /? It looks like a problem in your file system, you need to solve that first.
ok.. it didn't apply what did found so in the end I did:
# fsck -fy /
something I should have done sooner
 
Back
Top