write syslog to windows share


 
Thread Tools Search this Thread
Operating Systems AIX write syslog to windows share
# 1  
Old 06-06-2006
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  
Old 06-07-2006
Hi.
Do the log files exist on the share? If not, you should "touch" them, and then
refresh -s syslogd
# 3  
Old 06-07-2006
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  
Old 06-27-2006
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  
Old 06-28-2006
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.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Unable to write to a mounted NFS share

Hi All, I created a nfs share in the server(Solaris 10) with the following command and also updated the dfstab file share -F nfs -o rw=server_name2,anon=0 /to_share And then in the client(solaris 10) added the following command to mount the share mount -F nfs server_name1:/to_share... (4 Replies)
Discussion started by: Rossdba
4 Replies

2. UNIX for Dummies Questions & Answers

Windows Share

Hi guys I have some Windows Shares and I need to mount those shares on my Suse 10 SP3 I would like to know how to mount those? do I need to enable Samba? or is it just a simple mount command? thanks a lot (2 Replies)
Discussion started by: karlochacon
2 Replies

3. AIX

AIX to access Windows share

Are there any special requirements/tools needed for a AIX server to see (copy data) a Windows share? Only need 1-way copy (Windows-to-AIX). (8 Replies)
Discussion started by: kirkb
8 Replies

4. HP-UX

user can't write on cifs share but OK with Windows Explorer

Share ServerA ==== The Samba server is running on Samba version 3.0.22 based HP CIFS Server A.02.03.04 /opt/cifsclient/sbin/cifsclientd version: HP CIFS Client - Version A.02.02.02 smb file: My previous casw was thew user wasn't able to write to the share from Windows... (1 Reply)
Discussion started by: lamoul
1 Replies

5. Solaris

Need to Share between Solaris 10 and Windows

Hello everyone, was looking to get some help. I am very new to Unix and need to join a Sun Ultra 24 workstation running SOLARIS 10 to a small Windows network for file sharing. The Windows Network is a closed network using a Dell server running Windows 2003 Server. The clients on the network... (1 Reply)
Discussion started by: Sluggo
1 Replies

6. UNIX for Advanced & Expert Users

windows printers share

Hello, My network environment is: The server is Linux, all the clients are win2000 professional, the PC names are(ws00201, ws00202,ws00203,ws00204,ws00205,ws00206,ws00207,ws00208,ws00209), I have 3 printers connected through USB to ws00201, ws00204,ws00207, I want ws00201,ws00202,ws00203... (1 Reply)
Discussion started by: truelyli
1 Replies

7. Solaris

Share windows and solaris

I want a share windows DVD rom to solaris OS. Is it posible? then give me answers (3 Replies)
Discussion started by: saga499
3 Replies

8. AIX

Need help with Windows Share please

I have a windows 2003 server with services for unix installed I have create a folder c:\nfsshare and set it as an nfs share named nfsshare. now I am trying to mount it from my aix system using mount <server ip>:/nfsshare /mnt the filesystem mounts , but I cannot change into /mnt, I get a... (4 Replies)
Discussion started by: bbbngowc
4 Replies

9. IP Networking

how to share with windows

i m using Linux Mint on my computer and i m the server of shared Internet connection with windows machines. Internet sharing is working well with all the machines but file sharing is not working well. I can access the shared folders of other system with windows machine the windows machines cannot... (1 Reply)
Discussion started by: giri.nitp
1 Replies

10. UNIX for Advanced & Expert Users

How to Mount a Remote NTFS Share for Read/Write under Linux

I've done this in the past, but I didn't save the syntax. I'm still kicking myself about that... I am trying to mount \\server_name\share_name for read/write under CentOS 5.2 (a "generic" version of RedHat). As I recall, there was a fairly simple (maybe a oneline) command that would allow NTFS... (2 Replies)
Discussion started by: shew01
2 Replies
Login or Register to Ask a Question