Ubuntu Servers :: Turn Up The Level Of Logging That DHCP Server Is Writing To SYSLOG?

Feb 14, 2011

turn up the level of logging that my DHCP Server is writing to SYSLOG?I can't seem to find a syslog.conf file to edit.

View 1 Replies


ADVERTISEMENT

Server :: Logging To 2 Syslog Servers?

Mar 10, 2011

I'm guessing its possible but I can't seem to find any documentation on how to do this.I've tried playing with entries at the top of my syslog.conf file like:

*.* @172.20.10.1 # 1 server, works file
*.* @172.20.10.1,172.20.20.11 # doesn't work
*.* @172.20.10.1 172.20.20.11 # nor this
*.* @172.20.10.1,@172.20.20.11 # nor this
*.* @172.20.10.1 @172.20.20.11 # nor this

View 3 Replies View Related

Server :: Syslog Stops Writing In Log / Get That To Work?

Sep 13, 2010

Syslog stops writing immediately after log rotation, after I start the system (but not after reboot), and at some other times, into my fast cgi application's log. It starts working after /etc/init.d/sysklogd restart.

Configuration:

I am using Ubuntu 8.04 lts server, Apache web server.

My (fast cgi) application uses code...

View 3 Replies View Related

Server :: Writing Debian Init Script For Process That Has No Syslog Integration?

May 18, 2011

I have inherited ownership of a Debian server process that logs its error message to stdout/stderr. Currently its initscript has lines like:

start-stop-daemon [options] --exec $DAEMON -- $DAEMON_ARGS < /dev/null 2>&1 | logger $LOG_OPTIONS 2> /dev/null &

I have tried to abstract as much of that away as possible. The options specify a pid file, to make a pid file. A subsequent line tries to establish whether the process is up, though I think several conditions are not checked for. This script seems pretty ropey to me. I am trying to start again with the lsb-base one in /etc/init.d/skeleton though that is going to require a lot of modification. get the code change to use the syslog API however that is out of the question at least for now.

1.) Create a named pipe
2.) Start up a logger daemon that reads from the named pipe
3.) start up the server process that writes to the named pipe

It would be ideal for this if start-stop-daemon offered options to specify where the IO of the daemon process should be redirected to. However I am not about to offer to adopt that package (with ~400 bugs) so I doubt that will happen. Trying to specify the redirection on the command line does not work. In the case of the logger daemon start-stop-daemon seems to hang on the system call. In the case of the server process the pipe gets closed when start-stop-daemon exits, so the logger daemon exits. None of that seems surprising.So what I am doing now is to write simple wrapper scripts for the server and logger processes. Both wrapper scripts have this structure:

1.) sanity check the arguments
2.) exec program [suitable redirection of IO]

Then the start-stop-daemon can call the wrapper scripts as daemons. From my experiments so far this seems to work. However I feel a bit uncomfortable with this. It introduces several new wrapper scripts.I cannot think of any obvious security holes but I suppose race conditions are inevitable.

View 1 Replies View Related

Fedora :: Configuring Syslog Server To Accept Remote Logging?

Nov 12, 2009

I'm having trouble getting my pix firewall to log to syslog server. Here are the steps I took:

1) Added the following line to /etc/sysconfig/syslog:
SYSLOG_OPTIONS "-m 0 -r514"
**for some reason, without the 514, syslog doesn't listen

[code]....

View 2 Replies View Related

Fedora Servers :: Samba Messages In Syslog - Allow Logging To The Standard Samba Logfiles

Mar 18, 2010

I wish to prevent the samba messages (mainly nmbd and winbindd) from appearing in the system log (/var/log/messages). I want to allow samba logging to the standard samba logfiles, but prevent the syslog getting clogged up by samba. I added syslog = 0 to smb.conf and reloaded the config but the messages were still appearing. I also tried the following (and restarted the syslog via /sbin/service syslog restart) # Suppress messages from samba.

nmbd.* /dev/null
smbd.* /dev/null
winbindd.* /dev/null

For interests sake the messages I'm getting are below (I'm not concerned about the messages themselves, I can chase them up at my leisure via the samba logs) Mar 18 09:58:29 SERVER nmbd[3808]: query_name_response: Multiple (2) responses received for a query on subnet xx.yy.z.zz for name DOMAIN<1d>. Mar 18 09:58:29 SERVER nmbd[3808]: This response was from IP xx.yy.z.zz, reporting an IP address of xx.yy.z.zz.

