rch1231 169 Posting Shark

Download and run MalwareBytes and you will know for sure.

http://www.malwarebytes.org/mbam.php

rch1231 169 Posting Shark

Is there anything in the event log about why it is restarting?
Have you cleaned the dirt out of the heat sink for the CPU this year?
Does the fan on the power supply spin and how warm is the air coming out?

rch1231 169 Posting Shark

Hello,

Do other DVD's read in the drive? Is the dvd a dual layer and your drive is not? Does the DVD spin (i.e. Change position relative to the way you had it when you closed the door.) Does anything work in the drive (CD, DVD, etc.)

rch1231 169 Posting Shark

Just out of curiosity how much ram do you have? If it less than 1GB see if you can add more. You will be amazed at the difference.

rch1231 169 Posting Shark

Hello,

Ok you can view the catalogue of what files are in the backup. The safest way I know of is to go to Start, All Programs, Accessories, System Tools, Backup. From the you have 3 options, select Restore and it will let you select the file and there is an option (drop down list I think) at the bottom that will select where to restore the files to.

As far as the external drive yes you can simply copy entire directories to the drive. It is probably drive E: or F: on your system. If you use the right mouse button to drag a file to another location it gives you the option to move or copy. I mention this because sometimes windows decides you wanted to move the files not copy them and they disappear from the original location. This way you decide.

Rodney's rules for backups:

  • If you have only one it is corrupt on the file you need.
  • If you have two, both are fine and you will never need them.....

What I suggest is to keep copies of your My Documents folder in a zipped file with the date as part of the name. Hopefully you have something like winzip or winrar that you can use to create a compressed copy of the directory with. You can use the windows option to create a compressed directory if nothing else.

For example on my backup storage array I have …

rch1231 169 Posting Shark

I found the following discussion on your topic by simply googling it. Half the questions on the board have answers already available on the internet if you take the time to look....

http://www.opticsinfobase.org/abstract.cfm?URI=ao-38-18-3888

http://en.wikipedia.org/wiki/Single-mode_optical_fiber

rch1231 169 Posting Shark

Hello,

Yes it is possible and OK to do. The only things you will have to be aware of is that you cannot address memory over 4GB. Just run the install like normal.

rch1231 169 Posting Shark

Hello,

It is not your web site but it is pretty close:

[root@lptp1]# nslookup http://gberbhjerfds.osa.pl
Server: 192.168.15.1
Address: 192.168.15.1#53

Non-authoritative answer:
Name: http://gberbhjerfds.osa.pl
Address: 72.55.129.156

[root@lptp1]# nslookup www.best-seo-service.com/
Server: 192.168.15.1
Address: 192.168.15.1#53

** server can't find www.best-seo-service.com/: SERVFAIL

[root@lptp1 ]# nslookup www.best-seo-service.com
Server: 192.168.15.1
Address: 192.168.15.1#53

Non-authoritative answer:
Name: www.best-seo-service.com
Address: 205.251.134.98


The only difference between the addresses is the / at the end of the name. The site that comes up in google actually takes you to the URL:

http://gberbhjerfds.osa.pl/?q=http://www.best-seo-service.com/

Not to your server. You might want to ask google what is causing the redirect?

rch1231 169 Posting Shark

Just in case have you run anything like CCleaner to clean out the old temporary internet files? And have you defragmented the harddrive lately?

To clean out the old files right click the drive in while in My Computer and select Properties from the menu. Select the tools tab and then Disk Cleanup and check the report.

Defragment is on the same tools menu.

rch1231 169 Posting Shark

Ok when do you get the message about operating system not found? Have you tried resetting the CMOS? What settings do you have in the CMOS/BIOS setup for boot order?

Do you have any type of boot CD or recovery software?

Do you have another computer you could download UBCD4Win on and build the boot disk. It has partition recovery, file recovery, antivirus applications and boots a windows GUI to work from?

rch1231 169 Posting Shark

It depends on how you backed up the files. If you used windows backup then you can look at the catalogue and verify the files exist in the backup and have the same size as the original file. If you simply copied the files to the drive then you can actually look at the files on the drive just as you did on drive C:. If you can tell me the OS and method used to back the files up I/we can provide more information.

rch1231 169 Posting Shark

Best thing I can think of at the moment is to give your the script I used to create my deletions:

<?php
    $mysqli = new mysqli("localhost", "catalog_user", "secret", "catalog_prod");
    // Create the query
    $query = "DELETE FROM products WHERE sku = 'TY232278'";
        // Send the query to MySQL
        $result = $mysqli->query($query, MYSQLI_STORE_RESULT);
        // Tell the user how many rows have been affected
        printf("%d rows have been deleted.", $mysqli->affected_rows);
    ?>
rch1231 169 Posting Shark

It would be the version before CS4.

rch1231 169 Posting Shark

Your missing single quotes around $cid

cat_id = '$cid' ";

I think. Can you post the whole script or attach it as a file?

rch1231 169 Posting Shark

Have you tried it with a space before and after the = signs?

rch1231 169 Posting Shark

I think the function you are trying to call is isset not empty

?php
// If the form has been submitted with a supplied keyword
if (isset($_POST)) {

rch1231 169 Posting Shark

Have you tried adding the new field first then coming back and creating the foreign keys? Do any foreign keys exist now?

rch1231 169 Posting Shark

Have you tried last known good configuration boot yet?

rch1231 169 Posting Shark

It sounds like the system does not see your hard drive. Does it show up in the BIOS setup screens?

rch1231 169 Posting Shark

Hello,

If you made your ACER recovery disks now is the time to pull them out. Depending on the netbook there MAY be a utility to repair the windows installation as part of the recovery diagnostics but you may need to reinstall the OS to get it working again. If you have the ability to boot from CD and have a winxp cd then you can try to repair the installation.

rch1231 169 Posting Shark

It may be your dns has not been properly reset on the router. But lets start at the beginning and work our way through it....

What does IP config tell you the IP, netmask, and gateway of your computer are?
(Should be something like 192.168.1.X 255.255.255.0 192.168.1.1 if not and you know the IP of the router then give your system a fixed IP in the subnet 192.168.1.2-192.168.1.255 and see if you can connect.)

Can you ping the router from the computer?
(ping 192.168.1.1)

If not verify the router IP or reset it to factory settings by holding reset switch in for 30 sec.

If you can ping router can you ping beyond the router?
(ping 4.2.2.2)

If not then check your gateway settings and log into router and see if it can ping out.

If so you can ping 4.2.2.2 can you ping a domain name?
(ping google.com)

If not check what your nameserver is set to and try setting it to 4.2.2.2 and see if you can ping google then.

Tell me what happens and we will go from there....

rch1231 169 Posting Shark

phpinfo gives you the data and more but you need something to show it in php...

<?php
/*
Our php.ini contains the following settings:

display_errors = On
register_globals = Off
post_max_size = 8M
*/

echo 'display_errors = ' . ini_get('display_errors') . "\n";
echo 'register_globals = ' . ini_get('register_globals') . "\n";
echo 'post_max_size = ' . ini_get('post_max_size') . "\n";
echo 'post_max_size+1 = ' . (ini_get('post_max_size')+1) . "\n";
echo 'post_max_size in bytes = ' . return_bytes(ini_get('post_max_size'));

function return_bytes($val) {
    $val = trim($val);
    $last = strtolower($val[strlen($val)-1]);
    switch($last) {
        // The 'G' modifier is available since PHP 5.1.0
        case 'g':
            $val *= 1024;
        case 'm':
            $val *= 1024;
        case 'k':
            $val *= 1024;
    }

    return $val;
}

?>
rch1231 169 Posting Shark
rch1231 169 Posting Shark

Hello,

Getting it working for localhost is great for you but when referenced from outside the server it will not work. You were on the right track by setting it up based on the DocumentRoot. Make sure that the file or folder in question has the same group as your apache user (normally apache or nobody) and that the group has read permissions on the file or that the world has read permissions.

-rw-r--r--  bob apache  3967 2010-08-16 13:50 Products.php

Here is the code I use when the stylesheet is in the same dir

<link href="smokedepot.css" rel="stylesheet" type="text/css" />


You mentioned some thing I wanted to check on about home being open. Nice thing about linux is you do not have to have permission to read the directories above a directory to be able to read the ones below it. (For example. As a user I cannot create directories in /home but I can in my subdirectory.) To allow users to execute your php or html scripts they only need read permission for the group your apache application runs under.

On a separate not is there a special reason you are creating public_html sites under the /home/<user> directory instead of using /var/www/html/<sitename> ? I have found over the years it is safer to keep the pages out of the home directory tree and simply put a symbolic link from the users home to the location of the web site.

[root@cwsvr02 html]# ls …
rch1231 169 Posting Shark

It would help to know what your command line was when you got the error...

Can you ing the host at the address you are using?

rch1231 169 Posting Shark

Hello,

Well I have helped answer a few hundred threads here and now it's my turn for advice...

Backround: I have a client that has a flat screen hooked up as a second monitor in the waiting room which was used to run several flash videos one after the other. The company that produced the software sent out an update to their application about 6 months ago that basically trashed the working installation and removed the old applications and code and the system no longer plays anything but their logo. We can't locate the original software and this system was setup in a closet (I did not even know it was there...) by their old sysadmin and is not on the network so I have no backups. The manufacturer stopped answering their support line about a month after the release and subsequently are now being sued by the Doctors that had the software and have declared bankruptcy to stop the calls....

My Job: Make it work again...

I have Adobe CS3 Web Premium which has Flash, Dreamweaver, Contribute, etc. however I am a sysadmin not so much a web developer. I have worked with Dreamweaver setting up a few inital sites for customers but have yet to start playing with Flash. I have all of the flash files (.swf ) from the application but need some guidance on how to create an application. It needs to run on a second monitor connected to an XP system …

rch1231 169 Posting Shark

Could be something as simple as the monitor not displaying the resolution. Have him hit the <F8> repeatedly as the system is booting and see if he can bring it up in safe mode. If that works then reboot and this time use VGA mode.

rch1231 169 Posting Shark

A quick way too check your setup is normally called phpinfo.php and looks like this. You will be pleasantly supprised at the amount of data it provides:

<?php
phpinfo();
?>

rch1231 169 Posting Shark

Take a look at the "find" command and also TEST when used with "if [ ] then"
For example the following find command will generate a list of files starting in the directory name provided as the first parameter and include the backslash to escape characters in the name:

#!/bin/bash
find $1 -type f -ls | awk '{ print $11 }'
#!/bin/bash
for x in `find . -type f -ls | awk '{ print $11 }'`
do
if [ -s $x ] then
echo "Found file $x "
if
done

from a command line do:
man find
man if
man test

for some help.

rch1231 169 Posting Shark

Personally I like Team Viewer. It is free for personal use and has the ability to transfer files between systems without a purchase. GoToMyPC and LogMeIn are good but if I remember correctly you have to buy them to transfer files or connect to the remote HD.
As far as "Does the computer need to be turned on to take control?" You will be able to access the same hardware and applications that you normally can when the system is POWERED OFF. (i.e. NONE) Sorry about that, but think about it logically.

Yes you have to install software on both systems to make the connection. The trick now a days is to get to the computer through all of the firewalls and routers that are set up by your service provider. Current software like logmein, team viewer and GOtomypc piggy back in through your web browser to get access to the system.

rch1231 169 Posting Shark

Yes you can set up a wireless connection with only one computer (laptop or desktop). The only real requirement is to connect initially with a wire to configure the router and set your wireless access codes.

rch1231 169 Posting Shark

I also have moved off of Windows on my laptop and my main desktop is not far behind. For anything that I want to run as if I have Microsoft's continually hacked and patched Windows I use WINE which works even for my games (World of Warcraft, Starcraft, Red alert etc.) No Viruses, true multi-tasking, I can upgrade without rebooting, and it is just faster and more responsive. I admit there was a learning curve getting used the the GUI (I have always used linux command line) but I am free from Microsoft (AKA the Borg) and all of my software is free and legal. I can choose from thousands of packages that are available.
Live free or Die.

rch1231 169 Posting Shark

The first thing I can think of is to do a count of both tables and see if they are the same size. Second do a left join from the ID field in table1 to the ID field in table2 and get the records in table1 having table2.ID is null:

select table1.id as t1ID, table1.name, ......., table2.id as t2ID
from table1
left join table2 on table1.id = table2.id
order by table1.ID
HAVING t2id is null

rch1231 169 Posting Shark

Your reference does not tell your browse what server to pull the data from so it assumes your local machine. You need to use a Server based URL which is probably going to be:

http://yourdoamin.com/foo/forum/styles/AutoWidth/theme/normal.css

The absolute path you provided is for scripts run from the command line on the server not http requests.

rch1231 169 Posting Shark

Ok this is confusing because SATA drives do not have jumpers for drive select. It is determined by which SATA cable it is connected to. If it is a PATA (40 pin ribbon cable as opposed to 4 pin SATA) then it needs to be a master not a slave. Can you verify the connections and drive type?

rch1231 169 Posting Shark

rsh executes the any command or script on the remote server provided the user you are connecting with has permission to execute the script in question. And the answer to your question is Yes.

rch1231 169 Posting Shark

Hello,

There are several ways to configure the systems. Your best bet if the hard drives are not exactly the same is to use a hard drive cloning program. Take a look at UBCD4WIN (Ultimate Boot CD 4 Windows) It is a free down load that you create on another system using your XP or Vista installation as source to create a Boot CD and there are around 50 utilities for repairing, scannig and copying drives.

Here is a link to a wiki with information on the CD and where to download for free:

http://en.wikipedia.org/wiki/UBCD4Win

rch1231 169 Posting Shark

Example of rsh use, the following executes the command mkdir testdir as user remoteuser on the computer host.example.com:

rsh -l remoteuser host.example.com "mkdir testdir"

rch1231 169 Posting Shark

10BASE-T - one of several physical media specified in the IEEE 802.3 standard for Ethernet local area networks (LANs), is ordinary telephone twisted pair wire. 10BASE-T supports Ethernet's 10 Mbps transmission speed. In addition to 10BASE-T, 10 megabit Ethernet can be implemented with these media types:

* 10BASE-2 (Thinwire coaxial cable with a maximum segment length of 185 meters)
* 10BASE-5 (Thickwire coaxial cable with a maximum segment length of 500 meters)
* 10BASE-F (optical fiber cable)
* 10BASE-36 (broadband coaxial cable carrying multiple baseband channels for a maximum length of 3,600 meters)

This designation is an Institute of Electrical and Electronics Engineers (IEEE) shorthand identifier. The "10" in the media type designation refers to the transmission speed of 10 Mbps. The "BASE" refers to baseband signalling, which means that only Ethernet signals are carried on the medium. The "T" represents twisted-pair; the "F" represents fiber optic cable; and the "2", "5", and "36" refer to the coaxial cable segment length (the 185 meter length has been rounded up to "2" for 200).

100BaseT - In 100 Mbps (megabits per second) Ethernet (known as Fast Ethernet), there are three types of physical wiring that can carry signals:

* 100BASE-T4 (four pairs of telephone twisted pair wire)
* 100BASE-TX (two pairs of data grade twisted-pair wire)
* 100BASE-FX (a two-strand optical fiber cable)

This designation is an Institute of Electrical and Electronics Engineers shorthand identifier. The "100" in the media type …

rch1231 169 Posting Shark

Ok several options. Just execute a script look into rsh and rlogin which allow you to open a shell on another UNIX/Linux/Solaris/irix/hpux system.

If you have httpd (and php for php scripts) running on the remote server you could set up a web page with the cgi script (or php if installed) and show the results on in a browser.

If you need the script run regularly and the output available to review then on the remote server set up a script with cron (crontab) to generate your output and then pull it to your local server to evaluate with ftp or wget.

rch1231 169 Posting Shark

Go to Start, Control Panel, Sounds and Audio Devices, Audio and Voice tabs and see what is selected for you microphone (Voice Recording) and use the test option for check the MIC.

rch1231 169 Posting Shark

What Operating Systems on both?

rch1231 169 Posting Shark

if you want to find out if there is a proxy involved use traceroute (tracert on windows systems) to show you how your packets are being routed to the host.

traceroute <hostname or ip address>

If the tracert looks good then try using telnet and the port (21 for ftp) to see if you can connect to ftp.

telnet <hostname or IP>:21

rch1231 169 Posting Shark

I may have selected the wrong field there and I think you are right. My excuse is going to be "I typed it in freehand with no tables and I picked the wrong field." LOL.

I think you get the idea from it though. If you want to verify the data then remove the count() and look at the individual rows. If it is a lot of data add LIMIT 100 to both queries and check it.

rch1231 169 Posting Shark

Try safe mode with networking.
Some of the viruses have not blocked it starting yet.

OR
Get a UBCD or UBCD4win CDROM disk to boot from and find out what is killing the boot.

rch1231 169 Posting Shark

Hello,

Can you provide a little more information on the renaming. Does XYZ translate exactally to ABC and do all the files you want renamed start XYZ (or Xyz or xyz or XYz) and should be renamed ABC (or Abc or abc or ABc respectively)?

rch1231 169 Posting Shark

Ok based on what you posted the query should look something like this:

SELECT
UserTable.IPAddress,
UserActivity.UserID,
Activity.Activity,
Count(UserTable.UserId) AS UserCount
FROM
UserTable
Inner Join UserActivity ON UserTable.UserId = UserActivity.UserID
Inner Join Activity ON UserActivity.ActivityID = Activity.ActivityID
WHERE
UserTable.IPAddress =  'X' AND
UserActivity.ActivityID =  'Y'
GROUP BY
UserTable.IPAddress,
UserActivity.UserID,
Activity.Activity
rch1231 169 Posting Shark

Ok well in that case try this instead.

#!/bin/sh
HOST='ftp.users.qwest.net'
USER='yourid'
PASSWD='yourpw'
FILE='file.txt'

ftp -n $HOST <<END_SCRIPT
quote USER $USER
quote PASS $PASSWD
put $FILE
quit
END_SCRIPT
exit 0
rch1231 169 Posting Shark

Yes to both questions. The Tution64 is in the same class processors as the Athlon64 and is able to run 64bit OS. Linux wise you can run it using i386, i586, i686, x86_64. Windows you can run either the 32bit or 64bit OS versions however there are applications that do not run properly under windows XP64 or Vista64 or require a different version. Windows 7 has a specific WindowsXP32 compatibility mode to address these issues.

rch1231 169 Posting Shark

It is difficult to tell where one column ends and the next one starts from your posting. Next time may I suggest you use the CODE tag to force a non proportional font or do something like this to get a format and definition of the first 10 records we can easily ready and generate code for:

mysqldump -c -u dbuser -puserpassword MyDatabase MyTable -w"ID<10"

However if it is a fixed lenght file and the (18) and (24) are always in positions 4,5,6 and 7 of column2 then it is easy. Parts of strings can be extracted and displayed. For example, LEFT( ), MID( ), and RIGHT( ) extract substrings from the left, middle, or right part of a string.

I would create a query to select the results first, then post them either to a new table and when the new table is correct upload it in place of the old. Or use update to add two new columns (Column4 and Column5) and once I have verified the output write column 5 to column2 and delete 5.

Creating a new table has always worked best for me. That way I can run it over and over till I get the parsing correct and have the original table intact.

First get your select working
Just in case I am assuming there are some characters in Column2 after the (18) and (24) that you might need in the new Colum2. If not all you need is …