rch1231 169 Posting Shark

What you are seeing is the GRUB boot loader. It allows you to boot multiple operating systems from the same drive. If you leave the system at the screen it should go ahead and boot Ubunto after a few seconds. Here is a link to more information:
https://en.wikipedia.org/wiki/GNU_GRUB

rch1231 169 Posting Shark

Hello,

Can you provide a little more information?
What version of windows are you running?
DO you show any problem devices in Device Manager?
what sould device are you using (built in, expansion card, etc.)?

rch1231 169 Posting Shark

Ok from what I see you never test to see if the process ID is in your list of ID's to exclude. I think you need another test to see if the id is in the array of Process ID's. My guess is that the test should be done around line 4 or 5 to check it the id supplied s already in the list of excluded ids.
Hope that makes sense...

rch1231 169 Posting Shark

Hello,

Depends on if they are Windows based or Linux based or a mix of both. And then are they physiclal or virtual servers?

Physical
For the Windows systems that are part of your domain you can download for free from Microsoft sysinternals tools (like psinfo.exe). They can be run from an account with domain administrator prividledges to pull OS and hardware information on all servers in your domain.
http://technet.microsoft.com/en-us/sysinternals/bb545027.aspx

For Linux it would be easiest to write a shell script that pulls the information from a list of hosts.

Virtual
Your virtual system manager should have a utility to allow you to gather the information. For example VMware has the vsphere cli (command line interface) that uses powershell 3.0 to export data on the servers in the system. Data available includes various combinations of information on hosts servers, guest servers, virtual NIC's and relationships between the three just for starters.

Hope this helps.

rch1231 169 Posting Shark

Hello,

What you need is a router instead of a hub or switch. The router will manage the conection to the WAN (internet) and give each of you a local connection (LAN) and address. With a router your internet provider will only see the one connection from the router and your computers will see the router as their gateway to the internet. Here is a site that gives the description in more detail:
http://helpdeskgeek.com/networking/router-vs-switch-vs-hub/

rch1231 169 Posting Shark

Hello,

Mac OS-X is a version of Linux compiled for the MAC with additional specalized applications added. Although there are a few viruses for Linux based systems they are few and far between but you cannot say that the MAC and Linux are Virus free. They are more secure and harder to infiltrate than systems running Microsoft Windows based Operating system. If you are interested then before you go re-formatting your hard drive and blowing away your windows installation I suggest installing a Virtural Hosting application like Oracle Virtual Box or VMware workstation. Then you can try the OS as a virtual machine under Windows and see what you think.

Hope this helps.

rch1231 169 Posting Shark

Hello,

The appliation yo are looking for is called rsh or remote shell. Try
man rsh
from google or the command prompt for more information.

rch1231 169 Posting Shark

Hello,

What you need to do is set up the nfs mount point on the server you want to connect to. A good discussion on setting this up can be found at:
http://tldp.org/HOWTO/NFS-HOWTO/server.html

or Here:
http://support.coraid.com/support/cln/CLN-HOWTO/ar01s06.html

rch1231 169 Posting Shark

Hello,

For a genereal idea of what is involved in setting a PXE boot server here is a link to the CentOS (Red Hat distro) instructions which should be pretty close to what you need.

http://wiki.centos.org/HowTos/PXE/PXE_Setup

rch1231 169 Posting Shark

Hello,

From what I can see there is something in the data in some of the inserts that is off or a special charcter . I tried to run your sql code and remove various rows from teh fe table and it would never load. If I removed the inserts for fe it continued on down till it got to news and did the same thing. It might be the text data type you are using. I suggest taking the sql dump and running only the create tables statements to get the tables created and then go back in and create your inital vales again and see what happens.

rch1231 169 Posting Shark

Hello,

Hope this helps. From O’Reilly Media, Inc. bash Cookbook.

Test Operators
The operators in Table are used with test and the [...] and [[...]] constructs.
They can be logically combined with -a (“and”) and -o (“or”) and grouped with
escaped parenthesis ((...)).

Table A-9. Test operators
Operator True if
-a file file exists, deprecated, same as -e
-b file file exists and is a block device file
-c file file exists and is a character device file
-d file file exists and is a directory
-e file file exists; same as -a
-f file file exists and is a regular file
-g file file exists and has its setgid bit set
-G file file exists and is owned by the effective group ID
-h file file exists and is a symbolic link, same as -L
-k file file exists and has its sticky bit set
-L file file exists and is a symbolic link, same as -h
-n string string is non-null
-N file file was modified since it was last read
-O file file exists and is owned by the effective user ID
-p file file exists and is a pipe or named pipe (FIFO file)
-r file file exists and is readable
-s file file exists and is not empty
-S file file exists and is a socket
-t N File descriptor N points …

