I am going to read the logs (system log, security log) through my "C" application, operating system is Linux fedora core8. i am only interest in the present logs. How to read this logs through my application ,where to read, what is the logic behind this.
I am new in perl, i have a question i.e 'How to read individual logs from linux server into another log file using perl script', I need to capture the individual logs from different paths and output the result of those log files and store to a file in another location.These Logs are generated in Linux Server..
I'm getting BSOD when I'm booting my main system (debian 8 fully updated). I get a BSOD with a _ sign. URL...because I can't access to failed boots files. Besides having the files
Code: Select allfelipe@debian ~ % ls /var/log/journal 362d07f9e18b45f8aec4575c347f181d 92e8a448f7a348719da129184a7e6821
Code: Select allfelipe@debian ~ % journalctl --list-boots 0 0c51ae5b67f144059c5470dbe345d621 vie 2016-03-25 09:05:29 ART—vie 2016-03-25 09:11:58 ART
I would like to monitor a RedHat via snmp. I would like to make available data via snmp. The data that I would like to graph are only present in logs file. Is it possible to parse data from applicative logs and have them available for my cacti server via snmp? I already monitor CPU, mem, and others with cacti using the standard MIB.What would be the logical step I would need to achieve that?
When I try to login as me - it gets pretty far but then something happens and automatically logs out. This happens in Gnome, Kde too. Now - I have no problem logging in a Root. Is there a way I can try to stop the login process before it kicks me out, or is there a way to look at some files to tell me what's going on?
policy is to backup mysql with mysql-zrm.However at a certain stage it hangs forever. This is at the "flush logs". I tried this manually and it gave the same result. Even after restarting mysql and the host. After some googling and trying I found out "flush tables with read lock" gives the same result. The tables seem to be MyIsam. I tried with a mysqldump on one server and restore it on a test vm. I used the same config and flush logs still hangs. ALso I tried to change some configuration directives... but with the same result
Edit: btw, I checked the logfile and didn't found anything (/var/log/mysqld.log)
Edit2: I also did myisamchk -s *.MYI (in all direcoties with db files;actually did it with find command) and it did not return anything so datafiles seem ok.
On our app server the logs from the Sybase Mobilink service get logged to /var/log because of that I did a chmod a+rx /var/log and all is well until.... the next day QA logs in goes to check the logs and gets:
I want my samba to keep my windows attributes exactly what the user setted in windows I mean if it has read only file in win box and copy it to samba share ,samba keep it read only and same for other attributes but it does not do it now with my configuration:Quote:
[global] workgroup = DOMAIN server string = File Server
The titles says about everything. CD's are perfectly automounted.WhenI insert a DVD however (I tried various DVDs), absolutely nothing happens, as if I would have inserted nothing or a blank DVD.I already read lots of threads and nothing o help... Here are the outputs of a few commands that might or might not be useful.A line I added myself in fstab which appears completely useless:
Code: /dev/sr0 /media/dvd auto utf8,user,noauto,exec 0 0 Code:
What are the possible problem when Windows access the file from Ubuntu got Read Only even though have a full permission to read, write and execute the file? Ubuntu to Ubuntu accessing the file there is no problem only Windows got a problem.
I am mystified as to what is happening to my NFS mount which is very strange as it sounds like the NFS server is allowing the connection.Does anybody have any ideas ? Are there any other NFS logs I can look at ? There doesn't appear to be a hell of a lot for me to go on ..
1) THE SETUP: I have a home set-up with 3 Ubuntu computers, including an HTPC which is always on, plugged into a Verizon FIOS routerI also have a web based cam (TrendNet TV IP422W).The cam has an ethernet jack so it plugs in directly to the router.It has a simple firmware that allows users to log in via HTTP.It is also managed via HTTP.
2)THE PROBLEM: the cam does not keep logs.So I never know who is logged in at any one point. It's not a big deal, but it is annoying.I want to fix that.The router does not keep logs either.I was told I can get a linux based router to replace (or plug in) to the default FIOS router, but I am looking for something simpler and cheaper.
3)THE FAILED SOLUTION: my idea was to set up the Ubuntu HTPC to always forward a given port to the webcam via the LAN. I tried to follow the instruction from URL...as best I could, see below. 6666 is the port that the cam is listening to (the router is set to forward that port to the cam's LAN IP 192.168.1.30). 5555 is the port that I am trying to forward through the HTPC (ubuntu.local or 192.168.1.130 below, and the router is set to forward any 5555 TCP packets to the HTPC at 192.168.1.130).The iptables commands below where run on the HTPC.
My laptop Dell Inspiron 1420 running Ubuntu 10.10 has started logging itself out every 30-60 minutes or so. I am trying to figure out what is the problem. I am wondering if it is
1) a hardware problem. I have recently replaced the cooling fan which required disassembling the whole thing into small pieces. The computer has worked without a problem for one day after the repair.
or
2) a problem with a recent update. The computer started logging itself out after a recent update. This coincidence is suspicious, but I hasn't noticed anyone reporting a similar problem with Ubuntu 10.10.
Is there a way I can see what is happening through the system log? What would be the keyword I should look for in the log files?
Can I track the last updates I have applied and roll them back?
The only solution I see now is to reassemble the laptop to see if it helps.
I have a web server running and its generating lot of logs daily. Currently, Iam manually zipping last 2 days log files and moving them to a different folder called "old logs". Iam keeping them there for 5 days for any reference and eventually deleting them.
I have installed Ubuntu 11.04 over the weekend and wanted to tail the logs whilst doing so stuff. When I browsed to the folder after getting an error trying to tail, I noticed that the messages file does not exist.
I Have RHEL4 running on IBM X3550 server, we request IBM support regarding issues with this server, they will request for IBM DSA logs. The logs are quite extensive and cover almost all server config & can identify hardware issues with drivers...etc. I want to know if there is a way to analysis those logs offline without sending them to IBM support?
I noticed that on my server, I keep getting the same error flooding my logs:
Code:
We don't use CUPS but I'm sure that package is a dependency of something else. It seems like this is Samba trying to share out to the local CUPS server. How can I disable this from flooding my logs? Samba should not be sharing out any printers at all.
I have received the following log messages on my Debian Squeeze webserver:Apr 13 15:16:37 vps suhosin[4699]: ALERT - ASCII-NUL chars not allowed within request variables - dropped variable 'controller' (attacker '75.126.235.115', file '/var/www/xxxxxxxxxxxxx.com
When I select restart from the shut down menu sometimes instead of shutting the system down it insteads just ends my session and logs me out (which leads me to believe perhaps my session is crashing when it tries to reboot?
Is it possible to view the full logs of what yum has done through packagekit?
I ask this, because if you update your packages, and if a configuration file cannot be automatically merged, you will have two configuration files: /etc/config.rpmnew (or .rpmsav, I don't remember) and /etc/config.code...
I currently run kernel 2.6.34.7-66.fc13.i686 (sort of). When I select from the Gnome menu System -> Shutdown and select Shutdown from the dialog, my system only logs out, presenting me with the greeting screen. While this is a minor problem and I rarely shutdown my machine, it is mildly disconcerting.I have dropped back to 2.6.34.7-63.fc13.i686 and that shutdowns properly using this method. (Also, 2.6.34.7-61.fc13.i686 works properly). I can imagine that it might close some security issue in which an unauthorized user is able to halt the entire machine. Especially if this is something that will continue in future releases of the kernel.
browse the internet for about 30min till NetworkManager craps out on me. but it'll come back as " connected " in about 10 minutes time. where i could look at what causes this? would the error be in my logs? iv'e updated each Network Mangler from updates and updates-testing and still dont fix the problem. i know i never had the problem in 0.8.x of NM.
Ubuntu one does not synchronize files since I upgraded from 9.10 to 10.04. The preferences panel keeps showing "Synchronization in progress...", but files are not downloaded from the repository. It does not show any error message.
Where do I find the programm logs, where I can investigate my problem?
I cannot find one single UFW event anywhere. I have researched this and see that others have trouble finding these logs too. I have looked in every /var/log there is and I can't find one event. I have UFW enabled, default deny and logging set to medium from a previous logging low(in hopes this would create more events to be seen). In terminal, UFW is shown as active. I have been using Ubuntu for more than a year now and I recall seeing UFW events with every session in some /var/logs in Ubuntu 9.04 - I'm running 9.10 now. I have also tried looking throughout the system files and have found nothing. Is UFW not working properly or could I just not be experiencing any firewall events(not likely)?
Where can I see all the logs of all my chats on Pidgin? I have "Log all instant chats" and "Log all chats", but not "Log all status changes to system log"