General :: How To Enable System Logging
Oct 21, 2010How to enable system logging in linux. can i check the logfile remotely of another system on same network
View 2 RepliesHow to enable system logging in linux. can i check the logfile remotely of another system on same network
View 2 RepliesMy objective is pretty simple: To have a variable within a bash script where I can switch between logging to file or screen.
Simple example of what I am trying to do:
Code:
So, as you can see, I have a variable which clears the log path if the user variable vLOG is not 'Y'. This should mean the user can run the script from the command line and view all the output (instead of it going to a log file).
The problem is that with the final line of the script (which ultimately tests the intention), I don't get the required result as the vLOGPATH variable is just passed to echo as text.
I have tried using 'echo -e' and getting some backslashes in there, I have tried using eval but I am either using them incorrectly.
Is there a system admin tool for RHEL on montioring and logging system memory used and released that can dump to a log file?I'm having an issue with memory not being released when an application is closed. I need to have a tool monitor and log so I can troubleshoot to verify that it's an application not the OS.
View 2 Replies View RelatedI am having issues loggin into Ubuntu 10.04 Lucid GUI. The system Stucks after entering username and passwords.
View 5 Replies View RelatedI'm trying to enable MySQL's General Query Log.
I'm running version 5.0.51a of MySQL on Ubuntu 8.04 64-bit server.
The MySQL documentation found here [url] says to "start mysqld with the --log[=file_name] or -l [file_name] option".
But when I issue the following command:
Code:
I get the following error message:
Code:
How to enable MySQL logging since the above is not working?
I am having a problem with bringing up a two node cluster.
It picks up a cluster configuration file from another cluster on the network where of course it does not find the local node
I've disabled openais, change the configuration to use a different ring but it is still happening.
I get the following error message code...
Is there a way to boost the logging for cman and openais so I can get more clues as to why it it is happening? I've only seen postings telling how to do it for resource manager .
How i can configure syslogs/rsyslog to receive third party tools or softwares logs. For example i have a program that generates logs like when it is started and logs about its services, alerts if there are any alarms etc. I want to forward these logs using syslogs/rsyslog.
View 4 Replies View RelatedAs I'm trying to set ACL via "chacl" command, its giving error saying "Operation not supported". So, the syntax part is correct but its not supported.
So, how to enable ACL support on Linux 4.
I have Fedora 13 installed on my laptop. For some reason it always seems to run at 1GHz even though the maximum is 1.67GHz (even under 100% load).
The output of cpufreq-info code...
I tried changing the limits by setting cpufreq-set -r -g userspace -c 0 -d 1000MHz -u 1670MHz but the output it still identical (in particular "frequency should be within 1000 MHz and 1000 MHz").
Any ideas how to change the limits?
How to enable the remote desktop in a Red Hat system?
View 4 Replies View RelatedI'm running a ubuntu 10.04 box.
I want to enable Mysql on startup.
Typically, I used the following command:
Mysql still doesn't start when system boots.
I have an MSI-RC410 motherboard with onboard ATI Radeon XPress 200 series Graphics card.
I have used OpenSuse-11.0 on my PC for over an year. but when I tried to upgrade to OpenSuse-11.1, I managed to install it only to find that several features were missing. for example /dev/cdrom was missing.
Also install DVD of Fedora 11 did not work.
I have also tried Ubuntu-9.10 live cd. When I boot from the CD i get the initramfs command prompt. Still able to install old versions of these OSs.
What is the reason for this behavior?
Does it have to do anything with the new version of the linux kernel not being compatible with my hardware?
What should i do to install new versions of Linux?
I've a ibm x3650 with redhat 5.5 x86 This hardware has a feature for online-sparring for the memory.I know it can be seen from the bios. Does anyone know how can i confirm if the online sparring is enable or not from the operating system.
View 1 Replies View RelatedI am unable to create either a file or a directory in a specified path in Linux.
I am getting the error "No space left on device".
I have checked with df -k and df -i. Free disk space is 28 % and free inodes are 28 %.
What else could be the reason?
I;m using RHEL5, i have a problem with my wireless lan card, my laptop wireless cant be enable , i always show a inactive in the network configuration property, i know it detect in my box code...
View 10 Replies View RelatedI added my SUSE 11 linux server into the Active Directory. My smb.conf looks like this on my linux server
But I am unable to access this test share from windows 2008 server.code...
Chkconfig is a utility to update and query runlevel information for system services. Chkconfig manipulates the numerous symbolic links in /etc/init.d/, to relieve system administrators of some of the drudgery of manually editing the symbolic links.
In Debian, there are several tools with similar functionality, but users coming from other Linux distributions will find the tools in this package more familiar.
Go to Terminal and open it and type the command "chkconfig' press enter. code...
after installing just type "chkconfig"
you can see list of service which one is off or on in your system code...
I am using Lucid lynx, 1 partition, Linux is the only OS, and I am the only user. Everything is working fine until I click on "Places> File Browser" the system ask for root password.
Then I enter the Root password and I can then go where ever I want. ( It does not do this every time, just most of the time.)
When I open File Browser the first things listed in the left pane are ROOT, DESKTOP, (which is the root desktop), then FILE SYSTEMS, etc.
I think all the little differences I am experiencing are a result of logging on as ROOT user. I think that when I open File Browser (I use this a lot) and it ask for the ROOT password I am then ROOT and remain ROOT until I log off (I never do, because I am the only user). When I am root, things will look and feel different than when I am logged on as Wayne, but there are some things that I cannot do as Wayne (such as open File Browser). I opened K3b to burn a disk and a window poped up saying "it is not wise to run K3b as root..."
As part of server hardening process i would like to know the Best way of System Logging and Auditing.Following pointould be taken into consideration.Logging of critical eventsLogging access to critical accountsSecure storage and availability of logsReview of logsSecurity of logs
View 2 Replies View RelatedI recently installed ubuntu 10.10 and am completely new to linux. Something I recently noticed is that my whole system will freeze 2 times after logging back in, but after that it works fine. I will log in, then it will work fine, but shortly after it will completely freeze. After about a minute, it will unfreeze and everything will work fine. Then after a little longer, the exact same thing will occur. After the second freeze and unfreeze, it never occurs again until I log out and log back in. I do not believe this occurs when first starting the computer.
View 1 Replies View RelatedCan someone tell me what is the default system logging daemon in Natty, and what other support packages should also be installed?
Since the upgrade to Natty from Maverick none of my system logs are being updated and I need to determine if the correct logging daemon is present.
I�m looking into preventing the samba messages from appearing in the system log (/var/log/messages).I added syslog = 0 to smb.conf and reloaded the config but messages are still appearing�suppress logging or reconfiguremba such that the �nmbd� and �winbindd� messages do not appear in /var/log/messages
View 4 Replies View RelatedI switched over to Fedora a couple of days ago. I'm using the built-in firewall shipped with it but I can't find out how to enable logging of dropped packets. Among others I'd like to use psad that needs firewall logging. Is there an easy way to do this? I'm not an iptables "expert".
View 6 Replies View RelatedI recently installed Deluge 1.2.0 from the following PPA:[URL]I using this on two different Linux computers. One is running Linux Mint 8 and the other is running Ubuntu Netbook Remix 9.10. The first time on either computer when I enable WebUI in the Deluge GUI it works fine. However if I ever disable it in plugins section I am subsequently unable to re-enable it (doesn't appear in the side panel again). Rebooting or reinstalling Deluge seems to have no effect.Is this a bug or am I doing something wrong?
View 3 Replies View RelatedWhenever I try loading ksystemlog application I get an error message saying "The file '/var/log/syslog' does not exist". Can anyone let me know how do I fix this issue? Screenshot of the message attached.
View 3 Replies View RelatedI was wondering whether there is an inbuilt logging system in UNIX?
I ran and installation and the program opened up automatically but I can't find the program executable.
If I could find a log then I could locate this file.
I want to give my users option of logging to the system. They should have posibillity for choosing option betweend logging to the system with their default password or one-time password OTPW. I installed OTPW in my Debian. Here is my /etc/pam.d/sshd file:
[Code]....
I'm just want to know how i could enable FTP for PHP on a ubuntu system... I found a few links but they mostly say that when you install it you have to run
Code:
./configure --enable-ftp
How can i enable it if PHP was installed when we set up the server the 1st time?
I just loaded 5.3 from the CD's. How do I enable XFS file system support.
View 10 Replies View RelatedI like the system beep because I can tell checkgmail to beep when an email comes, that way my speakers don't have to be on.Anyways, I did a fresh install of Karmic the other day. Something is being weird with me when I try to re-enable the beep. Karmic blacklisted pcspkr in /etc/modprobe.d/blacklist.conf . Here's what happens:I leave "blacklist pcspkr" in blacklist.conf and restart. I do "sudo modprobe pcspkr" and then "beep", and it beeps. Good.
Then I comment out "blacklist pcspkr" in blacklist.conf and restart. I do "beep". Nothing. I do "sudo modprobe pcspkr" and then "beep". Nothing. I do "lsmod | grep pcspkr". It's listed there as it should be. I check with "sudo grep pcspkr /var/log/dmesg" and find no errors.