Solved

how can i extend freebsd logging capabilities

Posted on 2009-07-05
3
457 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
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Many of us in IT utilize a combination of roaming profiles and folder redirection to ensure user information carries over from one workstation to another; in my environment, it was to enable virtualization without needing a separate desktop for each…
Our Group Policy work started with Small Business Server in 2000. Microsoft gave us an excellent OU and GPO model in subsequent SBS editions that utilized WMI filters, OU linking, and VBS scripts. These are some of experiences plus our spending a lo…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

861 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

Need Help in Real-Time?

Connect with top rated Experts

28 Experts available now in Live!

Get 1:1 Help Now