Logging Your Servers

Nov 4, 2007

We have quite a large number of servers now but I'm now finding it harder and harder to keep log of the number of details for it. How do the bigger guys keep control on this? Ie: Keeping logs of the serial/product keys of each part in the server, where they were ordered from, what date was it ordered etc?

My collection of growing motherboard, ram, processor boxes (which all store the serials of the products on) are now slowly taking over the office even when flat packed. I normally just write on each of the boxes where the product was ordered from, date of order and server name. While this is all well and good.. 50 servers later it can be a bugger to find the serial of that dedi mobo without going to the DC.

I tried my efforts at a simple Access database but I kept finding I spent more and more time typing in complex keycodes into the DB and just gave up. When this has been done it sounds nice and easy but then I hit another stump.

Ontop of logging a new servers details, how do you log which server is available to be sold, who its been sold too? ATM we have a VPN shared spreadsheet with all the details in (praying that the other employees will actually update it) but Im not sure if it will stand up when it hits 100+ servers rather than the 50+ atm.

View 5 Replies


ADVERTISEMENT

MySQL Logging

Apr 5, 2009

Is it possible to log only SQL queries/transactions for a single account (domain)?

I can easily enable logging for the entire server, but I really only need it for a single domain.

MySQL version 5.0.67

View 0 Replies View Related

Web Server Logging

May 6, 2009

Firstly this question is not related to running a web hosting business, but to dedicated servers hosting our own websites.

I was just wondering, other than security reasons, what is the importance (if any) of keeping Apache/WWW logs? Are there legal reasons?

If it is best to keep Apache logs, how should we go about this? If we don't look after them properly there will be massive amounts of logs being kept - what is the best way to store them? I know they can be "rolled over" and kept for a certain amount of time, which is the best utility to do this?

The OS is Linux (CentOS) and the web servers are Apache and Lighttpd.

and should proxy/gateway/cache server logs be kept?

View 2 Replies View Related

Apache: Logging

Jun 10, 2008

I just bought a new dedicated server and have got Lxadmin on it. Now lxadmin , automatically uses a different loggin system than I would want it to use. It creates a seperate log file for each doamin.

They are located in /home/httpd/EXAMPLE.com/stats

EXAMPLE.com-error_log
EXAMPLE.com-custom_log

Now the problem is that I have literally hundreds of domains and I want it to instead log at a single place and not at these hundreds of seperate places.

This is the root cause of my problem

# The location and format of the access logfile (Common Logfile Format).
# If you do not define any access logfiles within a <VirtualHost>
# container, they will be logged here. Contrariwise, if you *do*
# define per-<VirtualHost> access logfiles, transactions will be
# logged therein and *not* in this file.

I am unable to have any kind of centralised logging command because of the individual entries for each Virtual host.

Even if i can manually remove those entries once, and new domain created by lxadmin will have that same problem. Morevoer, any kind of update of lxadmin which rebuilds the database will also ruin all the hardwork that I put in.

Is there any suggestion / solution to this problem? Have centralised data at one place in a single file?

View 4 Replies View Related

Who Here Uses Remote Logging

Jul 20, 2008

Who here uses remote logging?

If yes state what you are using after voting on the poll.

View 6 Replies View Related

Can't Turn Off Logging Of PHP Notices

Apr 29, 2008

Running Apache 2.2.2 and PHP 5.2.5, and my error_logs are filling up with PHP notices. I'd like to turn this feature off, but I must be missing something here. I've edited the php.ini and set error_reporting = E_ALL & ~E_NOTICE, and reloaded apache, but I still get the same php notices over and over again in the httpd error log.

View 1 Replies View Related

Long Delay When Logging In Via SSH

Feb 22, 2007

For some reason on a box I have, it takes 25 seconds from the time I hit enter for a usernames password for it to login via SSH. I am running CentOS 4.4

Is there something I can check to see why it is taking so long and/or fix this?

View 5 Replies View Related

Sendmail (extended Logging)

Jan 8, 2007

Just turned on extended logging in exim. Went through the log (exim_mainlog) and have thousands of these:

2007-01-08 01:44:10 cwd=/tmp 2 args: /usr/sbin/sendmail -bS
2007-01-08 01:44:12 cwd=/tmp 2 args: /usr/sbin/sendmail -ti
2007-01-08 01:44:50 cwd=/tmp 2 args: /usr/sbin/sendmail -bS

Looked in the /tmp dir. and see nothing interesting. Looks like sendmail has been hijacked. Not sure what to look for now.

View 0 Replies View Related

Logging/saving All 'sent Mail'.

Oct 16, 2007

I have Cpanel VPS account, and have been regularly backing up all my outgoing emails (via SMTP, imap or webmail) with the following:

Added to following lines in /etc/antivirus.exim

Code:
if first_delivery
and ("$h_from:" contains "username@domain.com")
then
unseen deliver "backup@anotherdomain.com"
endif
So, this worked well for the longest time. At some point it 'disappeared' and stopped working which I guess was due to some update, and putting it back it got it working again.

Recently, I had a new vps, moved my domain there and dropped the same bit in, but this time around, it didn't work.

Is it possible that antivirus.exim isn't being parsed? How do I check? Or is there somewhere else I can stick it into so it'll always work and not get replaced by some cpanel update?

View 4 Replies View Related

Server Load Logging

Nov 23, 2007

Is there any script which keep logging CPU and memory usage, sometimes server crashes and i want to know what caused it

View 4 Replies View Related

User Terminal Session Logging

May 31, 2009

I'm looking at allowing remote telnet into my server.

like any security-minded administrator, I want to log what my users type on the telnet session.

I'm using the script command to generate transcripts of the users session.

I have /etc/profile set to automatically start the script command to log user activity, and in /etc/bash.bash_logout I have a command that emails me the transcript of the users' session.

All of the above works well except for one thing:

the users can type "exit" to escape from my script logging and any commands they type won't get logged.

View 14 Replies View Related

Does Anyone Have Snort Logging To A Mysql Database

Apr 28, 2008

Does anyone have snort logging to a mysql database?

I am trying to get that to work so I can view the alerts with BASE.

I followed the instructions but snort is not logging to the DB,

View 0 Replies View Related

Remote Logging, To See Which Server Is Using Most Bandwidth

Feb 28, 2007

Does anyone have an app they use to track the bandwidth/usage for each connected computer/server?

we have multiple servers hooked up to one internet connection, all running miscrosoft windows software. Ideally i would like ONE of the servers running microsoft 2003 to log all others network usage.

All the servers do different things, so it would be great to check which are under most demand etc.

The other thing is, naturally i dont have screens for them all, only one. So this is the main reason for remote logging. Would be hassle to have to Remote desktop into each one to check how there doing every hour etc.

View 3 Replies View Related

No Log Handling Enabled - Turning On Stderr Logging

Feb 22, 2008

We have a box

Cpanel 11
PHP5+ Zend 3.3 +eaccelerator 0.9.5.2+Gzip
CentOS 4

our error_log keeps to have errors

No log handling enabled - turning on stderr logging
Cannot rename /var/net-snmp/snmpapp.conf to /var/net-snmp/snmpapp.0.conf

We have make sure net-snmp is up to date, but still these erros time to time

Client uses drupal system which seems not working well EA, causing a lot of segments fault

The worse is that it seems error happen only when eaccelerator installed

View 1 Replies View Related

Linux IPTables Logging Packets On A Certain Port

Aug 4, 2008

commands to log packets temporarily for a certain udp port with the IP information ect.

Any help would be appreciated. As for what I am doing, I am trying to find anything wierd or something that stands out from the packets sent from external IP's to my server.

View 3 Replies View Related

How To Enable Slow-query Logging In MySQL

Apr 23, 2007

