i have installed Ossec and save it on my sql database but the timestamp of alert is not human readable, how to make it readable ? is there algorithm to make it readable?
I have log files that everyday are downloaded from my webserver in the format: Code: samplesite.com.xxxxxxxxxxx.gz xxxxxxxxxx is a 10 digit epoch time. I am trying to figure out a way in batch to:
1. find all of exisiting files containing the pattern (after the first run it will only be one a day) 2. Isolate the epoch string 3. convert the epoch string to human readable date/time 4. rename the original file as samplesite.com.mmddYYYY.gz
[156750.000302] [Hardware Error]: No human readable MCE decoding support on this CPU type. [156750.000327] [Hardware Error]: Run the message through 'mcelog --ascii' to decode. [156750.000344] [Hardware Error]: Machine check events logged
I have been trying to find mcelog for my architecture (2.6.37.6-0.5-desktop #1 SMP PREEMPT 2011-04-25 21:48:33 +0200 i686 i686 i386 GNU/Linux). I am running openSuse version: openSUSE 11.4 (i586)
I am running my fedora box as a media server and my xbox (sorry) doesn't see mkv files and I have been looking for a while for a way to convert the mkv files to any format readable any ideas?
I am not sure whether this is something that can be answered here, but I figured this is the best place to start (next to google not giving me the answer I was looking for). One of our clients are running HPUX as filesystem, however when the support guys need to report the filesystem space they keep getting it wrong. Even after someone gave them the full command which will do the calculations for them, they still seem to make mistakes. On linux the df -h works very weel but this is obviously not available here...can use to display the filesystem space in the correct formats? Even if there is a set of commands that we can work into a script and they can then just run the script.
On My OpenSuse 11.3 box, all my 64-bit apps correctly select Western font for menu items, file selection etc.. But my 32-bit apps like Adobe reader and 32-bit version of Firefox display unreadable text for mouse right click, file save and select etc, as if they are trying to use an invalid font or character encoding.C how I configure 32-bit apps to use Western character set, and to find what it is actually looking for ?
I am writing a php script and I need to find the total diskspace of a directory. I have used space already. I have a couple of different users with quotas Code: $path = "/home/" . ($_SERVER['PHP_AUTH_USER']); $used = exec("du -c -a $path"); echo $used; Will give me the disk space used. But I need total quota for that user.
We are using Red Hat Enterprise AS 3.0. There are 100+ users connected to a single server. As the Inbox size of Mail Client (Thunderbird) for each user grows there are space constraint on the server. So I want to define a quota on mail folder for each user (say around 500 MB to 1 GB). How can I do this.
Is there a way to set a disk quota for samba users? I've found a few guides, but they were a little to complicated for my needs. Running Ubuntu server 9.10
Running a server using CentOS 5.5 (yum updated, x86_64), found that when using /usr/sbin/useradd to create system user, the quota for the user will default set to 5M soft and 10M hard (on /var/spool/mail partition). As remember the default setting for user quota should be both zero when create a new user.
man useradd and quota related command and no help, had any idea how to change/set the default quota when create user.
On one Debian 4.0 x86_64 previously running kernel version 2.6.18-6-amd64 (installed with upt-get upgrade) I updated with the last stable kernel 2.6.35.5
The problem I'm facing regards the quotas. In dmesg I'm getting errors like:
EXT3-fs (sda3): Quota write (off=4080, len=40) cancelled because not block aligned VFS: dquota write failed on dev sda3 The users are shown like overquota and edquota, quota commands are running OK, but when they go overquota I get this errors and quota not functioning. What problem can this be?
I want to find out if I can get someone to help me with this. Sectool-gui says that the home_directory of user "mysql" is world-readable and that it also is world accessible. How do I close that accessibility?
I'm setting up a Squeeze system with multiple users. I would like to have it the way that no user is allowed to read other user's files. I have searched the net and the forums here and have found quite a lot of stuff but it's all a bit confusing to me.
Some suggest that one should use dpkg-reconfigure adduser and select <no> But that doesn't do what I'd like to achieve (with a newly created user): wussy@dorm:/home$ ls -l
This morning I ran sectool (in terminal for the first time. Before that I used sectool-gui) and I got this (written to file)...
See attachment please..
I think... the user "Jetty" may be a part of (or has something to do with SQL?).. This machine I have is not a server (in fact I know pretty much nothing about web servers).. this machine is used purely for local app development (python PyQt4/ and C++/wx - making games, general utilities, specialized calculators...etc)
So... Can anyone please tell me who the user "Jetty" is ? (The others are safe, I compiled python/SIP/PyQt4/wx/aliens from source... so that;s probably why it doesn't belong to packages.
Plus, My screen started to flicker some time (could it be possible someone is messing w/ my xorg configs?)
I need to set up quotas so each user has a limit of 20GB (soft could be 15GB) on their homes.Is there a way to set up a default quota for all the users, or do i have to do this for the 345982374058 users in my system manually?would group quotas help? (i dont understand much of these type of quota)
I have a DVD which I can open and play on a machine running 9.04 but I can't get to open and play it on a machine running 10.04.How can I diagnose and prefereably fix the problem?
I have a form that have a browse button, convert to ASCII button, cancel button and text area... all i have to do is...? when i click the browse button and choose a folder that have a utf8.txt the file that have utf8 will appear or display into the text area... what i can i do to make this..?
i need a php script to format and display a select amount of text from a file or a cron job that'll do it (with grep etc) and out put to a file but whatever is easier i want to display all the banned ip's i have in my .htaccess file i have a lot of lines in my .htaccess file but i have a line that read like this:
the 3 test ip's are 123.123.123.123 and i want the "" stripping and the "|" removing and each ip to be on it's own line like this:
123.123.123.123 123.123.123.123 123.123.123.123
i'm not bothered if this is a php script that'll read the .htaccess file and display the output or a cron job that'll run every x mins and output it to a .txt file but i'd prefer a php script
I wanted to show a track from a CD to a friend who uses Windows. I tried to rip it in MP3 (LAME) format, because I couldn't remember whether Windows Media Player can read OGG or FLAC (whatever that is) format. Due to some kind of error (no explanation given other than "command failed"), my K3B would not rip in MP3. Which of the formats can Windows Media Player read? I know it can read WAV, but that's inconveniently large to send by e-mail or over an instant messenger.