rch1231 169 Posting Shark

Your name server are available on the internet anyway. If you are on a system with whois installed (rwhois) then you can enter

whois <domainname>

And you get all of the information about that domain including who owns it, the registrar, and what the primary name servers are. You can get the same information from any of the whois sites out on the internet.

rch1231 169 Posting Shark

The easiest way to install in on a windows system is to download the MySQL installer MSI from:
http://dev.mysql.com/downloads/installer/
and running it. It has worked for me every time and I normally do the mysql-installer-community-5.7.12.0.msi file at 384MB.
Although it only references 32bit it installs the 64 bit files if a 64bit system is detected and is noted on the page:
Note: MySQL Installer is 32 bit, but will install both 32 bit and 64 bit binaries.

rch1231 169 Posting Shark

I have always considered the following when writing a program:
When you write a program that is idiot proof the world builds a better idiot.

cereal commented: lol +14
rch1231 169 Posting Shark

Here is a pdf that is a few years old but covers the basics pretty good without being very big. Their license says I can share it as long as I don't edit it and that it must be shared in it's original form. So here it is.

AleMonteiro commented: thanks for sharing! +10
rch1231 169 Posting Shark

I may be wrong but I believe the issue you are having is in line 6 which reads:
header("location:accountSummary.php");

You should have some sort of path to the accountSummary.php file from document root. It may be that you were in a specific sub-directory when you were executing the script before and the php file was in the same sub-directory and was available for execution but you are running from a different location on the server now and it is no longer available without the relative path.

Examples I found always showed something like:

header("location: /accountSummary.php");
or
header("location: ../accountSummary.php");

And in every case there was a space between location: and the file name

I hope this helps and makes sense.

rch1231 169 Posting Shark

My guess would be a IRQ conflict which Windows has always had issues allocating properly.

Click "Start," then click "Control Panel" to open the Control Panel window. Double-click the "System" icon to open the "System Properties" window.

Click the "Hardware" tab, then click the "Device Manager" button. This opens the Device Manager.

Click the "View" menu at the top of the Device Manager window. Select "Resources by type" from the drop-down list. This displays a list of resource types.

Click the expansion box next to the "Interrupt request (IRQ)" icon. This displays a list of system devices and the IRQ numbers assigned to them. Devices with conflicting IRQs will be identified by an exclamation mark inside a yellow circle. Make a note of the IRQ number issued to the conflicting devices.

rch1231 169 Posting Shark

My suggestion is to set up a server with a database you are familiar with and then regularly export the data from the various databases and import it to your master system. I have done something like this and I normally use PERL to generate the export files (normally a CSV since every db will create a CVS file) and then import them into a MySQL database. Once you have all of the data in one place then you can start generating reports. This way your reports will have a similar format and you only deal with coding for one database and can use some of the same code. Another advantage is that you are not dealing with the actual data in their database and don't have to worry about accidentally changing something.
Hope that helps.

rch1231 169 Posting Shark

Hello,

I noticed your other posts about this recently and thought this might be a little late but will really help.

The best way I have found to allow me to develop a word press site and be able to transfer it to production without having to edit the database is to trick the computers working on the development system into thinking it is the production server. You do this by editing the hosts file (Linux - /etc/hosts, Windows - C:\Windows\System32\drivers\etc\hosts ) to point the domain name to the IP address of the development server. This is a text file with no extension and you will need to be either root or an Administrator to edit the file.

For example: I have a development server on my internal network at 192.168.0.10 and my production server is at 54.148.71.11 hosted at amazon. I edit the hosts file on the development server and any system that needs to access the development environment to have the additional line

192.168.0.10 txlinux.com

When your computer does domain name lookup for an IP address it first checks the hosts file and if it does not have an entry then it checks the local DNS server. You have to edit the hosts file on the computer you are working from so it initially redirects to the development address. You have to edit the hosts file on the development system so it will not redirect the site to the production system because of the way wordpress is designed. …

rch1231 169 Posting Shark

Service is the command that calls the scripts from /etc/init.d which control the daemon processes. Many people use the terms service and daemon to refer to the same thing however the true name is daemon.