rch1231 169 Posting Shark

Distinct will work perfectly. I read your request as wanting only times where ther were duplicates. Also look at group by for some options.

rch1231 169 Posting Shark

Hello,

Your going about it the log way. Try replacing lines 14 and 15 with this:
update summ
set summ.val = (select sum(det.vat) from det where det.id = summ.id);

Or do you really need the temp tables.

Take a look into group by and sum.

rch1231 169 Posting Shark

Hello,

Try something like this substituting your table and field names:

select table.timefield,
count(table.timefield) AS NumberOf
FROM
table
GROUP BY
table.timefield
HAVING
NumberOf > 1

This should give you only times where there is more than on row and the number of rows.

rch1231 169 Posting Shark

Hello,

Rubberman was right about having to escape the ? in the file names and you will have to do that for the spaces also. Try this to get rid of one of the file A????cd new????cat> >> A:

/bin/rm -i A\?\?\?\?cd\ new\?\?\?\?cat\> \ \>\>\ A

As an example of what the shell can autofill in for you try typing and do not hit enter:
/bin/rm -i A\?e

and then hit the <TAB> key the shell will try to fill as much of a unique name as it can and you should get this:
/bin/rm -i A\?echo\ A
If you hit enter now it should prompt you to remove the file.

rch1231 169 Posting Shark

Hello,

I am not sure what caused the file names however you can look back throught your command history by typing history at the command prompt.

To remove the files I suggest you use something like:
/bin/rm -i /full_path_to_directory/*

The -i will cause rm to prompt you about deleting each file.
You might want to use ls -la instead of ls to review the directory listing so you get one file per line and more details on the file size, permissions and date modified.

rch1231 169 Posting Shark

Hello,

I think you are missing the DATE_ADD and have the wrong quote marks around the field name. Try something like this from the mysql manual:

SELECT something 
FROM tbl_name
WHERE `tbl_net_centre.reg-date` <= DATE_ADD(CURDATE(),INTERVAL 3 MONTH) ;
rch1231 169 Posting Shark

Hello,

I have a couple of comments and suggestions that I hope will help you. These are mainly to get you thinking in terms of what information you need to provide for the application to work.

  1. If you are planning on using this program more than once then you should be copying the directory rather than moving it. If you move it it will not be available for future use.
  2. When moving or copying files in an application you have to consider where the application is and where it will be run from. You either have to give the application the absolute path to files you want to move or be positive of where you are when you run the application. If I am understanding you correctly the directory you wan t to move is in:

    C:\Users\Zevoxa\Documents\Visual Studio 2012\Projects\Zevoxa Program\Zevoxa Program\bin\Release

and would have the absolute path of:

C:\Users\Zevoxa\Documents\Visual Studio 2012\Projects\Zevoxa Program\Zevoxa Program\bin\Release\source\zevoxa

For the code you provided to be able to work it would have to be run by your user from the Release directory in order to properly movew the file.

  1. If you are just wanting to create a new directory then you use a different command. Use the CreateDirectory method by specifying the full path of the location where the directory should be created. This example creates the directory NewDirectory in C:\Documents and Settings\All Users\Documents.

    My.Computer.FileSystem.CreateDirectory _
    ("C:\Documents and Settings\All Users\Documents\NewDirectory")

Hope this helps and good luck as you learn more about programming.

rch1231 169 Posting Shark

Hello,

Yes all you do is use two greater than symbols and it appends rather than overwriting.

curl -k "$FIELDLABEL" >> result.txt

malluce commented: Thanks! +0
rch1231 169 Posting Shark

Since you are using Linux take a look at the wall command. wall stands for write all and writes to all users connected to the server.

rch1231 169 Posting Shark

If it is the Tandy DBMS then this page might help with the definitions and they can look up filePro for manuals and information.;
http://www.wikipeetia.org/Filepro

The data is stored in flat files called key and data and I am willing to help if I can. send me a private message with your email address and I will respond.

rch1231 169 Posting Shark

Looks like some sort of Virtual NIC. Are you on a virtual system (ESX guest) or running any virtual software on the server?

rch1231 169 Posting Shark

It depends on how old an application you are looking at. There was a database called proFile on the Tandy 16 and 6000 series computers and later for Tandy Xenix on the T2000 or T3000 (80386) Systems. It was also sold seperately as FilePro and was a Relational database that had applications with the following names:

clerk, report, cabe, menu, moedef, etc.
or
dclerk, dreport, dcabe, dmenu, dmoedef, etc.
or
rclerk, rreport, rcabe, rmenu, rmoedef, etc.

It used a series of *If Then *statements for porcessing information in the database.

If this is what you need information on I have most of the manuals boxed up in the shed along with my MS-DOS manuals...

rch1231 169 Posting Shark

Hello,

It sounds like your CMOS battery is dead or close to it. The battery is what keeps your CMOS settings when the system is powered off and keps the time clock running so you are up to date when you boot next time. Having to set the date and time when you reboot and the BIOS stopping at F1 to continue is a clasic symptom of this.

rch1231 169 Posting Shark

Hello,

Sorry to take so long responding but it has been busy at work.
The find command I gave you looks for files older than 90 days not directories. Linux does not update the directory date when files are changed or copied into a directory so the directories you created will have their original date instead of the latest date. That is why all of your files were deleted.

The reason I replaced the rm with ls -la is to show you what results your find is getting. I have made it a rule to run any find that deletes files using the ls -la command first so I can verify what the rm command is going to delete. Peraonally I also am very nervious about running a rm -R via a script. For example what if your find command somehow detected the .. directory reference as a directory older than 90 days and therefor did an rm -R .. and was able to get up the the / directory. It could conceivablly deleted every file on the system.

I also suggest that you run the find and redirect the output to a file and keep the file for a few days so you can verify what you deleted.

rch1231 169 Posting Shark

Hello,

I see three things.
First the -type d is looking for directories not files.
Second, you don't need the asterisk on the directory
Third, I normally run a test command using* ls *instead of rm to make sure the output I am getting is what I intended.

find /Volumes/Backup/ -type f -mtime +90 -exec /bin/ls -la {} \;

rch1231 169 Posting Shark

Hello,

I am not sure about SQL on Oracle but I believe it is like the other SQL languages and in MySQL and SQL Server JOINs only work in selects. For Updates you have to open multiple tables the old fashion way like this:

    UPDATE
    PDR.PH_Family_Match_by_Chassis, PDR.domCHASSIS, PDR.domCHASSIS_MODULE, PDR.domCHASSIS_OPTION 
    SET PDR.PH_Family_Match_by_Chassis.Launched = 'Y'
    WHERE
    PDR.PH_Family_Match_by_Chassis.chassis_id = PDR.domCHASSIS.chassis_id 
    AND PDR.domCHASSIS.chassis_id = PDR.domCHASSIS_MODULE.chassis_id 
    AND PDR.domCHASSIS_MODULE.chassis_id = PDR.domCHASSIS_OPTION.chassis_id 
    AND PDR.domCHASSIS_MODULE.module_id = PDR.domCHASSIS_OPTION.module_id 
    AND PDR.PH_Family_Match_by_Chassis.Launched='N'
    AND PDR.domCHASSIS.current_status_code='A'
    AND PDR.domCHASSIS_MODULE.current_status_code='A'
    AND PDR.domCHASSIS_OPTION.current_status_code='A'
rch1231 169 Posting Shark

Yes it is possible but you will need to check a few things. First in the Network and Sharing Center make sure that the network connection is set for Home or Office and not Public. Public Networks are not allowed to connect to shared folders on your system.
Next, select Change Advanced Sharing Settings from the left hand column and make sure that Network Discovery and File and Printer Sharing are turned on.
And finally you may have to disable the firewall on both computers to allow them to see each other.

rch1231 169 Posting Shark

Did you load the drivers for the keyboard and is the correct keyboard type set in your OS configuration. If it is new and all of the other keys work then take it back to the store and exchange it.

rch1231 169 Posting Shark

Hello,

mail is a very old version of email and will take a little more coding than what you are doing. What you really need is a more modern mail agent like sendmail, qmail or postfix. sendmail is part of the basic Red Hat distrubution and is probably installed already. To find out more check the man pages either from google or on the server with

man sendmail

rch1231 169 Posting Shark

Hello,

This may not help but who knows. There is a USB to serial cable you can buy that will allow you to use one of your USB ports as a Serial port. We use them all of the time at work to connect to the serial port on Cisco switches and firewalls. Once connected I usually use Putty or hyperterminal to connext to the serical port for communication.

rch1231 169 Posting Shark

Hello,

You need a join for this but getting all of the tags on the same line could be tricky. Start with something like this:

select articles.title, 
articles.descripton,
tags.tag
from articles
left join tags on articles.id = tages.articleID

This will give you every record from articles (even those without an entry in the tags table) and all matching records from the tags table.

rch1231 169 Posting Shark

Hello,

Don't you need to move the STARTPOINT=0 outside the while loop? It is resetting the variable every time through the while loop.

rch1231 169 Posting Shark

Hello,

JorgeM is correct that we need more information on how your network is connected together. How the computers are connected will tell us how to guide you to fix this. For example, The way you worded the question implies to me that you have the server 2008 system connected to two netowrks. One with the clients on it and one that goes external to the internet. For that to work you would have to route traffic from the clients through the server. But I will save getting more specific till you tell us more.

rch1231 169 Posting Shark

Hello,

My first guess would be it is overheating. Check the vents and make sure that there is some sort of air flow out at least one port. Often people will sit their laptop on something that can block the incomming air flow and the system will shutdown rather than burn out the processor. I also have to agree with taking it in for hardware/warranty work.

rch1231 169 Posting Shark

Hello,

In order to be able to help you with this we need to know what operating system and version is on both laptops and what type of data sharing you would like to do. For example, do you simply want to access files on one laptop from the other laptop? Or are you talking about sharing a database on one laptop with the other? Are they both running Windows or is one a MAC or running Linux?

rch1231 169 Posting Shark

Hello,

Well the only other thing I can think of is that cron runs without a terminal type being set. If your script needs a terminal type set to format the output then add the line:

export TERM=xterm

To the shell script you call the C code from.

rch1231 169 Posting Shark

Hello,

Ok so how does you program normally return the results? If it normally displays to the screen then you need to redirect the output to a file either from within your C code or by redirecting STDOUT in the shell script:

/home/test1/userland/examples/receive1.c > /home/test1/userland/examples/output

I code alot with perl and when I am trying to save the results from a query or making changes to a file, I open a file for output and then print the results to the file a line at a time. I know it is not C (sorry I don't know C) however here is a piece of perl code to read a multiline record and export it as a one line csv.

`my $delim = "',";

### converts a multi-line record into a single line CSV file.

my $file = "$ARGV[0]";
open OUTGOING, ">", "$file" . ".csv";
my $lineone = 0;
open(FILE,"<$file.txt") or die "ERROR $file: $!\n";
while(<FILE>) {
    chomp;
    my $stuff = $_;
    my $firstslash = index( $stuff , "=");
    my $fieldname = substr $stuff , 4 , $firstslash  ;
    my $fielddata = substr $stuff , $firstslash +2  , 1000 ;
if ($lineone == 1) {
    if ( /EBOM_Item/  ) {
        print OUTGOING "\n";
        }
    else { print OUTGOING "'$fielddata$delim" ;
        }
    }
    $lineone = 1;
}
`
rch1231 169 Posting Shark

Hello,

I don't know enough about C programming to be able to tell you what to do there but I suggest that you try putting your variables into a shell script file with the c program called at the very end and call that program instead of the c file:

#!/bin/bash
export PATH=/usr/lib64/qt-3.3/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin
export TERM=xterm
/home/test1/userland/examples/receive1.c
rch1231 169 Posting Shark

You still need to find out what your external ip address is. Once you find out your WAN IP you should be able to have your router redirect traffic to you game servers internal IP. Look for a setting for Port Forwarding or DMZhost on your router. You router should also show your WAN ipaddress. Dynamic DNS servers will handle redirecting a domain to your rotating IP address to your home systems.

Another thing you should consider is that many ISP's give you a much higher download speed than upload speed (example: 1.5MB Download, 512k Upload). Attempting to run a game server from your home may turn out to be limited by those speeds.

rch1231 169 Posting Shark

Hello,

You can find out about any Linux command with the man command. The command can be used from the shell command prompt or on google to get the manual page. In this case you would enter:
man listen

rch1231 169 Posting Shark

Hello,

You either need to post the files to the server that is up on the web (via FTP or scp) or if you are intent on connecting to your PC then you need to find out what IP address the internet views you at. From a browser connect to Whatismyipaddress.com The 192.168.x.100 address is what is called a public Ip address. 192.168.x.x is used inside private networks and then translated by your router (or modem) to the address that you are getting from your Internet service provider. The web site above will tell you what your real IP address is. You can us Dynamic DNS to point a domain name to your home PC. The link for DDNS wiki site will explain it better than I could.

rch1231 169 Posting Shark

Hello,

It is hard to tell what is wrong without seeing the cron entry you ae using or the code. However the first things that come to mind are that cron jobs are not run with the same environment variables as a normal user. You have to call the program using the absolute path of the file you are trying to run (i.e. /home/me/myscript ) and if there are any variables set that are specific to you login they need to be set when you script runs. You could try checking the cron logs and mysql logs to see if they show any errors.

rch1231 169 Posting Shark

Hello,

Yes. Email is part of the basic installation of Linux. The application you are looking for is called sendmail and can be used to send email from the command line or in another application. To find out more on the use of sendmail you can google man sendmail and get the manual page for the sendmail program.

rch1231 169 Posting Shark

BigPaw,

So again you are a Windows user with a preformed opinion on Linux? And your main complaint is you think the forums for Linux are too elitist. Have you considered that the forums for Windows could be considered the same? I often see references to editing the windows registry to make a change that are not well documented on how or why. Again I use both of the Operating Systems and still feel Linux is superior. How can you honestly take a position on a product you have never used?

rch1231 169 Posting Shark

Why is it people who have never used Linux are so sure it is not any good? The impression I get from most of the people I run into running Windows Server is that they are experts on how Linux does not have the same capabilities as Windows. They seem so confident about the lack of support and capabilities of Linux systems when in most cases they have never used the Operating System. They continually make outrageous claims and list inadequacies of a Product they refuse to even try. They claim it is not used in many places and gloss over the fact that MAC OS X is simply a custom version of Linux.

The best analogy I can think of would be a man running a freight business with a fleet of Pickup trucks. Although he has see others using big trucks he refuses to consider an 18 wheeler saying "Those things are to hard to maneuver and take to long to load. They won't haul small loads to several locations and it is impossible to back them up straight. I can do the same job with these eight pickup trucks even though it costs me more to pay the eight drivers, insurance on trucks and drivers and fuel for all eight trucks."

Personally I use both operating systems (all three if you consider MAC OS X separate). But I use the right tool for the job. If I need a server that will be accessed by a large …

rch1231 169 Posting Shark

Personally I use an IDE that runs on both Windows and Linux and provids a License key that works on both. Editrocket is the application name and it works with multiple languages and includes code snipites and what I have found to be many other great utilities. The price was within reason too.

Web site for Editrocket

Ancient Dragon commented: Interesting :) +14
rch1231 169 Posting Shark

Hello,

The question here is really what do you mean by a "Linux Ubuntu Conversion File"? The primary difference between Linux text files and Windows files is that Linux uses a Carrage Return (CR) at the end of a line and Windows uses a Carrage Return and a Line Feed (CR LF). If you have a linux text file and try to open it with Notepad you get the Lines of data all run together. Open it with Wordpad or MS Word and the apoplication will convert the text for you.
But back to my first point, what do you mean by a "Linux Ubuntu Conversion File"?

rch1231 169 Posting Shark

IF you install it over the WIndows partitions then YES. You can try Linux without installing it by using any of the "Live CD" isks availabel for most of the distrubitions. Check out Fedora or Ubunto as they both have a cd you can boot from that will let you play with linux without changing your windows system.

cereal commented: sorry! I just saw you've already replied, bye! :D +9
rch1231 169 Posting Shark

Hello,

A class A subnet contains 16777216 IP addresses. A class A network starting at 192.0.0.0 would extend to 192.255.255.255 and contain all of the addresses in that subnet (i.e. 192.0.0.1, 192.0.0.2, ...., 192.255.255.254, 192.255.255.255)

A Class B starting with 192.0.0.0 would extend to 192.0.255.255 and would contain 65536 addresses (i.e. 192.0.0.1, 192.0.0.2, ...., 192.0.255.254, 192.0.255.255) another example could be 192.168.0.0 to 192.168.255.255 (i.e. 192.168.0.1, 192.168.0.2, ...., 192.168.255.254, 192.168.255.255)

A Class C contains 256 addresses and might be 192.168.0.0 through 192.168.0.255 . Which means the Class B starting at 192.168.0.0 has 256 class C subnets:

Class C Network           Range
    1            192.168.0.0 - 192.168.0.255
    2            192.168.1.0 - 192.168.1.255
    3            192.168.2.0 - 192.168.2.255
                          .
                          .
                          .
    255          192.168.254.0 - 192.168.254.255
    256          192.168.255.0 - 192.168.255.255

Hope this helps.