DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 19th June 2008
jaymax jaymax is offline
Port Guard
 
Join Date: Jun 2008
Posts: 16
Thanked 0 Times in 0 Posts
Default SYSLOG disappearance

Hello,

It seems as if I have unknowingly lost my syslog at /var/adm/SYSLOG, it could have occurred sometime ago after my upgrade to O/S 6.0.

Looking at /etc/syslog.conf I couldn't find any corrective action to take.

Tried running from the command line
machine 1744% ls /var/adm/
ls: /var/adm/: No such file or directory
machine 1745% /usr/sbin/syslogd
syslogd: child pid 99237 exited with return code 1
machine 1746% ps -waux | grep SYSLOG
Could someone say what could have caused this and if it is indicative of some pending problem?

Thanks!
Reply With Quote
  #2   (View Single Post)  
Old 19th June 2008
anomie's Avatar
anomie anomie is offline
Local
 
Join Date: Apr 2008
Location: Texas
Posts: 446
Thanked 69 Times in 46 Posts
Default

Is this FreeBSD? Did you set up some custom logging to that file at some point?

If not, I think you want /var/log/messages.
__________________
Kill your t.v.
Reply With Quote
  #3   (View Single Post)  
Old 20th June 2008
jaymax jaymax is offline
Port Guard
 
Join Date: Jun 2008
Posts: 16
Thanked 0 Times in 0 Posts
Default

Yes! /var/log/messages is there and a host of other log files as expected in the upper directory '/var/log'. Now I am installing a program that is referencing
/var/log/syslog
· /var/adm/SYSLOG
for logging and that's how I recognized the missing /var/adm/ directory and remembered the SYSLOG, crash?core etc. Was wondering If I cloberred something during the installation or have they been removed in the V 6.x O/S. If they are supposed to be there, how do I restore them?

Thanks
Reply With Quote
  #4   (View Single Post)  
Old 20th June 2008
phoenix's Avatar
phoenix phoenix is offline
Risen from the ashes
 
Join Date: May 2008
Posts: 699
Thanked 90 Times in 81 Posts
Default

FreeBSD doesn't have a /var/adm/ directory, nor does it have a /var/log/syslog.

All configuration for syslog is handled by /etc/syslog.conf.

Are you sure this is a FreeBSD system? What software are you using that references /var/adm? How is it installed?

We need more info in order to be helpful.
__________________
Freddie

Help for FreeBSD: Handbook, FAQ, man pages, mailing lists.
Reply With Quote
  #5   (View Single Post)  
Old 20th June 2008
cajunman4life cajunman4life is offline
Real Name: Aaron Graves
Package Pilot
 
Join Date: May 2008
Location: Coolidge, Arizona
Posts: 203
Thanked 16 Times in 14 Posts
Default

/var/adm is found on a Solaris system (and, I want to say AIX, but don't quote me on that). Are you perhaps installing something that is expecting to be on a Solaris system? Or are you on a Solaris system and accidentally posted to the wrong section? Or maybe you're a Solaris admin new to the BSD world (old habits die hard )?
__________________
I just saved a bunch of money on my car insurance by fleeing the scene of the accident!
Reply With Quote
  #6   (View Single Post)  
Old 20th June 2008
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Old man from scene 24
 
Join Date: Apr 2008
Location: Eindhoven, Netherlands
Posts: 2,068
Thanked 198 Times in 156 Posts
Default

Jaymax, can you post the output of uname -a?
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
  #7   (View Single Post)  
Old 26th June 2008
jaymax jaymax is offline
Port Guard
 
Join Date: Jun 2008
Posts: 16
Thanked 0 Times in 0 Posts
Default

6.0-RELEASE FreeBSD 6.0-RELEASE #0: Tue Oct 17 05:16:31 PDT 2006
MIA CULPA
I've been working on FreeBSD, IRIX and Solaris platforms and environments. I've installing a package and the instructions documents were not too concise on the steps for each platform, so when they mentioned /var/adm/SYSLOG and FreeBSD, it struck a familiar chord, albeit the wrong one.
Again MIA CULPA
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cisco Secure ACS 4.1 syslog OpenBSD 3.9 cyberpaisalegionair OpenBSD General 1 24th July 2008 06:42 PM
good old syslog-ng issue amiga505 OpenBSD Packages and Ports 7 4th July 2008 06:01 PM


All times are GMT. The time now is 08:01 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick