rch1231 169 Posting Shark

I would say bring the resolution down to something more reasonable. Just because the monitor will work at that high a resolution does not mean you have to use it. The reason the game runs slow is there is not enough memory on the video card to keep up with the resolution at that high a setting so turn it down to 1650 x 1024 and let the video card control frequency. If you have a DVI port on the card then use the DVI instead of the Analog port and you will see a difference.

rch1231 169 Posting Shark

Did it by any chance over heat? Laptops are not well vented and if you do not leave the vents uncovered then they will overheat and shutdown. It takes a wile for the to cool off. Also check and see if the fan for the CPU is working. You should be getting air out of one of the vents. If not send it for repair.

rch1231 169 Posting Shark

DO the LED lights light up showing it to have power and charging? If so then it should run even without the battery. does it do anything when you press the power button?

rch1231 169 Posting Shark

The last post is correct. If the array was working off of a separate controller card then move the card with the drives. IF not you will need to find a motherboard with the same RAID chip set as your dead system and if possible the same BIOS version. RAID 0 means that the data is spread across the disks so you have to have both of themto get to the data.

If it is not a separate controller card and you can't find a matching board you might want to look into R-studio for the recovery. It has options for identifying the two drives without the RAID controller and re-aligning them for recovery.

rch1231 169 Posting Shark

First I would check the BIOS setup and see what it is seeing. If the BIOS setup (CMOS) is seeing the CD ROM and other items then look for an option to "Reset Configuration data" in the section that has the PCI IRQ settings and set it to YES. When you reboot it will return to NO after a clean boo to the OS. Let me know what happens.

rch1231 169 Posting Shark

I would suggest removing and re-seating the ram. When it crashes do you get any type of error message.

rch1231 169 Posting Shark

If it is actually shutting down or powering off then check to see if there is a heat problem. Could be a dead CPU fan, or the fan on the power supply is out. Systems rarely just shut off with out good reason. When it is running check the fan on the power supply. Feel the case and see if it is hot anywhere. Open it up and turn it on and see if the fan on the CPU is spinning.

rch1231 169 Posting Shark

Clear the CMOS. Find the jumper and reset it then see if it posts.

rch1231 169 Posting Shark

Check the power supply is connected and supplying power. Most laptops have a led somewhere to indicate that it is 1) getting power and 2) charging the battery. If nothing else check the output of the power supply with a volt meter.

rch1231 169 Posting Shark

There are already logs for httpd (Apache) for both successful access and errors. Normally they are kept in the /var/log/httpd directory but this can be changed in your httpd.conf file.

<VirtualHost 10.1.2.3>
ServerAdmin webmaster@host.foo.com
DocumentRoot /www/docs/host.foo.com
ServerName host.foo.com
ErrorLog logs/host.foo.com-error_log
TransferLog logs/host.foo.com-access_log
</VirtualHost>

I use separate sets of log files for each domain on the server.

hat you are probably looking for is something like "logwatch". It monitors your logs and sends you a report daily for attempted hacks, login failures, web site failures etc. Google logwatch and you will see several links.

rch1231 169 Posting Shark

Well said and I could not agree more.

rch1231 169 Posting Shark

Well the first question is what errors are you trying to analyze (httpd, login, email, etc.)?
Then what do you want to look for and what do you want the script to do with errors it finds (email them to you, post to a file, etc.)?

rch1231 169 Posting Shark

Well if you want to run a secure mail server that once installed is easy to run take a look at the qmail toaster site. There are step by step instructions for fedora and other distributions. It takes a little time to set up but once your done you will have a secure server that cannot be used for relaying mail by spammers. They have scripts that do most of the work for you and supply everything you need.

rch1231 169 Posting Shark

baki100 was right, the best way to update multiple table is with a procedure. Procedures allow you to use multiple MySQL statements separated by a ;. You can pass fields into a procedure and will probably need to declare some variables to hold data temporarily. below is a sample of a procedure I use to update several tables after a record is created. I call the procedure like this:

call addserver(new.server_id, new.label, new.rack_id, new.client_id, new.Number_PSU)

and here is the actual procedure:

begin
declare SOID INT;
declare ROID INT;
declare COID INT;
declare PSUOID INT;
declare PSUPOID INT;
declare NICOID INT;
declare NICPOID INT;
insert into objects (`object_type_id`, `device_object_id`, `label`, `date_created`)
values(1 , SID, SLAB, now());
set SOID=Last_Insert_ID();
SELECT ObjIDClient.object_auto_id
FROM ObjIDClient
WHERE ObjIDClient.client_id = CID into COID;
SELECT ObjIDRack.object_auto_id
FROM ObjIDRack
WHERE ObjIDRack.rack_id =  RID into ROID;
insert into objects (`object_type_id`, `device_object_id`, `label`, `date_created`)
values(26 , 0, 'PSU', now());
set PSUOID=Last_Insert_ID();
insert into objects (`object_type_id`, `device_object_id`, `label`, `date_created`)
values(43 , 0, 'PSU Power Port', now());
set PSUPOID=Last_Insert_ID();
insert into objects (`object_type_id`, `device_object_id`, `label`, `date_created`)
values(16 , 0, 'NIC', now());
set NICOID=Last_Insert_ID();
insert into`object_objects` (`parent_object_id` ,  `object_id`)
values(ROID, SOID),(COID, SOID),(SOID,PSUOID),(SOID,NICOID),(PSUOID,PSUPOID),(20127,PSUPOID);
IF NPSUP = 2 Then
call AddPSUPort(SID);
end if;
end