View 1 Replies View Related

Server :: DHCP: Logging Host Names In Log File?

Jul 7, 2009

What I am trying to do is log IP Address, MAC Address and the host name for records. So I can have a record of what PC got which IP address and when they got it. So far my search has yielded no results. It would not be that big of a deal as I could always look at the dhcp file, but it is generated dynamically (3rd party application using RADIUS and each user gets a host).

subnet 208.x.x.0 netmask 255.255.255.0 {
option routers 208.x.x.1;
option subnet-mask 255.255.255.0;

[code]....

View 6 Replies View Related

Ubuntu Servers :: DHCP Server And DHCP Client Simultaneously?

Aug 4, 2010

I have an embedded device for which I've created an html configuration page. This page allows you to set static IPs, dhcp, and can scan for wireless devices.My problem is that in order to access the device it requires that it runs as a dhcp server otherwise people are not assigned an IP and so can not access the embedded devices static IP. (This config page is for the laymen and so they are not the type who are able to set up their own static IPs). One of the potential options is to have the device connect to the network on eth0 acting as a dhcp client. However this prevents me from running a dhcp server.One solution I can think of is running a dhcp server only if it doesn't detect another dhcp server running on the network.

View 4 Replies View Related

Ubuntu :: How To Stop Logging Cron To Syslog

Mar 2, 2011

There was an useful discussion on "how to stop logging cron to syslog". The useful answer is to update the line targeting syslog in /etc/syslog.conf to say something like:

Code:
*.*;auth,authpriv.none,mail.none,cron.none -/var/log/syslog
the significant part being that cron.none means that cron will not log to syslog.

There was discussion about whether this was a good thing to do, but omitted to suggest that adding/ uncommenting the following line would mean that no information would be lost but that syslog would be less cluttered as a source of monitoring info:

Code:
cron.* -/var/log/cron.log

You've still got all your cron-related log items available in cron.log if and when you need them. To make the new /etc/syslog.conf lines effective you should also, with root privileges:

Code:
touch /var/log/cron.log
chown syslog:adm /var/log/cron.log
and restart syslog. In my case:

Code:
/etc/init.d/sysklogd restart

View 4 Replies View Related

Software :: Iptables Not Logging To Syslog?

Aug 6, 2010

Im stuck on why iptables wont log to syslog.Syslog is working fine and log every other event on the server.Here is my Configs:

/etc/syslog.conf
Code:
*.* /var/log/iptables

[code]...

View 1 Replies View Related

Ubuntu Networking :: Samba Logging Using Vfs And Syslog Isn't Working

Jan 19, 2010

I'm looking into setting up logging for Samba that logs every file downloaded, uploaded, renamed, deleted, etc, etc. It's currently working, but I'm trying to get it to output to /var/log/samba/audit.log and it's still outputtin Here are my current settings:

[Code]...

View 3 Replies View Related

Fedora :: "#chkconfig --level 345 Dhcpd On" Into A Network With Existing DHCP Server?

May 21, 2011

what happens if "#chkconfig --level 345 dhcpd on a network with existing DHCP server"

View 2 Replies View Related

General :: Logging Ssh Messages In A Separate File Using Syslog-ng?

Jul 2, 2011

I am facing a problem while trying to log SSH messages in a separate file, say, /var/log/ssh_logs. I have tried modifying the syslog-ng.conf file as follows:

filter f_ssh { facility(auth, authpriv) and match("sshd[[0-9]+]:"); };
destination d_ssh { file ("/var/logs/sshd_logs"); };
log {

[code]....

But still I am not able to get the ssh logs in the new file. They continue to go to /var/log/auth.

View 1 Replies View Related

Software :: Remote Syslog Logging For Apache Logs ?

Feb 2, 2009

For remote syslog logging of the general log files, I set:

Quote:

How do I setup the remote syslog logging of apache logs? Do I just add a line in the httpd.conf file to for example ?:

Quote:

View 2 Replies View Related

Ubuntu Servers :: Writing Specialization Work About Administration Apache And Ftp Server On 10:10 Server?

May 22, 2011

Does anyone have some material about statistics using ubuntu / linux server, or a text which generally describes the ubuntu server?I need urgent, i'm writing specialization work about administration apache and ftp server on ubuntu 10:10 server, so I need something for the conclusion.

View 7 Replies View Related

Server :: How Clients Handle Offline Syslog Servers

Apr 19, 2011

How do clients handle offline syslog servers?Will the log files be buffered locally to be sent to the syslog server when it comes back online, or will any log data generated during downtime be lost in cyber space?

View 1 Replies View Related

General :: Best Open Source Syslog Server / Syslog-ng Which Is Not Fulfiling Requirement?

Dec 11, 2010

I am looking for an open source syslog server which accumulate the each and every log of Windows, Solaris, Linux and network devices. Currently I am using Syslog-ng which is not fulfiling my requirement in Windows clients, as I need the logs of every action which user performed after logon.

View 2 Replies View Related

Ubuntu Servers :: Windows DHCP Server - Multiple Boot Servers ?

Apr 1, 2011

I'm curious if anybody can shed some light for me in this department. We're in a large environment with a Windows DHCP Server. We have been tinkering with LTSP on Edubuntu as thin and fat clients. It works great, but right now we just have 1 server handling the lab, which works fine unless we want to expand, which may be very possible.

These are the instructions I received:
Login to your windows server and load the DHCP configuration screen
Create a DHCP reservation for the MAC address you obtained
Add the configuration options below to enable the machine to boot from the LTSP server
017 Root Path: /opt/ltsp/i386
066 Boot Server Host Name: <ip address>
067 Bootfile Name: ltsp/arch/pxelinux.0 # Specify CPU architecture in place of 'arch', for instance 'i386'

From: [url]

I'm curious, what if I want to have multiple Ubuntu servers on the network that I want to have bootable? For example, let's say I have 3 labs, and 3 servers. Server A to Lab A, Server B to Lab B, and Server C to Lab C. I want all C's computers to boot to C, and B to B, A to A, etc.

1 - How would I add multiple entries on the Windows DHCP Server to allow all 3 (A B C) servers to boot?

2 - How would I be able to isolate the clients so ONLY Lab A clients boot to Server A, etc?

View 7 Replies View Related

General :: Prevent The Logging Of Commands Run Into Syslog As Post-shell Expansion?

Dec 15, 2010

Is there an easy way to prevent the logging of commands run into syslog as post-shell expansion?

I.e log a command of "ls *.log" as just that, rather than "ls a.log b.log c.log d.log" It makes rather a mess of the log files.

View 1 Replies View Related

Networking :: Slightly Higher Level Traffic Logging

Mar 19, 2011

Summary: Several school networks in need of a fairly low-level way to log network use, especially Internet. Raw packet captures are too low (and big). Turnkey solutions we've looked at (Untangle) aren't really a good fit. This seems like a common issue. Detail: For legal reasons, we have to be able to roll back time every so often (ie. when death-threats are made on some web-forum). Currently, our traffic logs on Internet traffic are pretty high-level and aren't really useful to point a finger at the guilty or away from the innocent. We also like to keep our users honest by providing them with data about their own computer use (ie. what are the top 10 websites they hit).

I've been building up rules with iptables and ulogd to log the creation of new connections and save it to a PCAP formatted file for consumption by some very simple analysis scripts, or examination with Wireshark if required. Just logging new connections prevents the logging data from getting large in a hurry, but also doesn't give us a lot of information we would like (ie. the amount of data transferred). We've been examining products that offer fairly full-featured analysis, notably Untangle, but we do a lot of weird stuff (VOIP, VC, VPNs) with traffic flowing through very minimal hardware (PC Engines) running Linux. This is very inexpensive and very flexible, and we like it that way.

View 3 Replies View Related

Ubuntu Servers :: SFTP Server Logging On 10.04 LTS?

Oct 27, 2010

I have recently configured sshd_config to have chrooted SFTP service. I'm using SFTP internal-sftp config. However now I have to figure out how to log file transfers happening using the SFTP service. I'm using the Ubuntu Server 10.04 (64bit)

View 3 Replies View Related

Ubuntu Servers :: Changing RAID Level On An Existing Server

Mar 9, 2011

We have been using Ubuntu Server at our department since several months now. It hosts a website, e-mail and nfs(only intra).

It was set-up as RAID 0 with two 1TB Hard drives but I want to change it to RAID 1 for fault tolerance. Is it possible to change existing RAID level? If yes can someone point me to the proper place?

I tried "mdadm" documentation and level set option is available but no explanation available that whether it is only while creating the array or it can change the level too.

View 1 Replies View Related

Ubuntu Servers :: Server For Internet Logging And Filtering

Jun 16, 2010

I'm in charge of a church computer lab which is open to children ages 6 to 16 for about 3 hours a week. We try to have adult supervision but don't have 100% coverage.

The lab has a maximum of 8 computers, a mixture of MACs, Windows XP, and Linux machines, depending on their state of repair.

The church's current internet connection is Verizon residential speed DSL to a 4 port wired plus wireless router in a locked office which also houses our Windows XP office computer and is adjacent to our locked pastor's office.

Internet access for the lab is by a single CAT5 cable passing through a small hole in a wall to a network switch on the other side. All of the lab computers are connected to the switch by CAT5 cable.

I would like to add a server in the locked office to log internet usage and block access to certain websites as needed. I think logging internet activity will be a good antidote in case one of the older ones wants to try to get sneaky and cover their tracks.

I envision building a computer from donated parts, including 2 NICs.

I have never done things from the server end, but think the server edition of Ubuntu would be a good starting point.

My goal is to be able to manage internet access with an easy to use GUI system so I could teach the basics to a couple of youth leaders to use it when I'm not there.

View 3 Replies View Related

Ubuntu :: Turn Off Logging By Desktop Couch?

Jun 23, 2010

Desktop couchdb builds up a pair of log files in:~/.cache/desktop-couchdb.log.1~/.cache/desktop-couchdb.stdout.1It appears they then get rotated to *.2 and *.3 before disappearing.In my case, having uninstalled Ubuntu One, I think the desktop couch DB is only there supporting Gwibber. Both log files seem to be HTTP access logs - referring to HEAD and GET - not much value really.If the machine is up for several days, these logs get quite large. I think they were up to a combined 700MB after 12 days uptime before I rebooted today.There's a settings file /etc/couchdb/local.ini but the log level therein only seems to affect the log under /var/log/couchdb.Anyone know how to stop this logging under ~/.cache?

View 1 Replies View Related

Fedora Servers :: Turn Public Server Into A Sendmail Server?

Feb 22, 2009

I'm new to send mail. I have a server with a public address and domain name. But I only want to implement a small sendmail network on our 20-user LAN. Can I turn my public server into a sendmail server? Are there any simple step-by-step instructions for this?

View 1 Replies View Related

Ubuntu Servers :: How To Setup A Dhcp Server

May 30, 2011

Ive tried on multiple occasions to setup a dhcp server, but all the google searches return legitimate results it seems, and ill set everything up, except the last few instructions i have to configure /etc/dhcp3/dhcpd.conf and /etc/default/dhcp3-server, but ubuntu says its not there.Im running Ubuntu Server 11.04 and using nano to edit files

View 4 Replies View Related

Fedora Servers :: Writing A Script To Search Through Specific Folders On A Based Server?

Feb 19, 2009

I am thinking about writing a script to search through specific folders on a Linux based server (Centos 5) and report any changes made to any file on that server.Like a detailed change log with the date it was changed and the difference in size. Dose anyone know if such a script exist?

View 2 Replies View Related

Ubuntu Servers :: Openvn On A Getaway / Dhcp Server

Sep 29, 2010

i have a lucid server box running a dhcp server and webmin.i want to bridge openvpn to the network that the dhcp server serves.all the configurations ive seen, id essentially have to install openvpn onto a computer underneath the dhcp server to accomplish this.

View 3 Replies View Related

Ubuntu Servers :: Turn USB Passport Drive Off On Headless Server?

Jul 29, 2011

This is a silly question maybe, but how can I turn my passport drive off after has being unmounted? I am assuming that's the right order, before removing: umount and then turning off. By the way, I am talking about Ubuntu Server, not regular Ubuntu desktop via GUI.

View 2 Replies View Related

Ubuntu Servers :: How To Make SysLog Server In Ubuntu 10.04

Sep 10, 2010

I wanted to make a SysLog Server in Ubuntu 10.04 Desktop to collect the startup log of all the workstation inside the local area network,which should have a similar functionality to this guide here:Debian Syslog Server..However, when editing the sysklogd, i noticed it was empty and does not have any default values, along with the /etc/syslog.conf, which does not also exist.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved