Debian :: No Syslog.conf In Directory Or Anywhere Else
Sep 17, 2010
Missing Syslog.conf file First I installed VM Ware. I then installed Debian on a virtual machine which appears to be running fine. (except I have no network connectivity) but I digress. The real issue is that there is no syslog.conf in etc directory or anywhere else.
Trying to figure out why the following two are treated differently...
Code: *.warn; kern.!=debug;auth.none; authpriv.none;cron.none;mail.none;news.none -/var/log/syslog and
According to man syslog.conf "You can specify multiple facilities with the same priority pattern in one statement using the comma (``,'') operator. You may specify as much facilities as you want. Remember that only the facility part from such a statement is taken, a priority part would be skipped."
Can someone confirm that this statement means that kern.!=debug is ignored in the first part because it's priority is not the same as the trailing facilities ending in .none?
OS CentOS 5.4 I have a DNS server that is logging all named and dns requests to the chrooted named directory. By default named logs to /var/log/messages but I want to isolate all the dns queries and requests to separate files. I know I can add entries to /etc/syslog.conf to "roll" the logs and logrotate should pick them up but fuzzy as to the syntax. I don't know what "tag" to use in the first fieild. for example
# Log anything (except mail) of level info or higher. # Don't log private authentication messages! *.info;mail.none;authpriv.none;cron.none/var/log/messages
phpmyadmin files are in usr/share/phpmyadmin but i cant find anything in my apache2.conf or httpd.conf files that point to that directory.How do I find the route taken from the Server root "ServerRoot "/etc/apache2"" to the phpmy admin files.
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.
I just did a clean install of 13.1 on one of my laptops and the scroll doesn't work on the synaptics touchpad. I've seen some comments about adding a file to the /etc/X11/xorg.conf.d/ directory. I don't have this directory. Is it ok to add this, or did I screw something up during the install. I did another 13.1 install about a week ago and it is also missing this directory. Is this just something in current and not in 13.1?
I need advice in getting the original blacklist.conf of the directory /etc/modprobe.d/ because I erased and I don't know if that file could make me have some issues in the future, so if any body can lend me a copy of that file or refere me to some page where i can get it. Is for the slackware 13 32bits distro.
I noticed in my system that my root partition is getting full. I found a lot of old compacted syslogfiles. Had a look at etc/sysconfig editor eg cron but could not find a setting which allows to delete files older than a month. Where and how could I influence this ? I deleted manually all syslog files older than a month. Approx 6GB
I have been tol that for debugging purposes it is often useful to have a serial connection to a computer. I have some diskless workstations thats freezes during boot. I guess X has someting to do with this, but I'm not sure. Since the workstations are diskless, syslog is not stored locally so I cant se what is happening after the NiC stops working. When the worstation freezes, screen is going black, all lights on the keyboard turns on, lights on NiC is going black. It is not possible to ping the workstation.
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.
I've had Ubuntu 11.04 installed on my desktop since it's release. Up until an hour ago, it was working fine. I clicked on an update from the update manager, now booting into a graphical mode is completely broken, (the start-up load hangs at 'Check Battery State ... [0k]'). I restarted my computer, and booted into safe mode, and launched the terminal. This all works fine. I then typed :
Code: sudo gdm start into the command prompt, hoping that I would be able to start things manually. Instead, it spat out this: Code:
gdm-binary: WARNING: Unable to load file '/etc/gdm/custom.conf'. No such file or directory. gdm-binary: WARNING: Unable to find users : no seat-id found. gdm-binary: WARNING: Gdm Display: display lasted 0.070467 seconds
The last line was printed about 8 times, with slightly different times, before it gave up and failed. Some information which might help, I have Gnome 2, Unity and KDE (not sure which version), installed. My graphics card is the GTX 275, and I have driver the Nvidia driver 275.21. So yeah, I think the update has gone and moved custom.conf somewhere, but I have no idea on how to fix it. I have a graphics programming assignment due on Friday and I would be eternally grateful if I could get this fixed well before then.
I've got a VPS node running 2.6.26-2-openvz-amd64 and several guest machines. My kernel keeps reporting a printk bug in syslog:
This is somehow being replicated on the guests machines. I've read that printk is a kernel function that prints out a message, during bootup Has anyone experienced similar problem or have a more experience with this? Does it have negative impact to the host performance?
I've been scanning the apache2 docs for the past few days and have not come up with an answer my following issue:
In my httpd.conf file, at the very end, I have the line
However, when I run apache checkconfig or try to start apache, it gives me the error:
httpd: Syntax error on line 993 of /etc/httpd/conf/httpd.conf: Could not open configuration file /etc/httpd/conf/vhosts/vhost_1.conf: Permission denied
It appears as if the Include line is correct - in terms of it grabbing the first virtual host conf file. However, I'm confused on the permissions. the /etc/httpd folder is owned by root:root, as are the subfolders. As a test, I chown'd the conf/vhost folder combination and all the vhost files to apache:apache to see if that made a difference, and it appeared to make no difference at all. The log files don't contain anything (assumed because apache isn't starting). If I place the contents of the vhosts in a singular vhosts.conf it works - with the permissions set to root:root. I'd like to avoid having to use one vhosts conf for the configuration I'm trying to achieve - as it would make my life a lot easier.
I have used nVidia my entire linux life (about 5 years clean and sober from M$). Recently, I have switched over to an ATI Radeon HD 5550 card. After many trial and error setups, I finally got the resolutions and screens set properly with a xrandr command, which I have now added to a shell script in ~/.kde4/Autostart. It has worked for me for a while now, but I really would like to get it set in the xorg.conf.d files so that I don't have to wait that extra few seconds after login for the screens to fix themselves.
Is there an easy way to take what xrandr does and export it to the xorg.conf.d files? If my video card recognizes my default monitor as DFP2 and the tv that I only sometimes use with this computer as DFP1, how can I ensure that the login screen for openSUSE/KDE4 appears on my default screen (an issue that drove me nuts a few months ago when I tried Ubuntu to see what all the fuss was about)?
I am using the proprietary Radeon driver from the ioda repository. DFP2 is a monitor which has a optimum resolution of 1920x1200, and DFP1 is an 1080p HDTV. I can not reverse the output plugs for the screens even though my monitor is an HDMI monitor because I use the actual HDMI port on the video card to output audio to the television and the other plug is a DVI that I convert to HDMI for the monitor.
I just did a net install on an old powerpc G4 and it seems pretty successful.except i cant change any of the monitor settings from the control panel in gnome (or LXDE)its showing 'not recognised' and only allows 768 x 1024 in very restricted colour.I dont think there is a hardware problem:
- the monitor is a generic old CRT which has worked fine with everything before this.
- the display card is an AGP 32Mb - original with this G4 and was working.
- the computer works great in Mac OS10.3 - (but OS10.3 doesnt support flash or up to date web browser any more, hence trying debian).
i have searched debian forums and various sites, but i couldnt find a fix. It looked like i should edit xorg.conf file but I am not able to find it. I looked in /etc/X11 - but not there.could someone tell me please, do i need to find xorg.conf?
I noticed that Sid/unstable (Gnome - kernel 2.6.33 - xorg 1.7) does not use xorg.conf file for X driver. The X driver seems to get detected automatically by the kernel and xorg, which is done perfectly even with 3D support. But I noticed that it uses the xorg.conf file for the input devices. When I renamed it, the keyboard and mouse were disabled. Is there a way to get the input devices detected automatically also and get red of xorg.conf file completely?
I'm somewhat spoiled by standard installations that do it all. This time I'm doing it more manually.I've installed a sid guest vm. I want to give it a graphical face, so for a change I've chosen the lightweight xfce.Only I'm missing the xorg.conf. I've installed xdm, so I have a login. However, it can't get in from there.It hasn't yet generated an xorg.conf in /etc/X11.Short of copying one, which I suppose I might try, How do you prompt debian to generate and configure the xorg.conf from scratch?Currently, I have
root@sid:~# tail /var/log/Xorg.0.log (II) Xen Virtual Pointer: Found absolute axes (II) Xen Virtual Pointer: Found x and y absolute axes
My Debian workstation is on a predominantly Windows network. It is resolving internet addresses (i.e. www.google.com, etc) just fine. However it's not resolving any of the address of machines on the local network and the windows machines do not resolve the linux machines address either. All machines (linux and windows) can access each other just fine via direct IP reference.
My /etc/resolv.conf file has the following IP addresses listed:
127.0.0.1 10.1.1.111 10.1.3.4
10.1.1.111 is a netgear VPN/router that is the primary router for the LAN and maintains a VPN to a remote office 10.1.3.4 is the IP address of the Windows Primary Domain control on which the DNS server is running. That server is at the remote office. The system acts like it is completely ignoring anything I put in the resolv.conf file. From the linux X server I'm using "Network Setting" utility to make changes to the network configuration. This appears to work fine for things like switch between DHCP and static IP.
I'm trying to get the latest Lenny running on some old hardware (a Winterm 3150se). Everything is working just fine except for two things.
When Gnome starts, it comes up at 1600x1200 resolution, which is too high for my monitor. It shows a portion of the right side of the display, If I select Screen Resolution, it gives me a few standard choices, but if I pick one, it acts like it's trying to honor my request, then comes back as 1600x1200 again.
My xorg.conf file had no references to Modeline, so I added a 1024x768 Modeline, not really understanding where the selection I was given was coming from. Anyway, it didn't help.
I can see in the log file that right after the entry about using xorg.conf, it says 'Module "ddc" already built-in', which must have something to do with it?
My hardware supports all the usual video formats, at least it does when it's running WinCE. Is there a way to force the use of xorg.conf or can someone tell me why DDC is acting like it's "read only"? Is DDC a file somewhere?
My other problem is that the Winterm refuses to not try to boot from the flash memory thumbdrive even though it's formatted as a non-bootable device - it's my SSDisk. I have to boot without the drive in, then slip in in just as the boot process exits the blue start screen. I can live with this problem, since it might be dumb hardware.
I just system-upgraded (testing) to kernel 2.6.38. All seems ok, except that a few things I added to xorg.conf in the past (basically, keyboard language switch) have no effect anymore. My xorg.conf is still there, it is still the same as before, but the changes I did in XkbdLayout section have no effect. It seems xorg.conf is not used anymore. I assume new version of xorg uses a different configuration file, but I'm not sure.