how to enable slow-query logging in MySQL ? Im using mysql version 4.1.20

well i just added following line in my.cnf can you please tell me is it correct way or not?

Code:
log-slow-queries=/tmp/slow_queries.log
log-update = /var/lib/mysql/updates.log

View 6 Replies View Related

Apache :: Threads Stuck In Logging State

Aug 2, 2013

I have Apache 2.4.6 x64 installation. With the lapse of time, more and more threads appear that are stuck in "L" state.

They are all gone after httpd restart, leaving 408 errors in access logs. What can be the reason?

Can mod_log_rotate be involved? Currently it's set to rotate every 2 days.

View 11 Replies View Related

Plesk 11.x / Linux :: Error Logging In After Update

Nov 25, 2014

We have a VPS system running with Plesk but after a nightly automatic update there was a error message in Plesk, with a link to 'fix' the problem. After that Plesk stopped functioning. Now, when we log in with correct credentials (we know its correct because we if incorrect, we get a message its incorrect, so thats working) we're presented with this error:

Error: Call to a member function getName() on a non-object (MainMenu.php:48).

View 3 Replies View Related

Plesk 12.x / Linux :: DRWeb Logging To Console

Mar 25, 2015

Since some days I have the strange issue that all logings from DrWeb is shown directly into the console. For example if I connect to my Server via SSH and then I sned an email to my email accoutn I see the logging of the spool.

root@************:~# 2015 Mar 25 16:44:57 * 127.0.0.1 [13727] /var/spool/drweb/spool/drweb.tmp.tWcneM - archive MAIL
2015 Mar 25 16:44:57 * 127.0.0.1 [13727] >/var/spool/drweb/spool/drweb.tmp.tWcneM/3.part - Ok
2015 Mar 25 16:44:57 * 127.0.0.1 [13727] >/var/spool/drweb/spool/drweb.tmp.tWcneM/4.part - Ok
2015 Mar 25 16:44:57 * 127.0.0.1 [13727] >/var/spool/drweb/spool/drweb.tmp.tWcneM/5.reexport - Ok
2015 Mar 25 16:44:57 * 127.0.0.1 [13727] /var/spool/drweb/spool/drweb.tmp.tWcneM - Ok

this happens in my root shell. if I disable the Email check then this will not happen anymore. another strange issue is that if I restart drweb and I have more than 1 ssh shell open I see the output of the restart on all shells, this issue is only for drweb not for any other service. How to config drweb to log only into logfile not to the console?

I search the web and the only thing I can find was

[URL]

In the FreeBSD operating system, syslog service can intercept information output by Dr.Web Daemon to the console. In this case, the information is logged character-by-character. That occurs when the logging level is set to *.info in the syslog configuration file (syslog.conf).

View 13 Replies View Related

Apache :: Rotatelogs Crashes When Used As Piped Logging With Httpd

Apr 16, 2015

I've got a problem at a local customer with rotatelogs.exe and the current release of Apache HTTPD 2.4.12.

I've downloaded the 64-bit zip-file (VC11) and installed the VC11 vcredist in both 32- and 64-bit version.

The project is to upgrade apache 2.2 to apache 2.4. I've adjusted the configuration and added rotatelogs for log rotation for error_log and access_log.

The configuration is 100% correct, I can copy the line to cmd.exe and it runs correctly.

Variables are set in global environment, APACHE_HOME is set with "/" instead of "" to get sure rotatelogs.exe is found.

View 2 Replies View Related

./mysqladmin: Can't Turn Off Logging; Error: 'Access Denied; You Need The SUPER Privi

Dec 10, 2008

I am running ubuntu 8.10 installed mysql 5.1.30 from source. i am trying to change passwords for some of the users but I keep getting the error listed in the title. Does anyone know whats going wrong ?

Code:
.mysqladmin: Can't turn off logging; error: 'Access denied; you need the SUPER privilege for this operation'

View 11 Replies View Related

Hardware: Db Servers, Web Servers, File Servers. Cpu, Ram, Disk