A daemon is a computer program that runs as a background process, rather than being under the direct control of an interactive user. Traditionally daemon names end with the letter d. For example, syslogd is the daemon that implements the system logging facility, and sshd is a daemon that services incoming SSH connections.

The term was coined by the programmers of MIT's Project MAC. They took the name from Maxwell's demon, an imaginary being from a thought experiment that constantly works in the background, sorting molecules. Unix systems inherited this terminology. Maxwell's Demon is consistent with Greek mythology's interpretation of a daemon as a supernatural being working in the background, with no particular bias towards good or evil.

rch1231 169 Posting Shark

Hello,

Here is a shell script for what you are requesting but I home you are not really going to do a wget 20 times. If you do you will probably trigger DDOS attack filters that will block your IP address. The "while true " loop will continue to execute (since it is always true ) until you do a <CTRL> C

#!/bin/bash
while true
do
        i=0
        while [ $i -lt 20 ]
        do
                wget http://test.com
                i=$[$i+1]
        done
        sleep 2
done
Arch Stanton commented: This shell script looks good. The sleep command will pause for 2 seconds. +0
rch1231 169 Posting Shark

Virtual machines is a good idea as Rubberman said but you can also look at GNS3 which is a network simulator. It allows you to setup virtual routers and switches.

knggee commented: Thank you for the suggestion. I will definitely take a further look into GNS3. +0
rch1231 169 Posting Shark

Looks like you are running Plesk. Have you checked on their site for how to give php permission to write to a directory?

Since you are on a windows server you should be setting this in the IIS manager. But basically you need to give write permissions to IUSR which is the user running php under IIS. Hope that makes sense.

rch1231 169 Posting Shark

Hello,

Your problem is actually listed in the top of the error message page that you included. You are getting FAIL when it checks to see if the directory is writable by the php script.
Capture.PNG

rch1231 169 Posting Shark

Hello,

In order to be able to recommend something we could use a little more information. For instance what type of server is hosting your web site (Linux or Windows based) and what do you want the chat software to do?

If your running on a Linux based server I recommend Openfire which is a java based Open Source Application that is available for free. You will find numerous youtube videos on how to set up the server either for restricted access or open chat. Here is a review by InfoWord on the software:

http://www.infoworld.com/article/2625419/collaboration-software/openfire--excellent--free-open-source-chat-server.html

rch1231 169 Posting Shark

Hello,

I think that you will find that the problem is due to the SD Card having a FAT filesystem and not a Linux file system. FAT doesn't track modification times on files as precisely as, say ext3 (FAT is only precise to within a 2 second window). This leads to particularly nasty behavior with rsync as it will sometimes decide that the original files is newer or older than the backup file by enough that it needs to re-copy the data or at least re-check the hashes.

Try this in your script and obviously you need to replace $Source and $Dest as applicable

rsync --progress --modify-window=1 --update --recursive --times --delete "$SourceDr" "$Dest"

rch1231 169 Posting Shark

Hello,

The ext4 permissions must be in place for read write before you attempt to access a directory via nfs. If you can't mount the ext4 partition as read-write then it does not matter what the nfs settings are as no-one can write to the partion period. Usually you set up a specific directory on a drive that is then made accessable via nfs but you don't have to. In one of my file servers I mount the second volume group as the directory /nfs and that directory is owned by the head nfs user and assigned to the group that all of the nfs users are a part of. I actually have two different nfs users that can access the drive, one as /nfs and the other as /nfs_ro with the second group only being able to read files from the drive but not write them.

rch1231 169 Posting Shark

Hello,

What you will need to do is to setup the wireless network in the printer setup. Here is a link to the HP supprt document that covers the printer:

http://h10032.www1.hp.com/ctg/Manual/c02497107

What you are looking for is on page 29.

rch1231 169 Posting Shark

DOSBox emulates an Intel x86 PC, complete with sound, graphics, mouse, joystick, modem, etc., necessary for running many old MS-DOS games and programs that simply cannot be run on modern PCs and operating systems, such as Microsoft Windows XP, Windows Vista, Linux and FreeBSD. However, it is not restricted to running only games. In theory, any MS-DOS or PC-DOS (referred to commonly as "DOS") application should run in DOSBox, but the emphasis has been on getting DOS games to run smoothly, which means that communication, networking and printer support are still in early development.

DOSBox also comes with its own DOS-like command prompt. It is still quite rudimentary and lacks many of the features found in MS-DOS, but it is sufficient for installing and running most DOS games.

rch1231 169 Posting Shark

There is no real harm in using a PATA drive in your system over SATA but you might want to consider that the drive may be getting old. If the drive has been is service for a long time then replacing it with a faster SATA drive is probably a good idea. If you look at some of the drive failure rates you will find (depending on the Manufacturer of course) that after about 6 years 50% of the drives from a given lot will have failed (Backblaze study data).

For the first 1.5 years, drives fail at 5.1% per year.
For the next 1.5 years, drives fail LESS, at about 1.4% per year.
After 3 years though, failures rates skyrocket to 11.8% per year.

The primary reason SATA is used over PATA is because of the increased data transfer speeds with that SATA. PATA is capable of data transfers speeds of 66/100/133 MBs/second, whereas SATA is capable of 150/300/600 MBs/second. The speed differences are due to the various flavors of PATA and SATA, with the fastest speeds being the latest version of each currently available. You'll notice that SATA's slowest speed is still faster than PATA's fastest speed. So if you would like to have your system respond quicker move up to a SATA drive. Of course there is no reason you can't keep the old PATA drive as a place to store your backups (cough, cough, hint, hint).

Garylea commented: Thanks for a well thought out post. +0
rch1231 169 Posting Shark

Another option is the free downloads available from Microsoft for Access. They are templates for databases and systems created by other users that you can download for free. You just need to make sure you get one compatible with the version of access you are running (i.e. 2003, 2007, 2010, etc.)

Here is a link to templates for Access 2007 databases and the one at the top is for Inventory Control:

http://office.microsoft.com/en-us/templates/desktop-inventory-TC010206882.aspx

rch1231 169 Posting Shark

Hello,

First the CIDR notation information. I use the following chart which will confirm your beliefs:

http://doc.m0n0.ch/quickstartpc/intro-CIDR.html

About the assigned vs allocated based on everything I have read you can't really depend on the allocated address not being assigned and the documentation has simply not been completed. Again I am going to cop out and provide you a link to a site that will explain how addresses have been assigned.

http://www.ripe.net/ripe/docs/ripe-553

rch1231 169 Posting Shark

Hello,

below is a link to a page that shows you how to set the time zone in your PHP script so that php will display local time for each user.

http://www.sitepoint.com/synchronize-php-mysql-timezone-configuration/

rch1231 169 Posting Shark

You may also be able to set this inside a windows 7 system by right clicking on the file and going to properties. Click the compatibility tab and at the bottom check the box for "Run this program as Administrator." This way it will always run as an administrator.

rch1231 169 Posting Shark

Hello,

Ok so if I understand you correctly the drive initially shows up and is readable but after it is running for a bit it starts giving I/O errors. It sounds like as the drive warms up it starts to fail. This is going to sound a little crazy but Freeze the drive in your freezer for at least 24 hours in a sealed ZIP Lock bag. Then when you go to attempt to recover the files system, keep it in a cold area and it may continue to read long enough for you to run chkdsk and pull data off of it.

A second option is to use A USB (2.0 if you have one) housing to mount the drive in instead of connecting it to the conputer directly. It will slow down the I/O from the drive and possible keep it cooler longer (does not always help).

The reason for using the cold is that solder expands when cold and if it is cracked it can break the solder connection as it heats up and shrinks.

rch1231 169 Posting Shark

Your computer is not getting an IP address from the router. It could be DHCP is not running. Manually configure the Local Area Connection for
IP: 192.168.1.2
Subnet: 255.255.255.0
Gateway: 192.168.1.1

Then try connecting to the address again from your browser.

Also just mentioning this because I have made this mistake before. Make sure you are not connected to the WAN port from your computer. You should be connected to one of the LAN ports.

rch1231 169 Posting Shark

Hello,

Well there are a couple of things you can do. The first thing to consider is does the modem already have a configuration that is causing issues or is this a new modem? If this is not the first time the modem has been used then it could have been set for a different network. You can reset most modems back to the default configuration by pressing and holding the modem's reset button while connecting the power and hold the button in for 30 seconds. It could already have been set to act as a access point instead of a router and would not have DHCP running and could be at another address (the active router would be at 192.168.1.1 and the access point would be another address).

If it has been reset or is new it could be setup for a different subnet or could have other problems so go back to the basics and check everything.

Do you have a link light on both the router and computer (if not replace the cable).

With them connected see if you are getting an address from the router. Go to a dos prompt and type in:
ipconfig /all
If you get a 192.168.X.X address then the router is configured for DHCP and on the subnet indicated by the first X and your router will be at the address listed forthe gateway. Try that address in your browser.

If resetting it to factory or the other steps do not …

rch1231 169 Posting Shark

Hello,

I ran into this before storing some math equation information. Here is the site that showed me how to resolve the problem.

http://kunststube.net/frontback/

cereal commented: good resource +13
rch1231 169 Posting Shark

Hello,

A VPN connection effectively connects you to the local area network so port forwarding is not necessary because you are already inside the routers firewall and part of the LAN.

rch1231 169 Posting Shark

Hello,

OK based on what you posted your DHCP server is only assigning addresses from 192.168.1.2 - 192.168.1.33 which still puts 192.168.1.4 as an address it could give to a cell phone using WiFi or any other computer that connects. I suggest moving the system with the static address to something outside that range (192.168.1.40 would be easy to remember and change). Then adjust your settings accordingly in the router. On the page listing port forwarding addresses you would need to change it to match and normally there are settings for http, ftp, etc that will auto configure the ports and protocols for you.

But before you start trying to connect externally you need to make sure that you can reach the web site locally (inside your own LAN or local area network). Try connecting to the web site from the PC at 1.3 and also make sure that you can ping the address from that system. If you can ping it ok try the telnet connection I suggested earlier and see if you get a web page back.

rch1231 169 Posting Shark

Hello,

If you use a static IP in the range that your router is using for DHCP then you can create conflicts if DHCP assigns that address. Normally DHCP is set up for 254 addresses (192.168.1.2 - 192.168.1.255) but some of the newer routers only assign 100. I suggest either moving your PC to a much higher number instead of 192.168.1.4 (like 192.168.1.50) so there will be no issues. Either that or like I said before set the starting number for DHCP to a higher value.

One other question what do you have set for the netmask and gateway for the static IP address in properties under local area connection? It should be something like this:

IP 192.168.1.4
NM 255.255.255.0
GW 192.168.1.1

Hope this helps

rch1231 169 Posting Shark

Hello,

The best advice I can give is to go back to the basics.
- Run ipconfig again and make usre you still have the same IP.
- If you are on a router that is running DHCP and assigning addresses it may have given the 192.168.1.4 address to something else. If you are going to set a static IP then either set your DHCP service in the router to start at an address above the static ones you want to use (i.e. starting at 192.168.1.10 instead of 192.168.1.2)
- Check WAMP and make sure it has started since you last checked.
- Ping the IP from a command prompt (on the server and on a different system) and see if you get a response.
- Go to Control Panel, Programs and Features and click Turn WIndows Features on or off on the upper left. When the dialog box comes up (takes a while some times) scroll down and find Telnet Client and check it to install the client. Once it is installed you can go to a command prompt and attempt to telnet directly to the port and the apache server should respond:

telnet 192.168.1.4 80

Hope this help and Let us know how it goes.

rch1231 169 Posting Shark

Hello,

Well the first question is what are the errors you are seeing??

Secondly since you say this is a Windows based server you can use Task Scheduler to do the copying for you after hours. That way you can avoid the users being in the files when you are trying to copy them.

manel1989 commented: 5 +1
rch1231 169 Posting Shark

There are several ASUS laptops that have memory built in and a slot to add memory. I would go to their web site and look up the model number and see what it comes with. To help diagnose problems we really need to know a little more such as the OS. The 0x000000C5 stop error (bsod) indicates a problem with the device drivers. A faulty driver that's acting up or a recent driver update that is incompatible. Try boot into safe mode.

rch1231 169 Posting Shark

Hello,

That is like asking "How many people will the car hold?" Which car and which manufacturer and it depends on the car and the size of the people. On the RAM it will depend on the motherboard used in the laptop and the memory controller on the board. You have to check the manufacturers specs for each model.

rch1231 169 Posting Shark

Hello,

Your problem is going to be most laptops have the processor built in to the mother board and they do not normally have options for upgrading. I have seen very few that will take different chips. If you are going to get a laptop go with the known brands and if you are really going for a bargain then check out pawn shops in the big cities. Sometimes they do not know what they have and you can get something like an i7 cheap because it says Windows 7 on the case and not Windows 8 (I know.... ). The clerk said the i7 (2.5GHz) for $299 was worth less than the core duo (2.5GHz) at $499 because it had Windows 7 and not Windows 8.

As far as the Laptop and what it can handle you are just going to have to check out the manual on line and see what it can take. Hope this helps.

rch1231 169 Posting Shark

Hello,

I am not sure if I will get this right but here is what I believe they are trying to get you to consider. If you wanted to run a chat room on the internet what would you have to have as far as a system:

  1. Network: Fixed location on the internet via DNS and preferrably a fix IP address.
  2. Network: Enough bandwidth to handle multiple chats with multiple chat rooms.
  3. OS: Enough drive space to allow storage and chat session information.
  4. Network: Security for the system and protection from hackers(firewall).
  5. OS: Powerfull enogh server to handle multiple chats.
  6. OS: Chat web site or interface for clients.
  7. OS: Security for the chats and registration protection like captcha.
  8. Network: Port to run chat on.
  9. OS: Database to hold user infor, chats and logs.

Again I may have the wrong idea and I amy not be specific enough on the answers but this may get you started.

rch1231 169 Posting Shark

Hello,

The you need to redirect the output somewhere else which it looks like you are trying to do. Here is a link to a page that cover it very well:
http://www.robvanderwoude.com/battech_redirection.php

rch1231 169 Posting Shark

Hello,

What you are seeing here are two partitions both on the first controller and the first disk.
The device naming scheme is:

       /dev/cciss/c0d0         Controller 0, disk 0, whole device
       /dev/cciss/c0d0p1       Controller 0, disk 0, partition 1
       /dev/cciss/c0d0p2       Controller 0, disk 0, partition 2
       /dev/cciss/c0d0p3       Controller 0, disk 0, partition 3

       /dev/cciss/c1d1         Controller 1, disk 1, whole device
       /dev/cciss/c1d1p1       Controller 1, disk 1, partition 1
       /dev/cciss/c1d1p2       Controller 1, disk 1, partition 2
       /dev/cciss/c1d1p3       Controller 1, disk 1, partition 3

Device c0d0p1 is controller 0 disk 0 partition 1 and if you created logical drives with the raid controller you should be seeing a device c0d1 and will need to create partitions on it.

On a separate note you said you were going to use RAID 0 (striping) on the last two drives and make it a NAS storage device. If people are going to be storing important information on that device you had better have good backups. RAID 0 is fast however the big drawback is that because data is split across the two drives, if either drive fails then you lose all of the data on both drives. Why not use all of the drives for one large RAID 5 array and then partition the drives for DATA and NAS. With RAID 5 if one of the drives fails the others know what is missing and the array can be rebuilt and you get the speed of striped data for both your data and NAS storage …

rch1231 169 Posting Shark

Depends on the version of Apache but this should work in all of them. You can create a configuration file in /etc/httpd/conf for the site your trying to access when the URL is entered. Below is the configuration file I use to redirect http://<any domain on the server>/support/ to the subdirectory where I have the support application:

[root@hpsrvr conf]# more support.conf
<IfModule mod_alias.c>
Alias /support /var/www/html/support
</IfModule>
<Directory /var/www/html/support >
   Options None
   Order allow,deny
   allow from all
</Directory>

Once you have the support.conf file (or what ever you call yours) you then add a line to the bottom of the httpd.conf file that reads:

Include /etc/httpd/conf/support.conf

You can either create one master fiel to add all of yor special configurations in or create a separate file for each project.

rch1231 169 Posting Shark

You can't really get the port speed of their system without logging into the system in question. You can check to see how well they respond to internet requests and the path between you. Look into MTR (aka WINMTR) which uses trace route and ping to give a server to server route evaluation.

http://en.wikipedia.org/wiki/MTR_%28software%29

rch1231 169 Posting Shark

Hello,

A lot of people "claim" to be hackers and really are nothing of the sort. Your running Linux if you have a secure password, don't have your system set to auto log you in, don't give them the password or give them a login to your system then odds are they are not going to get on your computer. It would be different if it was Windows which has too many security holes to count. If you are really worried that some one might get on your computer then disconnect it from the network when you are not using the internet. That really makes it hard for people to connect. Then keep an eye on your /var/log/secure file to watch for people trying to hack the system or run a program like denyhosts to lock them out when they try to hack their way in.

rch1231 169 Posting Shark

Without digging into the sql you have so far and based on what you are looking to do I suggest you look into using Group By and then if still needed the HAVING option to limit the output after it has been selected.

rch1231 169 Posting Shark

The query first selects the CID (or city id from what I see) using the employee city shown on the page or in the query.

Then is selects the eid (employee ID's) for all employees whos cid in the works table is equal to the CID pulled from the company data.

It then selects all fields from the employee table whos city is equal to the CID.

Hope that helps

rch1231 169 Posting Shark

Hello,

To follow normal accounting procedures you would need two transactions. One debiting the receiving account and one crediting the sending account. Banks credits and debits are backwards from other accounting methods. In other words money added to your account is a debit an removed from your account is a credit. Don't ask me why just something I remember from class. Any ways you have to show both transactions because they cancel out each other as far as the accounting side is concerned leaving 0 funds left over. If you have a transfer fee involved then you need three transactions. Total removed from account, amount added to receiving account, and amount going to fee account.

rch1231 169 Posting Shark

Hello,

You really don't have to worry about the OS so much as the browsers and the language that the page is written in. I would say keep it simple and use applications that depend on the server not the client like html, php, css and mysql. PHP converts to html which most browserrs have no trouble with. It is when you try to get fancy with active-x, java, or net-framework and other client based scripts that you run into issues.

RikTelner commented: Helpful tracks. But I still have to use such. +2
rch1231 169 Posting Shark

That is just a Unix/linux shell script that can be invoked one line at a time from the command line (if needed) for testing. If you notice the first line is #!/bin/bash wheich tells the OS what to use to run the script.

The other thing that I noticed is you keep referencing that the vendor has a secure ftp server and all of us have been referencing the ftp application instead of sftp. Try the shell script like this:

#!/bin/bash
# $1 is the file name for the you want to tranfer
# usage: this_script <filename>
FILE=path/file
IP_ADDRESS="xx.xxx.xx.xx"
USERNAME="remote_ftp_username"
domain = sample.domain.ftp
PASSWORD= password
/usr/bin/expect<<EOD
spawn /usr/bin/sftp $USERNAME@$IP_ADDRESS
expect "assword:"
send "$PASSWORD\r"
expect "sftp>"
send "put $FILE\r"
expect "sftp>"
send "bye\r"
EOD

The reason for expect "assword:" is that in some cases it responds with a capital P and others a lower case p and this will accept either one.

rch1231 169 Posting Shark

I would grab a copy of hijackthis which is a malware detector that will show you all of the hooks into your system through registry entries and help you track down the culprit.

Tcll commented: very nice reccomendation +2
rch1231 169 Posting Shark

If you hit <F8> while booting and get to the Windows boot menu (Boot in safe mode, etc) there is an option to turn off automatic restart. This will let you see the message and blue screen.

rch1231 169 Posting Shark

Hello,

You could always try nmap to see what ports are open on the router. Netgears usually have a built in web server for configuration and you just put the IP address of the router in your browser.

rch1231 169 Posting Shark

Ewald has a good idea and TrueCrypt will encrypt you whole drive and can be set so that the computer will not boot with out the password. Or as a separate option you could carry a USB drive that was encrypted with encryption software but people get lazy about having to put in a USB drive and the password before they save a document to doing the whole drive is safest.

Ewald Horn commented: Encrypted USB drive - good idea! +2