Solved

how can i extend freebsd logging capabilities

Posted on 2009-07-05
3
461 Views
Last Modified: 2013-11-22
hello guys,

i have a freebsd server, with multiple shell users on it, the system is mounted with nosuid/noexec, so users are not executing anything but what i want them to. now, the server keeps on crashing once in 10 15 days, and i don't know why, this  issue has spanned over 3 replaced systems, and we even changed the hardware specs, and keeps on happening.

i think it has to do something with the users, but i can't figure out what. is there any aditional logging that i could do so that i could see if maybe the users are causing the crash, like, logging the shell commands that they do, and have something that would output relevant info in case the server crashes?
0
Comment
Question by:rares_dumitrescu
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 40

Accepted Solution

by:
omarfarid earned 500 total points
ID: 24780950
see if you can enable process / user accounting / auditing on your system
0
 
LVL 2

Expert Comment

by:martino87r
ID: 24781671
Usually each service allow you to setup a different level of logging details. As far as i know, you can use the debug option in most services as well and check the very, very extensive logs.
For more details, decide what services are more likely to crash your machine and then check how to increase the logging verbosity and/or details and investigate the problem.

For example samba log details are configured in the samba.conf
log level = 1 or more

samba specific infos
http://oreilly.com/catalog/samba/chapter/book/ch09_01.html
0
 
LVL 32

Expert Comment

by:Kamran Arshad
ID: 24821632
Hi,

What application is running on these servers? What do the standard system logs say?
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In a recent article here at Experts Exchange (http://www.experts-exchange.com/articles/18880/PaperPort-14-in-Windows-10-A-First-Look.html), I discussed my nine-month sandbox testing of the Windows 10 Technical Preview, specifically with respect to r…
Security measures require Windows be logged in using Standard User login (not Administrator).  Yet, sometimes an application has to be run “As Administrator” from a Standard User login.  This paper describes how to create a shortcut icon to launch a…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question