Debian Installation :: Redirecting All Logs To Different Location
Jul 27, 2010
So 1 year ago I installed Lenny, but in the process of installation during the splitting of the drive I have mistakenly set a seperate parition for "/var/logs" instead of "/var/log". Is there any way to redirect all the logs to this seperate partition (var/logs) or it's better to go through the whole trouble* of installing Lenny again? *the trouble because it was hell of a problem to fix grub that didn't recognize SmartArray RAID (cciss driver), the problem is that I don't really remember how I fixed it. Symbolic link won't help since physically it will still be on the other partition. Do I have any other option?
View 3 Replies
ADVERTISEMENT
Dec 5, 2009
I need with JBoss application Server.All I have JBOSS running without any issue.All I want is leading the Jboss logs to be deposited at /var/log/jboss.Say, if there are more than one instance running then create a seperate logs like /var/log/jboss-insta1, /var/log/jboss-insta2 etc.
View 2 Replies
View Related
Nov 15, 2010
I am done with installing cron jobs for performing rebboting operations, now my requirement is sending the bootlogs to an email address.
View 1 Replies
View Related
May 27, 2011
For internal security reasons I need to prevent ourmcat logs from writing to the webserver local disk. We set up a separate logging server with rsyslog and need to pipe the log data to it.I am trying to work out how to configure tomcat to send all log data to the logging server via the rsyslog client (running locally) via a named pipe. We are on CentOS 5.6, Tomcat 6 and rsyslog 5.8.1. I need to know: 1) do we use the default logging library or log4j2) where is this configured in the tomcat config3) is there any code that would need to be written to achieve this
View 1 Replies
View Related
Nov 5, 2010
I've signed up with a hosting company and have access to logs of visits to my website. How can I process these logs to obtain the geographic location of visitors from their IP number? If there's a way of bash scripting this, it would be ideal, or a dedicated softare that could read in the log file and output the location for each visit
View 4 Replies
View Related
May 7, 2011
i get file system errors on boot up. found logs in /var/logs but cant access them. second best thing i can do is to re-install debian but no one seems to want to say how thats done. my disk wont run in wine (some error i dont remember) so i cant use my CD /flashdrive to re-install.
1) i need to read the log files and try to fix the install
2) if i cant fix i need to know how to wipe the OS and do a fresh install
View 2 Replies
View Related
May 2, 2011
I'm trying to install debian on a buffalo linksystem and the tutorial is created for a debian lenny installation but I cannot find a download mirror anywhere for anything except debian 6. point me to a download location for a debian 5 x32 cd-image?
View 2 Replies
View Related
Mar 16, 2011
I have 2 debian linux PCson the same subnet/IP Range 192.168.100.0, 1st linux PC IP Address is 192.168.100.1, 2nd linux PC IP Address 192.168.100.9. 1st LINUX PC1st linux PC has 2 network interfaces, eth1 connected to Cisco Router, eth0 is for local LAN. No NAT on Cisco Router, iptables firewall on linux PC.2nd LINUX PC2nd Linux has 2 network interfaces, eth1 is connected to netgear router via bridge modereating a ppp0 connection. eth0 is for local LAN. No NAT on Netgear Router,s firewall on Linux PC.The 1st linux PC (192.168.100.1) is set as the gateway on the network. question -In what way can I redirect all RDP connections from the network via the 1st Linux PC (192.168.100.1) through to the 2nd Linux PC (192.168.100.9)
View 1 Replies
View Related
Jun 10, 2011
I have been following this tutorial [URL]. When I get to the end of the installation and try to install GRUB to the /boot partition I have set up it throws a fatal error at me. No explanation other than it can't write to the specified location. I double checked all the partition settings which were the same as the tutorial then skipped the GRUB installation and finished. The only thing I can think of that might be wrong is that the 250MB partition size specified for /boot in the tutorial is too small.
View 2 Replies
View Related
Aug 11, 2010
I would like to redirect traffic coming from a machine A through a SOCKS proxy (setted on machine B)Machine B run "ssh -D 4242". So that create a SOCKS proxy on machine B.Machine A would like to connect on the internet, but the only way is to use machine B SOCKS proxy. The problem is machine A don't know how to use SOCKS Proxy. (Actually, i can just set ip, netmask and gateway on machine A).So, I would like to set up something on machine B that will redirect all traffic coming from machine A throught the SOCKS proxy.
View 1 Replies
View Related
Feb 10, 2010
I have a box that can not boot from USB, yet it can boot from floppy - how can I save the bootloader on a floppy and make it boot from USB?
View 1 Replies
View Related
Feb 23, 2011
I'm familiar with Ubuntu and the like, and have GRUB 2 installed as my boot-loader. I was wondering if there was any way to get one menu entry to be re-directed to another. Specifically, whenever I select my third menu entry, I want it to execute the code on menu entry 10. My reason for doing this would be that after customizing my GRUB 2 menu, I came into the problem of updated kernels. Basically I would like a single "Ubuntu, Latest Kernel" entry that always redirected to menuentry 10, where my latest "Ubuntu, linux 2.6.xx-x-generic" entry is. In order to temporarily solve my issue, I've set my "/etc/default/grub" file's "GRUB_DEFAULT" to "9", although I'd rather not do this.
View 6 Replies
View Related
Mar 29, 2011
I have problem with loging, actually iptables logs a data but it seems that for some reasons does not writes in a log file:
Code:
iptables -L -v
Chain INPUT (policy ACCEPT 406 packets, 124K bytes)
pkts bytes target prot opt in out source destination
0 0 ACCEPT tcp -- any any xxxxxxxxxxx anywhere tcp dpt:xxxx
[Code]....
i checked /var/log/message and /var/log/syslog nothing is here related to iptables. then i create separate file for Iptables by adding this: kern.warning /var/log/iptables.log in my rsyslog.conf it does create iptables.log file inside /var/ but its still empty
View 4 Replies
View Related
Apr 13, 2011
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
75.126.235.115 - - [13/Apr/2011:15:16:37 +0100] "GET /index.php?option=com_product&controller=../../../../../../../../../../../../../../../proc/self/environ%00 HTTP/1.1" 200 8018 "-" "libwww-perl/6.01"
[code]....
View 1 Replies
View Related
Jul 27, 2010
I just got a USB bluetooth adapter for my Laptop. I'm running Lenny with all the lateset updates, on and Ispiron 8600. I went through and made sure I installed all the Bluez stuff (as far as I can tell anyway). I'm trying to use it with my Droid Eris and while I have been able to successfully recieve files from the phone in Linux, I noticed it seems a little buggy and I think it ma have something to do with the logs. Below is a sample. As you can see, one line keeps repeating continuously. Given enough time, it will fill the entire /var partition. When I remove the Blutooth, it stops.
Code:
hal9000:/var/log# tail -F syslog
Jul 27 03:59:00 hal9000 hcid[32187]: Stopping security manager 0
Jul 27 03:59:00 hal9000 hcid[32187]: Device hci0 has been disabled
Jul 27 03:59:00 hal9000 NetworkManager: <debug> [1280217540.460076] nm_hal_device_removed(): Device removed (hal udi is '/org/freedesktop/Hal/devices/usb_device_a12_1_noserial_if0_bluetooth_hci_158315a310').
[Code]....
View 3 Replies
View Related
Jul 29, 2010
I'm trying to find out where the logs from slapd.conf (loglevel -1) go? I know in RH is /var/log/ldap.log cant find it on Debian. Its probably too late
Btw. does Debian have something like /etc/syslog.conf. If yes where?
View 1 Replies
View Related
Jul 23, 2011
Well it turns out my system has logged out more then once on its own. I had the system updated and upgraded from 7-3-11 and it did this about once a week. On 7-18-11 I did a full update and upgrade and it logged out a few times in a couple of hours. It does it while I am away and the system is in screen saver mode. I used my partition clone and restored the system back to 7-3-11. Has any one else ever had such an issue?
View 2 Replies
View Related
Oct 6, 2009
I used to know a command to turn off various logs that run in the background of Debian. I using lenny on CF on an embedded board, that why I need the logs off, to stop writes.
View 1 Replies
View Related
Apr 19, 2010
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?
View 3 Replies
View Related
Apr 26, 2011
I'm working with a program that uses Open Motif to create all of the widgets, including the Open File dialog box (obviously). However, Open Motif being kinda old-timey, 80's vintage, and for the most part now an abandoned project, it is quite clunky. So, actually what I need to do is to open some files located on my work server. I have already successfully connected to the relevant server directories with Samba, and with programs built with GTK+ (such as GIMP) I can open files across the network because I have created a bookmark in Nautilus, and those bookmarks appear in the Open File dialog box created by GTK+. Now, Open Motif is different: it doesn't see network locations, orNautilus shortcuts. When I type "smb://serveripyadayada" in the search folder, it really doesn't like it and complains. So, what do I do? Can I get somehow Open Motif to open a network location? Or can I do a run-around and place a shortcut in the file system that points to the network location?
View 2 Replies
View Related
May 1, 2014
For some time now I've been unable to see changelogs for packages to be upgraded in Wheezy,even trying with different mirrors in sources.list all I'm getting is this:
Code: Select allaptitude changelog iceweasel
Err Changelog of iceweasel
E: Changelog download failed: 404 Not Found [IP: 185.31.16.185 80]
Err Changelog of iceweasel
E: Changelog download failed: 404 Not Found [IP: 185.31.16.185 80]
E: Couldn't find a changelog for iceweasel
[Code] ....
Is there maybe some specific reasons why I can't get changelogs before applying the updates? I know I can review them afterwards,it's just that I would find convenient to have a look before updating.
View 14 Replies
View Related
Mar 21, 2015
I want to install Debian but I'd like to keep my Skype chat history.
I don't know if it's possible to just copy from %appdata% the skype folder and put it into the Debian's one.
How could I do? I read one post but it's quite old, so maybe there's something new now.
View 2 Replies
View Related
Dec 1, 2015
How to enable persistent logging with systemd? I find it really weird that all this machinery that is systemd doesn't store persistent logs, what if I'm trying to retrieve some information regarding previous boots?
For instance: I have random suspend issues, after rebooting the computer there's no trace left in the logs of what happened, and furthermore (at least in Jessie) I can no longer see a pm-suspend log.
So, at first it sounds like all you have to do is edit journald.conf setting #Storage=auto to "persistent" and create the /var/log/journal directory, but then reading here /usr/share/doc/systemd/README.Debian
Code: Select allEnabling persistent logging in journald
=======================================
To enable persistent logging, create /var/log/journal and set up proper permissions:
install -d -g systemd-journal /var/log/journal
setfacl -R -nm g:adm:rx,d:g:adm:rx /var/log/journal
and here [URL] ....
There are two main reasons why I decided to not enable persistent logging just yet ....
We did get corrupt journal files in the past where the journal then no longer worked at all [1]. With volatile you can just reboot and have a clean state again. Admittedly, the journal has seen a lot of improvements in the mean time and hopefully is more robust, so this point is no longer true.
We still install rsyslog by default. That means we get store them twice. This is something we don't want to do atm.
View 3 Replies
View Related
Mar 10, 2011
In a squeeze box, I installed awstats and it's working like a charm. Its cron job update the awstats database every 10 minutes (as it runs as root). But I would like to be able to update the statistics from the browser as well. So I setup everything as required and I gave "read" access to "others" to every apache log file. Now, a couple of questions came to my mind:
1. Am I compromising server's security giving "read" access to "others" to apache log files?
2. Instead of giving "read" access to "others", I could add www-data user to adm group (as apache log files are owned by root:adm and permissions are rw-r----). Is this more secure than giving "read" access to "others"? 3. If the option would be giving "read" access to "others" at the end, a log file would be owned by root:adm and its permissions be rw-r--r--. As apache rotates its log files, when Apache create a new log file, does it preserve the permissions (rw-r--r--) or create it with the default permissions (rw-r-----)?
View 1 Replies
View Related
Mar 20, 2011
When i open some video on the net, the system logs out (especially when i open ..... video). I suspect its flash (current version is 10.02). Is there any way how to fix this? Or how to downgrade to minor version.
Another thing as well. By default i have GNOME version. Just installed the KDE full package from synpatic. when i try to log in with kde manager same like the flash, it logs me out to welcome screen.
View 1 Replies
View Related
Mar 30, 2010
I noticed i have quite a few logs that end with .[number] for example "syslog.1" "mail.info.1" etc, why is this and why are they there since almost nothing is logged in them ??
Question 2: on my server im running a script like imagebam and imageshack with hosts images so i have quite a few apache requests to my server. I am wonder why apache takes up so much CPU for some of the requests? in Htop some requests take up 1.2% CPU while other take up 3-5% etc, so the total load is about 1.50 0.58 0.84 to 2.61 1.08 1.14 with about 128-150 apache requests all the time while sometimes the CPU load can be almost 0 with the same ammount of requests. is this normal? what could cause this in apache ?? the server is just running apache2. MYSQL is running on another server.
View 1 Replies
View Related
Jun 22, 2015
So the question is simple what I need is to run file.sh after user logs into desktop LXDE.
Ive been trying whole day tried to put my file.sh into /etc/init.d and ever created symbolic link to /etc/rc4.d etc..
BUT after I log into desktop nothing happens?
I am coming from ubntu there it was easy just add that script into startup applications.
View 14 Replies
View Related
Apr 22, 2016
I've enabled permanent systemd logs in Jessie, and after a while I'm seeing messages about corrupted logs when checking with journalctl --verify
Code: Select allInvalid tail monotonic timestamp 0%
File corruption detected at /var/log/journal/..........
as far as I can see, there is currently no option to delete this files from within systemd facilities, is that correct?
Should they be deleted manually, or just left alone?
Apparently I can still read all older logs regardless of such reported corruption, using the journalctl --boot -n option.
EDIT:Another thing coming to mind is that this has been happening for me not only in Jessie but in every systemd-based distro that I've tried, once permanent logging is enabled: is that some kind of systemd bug?
What would exactly mean
Code: Select allFile corruption detected at /var/log/journal/38d5e6b861134eadb37cbd64b98a66bd/user-65534@d1745ac610d2459f940a24f27abd6d47-0000000000000f14-00051b8d2dabdcac.journal:000000 (of 8388608 bytes, 0%)
in particular, the 0% of 8388608 bytes part ?
View 0 Replies
View Related
Oct 30, 2010
I have been testing ubuntu 10.10 maverick, it has some nice features. Anyway I am missing the possibility of writing manually the folder you want to go on nautilus using the Location bar. It was used to have some kind of icon which you can click and it switched between graphich breadcrumbs or the location of the folder and you could changed it manually, you know what I mean?
View 2 Replies
View Related
Aug 30, 2010
I am using a squeeze build, except this is a new version of gnome and honestly, how do you start getting the old location style bar?. Windows does it the right way, just like the old versions of Gnome, seriously I don't need giant blobs for locations. How do I get that editable again? I mean I can hit the / key but then it deletes the whole location. The only way is pretty inconvient to right click the tab and hit copy, and then hit the / key and then paste it or w/e. That's a pain, how do I get the old style back?
View 2 Replies
View Related