Ubuntu Servers :: /etc/default/syslogd Can't Be Found
Oct 19, 2010
Ubuntu 10.04 server 64-bit I was following; The Perfect Server - Ubuntu Hardy Heron (Ubuntu 8.04 LTS Server) - Page 4 [URL] to set up the server on Ubuntu 10.04 and encountered problem on editing /etc/default/syslogd
I am unable to find the syslogd files. Ubuntu 9.1 installed. Logging is taking place. I want to redirect logging to central location. Do I need to install syslogd in order to control this service or is it controled via a different name/service?
During install of 9.10 server, both ethernet adapters were found. One is built-in to the motherboard, the second is on a PCIe slot. Selected the on-board adapter for eth0 during install, set fixed IP on the web, connected, updated, etc. w/ no problems. The second adapter is for the LAN.BUT, on first and subsequent reboots after installation complete the second adapter is not detected at all, as if it were not even plugged into the PCI or the driver not loaded. This happens on either of two slots, with two different adapters, Intel or Netgear, both pretty recent, and both of which are detected and work in a different box. 'Ethtool eth1' says device not found.This is a fairly recent motherboard 3N78EM).Since the adapter was found during installation I'm assuming that the problem is not with not the board. I've built several server systems with two or three ethernet adapters and have never run into this situation.
I installed Ubuntu on my PS3. I got a confirmation message that Ubuntu was installed and I needed to restart. When I reboot I get a loading message and everything checks until:
Code: ps3av_do_pkt: ps3av_send_cmd_pkt() failed (result=-11) ps3av_do_pkt: failed old:10003 res:-11 EXT2-fs: ps3da1: couldn't mount because of unsupprted optional features (240). EXT3-fs: ps3da1: couldn't mount because of unsupprted optional features (240). EXT2-fs: ps3da1: couldn't mount because of unsupprted optional features (240). mount: mounting non on /dev/pts failed /init: /init: 923: KBoot loader
No default foot fs was found, or one was found and it didn't contain a message= config file. [space between root and fs is how I see it]. If no rootfs was found, you can enter the shell here with 'sh'. Exiting will return you to this prompt. In the shell you can mount your rootfs as /mnt/root/.
Reasons this may have happened include: -No drive with a rootfs was actually found -Your footfs does not have the correct volume lable of "/" -Your rootfs is corrupt (use rescue cd to fix this).
i want to use an ubuntu server (2.6.31-17-generic #54-Ubuntu SMP) as the central syslog server but the syslog messages does not show the priority and facility information in ubuntu. priority and facility are shown in aix by default and i have many aix servers can be used as the central syslog server, but i prefer using ubuntu if it can provide me these details.
I was going to back up some files to a DVD so I loaded a new blank in the drive and waited for it to come ready. I decided that now was a good time to fill up my drink and left the computer for a while. When I got back about 30 minutes later, I noticed that the drive was still cycling and had not become ready. I finally got the process killed and tried another blank, which worked. Then I went on about my business.
The next day, the machine hung up on boot with Dmesg saying that it was starting the syslog daemon, but that was as far as it would go till it dropped to the maintenance shell after a few minutes. Multiple boots always did the same thing.
After considerable troubleshooting, I noticed that the syslog file was at the maximum size - about 2.5 gig I think - and was full of DVD drive errors. Deleting the file fixed the problem.
Just to test, I built a phony syslog file to the maximum size and installed it in /var/log. Bang - same problem.
So... It appears that the system logger doesn't test for max size overflow either during runtime or during boot. Interestingly, I googled up one hit for the same problem from a couple of years ago, also on Debian, but nothing in the debian.org problem lists.
I'm going through the linux hardening checklist, and the only bit I'm having trouble with is how to configure syslogd to email daily reports to my email. my mta is postfix
How do I do this? Or should I ask... where is the HOWTO?
I have created a folder including some html link pages in /test/htlink . Now I want to create a soft link of that folder as htlink -> /test/htlink in /var/www/html . Now when I m browsing the folder , its erroring (404 Not Found) folder is not found on the server . I have given 777 permission on every file-folder in /test . No firewall & no SELINUX .
I am trying to salvage the contents of my HD. I have tried to install Ubuntu from a CD (I created) and keep getting the error "No DEFAULT or UI configuration directive found!" My OS is Vista Home.
So I decided to go on and install 10.04 LTS, because it is LTS... I created the live USB as directed on the Ubuntu download page. I download Universal USB Installer and it says USB created successfully. However, when I boot from the USB the error comes up as mentioned in title... The USB has no problems because I installed 10.10 last time from the very same USB. There's nothing wrong with the procedure because I am following the officially suggested method. Also, nothing wrong with partitions because one instance of Ubuntu is installed and was working fine until I tried to install video drivers (long story)...
The problem here is how to point the error log to syslogd. Here is my syslog file, #vim /etc/syslog.conf og all kernel messages to the console. # Logging much else clutters up the screen. #kern.* /dev/console # Log anything (except mail) of level info or higher. # Don't log private authentication messages! .....
If I point the file, separatelt at httpd.conf for the errorlog, I'm getting the errog log. I'm using Centos 5.6.
I have read in some book that syslogd keeps lots of logs that with the time consume a considerably part of your hard drive. I know this is very nice feature and all that, but sometimes privacy in this competitive world is a matter fact. Here goes the questions: Is it possible to 'auto delete' the syslogd files automatically? May the destruction of the logs make some hangs on my system? May some program need the daemon to function properly?
RHEL 5.4 i want to be able to do redistribution of inbound syslog messages to syslogd. as example, my syslog.conf has in it at the end:
*.* @192.168.5.5 *.* @192.168.5.6
my sysconfig/syslog file has "-r" as the only option for syslogd. any messages generated by the localhost will be sent to the two remote servers, but messages that come into this box (udp 514) only get logged locally and do not get sent out to the remote hosts.
you may ask why do i want to do this. because i have several syslog servers (for security purposes) and many of my net devices are configured to send syslog to all the syslog servers, hence each device is sending way too much duplicate udp-514. so i would like to minimize the udp-514 coming out of the devices, have all devices send to a central syslog server, and then central syslog server do distribution to the other syslog servers. others have also called this "syslog proxy". or, if not with syslogd, how to achieve this (preserving the original syslog message host info, etc)?
I downloaded SUSE to a directory and copied that to a CD to use for running a trial on a 950 Mhz laptop. The CD does show a directory Boot and the boot directory does contain files. There is also a file named syslinux.cfg which when viewed from MS XP is identified as a configuration file for MS Office Outlook.
On boot attempts from the CD I get the Error message: No default or UI configuration directive found.Do I have an error on the D/L disk or is my proceedure not correct?
I've set this up as a primary dns server, Bind is the only thing running on it, no gui, etc. I followed the default settings so I have a named.conf, named.conf.options, and named.conf.local file.
I have a log file I labeled as named.log in this path /var/log/bind. I'm using logrotate to rotate out the file.
My problem is that after syslogd restarts in the morning. My named.log file don't start logging info until I restart Bind. The new named.log file gets created and the old files rotate out and compress. All of the other log files in /var/log, syslog, messages, mail, etc, rotate out and compress like they should, after syslogd restarts.
I know that I could restart Bind using Cron but I shouldn't have to.
Below are snips of the files I'm using.
I named this one 'bind' and it's in the directory /etc/logrotate.d
All of a sudden my laptop decided to not bootup. It stops while loading syslogd. I started up in single user mode and added a few echo statements in rc.syslog so it looks like:
Code:
This means that execution of the script doesn't seem to get past the "/usr/sbin/syslogd" line. Well at least thats the case in the first 2-3 minutes. Afterwards my screen gets flooded with the next echo I placed "caught in the loooooop!".
Again, stating the obvious, the script reads on and gets caught in the while loop. obviously there is no /dev/log and something must have messed up the execution of syslogd. what could that be it?
Recently I was fiddling around with jackd and trying to setup a jack-rack on my laptop. To do that I had to recompile alsa-driver from scratch in order to include the virtual soundcard driver. I also had to rebuild the mainline kernel to add low-latency (I did not switch to kernel-rt). Overall, I've been running with a custom kernel more than 2 months now and never had a problem with syslogd startup. The new low latency custom kernel is just like the previous one but with only difference the low latency setting. With the low latency kernel I've been using the pc for approx a week and have done 5+ reboots. So the problem appeared now out of nowhere...
If I disable rc.syslog and I start the pc, and then start it up, syslogd with execute nicely and quickly as if there was no problem, ever...
I am trying install rhel 6 on my rhel 5. I have downloaded rhel6.0-20100715.2-server-i386-dvd1.iso (from redhat ftp site) and burned into dvd. After rebooting I pressed F12 and chose cd installation.
I get the following message on my screen. "ISOLINUX 3.86 2010-04-01 ETCO Copyright (C) 1994-2010 H.Peter Anvin et al No DEFAULT or UI configuration directive found! boot: "
I used usb_modeswitch but the result was "No default vendor/product found." But usbmod_switch.conf file has all the vendor & product id contained in it. And modeprobe is also not effective. Even Sakis3g script fails to switch my datacard into modem. How to use BSNL Data Card in Fedora 13?
I recently decided to install Ubuntu on a couple of computers without CD drives (netbooks), so I followed these instructions to create a bootable flash drive: http:[url].....That worked fine for both netbooks. Now I'm trying to use the same flash drive on a desktop currently running Windows Vista, but get his message when I try to boot from the flash drive:
No DEFAULT or UI configuration directive found!I tried to boot one of the netbooks from the flash drive again and that still works.I'm thinking a BIOS setting.
Running Ubuntu 9.10 64bit server. Installed it as a minimal virtual machine. The 'nm' command does not exist in /usr/bin. Assuming this is because the nm command is not included in a minimal install. How can I install the nm command ?
I'm trying to install che Naviagent for the EMC2 clariion SAN storage. The communication is through iSCSI. The Naviagent is actually installed but doesn't starts and what I get is: FATAL module sg not found. I've read about the fact that in this ubuntu distribution the sg is builtin in the kernel and is not a module.
Syslinux shows the message in the title everytime I try to boot from a 2gb usb drive. I've tried with Xubuntu 10.04 Desktop for i386 and Linux Mint 9, both with Unetbootin and Universal USB Installer, but I'm getting the same error all the time, it's driving me crazy. I haven't tried with other USB sticks or a different PC though, that's next on my list. Below's a dxdiag file for if you need it,
I'm running a Lucid server, the system default language is english and I would like to add support for spanish and make spanish the default language, I installed the language pack by using
I restarted my computer, because I tried to switch from Ubuntu to Windows. And then I saw this: SYSLINUX 3.85 (...) "No DEFAULT or UI configuration directive found!".
Just wanted to point this out in case anyone had the same problem i did. Following the directions here:[URL]The final step on upgrading 8.04 LTS to 10.04 Server is:sudo do-release-upgrade --devel-releaseThis doesn't work![URL]says to use --proposed, which WORKS
compaq presario sr2150nx <-- my computer.[URL]NO operating system but vista home appears to work with this computer. I know my CD/DVD im burning server 10.10/04 (have tried both) work, the HDD is bran new and works in my other server and desktop.Any input would be much appreciated. Im willing to give any other info needed assuming i can find it.------ Using google ive found you can downgrade to windows xp... but does that also mean ubuntu as well?On boot. this is there error the computer give me."Reboot and Select proper Boot device. or Insert Boot Media in selected Boot device and press a key"
I have Ubuntu 10.10 running on a HP Proliant DL380. The Server has 1 SCSI disk install which runs the Ubuntu OS. I recently added a new SCSI drive to the system (hot swap) Run fdisk -ls But it does not show the device.
I've also run Code: sudo rescan-scsi-bus.sh -w -l which returned
Code: 0 new device(s) found. 0 device(s) removed. I've have 4 other scsi bays which have the same result. I need to be able to see the drive before I can even mount/format.