Jan 20, 2007

I have a lot of questions here so if you can't answer them all I understand. even pointing me somewhere where I could get the answers would be appreciated; hardware sites focusing on server hardware, forums focusing on such, etc.

we plan to have three different types of servers:

- db server (self explanatory. mysql. for forums, mysql driven sites.)

- file server (lots of files around ~2-10MB, consistant 70mbps right now, but we want more room for upgrades. needs a LOT of storage room.)

- web server (lots of php files, but also static things like plain html, images, etc. also includes all misc services for the setup-- dns, etc.)

could I be given a rundown for which hardware each of the three should have? I don't need specifics, even just knowing that more ram is important here while cpu doesn't matter as much, or that the fastest disks available are a must, etc would all be valuable info for me. despite that, I certainly wouldn't mind specific hypothetical hardware configs.

for the database server I'm assuming the more ram the better. not entirely sure about the cpu? also not positive on disks...

for the fileserver, how much ram would be practical or useful? disk io will be an issue I'm because plenty of people will be pulling files at once so the disk needs to read from multiple places. scsi (and even raptors) are not an option as we need 750GB+ of space on a reasonable budget. more ram will take some load of of the disks, but how much is neccessary / reasonable?

for the web server I'm assuming cpu first, then ram, but it'll likely need less ram than the db server?

I'm more lost on the disks than anything. scsi on the fileserver is not an option under any circumstances due to $/GB. for the db & web server I'm willing to pay for scsi if the performance increase really does warrant the extra money, but I'd like to be convinced before shelling it out. if you have benchmarks geared at server hardware when it comes to disks I'd really appreciate it.

also, what's the best way to network these together when colocated? each one with a dual gigabit ethernet port and then the communications go to and from the router?

View 7 Replies View Related

Send Mail To Another Servers But We Cant Recieve Mails Another Servers

May 24, 2008

We send mail to another servers but we cant recieve mails another servers. We can't recieve with webmail and outlook.

I look logs but there is no error and our ip is not in blacklist.

there is the error in our server

[url]

linux cpanel centos 4.6

View 2 Replies View Related

Load Balancing 2 Web Servers And 2 MySQL Servers

Mar 28, 2008

I was wondering if it is possible to cluster 2 web servers and 2 mysql servers with only one server working as load balancer.

I am planning to use LVS (ldirectord and heartbeat).

Let's say I have 3 IPs allocated to the load balancing server.

111.222.111.222 (Main IP)
111.222.111.223 (Web Load Balancing IP)
111.222.111.224 (MySQL Load Balancing IP)
If a connection is made to .223 it would pass the request to one of the web nodes.
If a connection is made to .224 it would pass the request to one of the MySQL nodes.

Is it possible to do this?

If not, can I run, for example, nginx on 223 IP address to provide forward proxy? (Then it would not be able to HA but the main point is to load balance so)

Also, what would be the best way to keep the data same on both web servers? This is a web cluster for a very high traffic forum with a lot of uploads every hour so it has to do real time synchronization. I heard that DRDB is only one way and not two way so I'm not going to be able to use this.

View 11 Replies View Related

Renting Colocated Servers As Dedicated Servers

Oct 11, 2009

I am just colocating servers and managing them myself, and renting services off of them. In the future I would like to start offering dedicated servers as well. I am wondering if many companies do this, or if its more of a general practice to just setup as a reseller? The worst part that comes to mind is thinking of how to do billing for the bandwidth per month. With my setup I would only be offering flat bandwidth packages (like 2TB a month) but even so, I cant think of anyway to automate it so WHMCS knows if they went over, if so, how much, etc.

View 6 Replies View Related

More Low End Servers Or Less High End Servers

Aug 15, 2008

What would give me the best performance, to have many low end servers (core2duo) or a few high end servers (quad cores, dual quad cores).

Running everything from mysql queries to video streaming.

View 11 Replies View Related







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