The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > AIX
.
google unix.com



AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Mac OS, Linux May Share a Windows Flaw - PC World iBot UNIX and Linux RSS News 0 10-13-2007 01:50 PM
how i can share the file between unix or linux in windows ?? msn22 Linux 4 12-07-2006 03:13 PM
how to share printer installed on windows 2000 with SCO OpenServer 5.0.5 raj_shivage UNIX for Dummies Questions & Answers 0 01-23-2006 02:22 AM
using the mount command to connect to a windows share cw1972 UNIX for Dummies Questions & Answers 1 09-30-2003 12:38 PM
Mounting a windows share on AIX szahir1 Windows & DOS: Issues & Discussions 3 04-11-2002 09:14 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 06-06-2006
zuessh zuessh is offline
Registered User
  
 

Join Date: May 2006
Posts: 34
write syslog to windows share

hello, we are currently experimenting with writing syslog files out to a windows share. I am able to successfully mount the share with mount -v cifs ... and can navigate into the mount point and create/edit files as necessary. However, the syslog will not write out to this mount point. any ideas as to why the syslog can not write to it? Is this even a good idea or are there better ways to accomplish syslog consolidation (we prefer them to be on our windows file server for backup/archive perposes). thanks in advance.
  #2 (permalink)  
Old 06-07-2006
grial's Avatar
grial grial is offline Forum Advisor  
El UNIX es como un toro
  
 

Join Date: Jun 2006
Location: Madrid (Spain)
Posts: 531
Hi.
Do the log files exist on the share? If not, you should "touch" them, and then
refresh -s syslogd
  #3 (permalink)  
Old 06-07-2006
zuessh zuessh is offline
Registered User
  
 

Join Date: May 2006
Posts: 34
yes the syslog.log file exist on the share. Funny thing is I can touch/edit/ whatever to the syslog.log file from the AIX box. The next thought is a permissions issue, so we set the mode to 777 when mounting the share just to be sure. Now as any user I can manipulate files inside the share as i need, however the syslog still will not write to the share. Maybe something very simple is being overlooked?
  #4 (permalink)  
Old 06-27-2006
zuessh zuessh is offline
Registered User
  
 

Join Date: May 2006
Posts: 34
I am still having this same issue and can not find the solution. I can 'echo test > /syslog/syslog.log' and write/append to the file, but the syslog daemon will not write to the file. Does anyone have any suggestions? thanks in advance.
  #5 (permalink)  
Old 06-28-2006
alexop alexop is offline
Registered User
  
 

Join Date: Apr 2006
Posts: 26
Possibly a permissions issue... Some daemons don't like it when files don't have specific permissions (rsh, for example). Try and mount the windows share so it (and all the files within) have exactly the same owner, group and perms as your local syslog logs. This is just a guess I'm afraid....

Another suggestion, and a more robust solution, would be to set up local syslog to log to a remote syslog server. You can get these for windows (check google or freshmeat.net). With your setup if the Windows host goes down then syslog will likely crap itself, you'll lose your logs for the period of the outage at best. With a remote syslog daemon handling the logging it's all more graceful.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 09:23 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0