We see the following errors and the bro & ossec services are not coming UP. Could you please help us in the same regard. Thanks in advance.
service nsm status
/usr/lib/nsmnow/lib-nsm-sensor-utils: line 167: /tmp/awk.conf: Read-only file sy stem
awk: fatal: can't open source file `/tmp/awk.conf' for reading (No such file or directory)
Status: HIDS
* ossec_agent (sguil) [ FAIL ]
Status: Bro
Failed to set capabilities on file `/opt/bro/bin/bro' (Read-only file system)
Failed to set capabilities on file `/opt/bro/bin/capstats' (Read-only file syste m)
Regards,
Harish
Harish,
What is the output of the following:
df -h
Also, please provide the output of sostat-redacted, attaching as a plain text file, or using a service like Pastebin.com
Thanks,
Wes
Hello Wes,
Here is the output of df -h:
xxxx@XXXXXX1:~$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda7 46G 12G 33G 26% /
udev 7.9G 4.0K 7.9G 1% /dev
tmpfs 1.6G 780K 1.6G 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 7.9G 0 7.9G 0% /run/shm
/dev/sdb8 1.8T 1.5T 158G 91% /nsm
/dev/sda5 9.1G 21M 8.6G 1% /bootalt
/dev/sda1 9.1G 663M 8.0G 8% /boot
sostat-redacted: The command stuck at this point
xxxxx@xxxxx:~$ sudo sostat-redacted
mktemp: failed to create file via template `/tmp/tmp.XXXXXXXXXX': Read-only file system
/usr/bin/sostat: line 91: $TMP: ambiguous redirect
Regards,
Harish
--
Follow Security Onion on Twitter!
https://twitter.com/securityonion
---
You received this message because you are subscribed to the Google Groups "security-onion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to security-onion+unsubscribe@googlegroups.com.
To post to this group, send email to security-onion@googlegroups.com.
Visit this group at https://groups.google.com/group/security-onion.
For more options, visit https://groups.google.com/d/optout.
Hello Marco,
Here is the output of 'mount':
XXXX@XXXXXXX:~$ mount
/dev/sda7 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
/dev/sdb8 on /nsm type ext4 (rw)
/dev/sda5 on /bootalt type ext4 (rw)
/dev/sda1 on /boot type ext4 (rw)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
mount: warning: /etc/mtab is not writable (e.g. read-only filesystem).
It's possible that information reported by mount(8) is not
up to date. For actual information about system mount points
check the /proc/mounts file.
You could check your /var/log/messages or dmesg for any disk failure entries or try to remount the partition as read-write with 'mount -o remount,rw /'
cat /proc/mounts|sort|awk '{print $1 "\011" toupper(substr($4,0,2))}'
Hi Dough,
Couldn't find source, where exactly to run the full hardware diagnostics on the device,
Ran fsck, by interrupting the boot loader to check if it fixes the ro mount issue, but couldn't see any success in it.
Apologies for delay in response, as server is in remote location, it takes some time to coordinate with onsite.
Regards,
Satya.
Satya,
Hardware diagnostics would be something specific to the vendor by which your hardware was manufactured.
Is there any useful output in dmseg?
What was the output from fsck?
Thanks,
Wes
> > > >> To unsubscribe from this group and stop receiving emails from it, send an email to security-onion+unsubscribe@googlegroups.com.
> > > >> To post to this group, send email to security-onion@googlegroups.com.
> > > >> Visit this group at https://groups.google.com/group/security-onion.
> > > >> For more options, visit https://groups.google.com/d/optout.
> > > >
> > > >
> > > >
> > > > --
> > > > Doug Burks
> > >
> > >
> > >
> > > --
> > > Doug Burks
> >
> > Hi Dough,
> >
> > Couldn't find source, where exactly to run the full hardware diagnostics on the device,
> > Ran fsck, by interrupting the boot loader to check if it fixes the ro mount issue, but couldn't see any success in it.
> >
> > Apologies for delay in response, as server is in remote location, it takes some time to coordinate with onsite.
> >
> > Regards,
> > Satya.
>
> Satya,
>
> Hardware diagnostics would be something specific to the vendor by which your hardware was manufactured.
>
> Is there any useful output in dmseg?
>
> What was the output from fsck?
>
> Thanks,
> Wes
Hi Wes,
PFA dmseg log,
Couldn't see any difference after running fsck, And when asked my onsite coordinator, i was informed there wasn't any error.
Regards,
Satya.
--
Follow Security Onion on Twitter!
https://twitter.com/securityonion
---
You received this message because you are subscribed to the Google Groups "security-onion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to security-onion+unsubscribe@googlegroups.com.
To post to this group, send email to security-onion@googlegroups.com.