Ubuntu Servers :: Redirect Messages From Kernel Ringbuffer To A Logfile?

Aug 2, 2010

Is there a way I can redirect messages from kernel ringbuffer to a logfile, e.g. with rsyslogd? With redirect I mean that the messages do no longer appear in dmesg, but only in the logfile.
In my case that should be iptables log messages.

View 3 Replies


ADVERTISEMENT

Ubuntu Servers :: Redirect Logs From Device Out Of /var/log/messages

May 4, 2010

I have configured my Cisco firewall to redirect all its logs to my Ubuntu 9.1 server (no UI.)

Now, my /var/log/messages is getting all the firewall logs + all other logs.

I'm wondering if there is a way to redirect the logs from my Cisco Firewall (coming from UDP port 514) to another file.

View 2 Replies View Related

Red Hat / Fedora :: Increase Detail Of Messages Logfile To Help Resolve A Intermittent Crash?

Mar 29, 2010

My server is running Red Hat 4.1.2-44.I am having an issue with it hanging (website doesn't respond, can't connect via SSH (it's a remote server)) after 4am on every 3rd Sunday or so.A reboot is required to get the server responding again.I have checked every logfile I can find and found nothing that helps me. The thing I have noticed is that some of these log files start afresh after the reboot so my initial thoughts are that it is a logrotate issue or something similar.

The last activity I can find before the reboot (at 8:32) is in the logfile /var/log/cron:
Mar 28 04:22:01 crond[9356]: (root) CMD (run-parts /etc/cron.weekly)
Mar 29 08:32:39 crond[3884]: (CRON) STARTUP (V5.0)

[code]....

View 7 Replies View Related

Ubuntu Servers :: No Logfile Lines Found To Process?

Feb 4, 2010

I think I miss something here(Ubuntu 9.10 server 64bit):

/etc/srg/srg.conf

Code:

##### SRG Example Configuration File #####
# Squid log file to process
# Defaults to access.log in the srg directory.
# e.g. log_file "/usr/local/squid/logs/access.log"

[Code].....

WARNING: Configuration file not found!

No logfile lines found to process!

View 1 Replies View Related

Ubuntu Servers :: Rsyslog & Log All Iptable Logs To Mysql Instead Just A Logfile

Apr 5, 2011

I try to log all my iptable logs to mysql instead just a logfile. The setup is as followed:

[Code].....

[red]Problem[/red] rsyslog logs everything correct, except it does not log to db, it logs to /var/log/messages. As I am brand new to the whole Linux experience, I don't get it. My /etc/rsyslog.conf is setup with $ModLoad onmysql.

View 1 Replies View Related

Ubuntu Networking :: "Redirect Host" In Ping Messages?

Sep 21, 2010

What does these messages in PING mean?

Code:
PING 192.25.141.248 (192.25.141.248) 56(84) bytes of data.
From 192.25.141.229: icmp_seq=1 Redirect Host(New nexthop: 192.25.141.248)

[code]....

View 4 Replies View Related

Ubuntu Servers :: Redirect DNS Lookups To Other Servers?

Jan 12, 2011

Removed the thread; figured out that this does work in the zones config:

<Record you want redirected to another nameserver><tab>IN<tab>NS<tab><name server to redirect the query to>

View 1 Replies View Related

Ubuntu Servers :: Redirect To Another Internal Webserver?

Feb 26, 2010

I have two servers on my network One with ubuntu 9.10 server And one with openSUSE 11.2.The ubuntu server is my webserver and runs phpsysinfo and my website. On the openSuse server i have a webbased application and some files that i want people to be able to reach by using mydomain.com wich points to my ubuntu server. Is there any way to do this?

View 1 Replies View Related

Ubuntu Servers :: Redirect All Network To Squid?

Apr 28, 2010

I've been having a hard time googling and trying to get ALL network connection to be redirected to squid proxy. I couldn't find a proper configuration for ufw or iptables. The ideas are:

1. redirection rule should NOT depend on a specific network inteface, but should work with any connection type, ex.: ppp0 or eth0... 2. firewall rules can be for firehol, iptables, or ufw (the same as iptables, just tell me where to place them). Preferably ufw or gufw. 3. should not interfere on cups web interface and lighttpd server.

BTW: it's not a ubuntu server install

View 6 Replies View Related

Ubuntu Servers :: Redirect All Outgoing Emails?

May 10, 2010

Here's what I'm trying to do to complete my rocking development server.

I would like all outgoing email on my Ubuntu server to be redirected to one email address (internal or external). I don't have any mail server installed yet (I'll probably use postfix unless you have another suggestion).

The reason I would like this to work is because I'm a web developer working on multiple projects. When I start working on a new project I would like to be able to test some of the forms and features in the web application (PHP) without having emails sent to the email address configured in the application. I can always change configurations but having my development server forward the emails would save me lots of trouble.

Example:
If one of my php application sends an email to: user1@domain.com, user3@domain4.com... I would like all of them to forward to myemail@domain.com

View 3 Replies View Related

Ubuntu Servers :: How To Redirect Web Access Into Different Web Apps

Sep 30, 2010

I got two web apps in my single linux box, they are Wiki and Mantis the screenshot of the web apps directory shown below.I have created the DNS CNAME record for this server which point to the main server SV6.somehow i got error after i edit it and restart the Apache server.

View 2 Replies View Related

Ubuntu Servers :: Make It A .com - Redirect DNS To Server IP?

Oct 26, 2010

I'm hosting my own dedicated server with Ubuntu Server 10.10. I have it set up with a static local IP, and I've configured DynDNS to link up with my router and allow my server to go live to the internet. I have all the appropriate ports unlocked, with the exception of port 80. This port is blocked by my ISP (Charter) and I can't use it. Due to this, I configured my router to listen on port 81, and direct it to my server.

So, In order to view it, you need to go to the IP XXX.xxx.XXX.xxx:81 Today, I registered (www.online-self.com) in hopes of getting around my current mask (provided by DynDNS.com (omegame.selfip.com). So here is my dilemma, When I go to the host of my domain name , I want to redirect my DNS to my server IP.

I can't seem to do it though? They want a strict IP address, no port extensions. How do I get around this so that my domain name and IP address link up? I'm thinking I may be missing a step, or maybe I needed to register a domain name that simply redirects? I'm starting to get confused on what I should do next. Can I even do this?

View 6 Replies View Related

Ubuntu Servers :: 301 Redirect Or ServerAlias For Multiple Tld's?

Jun 19, 2011

Our company owns multiple tld's for our corporate domain (e.g. company.com, company.net, etc.). Currently, we operate the main website at [URL]. To have "company.net" et al forward/redirect to "company.com", should we use a 301 redirect or setup a ServerAlias in Apache's virtual host directive (we use name-based virtual hosting on Ubuntu Server). Are there any SEO penalties from one approach vs. the other (e.g. Google thinking you have multiple sites with the same contact + flagging it as spam)?

View 2 Replies View Related

Ubuntu Servers :: .htaccess For Redirect After Site Move?

Aug 10, 2010

How can I redirect my URL after a site move.I have phpBB forum software installed on a 10.04 server, and I recently moved the forums from mysite.com/forums/ to mysite.com/.

So, a thread that looked like
mysite.com/forums/viewtopic=...
now looks like

[code]...

View 2 Replies View Related

Ubuntu Servers :: Bind9 Fails To Redirect Only Windows?

Aug 28, 2010

I operate a home network with Ubuntu Server 10.04 with services including DHCP3, Bind9, Apache, and so on. Since I host several dozen websites from home, I have to run Bind DNS. All Ubuntu boxes on my network operate fine. However, all Windows boxes on the network seem to forget to look internally for DNS after a couple of page loads on my internal sites. The network settings still indicate that my internal domain name server is the first lookup and everything seems normal.

View 2 Replies View Related

Ubuntu Installation :: Kernel Messages And Display Becomes Corrupted

Feb 1, 2011

Recently I am trying to install the latest Ubuntu / Xubuntu but after the kernel messages the display becomes corrupted. The machine is a Clevo laptop with the dreaded SIS 671 / 672 chipset. The Ubuntu 8.04 is working flawlessly. Any other version I get several problems and depending on the mood of the system I get a vertical running display ( not readable ) or a left horizontal displaced screen (readable) ...

I tried more tan several CDs ranging from 9.01 to 10.10 both Ubuntu or Xubuntu. What is the plainest (simpler ) VGA mode in order to install it? I have tried vga=normal and even VGA =3 with no success. With the latest Ubuntu 10.10 I get another problem it simply does not recognize the HDD / SSD. I have traced the SSD problem with the sata_sis module in kernel 2.6.35 and up... Other distros have the same problem ...

View 2 Replies View Related

OpenSUSE :: Change_hat Kernel Messages?

Dec 17, 2010

on a SuSE-11.3 (xen domU) I repeatedly notice the following messages:

Dec 17 19:30:01 MTW kernel: [22484.319192] type=1503 audit(1292610601.862:84): operation="change_hat" info="unconfined" error=-1 pid=22001
Dec 17 19:30:01 MTW kernel: [22484.319222] type=1503 audit(1292610601.862:85): operation="change_hat" info="unconfined" error=-1 pid=22001
Dec 17 19:45:01 MTW kernel: [23384.365597] type=1503 audit(1292611501.910:86): operation="change_hat" info="unconfined" error=-1 pid=22702

[code]...

View 7 Replies View Related

Security :: Mail Kernel - Messages

Mar 11, 2011

My /var/log/messages file is being flooded by messages like these.

Code:

View 1 Replies View Related

Red Hat :: Disabling Kernel Messages On Console?

May 17, 2010

is there any way to disable kernel messages on the console? The problem I have is that it is almost impossible to work on the console due to a flood of file system errors from the kernel.

I've checked /etc/syslog.conf and disabled kernel logging to the console. Even with syslog turned off the messages still flood the console.

View 2 Replies View Related

Ubuntu Servers :: Apache Redirect For Connection Coming Via External IP?

May 14, 2010

On my Server I have an application running. I have the External IP address of the Server registered in DNS so users requiring access from outside the office can enter a full URL rather then an IP address.

How to I change my Apache config so that all traffic that comes into the server from the URL is put over https?

View 6 Replies View Related

Ubuntu Servers :: Apache2 Virtual Host Appears To Redirect Url ?

Jun 4, 2010

My goal is a testing server with an apache virtual host for each site that I'm working on, with fairly painless setup for each new job.For example, I want http://site-a.mydomain to server this document root /home/client-a/site-a/public_html (or something to that effect)Ideally, DNS will use a wildcard to point http://anything-i-type.mydomain to the testing server, and apache will have a dynamic virtual host definition that will do a little magic so that I won't have to mess with DNS records or add a new virtual host each time I add a new site for a client. I'll worry about that when I get there, just put that out there in case anyone has any tips! for now I just have one little problem that's hurting my mood-

It looks like I've got my DNS server working just fine, so yay there- BUT my first attempt at adding a virtual host isn't working quite how I expected- meaning that site-a.mydomain now serves up the correct document root, but when you put http://site-a.mydomain into the browser's address bar, the address bar is then updated to http://10.0.1.100/site-a/public_html - bogus!! I must be missing an option like "FunnyBusiness Off" -

root@ubuntuvm:/etc/apache2/sites-available# vim client-a.mydomain
<VirtualHost *:80>
UseCanonicalName Off
ServerName site-a.mydomain
DocumentRoot /home/client-a/site-a/public_html
</VirtualHost>2

View 2 Replies View Related

Server :: Redirect Different Domains To Different Internal Servers

Apr 23, 2010

I have several web servers running apache on my LAN. Each internal server hosts a number of domains.I would like to make these available to the internet and make sure they all get to use port 80 and 443.My idea was to put Apache on the firewall and have all http(s) traffic from the Internet to my firewall be redirected by Apache to the different internal apache servers. This, in theory, would allow me to keep the standard http(s) port.

Can this be done? I was thinking of mod_rewrite and mod_redirect but in all honesty, I'm a little at a loss on where to start.Can someone point me to relevant documentation or give me the basic idea on how to start?

View 2 Replies View Related

Fedora :: Received Two Kernel Failure Messages In 11

Mar 4, 2010

I have just installed Fedora 11 to my laptop and it appears I am in trouble. I have received two kernel failure messages, which I post below. What are the consequences of these issues and how can I solve them ?

Message 1:

Message 2:

View 4 Replies View Related

General :: Direct Kernel Messages To COM Port?

Mar 31, 2010

I need to debug a kernel panic. It prints some long log to the console, but even if i set 1920x1440 VESA framebuffer mode, i can't see it whole.
So, i would like to direct all the kernel messages to a COM port and read them on another machine. Is there any way of doing so? What are the other (maybe better/easier/etc.) ways of catching whole kernel panic messages or scrolling the ones already displayed?

View 3 Replies View Related

Server :: Kernel: Printk - 3 Messages Suppressed

Aug 12, 2010

I've got this lines in /var/log/messages Server is running varnish-cache

View 1 Replies View Related

Fedora Servers :: Apache External IP To Internal IP Redirect

Feb 18, 2009

I would like to redirect a external IP to a internal IP, all done with Apache. Is that possible.

View 4 Replies View Related

Fedora Servers :: Set Up A Local Domain To Redirect To A File In OS?

Mar 15, 2011

I'm trying to set up a framework where people connected to same wifi connection can enter a local site for developing purposes.I want them to be thrown to a local copy (development copy of the site) when they type in www.development.loc in the browser.I don't want to connect the world, only people connected to my wifi.Anyone willing to help by stating what I need to edit to :1. Allow me to access local copy of site that's on computer (located : /var/www/developmentsitename/) using www.development.loc in browser./and2a. What do I edit to create the server accessible by other computers connected to same wifi connection. 2b. If another computer can connect to this site now, can we create a virtual desktop setting in which workers can work as if they have their own partition on the server to work on and upload work onto the development server.

View 2 Replies View Related

Software :: Apache 2 Redirect - Create Virtual Servers?

Feb 25, 2009

I believe I finally have a very secure config for apache2 that will only use SSL or port443.

Problem is how do I redirect all my users who dont type in https:// to the proper SSL port 443?

Do I have to create Virtual Servers? If so how?

Or is there a Redirect command?

Code:

View 4 Replies View Related

Fedora :: Saving Kernel Shutdown Messages As Text?

Jan 30, 2010

When my computer shuts down, I always get a long error message from the kernel. It's the very last thing the computer does and I can't even use the keyboard, since the system is halted. I wanted to read it more carefully (it's very long and doesn't fit the screen) and file a bug report against the kernel with it. But for that, I needed to save all that text in a file.

View 1 Replies View Related

General :: Pipe Kernel Messages To Another Process As They Occur

Apr 13, 2011

I have an OLED screen on my laptop that I have configured to show status information. The current driver I have installed in Linux for it is able to display messages by sending them to a script as an argument separated by spaces.Example: the command /opt/asusg50oled/utils/notify.sh Hi Everybody "Hello World" displays on the oled screen:

Hi
Everybody
Hello World

If another message is sent before the old ones disappear and it reverts to status info, it pushes off the top message. Example: less than 30 seconds after the previous example, /opt/asusg50oled/utils/notify.sh "Bananas have potassium" is executed:

Everybody
Hello World
Bananas have potassium

What I want to do is have kernel messages (the kind you see by running dmesg) forwarded to this script. For example, when I insert a USB drive, the following information would show on the OLED screen as they're logged:........

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved