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  /var/spool/drweb/spool/drweb.tmp.tWcneM - archive MAIL
2015 Mar 25 16:44:57 * 127.0.0.1  >/var/spool/drweb/spool/drweb.tmp.tWcneM/3.part - Ok
2015 Mar 25 16:44:57 * 127.0.0.1  >/var/spool/drweb/spool/drweb.tmp.tWcneM/4.part - Ok
2015 Mar 25 16:44:57 * 127.0.0.1  >/var/spool/drweb/spool/drweb.tmp.tWcneM/5.reexport - Ok
2015 Mar 25 16:44:57 * 127.0.0.1  /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
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).
Im getting every day the Update E-Mail von my Pleask System all was find but since ~10 Day i get this Error in the End of the Mail:
Code: /etc/cron.daily/drweb-update: Dr.Web update details: Update server: http://update.nsk1.drweb.com/plesk/700/unix Update has begun at Wed Oct 15 03:10:44 2014 Update has finished at Wed Oct 15 03:10:45 2014
i have setup fresh Centos 6.5 with Plesk Pannel 12.0.18. When i execute the attached command from the console, i get it work, some posts are auto created within wordpress. When i enter the attached command within Plesk (Tools / Settings - Taskmanager - root New Task, the command is not executed...
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).
I am upgrading my current colo'd server from a 1U dual core xeon with 2x500GB drives to a 2U core 2 quad with 8x750GB drives (raid5).So far I have ran into two issues. One is the rails are too large for the cabinets (problem #1 which I put in another thread). The only other problem is I am having problems with remote console on the new hardware.
It should be setup correctly since I basically rsync'd everything from the old server to the new one. The device is detected:
root@houkouonchi: 03:19 AM :~# dmesg | grep -i tty Command line: root=/dev/sda2 gpt pci=nomsi console=tty0 console=ttyS0,9600 notsc Kernel command line: root=/dev/sda2 gpt pci=nomsi console=tty0 console=ttyS0,9600 notsc console [tty0] enabled console [ttyS0] enabled serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A 00:05: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
But when I connect to the digi I am not getting any console output. I have tried a different serial -> Ethernet adapter and tried a different patch cable/port on the digi so I am pretty sure those are fine. The motherboard (nforce 650i chipset) didn't have an onboard serial port so I am using a port hooked up to a bracket which has a ribbon cable which connects to the motherboards COM port. I also tested another serial connector which the case has built in and both give me problems.
I've noticed on some rackmount servers and firewall appliances there are ports labelled console, and look like serial ports. Are these related to connecting to KVM? I am looking for a cheap appliance for some rackmount servers I have (1U half depth would be ideal), to remotely recover the server if it goes down. I figured they'd connect through PS2 connectors, but then I thought that if the console port was related, then going through that might have the option for power cycling or something.
I'm trying to knock a bug out of our new Hardy Heron Xen template. Basically when the old ones boot up /bin/sh is spawned on the console. Now with Hardy init has been replace with /etc/event.d handling.
So I've replace /etc/event.d/ttyS0 and ttyS1 (not sure which one is the console but I think ttyS0)
Code: # tty0 - shell
# This service maintains a getty on tty1 from the point the system is # started until it is shut down again.
start on stopped rc2 start on stopped rc3 start on stopped rc4 start on stopped rc5
stop on runlevel 0 stop on runlevel 1 stop on runlevel 6
What type of cable/settings are needed to access the console port of a ProCurve 2626 J4900A? the recent one I ordered wasnt working with the regular way I access these switches.
I use a null modem (crossover) female-female serial console cable and connect it to my laptop serial port w/9600-8-1-None to access my ProCurve 2900 48G series.
But I tried using a straight/null/rollover(cisco's) and none of them worked. I also tried 9800-8-1-xoff/xon. All of them are giving me weird text when I press [ENTER] numerous times. I can access my 2900 series switches fine, no problem, just these 2626 ones I cant. My laptop can definitely detect the port cause when I disable it, I get a message on my terminal window which says "disconnected". So I am messing up somewhere.
By the way, I actually returned the switch when it came the first time because I thought they gave me a faulty one and I got another one, but it behaves the same way. But the actual switch functionality has no issues as I can assign my servers IPs and be able to access them remotely. I just cant configure the switch itself without the console port.
I was able to login from IPMI View just fine, and everything works as expected except "Text Console ". I was able to hit the start button and get the black screen on IPMI View, but that was just about it.
Only a cursor blinking without texts.
Is there something else that I should do in order to get text console working? I've tried all baud rates.
We have a windows 2003 machine that is currently responding properly to all services that it's running (including IIS and FTP), however RDP connections just close right away and the server isn't responding when a local keyboard & monitor is plugged in.
The last thing that I want to do is pull the power out while it's on - any ideas?
I tried a remote shutdown, but the response is: C:Users>shutdown /r /m HOSTNAME HOSTNAME: The entered computer name is not valid or remote shutdown is not supported on the target computer. Check the name and then try again or contact your system administrator.(53)
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?
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
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?
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.
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.
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 "firstname.lastname@example.org") then unseen deliver "email@example.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?