Tag Info

Hot answers tagged

9

If one specific physical region of the drive surface goes bad, then until those sectors can be successfully mapped out, you'll get unrecovered read errors when you try to read any data that was written to that area. The drive knows that the sectors are bad (after the failures to access the sectors) but cannot remap the sectors because they already hold ...


8

You very likely have a duplex mismatch on account of the ISP hard-coding their side to 100-Full essentially disabling auto-negotiation on the ISP Ethernet PHY. With the ISP set to 100-Full and your side remaining at auto/auto (a hunch, but a common one), the auto-negotiation on your side will configure the interface to 100-Half -- a duplex mismatch as the ...


6

The boot messages come in two parts: those that come from the kernel (loading drivers, detecting partitions, etc) and those that come from the services starting up ([ OK ] Starting Apache...). The kernel messages are stored in /var/log/kern.log and can also be accessed from the kernel's own log buffer with the dmesg program. The userspace messages are not ...


6

For piping see the ErrorLog directive and Piped Logs official manual entries which explain it pretty well. Getting a custom error log format is more difficult. You can customize the access log easily with LogFormat but there is nothing built in for modifying the error log format. I did come across CGI::Carp which is a Perl module for outputting to the error ...


6

Okay, I think the answer is that the COW space for the logical volume is full. Using the command 'lvs' (which I just discovered), I see... # lvs /dev/dm-20: read failed after 0 of 4096 at 0: Input/output error LV VG Attr LSize Origin Snap% Move Log Copy% Convert [...other LVs...] newvm-cdrive mrburns Swi-I- 2.00G ...


4

In Apache 2.2 you cannot change the format of error_log easily - see http://httpd.apache.org/docs/2.2/logs.html#errorlog. Apache 2.4 adds this support. See http://httpd.apache.org/docs/2.4/logs.html#errorlog.


4

Most modern drives will "vector out" a block that has gone bad. The drive has a pool of spare blocks and the firmware uses these to replace any blocks that are known to the drive to be bad. The drive cannot do this re-mapping when it fails to READ a block because it cannot supply the correct data. It just returns "read error". It does MARK the block as bad, ...


3

Yes, I have seen this as well, and under very similar circumstances. In my case, it was a "consumer-grade" Western Digital 1TB "Green" drive (WD10EARS) that pulled that stunt on me. The SMART Current_Pending_Sector raw value went from zero to 6, and then to 8, prompting the SMART monitoring daemon to send me some ominous emails. I mdadm --failed and ...


3

Bootup messages pass by so fleetingly that, for some, one might not be sure what they say. You may wish to check all the files where they might be logged, in addition to the usual (well-known) log files, for verification purposes (at least). On Debian, logs generally are kept in directory /var/log. After booting, what changed there today (which files) can ...


3

If you want the requestor to be able to get some basic stats when requesting that url, add: location /server-status { stub_status; } to your configuration. If you do not, you will need to find and stop whatever is making that request to eliminate the error.


2

No, it is not possible to have two ErrorLog directives per VirtualHost. However, you could use Apache's ability to pipe to a command in order to log to two (or more) files using the UNIX 'tee' command: ErrorLog "|/usr/bin/tee -a /var/log/apache/error-1.log /var/log/apache/error-2.log"


2

The first things I would try in this case is to double-check the permissions on the files you are trying to read, just in case a startup script caused them to be changed. "ls -l /var/www/" would let you see this, where /var/www/ is your web root. Then, try turning on error reporting in the php configuration to see if PHP reports any additional errors when ...


2

Just check nginx & php-fpm running user. ps aux | grep nginx ps aux | grep php-fpm they should work with the same user (probably nginx as i see in your config) then check that user if it can read the file. su - nginx -c "cat /usr/share/nginx/html/phpinfo.php"


1

First find out where that 504 message is comming from. Apache doens't have that error page defined in its conf file by default (check it anyway to make sure) so I bet you are getting this error from some other intermediate system that acts as a manager for the http protocol, try to narrow that down first. If you are using a proxy in between the Internet and ...


1

Do a curl -I yourdomain.com and see what kind of HTTP server is responding to make sure it is your own apache2. If so try to disable the firewall and try to load the index page again.


1

If there are more than this number of interrupted connections from a host, that host is blocked from further connections. You can unblock blocked hosts with the FLUSH HOSTS statement. If a connection is established successfully within fewer than max_connect_errors attempts after a previous connection was interrupted, the error count for the ...


1

I know it is old, but i found the way to reproduce it. First you have to lower down max_connection_error to not repeat yourself: SET GLOBAL max_connect_errors=2; then you can use telnet program to make faulty connections. after command just double press enter: $ telnet 192.168.128.98 3306 Trying 192.168.128.98... Connected to 192.168.128.98. Escape ...


1

.. approximately 2 M in length. I removed the cable's cover and untwisted the wires. Still I can see no difference in performance of my network of two computers. Why? You probably don't have errors because of the relatively short length of the cable. The longer the cable length, the more attenuation of the signal intended signal and greater build-up of ...


1

Just as a comment, sometimes what appear to be duplicate frames can be caused by network adapter drivers getting mixed up with capture drivers. If you see a clear pattern of TCP retransmission backing off, that is, a retransmit at 1 second, then 2, then 5, it's likely an actual problem with retransmissions, rather than a capture artifact. To troubleshoot ...


1

You are probably looking for mod_log_debug.



Only top voted, non community-wiki answers of a minimum length are eligible