Explore topic-wise InterviewSolutions in .

This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.

951.

Solve : Knoppix Live 5.1?

Answer»

I've got an ATI Radeon x700 Pro (PCIe 1.0) card INSTALLED and I can't get my Knoppix Live 5.1 CD to boot.

I removed the card to use the onboard video and it works.

Windows VISTA works just fine while the card is installed..

Does Linux not support drivers for some video cards ?Maybe this is of some help. From AMD.
Frequently Asked Questions about the ATI Proprietary Linux Drive
rBeing that knoppix 5.1 has an older kernel and is a few year old.
What are you using the CD for?
If it's for forenics, card doesn't matter.
If it's for normal use, get a newer live cd.

Here the quick howto:
Find the deb package. Open and see what dependencies it requires. Use ark.
Install the dependencies. Install the package.
Here's another catch: it has to match the kernel that you are using.
Are you planning on installing a distro to your box?

What's the architecture?

Did you see if any other live cd has the drivers?
FEDORA, Suse, Ubuntu?



Quote from: Geek-9pm on April 17, 2010, 07:35:52 PM

Maybe this is of some help. From AMD.
Frequently Asked Questions about the ATI Proprietary Linux Drive
r

This won't help much.
It uses an older Xorg. EEVIAC will have to edit xorg.conf to load the generic ati or radeon driver.
Means there will be some building an image for usb booting.

Oh, this is added; but, why did you remove the card?
Can't you just change the default graphic card in the BIOS with the onboard, PCI, and both options?

Quote from: mr-bisquit on April 17, 2010, 07:40:07 PM
What are you using the CD for?

Generally I use it for troubleshooting or data recovery. For instance, if I can't boot off a hard drive, and cannot boot off the CD either, it points to a likely hardware issue (assuming the optical drive is functional). Sometimes I just like booting it because its fun. I like some of the games that COMES with it.. I like the voice that says, "Initiating start-up sequence" when it boots..

Quote
If it's for normal use, get a newer live cd.

What IS the latest Knoppix Live Distro anyway ? I downloaded 6.2 (Adriane) but it doesn't seem to be a live CD. I may be wrong on that. When booting it, it gives a long list of choices and it didn't seem to have a Live option...

Quote
Oh, this is added; but, why did you remove the card?
Can't you just change the default graphic card in the BIOS with the onboard, PCI, and both options?

I guess I could do that.. Don't know why I didn't think of that. I have a tendency to over-fix things..Build yourself a livecd.
If you have an extra machine, you can do such.
Debian has a package for such.
You can then edit the file with gedit or kate after changing the permissions.
Add the forensic tools and games. You can also make it a dvd or usb stick.
I created a bootable for the g3 with it.

Adriane was developed for the sight impaired.I'll PUT it on the back burner and get to it after a while. I'm sure you've heard that one a few times. I've got a good excuse though. I'm looking for a job right now and have to make sure I've got as much common stuff figured out, as possible. I don't know as much about Windows as I'd like at this point, although I know my way around pretty good, and there are things unique to laptops that I'm not totally familiar with, which is being remedied at the moment, along side of learning C++. So much to do

You mentioned there are other Live Linux Distros, besides Knoppix ?


thx for the info...

http://distrowatch.com/search.php <-- tells you what is out.

http://www.livecdlist.com/ <-- It's a bit old but gives you an idea of what was out.

http://distrowatch.com/dwres.php?resource=links All out everything.super


thx again
952.

Solve : Tape Backup Recovery?

Answer»

How do you pull a FILE off of a tape BACKUP and restore it onto a linux/unix:star computer?

Thanks
Joshthis maybe of some use http://taper.sourceforge.net/
It is possible that you will need the same backup PROGRAM that put the data on the tape to get it BACK off.

953.

Solve : uploading files with bracket in name?

Answer»

I am using the RCP -r command and i have a file that has bracket in its name. How do i upload it into the SERVER?

954.

Solve : please help with making script!?

Answer»

In school i must write scripts in unix..

I must create:

1) script "add" that add's STUDENTS name, phone number,... in simply database.
that looks-->

echo "$1 $2 $3 $4 $5 $6" >> school.txt

(where $1 - students name, $2 - surname, $3 - telephone number, $4 - number of group, $5 - student's aplication number, $6 - average mark)

2) script that finds student when user enters:
a)students name
b)number of group (in school) and average mark

i created script-->
echo "Choose"
echo "By Name-1 By number of group and average mark-2"
read choice
case $choice in

1) echo "Enter Name"; read name; grep ""$name" .* .* .* .* .*" school.txt;
2)!!! i don't know how to write this part of script !!!
ESAC


please help me write 2'nd choice when user must enter number of group (in school) and average mark in one choice...

i'm working in SLAX live-cd server EDITION..

THANKS!!!!!





You need to learn how to use awk, which will solve all your problems. Try man awk or better still info gawk (not a typo - 'gawk' is the Gnu version of awk found on most Linux systems).ok. thanks! echo "$1 $2 $3 $4 $5 $6" >> school.txt

(where $1 - students name, $2 - surname, $3 - telephone number, $4 - number of group, $5 - student's aplication number, $6 - average mark)

Well, is better:
echo -n "student´s name: "
read $1
echo -n "surname: "
read $2
echo -n "telephone number: "
read $3
echo -n "number of group: "
read $4

and so on....

HARLEQUINCould you let me the entire code you have written?
It´s because I need to test it with my Linux Suse 8.1 shell.

HARLEQUIN

955.

Solve : Which the Best O.S for Unix Platform????

Answer»

Hi All

I like to learn one O.S for Unix Platform , but I dont know which the best to choose from the following?



REDHAT Enterprise Linux -or- Sun Solaris 10 -or- HP-UX 11i.x Unix -or- Aix IBM 5L Unix


Thanks

Best Regards
It really DEPENDS on what you want to do and how much you want to pay. White BOX Enterprise Linux is RHEL with all the non-open source bits removed and is free. Solaris 10 is now free. Solaris 10 is a true Unix; WBEL is a true Linux. Take your pick. There are many different opnions on the subject so, unless you havew a specific need that can only be fulfilled by one O/S or distribution, just pick one and start experimenting.

There are many many Linux distributions, some free, some not. Go to DistroWatch to read about virtually all of them.ok dear thanks for information,
but i mean i need to know which a best for Technichal and Experince only not for cost and free or not,
so if i will choose linux i will choose REDHAT Enterprise Linux only


ThanksSorry, but you may as well ask which is the best make of car. You will never find a single answer. RHEL is good and used by many BUSINESSES. There are RH certification programmes out there, so it's a good choice for professional development. Or, you can just go pure Unix all the way, and choose Solaris. Or choose one of the BSDs.

See, I can't stick to a single answer!Thanks u Very much for advice.

956.

Solve : Help loading Mandrake-frantic nooby?

Answer»

Hi, I am running Win98 on an ASROCK KS741GX, AMD 2.4Gb chip, 256Mb RAM, 1-14.2Gb drive(C: ), 1-12.7 Gb(D: ), CD-RW c/w Nero. I have 9.9 Gb free on C: , 7.6 used on D:

I would like to load Mandrake on the D: drive so am THINKING of moving D: files complete into a folder on C:, formating and rewriting D: to "0"'s, PARTITIONING D:, WRITING Mandrake to second partition, returning D: files from C: to first partition, (all Win98 files and folders) and running dual boot Win98/Mandrake.

Does this sound feasible? What options would you suggest instead of the above outline? I believe Mandrake comes with the option to partition and set up dual boot. Yes? I have downloaded 3 Mandrake CD's from the web and burned the .ISO's. How do I use them? I am in a little over my head and wondering if a bullet to the hard drive wouldn't be easier.
Thanks for any help, I am REALLY tired of Microsoft.
jimYou don't need to repartition your D: drive. Boot from the first Mandrake CD and then follow the install. I suggest to manually partition your drive with Disk Druid during the setup and delete the FAT32 D: drive and use the free space to set up your Linux partitions. You'll set up your dual boot options when you get to the GRUB bootloader section. If you need additional ASSISTANCE, you can reach me at ResourcePC.

DaveThank you VERY much. You just removed about eighty pounds of worry off my shoulders.
I'll let you know how it goes.
Cheers!
jim

957.

Solve : march?

Answer»

I have make a script to install the GENTOO linnux. In this script I want set some variables in make.conf. My difuculdade is to construct one script that it is capable to set the variable march established in the information contained in/proc/cpuinfo. I imagine that this softwae already exists. Any form I need a list that correctly contains (accurately) the possible names returned in/proc/cpuinfo. All the LISTS that I found do not deliver to the NAME corretamete and as I would like to make a PROGRAM without having that to test all the types of machines necessary of a complete list. Very obliged to all.Does this link help>http://www.linuxcommand.org/superman_pages.phpI gave one briefing looked in the site and I did not find nothing that could satisfy me as a program that generated one make.conf with optiones for maximum otimization. Again I say that I would be PLEASED a simple list in txt I contend the name deals (returned in/proc/cpu.nfo) and the name that could I to use in variable march. Debtor exactly thus.The circle of software leads my to here>mach command

http://www.ultralinux.org/

958.

Solve : Playonlinux not working?

Answer»

when i click the package from my flash drive i get this error about a 1/4 through installaton:
error dependency is not satisfable: Wine
Any HELP? You NEED to see what the requirements are.
Upgrade any packages.
Redo the installation.I am way over the system requirements is that what you mean?have you considered maybe finding out what version if WINE it requires? Do you even have it installed?i'm sorry i can't understand you what version if wine it requires? And installed what?Quote from: comda on April 17, 2010, 09:58:43 AM

i'm sorry i can't understand you what version if wine it requires? And installed what?

Are you sure Linux is for you?
Quote from: Salmon Trout on April 17, 2010, 10:21:25 AM
Are you sure Linux is for you?
Linux could probably work well for him, he just needs to take a little time to learn.
Quote from: comda on April 16, 2010, 04:41:55 PM
when i click the package from my flash drive i get this error about a 1/4 through installaton:
error dependency is not satisfable: Wine
Any help?
This means that PlayOnLinux requires you to have Wine first. This makes sense TAKING into account that PlayOnLinux is basically a graphical front-end for wine.

In Linux a dependency is a file(s) that the program requires. In this case wine is the dependency that you're missing. It has nothing to do with how GOOD your computer is, it just means that you need to install wine first.
959.

Solve : massive dual boot prob?

Answer»

im trying to run mandrake 9.1(using now) and winxp pro(inaccessible). the y are both installed on the same drive(80 gig), 60 gig windoze, and the rest linux

bootloader is lilo, obviously mandrake loads with no probs, but when i select WINDOWS it says "ntldr is missing..." so i got that FILE, but while in linux i cant copy the file from cdrom to the windows C:\ drive, which is /dev/hda1 under linux.
not to mention it wont let me create a NEW directory or anything else for that matter.

i looked at the line in /etc/fstab :

/dev/hda1 /mnt/win_c ntfs iocharset=iso8859-1,umask=0 0 0

it was originaly mounted readonly but i removed that, didnt do anything, tried to change permissions and it wouldnt let me, so im a bit stuck as NO1 else uses linux in the house and the want their xp back...losers

anyways im just a n00b myself, only experience i got is several FRUSTRATING installations and messing up a lot of configuration stuff...nice

any help would be greatly appreciated.

960.

Solve : WHAT WOULD BE THE PARTATION SIZE??

Answer»

HAI.


in my XP system [Intel p3 455MHz,128Mb RAM] I kept only 5GB free space in HDD for installing the Redhat Linux 9.0,

What is the exact size I have to make for installing the Linux server?

:-?That's the $64,000,000 question! It depends entirely on what you want to do with your Linux installation. If you want a full GUI DESKTOP install, that's going to take up 2-4GB on its own. Because there's so much free software available with a typical Linux distribution, it's fairly easy to install 10GB of software - before you've even started to put any data on the system. Incidentally, you need at least 2 partitions for every Linux install - one for the swap file (VIRTUAL memory). In your case, that PARTITION should probably be around 256MB-400MB.

Linux is typically not so demanding on a system as Windows, but it does like memory - RAM and hard drive space.i used a 10 GIG partition for my linux, i dont want much out of linux... however, i wont say what i do want out of it... linux runs fine on a 10 gig partition if you dont want to install ALOT of stuff, would have made the partition bigger, but i only have an 80 gig hard drive in this "budget" pc my dad built, so i was limited in what space i could use, right now i only have 21 gigs free in windows, was 30 somthin before linux and a few installs on windows... ill be glad when i build my new system this summer

961.

Solve : Help please...random() in kernel? and Links?

Answer»

Why is it not possible to use RANDOM() in kernel code? If the kernel cannot do that, what is going on when kernel code contains calls to printf()?

SYMBOLIC LINKS in Linux and UNIX can cross PARTITION boundaries, but hard links cannot. Can somebody explain this to me?

Thank you

962.

Solve : Unix/UWin--Getting started?

Answer»

I need help getting started with UWin. I'm a student and I've been given a VAGUE set of notes on Unix/Linux and I've spent countless hours trying to GET started on this project. We've been using MSDOS until now. I've only installed UWin with the ksh shell and I have the following question.

1. Upon opening ksh am I ready to start using UNIX? In my notes and what I've found online I should be setting up a user login name, pw, and HOME directory, but when I open ksh I only get the $ prompt.

Am I missing SOMETHING? Please help! I'm usually good at figuring things out, but it's hard when the instruction don't even make sense!

why use Uwin? if its possible, install cygwin instead.That means you can type in a command.
$ is the normal user prompt.
# is for root.

You need to GRAB a live cd and use the infamous apropos command.

963.

Solve : HOW do I set up RAID in a Linux server?

Answer»

I am doing some research for class and NEED the details of setting up RAID in a Linux SERVER. I ESPECIALLY need the the details on fstab, md0, mkraid, and raidtab. If someone can HELP PLEASE.

964.

Solve : Knoppix 5.3 - Wireless internet?

Answer»

Hi All! Just installed Knoppix-Linux for my grand children's SYSTEM..... they want to go to "Club Pengrin" . I have NO idea how to set up Knoppix on my Linsys WRT54G router. I plugged in the USB Antenna..... & tried to set it up- - - - No luck!. I have a TF570 SLI BioStar MoBo with 2g Mem. The last time I WORKED with this router was over two years ago.... & that took me 4.5 hours with customer service to do. I'm in the dark.... take pity on me! Help! Thanks...... http://www.knoppix.net/wiki/Network_FAQ

maybe this will help..

Thanks EEVIAC: I'll give it a shot...... cool

I like knoppix. I haven't figured out how to use the wireless software in it though. I didn't feel like reading through the tutorialQuote from: EEVIAC on April 14, 2010, 09:20:47 PM

I didn't feel like reading through the tutorial

but you're SUPPOSED to RTFM! Hi! I took a look at the site, but I'm not sure if it will work . I'll have a go at it LATER & report back thanks again Quote from: BC_Programmer on April 15, 2010, 06:52:14 AM
but you're SUPPOSED to RTFM!






I know.. I tried one of the methods and I couldn't get it working. I don't remember exactly at what point I gave up... The whole thing was more of a curiosity fix for me. I wasn't too interested in using wireless knoppix at the time, just a little curious. As I've said before, I'll get to linux more, after a while...If you have Ubuntu 9.10 on a CD, you can boot it in the 'Live' mode. It will find any wireless devices and turn them on and look for a SID in your area.
This is an easy way to check to see if the hardware is Linux compatible. If the new Version of Ubuntu does not do it, chances are slim.
I am NOT suggesting you switch to Ubuntu, just use it to verify the job is feasible.Quote from: Geek-9pm on April 15, 2010, 07:08:03 PM
If you have Ubuntu 9.10 on a CD, you can boot it in the 'Live' mode. It will find any wireless devices and turn them on and look for a SID in your area.
This is an easy way to check to see if the hardware is Linux compatible. If the new Version of Ubuntu does not do it, chances are slim.
I also highly recommend this.Geek-9pm/Cityscape; I don't have Ubuntu 9.10..... I'll try to get it get it on CD & give it a try, don't have much to lose! Great education! Thanks http://www.ubuntu.com/GetUbuntu/downloadHi Geep-9pm! Yeah..... I just went over to Ubuntu Dload & looked it over...... I'll Dload Fri & try to burn to disc..... Haven't had allot of luck with the burn thing, but will give it a try...... I'll let you know what go's Fri..... Thanks again Windows does not support ISO barn of a CD. However, MS suggests two sites for finding third part software that can do the job.
Quote
Searching for ISO burning software
Two of the most COMMON Web sites for finding software that can burn ISO FILES to DVD are as follows:

* http://download.cnet.com/windows (The CNET web site.)
* http://www.tucows.com (The TuCows web site.)

Here is one of many:
http://www.tucows.com/preview/605102/ISO-Image-Burner?q=ISO+burner
965.

Solve : Knoppix 3.8.2 doesnt' have Knoppix Live-Installer?

Answer» HI guys! I'm having some problems in the new KNOPPIX version, the 3.8.2

In this version, the Knoppix Live-Installer has been REMOVED? If not, where is it?

Thanks in ADVANCE,

Simon.Are you trying to dual boot?
966.

Solve : cant find drivers for wireless card for ubuntu?

Answer»

i also cant seem to find the chipset for my card... my card is this: D-link airplus G DWL-G510 wireless PCI adapter (rev. B)

i have SEARCHED google many times, and come up iwth nothing, i REALLY need help with this one, my second OS (ubuntu) is useless with out my wireless card... i really wish my dad would have let me choose the card, he payed nearly $50 for this stupid card at a local computer shop, i could have gotten a better one online.

oh, another QUESTION, it has nothing to do with my wireless card, but does ANYONE KNOW the size of the fan on a 478 socket intel proccessor, i need to get another, the bearings went out on mine, and yet again, a part my dad choose.Possible solutions:

MadWifi
ndiswrapper (which allows you to use some Windows wireless LAN drivers in Linux)
D-Link's own page of open source drivers

Recommend you ask in the hardware section re your fan. I haven't got a clue.ok, thanks... and btw, i always fear floating heads, heads should stay attached, lolJust get a new heatsink/fan combo. They are cheap and all 478 models are interchangeable with all 478 CPU's. A fan by itself would probably cost the same ($10)Quote

ok, thanks... and btw, i always fear floating heads, heads should stay attached, lol
Exactly my point. But it came off, so what can you do? :-/lol, true, ill try to use the ndiswrapper, all it does is extract my windows drivers right?Pass. Read The Fine Manual.

Other people have got it to work with that family of wireless card.Oh, by the way, you're scared of my avatar?!!!no, scared of "disembodied" head in general, i played the original Jason game for NES and you have to kill jasons mothers disembodied head... i played that when i was like 8 or 9, so, i dont really care for floatin heads, or 2d jasons that pop out of no where for that matter. ill read the manual, got nothin better to do till my dad gets me a floppy to put it on, dont see any reason to waste a cd r on a archive that isnt even 1mbAnd I, in turn, must CONFESS that I don't much care for the Grim Reaper.
967.

Solve : how to use alias in the shell??

Answer»

Hi,
i wanted to run a program in either windows command line or linux command line. It tell first to alias the name if the file as :
Avrora is based on a command-line interface. To invoke Avrora, you need only run the java command and use the -jar OPTION to specify the location of the Avrora JAR file. Running avrora with no options will print out the built-in help. You should make an alias to avrora such as:
% alias avrora='java -jar avrora-beta-1.4.0.jar'

Getting Started with Avrora
TRYING out Avrora is quick and easy for any platform! See the steps below for steps to get started with the basic capabilities of Avrora.



Step 0: Get Java!
Avrora is implemented in Java, and therefore it requires that you have a functional Java Virtual Machine installed. Once the JVM is installed and you are able to run java at the command line, you're ready to continue to the next step.
Freely available Java Virtual Machine implementations are available from both Sun Microsystems and IBM.

See http://java.sun.com to download the Sun Java implementation for your platform.
Avrora is not dependent on the particular Java implementation that you choose.




Step 1: Download the JAR Archive
The Java platform allows applications to be bundled into compressed archives called JARs that require minimal effort to download and use. Applications can be run directly from a JAR file, requiring no compilation, installation, or configuration steps. The first step to trying out Avrora is to download the latest JAR archive release. Simply save the JAR file to your disk, and you are ready to run.



Step 2: Format Your Program Appropriately
Avrora supports three types of program formats:
The Atmel assembler syntax. Files that end with the .asm extension are assumed to be in this format. Files in this format can be loaded directly by Avrora.
The GNU assembler (GAS) syntax. Files that end with the .s extension are assumed to be in this format.
The output of the avr-objdump utility. Files that end with the .od extension are assumed to be in this format. Avrora cannot directly load ELF or SREC images, therefore binary programs in those formats must be converted to a textual format with avr-objdump. For more information, see the page on objdump.
Here are a couple of example programs that can you download and try out:

simple.c -- very simple C program source.
simple.od -- C program converted to objdump format.
blink.od -- a TinyOS program compiled to the ELF format and disassembled with avr-objdump.



Step 3: Running Avrora
Avrora is based on a command-line interface. To invoke Avrora, you need only run the java command and use the -jar option to specify the location of the Avrora JAR file. Running avrora with no options will print out the built-in help. You should make an alias to avrora such as:
% alias avrora='java -jar avrora-beta-1.4.0.jar'


Now, let's use Avrora to execute one of the example programs. Download simple.od and execute it on Avrora.
% avrora simple.od

so the question is I down loaded the simple.od but wnever i type alias in windows or linux command line , it says that alias is not a valid command. How can i use alias as mentioned above. I don't know how to use it. Can anyone help?






What linux distro are you using? You SEEM to be using the alias command correctly?

alias [name=['command']]

- name Specifies the alias name.
- command Specifies the command the name should be an alias for.


If you type in just the command alias, do you see your new alias you created in the list? If you need addtional assistance, you can reach me at ResourcePC.

Dave

968.

Solve : Unix/ Linux question?

Answer»

Hi, I was wondering if anyone could tell me which Unix or Linux distros will work on a computer I built. Here are the specs:

Asus A8N-SLI motherboard
AMD 64 3200 CPU
Asus vid card
1g DIMM RAM in two 512 cards
80g SATA HDD


What I really want to know is what works the best on this kind of setup? I really haven't had much experience with Unix before but I have been wanting to learn for a while now. Someone gave me FreeBSD but it won't work on this machine. After I GO through the installation process it starts to boot and then just stops with everything still on the screen.

What should I go with? Solaris, OpenBSD, Fedora? I have read a lot about these but I have not tried them out. I don't want to spend a lot of time downloading or money buying OSs that won't work anyways.

thanks,

JamesUbuntu or Kubuntu, Mandriva, Fedora, or SuSE would be good places to start. They are more alike than different, and have good support.With that sort of spec i think most if not all distros will work.The BSD's are a little more complicated to SET up. Start with a well known Linux distro.I'd try the latest SUSE if you have a dvd burner, It should run ok and has loads of FEATURES.Quote

I'd try the latest SUSE if you have a dvd burner, It should run ok and has loads of features.

Agreed. I am running SuSE 9.3 right now and I LOVE it. Won't go back to WINDOWS now (unless I have to for something, still have it installed).
I don't suppose anyone has tried out SUPERSuSE yet?
969.

Solve : SimplyMepis 3.3 getting online problem?

Answer»

i have a new emachines T6528 with an AMD 64 bit cpu with 2 hard drives, xp home on drive C:,(primary master), and simplymepis 3.3 on drive D:, (primary slave) which was installed onto the hard drive when i had it in an older emachines pc with a Celeron 32 bit cpu and had it set as primary master, and it worked fine in it. Now at BOOT up i get an OPTION to press the F2 key which shows the drives in the pc. i scroll down and choose which hard drive i want to boot to, simplymepis or the one with xp home on it.
i'm having a problem with simplymepis going online. everything else works good with it except that. could it possibly be a problem because it was installed in a 32 bit pc and now it's in a 64 bit pc and setup in a DUAL boot configuration? if so, i have no idea what settings to change or whatever needs to done so it will go online like xp does.
any ideas?
thanks,JimA simple reinstall may fix all THINGS if you are on cable/dsl.

64 bit doesn't enter into it.

970.

Solve : Copying from multiple dated directories.?

Answer»

I'm trying to figure out how to to the following:

Our backups run to a DVD system. We do one full per month, with daily differentials. The full is stored in /backups/currentfull/.
The diffs are stored in /diffs/dd-mm-yy, meaning TODAY's diffs will reside in 07-22-05.

The problem this causes is that when a complete folder needs restoring, I have to manually go to the full, copy it out, and then go through each differential and copy out the more current files.

I'd like to automate this process. The biggest obstacle I see is that occasionally I have to RESTORE, SAY, half a month instead of a whole month, or the changes to files make over the course of two weeks for example.

Any ideas how to accomplish this? I don't know of any kind of count FUNCTION for dates or anything like that. All help is appreciated.

MarkI don't know much about Linux but backups are the same on any OS.

Full backup - backup all files; reset archive bit

Incremental Backup - backup changed files; reset archive bit

Differential Backup - backup changed files; do not reset archive bit.

If you are doing differential backups you would only need to restore the last full backup and the backup taken on the date you wish to restore BACK to. DOS has the XCOPY utility that does this very nicely. You may have something similar to this in Linux.

Check out: http://www.linux-mag.com/1999-07/guru_01.html for some ideas.

Hope this helps.

971.

Solve : Need help with a Script?

Answer»

I am trying to run a script called f2c with the following formula:

C = (F- 32) 5/9. This is what I have so far:

#! /bin/sh -f
#f2c
TEMP='expr ( $1 - 32\) \* 5/9'
echo "The Celsius temp is: ${TEMP}"

Does this LOOK correct to you. When I type f2c in the COMMAND prompt I get:

The Celsius temp is: ${TEMP}

Thanks in advance for your HELP.

QUOTE

I am trying to run a script called f2c with the following formula:

C = (F- 32) 5/9. This is what I have so far:

#! /bin/sh -f
#f2c
TEMP='expr ( $1 - 32\) \* 5/9'
echo "The Celsius temp is: ${TEMP}"

Does this look correct to you. When I type f2c in the command prompt I get:

The Celsius temp is: ${TEMP}

Thanks in advance for your help.



is it a single quote you are using for 'expr...' ?? you should try backquote ` ....
I am using a single quote, but when I use the backquote `, I get a syntax error.This is the correct syntax: #! /bin/sh -f
#f2c
TEMP=$[ ( $1 - 32 ) * ( 5 / 9 ) ]
echo "The Celsius temp is: ${TEMP}"but it won't do what you expect. Bash/sh evaluates 5/9 to 0 - no decimals.

If you want to do precision arithmetic, tryman bcyou can try this :

Code: [Select]results=$(printf "%s\n" 'scale = 2; ($1-32) * 5/9' | bc)
echo $results
972.

Solve : FTP to Redhat 7?

Answer»

I just install a Redhat Linux 7 and want to start the FTP service. wu-ftpd is running. IP address is set. I can ftp using same machine by IP 127.0.0.1. But, I can't ftp to the computer via WINXP. FYI, I use CROSS cable to connect them. I try ftp, I'm not prompted to type username and password. Anybody got idea?What IP address do you have assigned to your Windows machine? At what IP address assigned to your XP machine?It could be that the ftp port is not open in the firewall in Redhat. Switch to root in the terminal and type "setup" then arrow down to "firewall" and open the ftp port. I suppose it could be other things but if you haven't tried it already, that's what I would do first.I've set the Linux IP 10.0.0.20 and my WinXp machine has IP 10.0.0.7.From the WinXP machine, can you ping the Linux box?Yes, I can ping and even TELNET to the Linux machine using my WinXp PC. I just cannot ftp to it. When I type ftp, I am not prompted to type username and password. I'm using Linux Redhat 7.0From the Windows XP machine, try:telnet 10.0.0.20 21What HAPPENS?

973.

Solve : Installing linux?

Answer»

I have got Vectorlinux intallation on a CD and i am trying to install it onto a blank hard drive. but when i try to install it says "I cant seem to find any hard drives" etc. i try probedisk and it only finds the cd drive. the drive is a SATA 80gb SAMSUNG and the MOBO is an ASUS P5V800MX. Is this a software problem?You might check on their forum to see if there are hoops to jump through for SATA installation.

Probably just a simple command when you see the boot screen. Are you USING 5.1 Standard or the SOHO?I am using soho. i will check the boards and see if i can dig up somethingThe SOHO is a sweet distro. It has most everything you need INCLUDED. If you USE it and like it, be sure to send them some $$$

974.

Solve : find directories that do NOT contain a certain file extension?

Answer»

for x in `FIND /vmfs/volumes/v01tstn01a01/ -type d`; do find $x -name '*.vmx' &GT; /dev/null || echo $x; done;

The goal of this is to find the subdirectories that do NOT CONTAIN a file with the extension of .vmx


Any help would be great!Code: [Select]find . -type d |while read DIR
do
ls -A $DIR/*.vmx >/dev/null 2>&AMP;1 || echo "no vmx file: $DIR"
done

975.

Solve : Samba Printing Problem?

Answer»

- Linux detected the printer no problem
- using Mandriva/Mandrake 10.1

I NEED to use a SIMPLE printing share – I've got samba sharing an HP Plotter and Linux picked it up & identified it no problem. I've got several Win98 & XP computers that need to be able to print to this device. I can see the printer share in Network Neighborhood no problem but when I add the printer WINDOWS tells me that the printer is currently offline. When I try to print it tells me in red “User INTERVENTION required” and won't print at all. Is this a Windows thing or a Linux thing where should I start to FIND the problem? Windows clients can access fileshares OK.

I'm sorry I don't have the smb.conf file at the ready, it's in a business but I might be able to get a copy if it's really needed.

976.

Solve : Linux forum project?

Answer»

Would ANYONE be interested in a Linux forum project? Where we all decide on one distro to use and WORK together to install a particular application or server and help eachother out? If anyone is interested, post over in my forum and let me KNOW. All the project support will take place over there. http://resourcepc.com/cgi-bin/forum/forum.pl?board=Linux;action=display;num=1116944824

Thanks,

DaveI'm SURPRISED we don't have more people interested in something like this.

It's a great CHANCE to learn more about Linux.yeah, i am ready. WHat is next?Go here and sign up. We will be discussing what distro we should all use based on the hardware that we all have. The direct link to the Linux Forum project is here:

http://resourcepc.com/cgi-bin/forum/forum.pl?board=Linux;action=display;num=1116944824

Glad to have ya on board, this should be fun!

Davethe poacher

977.

Solve : NO CURSOR!?

Answer»

I 'm USING Linux Fedora Core 5 operating system on one of 3 hard drives in my pc. I can see the mouse cursor (pointer) during boot up and loading the OS but when it gets to the LOGIN screen it's not there. I type in my login name and password it goes to my desktop and no mouse pointer (cursor) is there. I can MOVE the mouse and when the INVISABLE pointer gets to a menu bar icon, or a desktop icon, the icon will highlite and I can open the program. So all it does is highlite a program icon after I HUNT and find it. My graphics came embedded into the mommyboard. no card. it's an nVidea GeForce 6100 GPU with available PCI-Express slot. How can I enable a visible software cursor?
Thanks,JimEek. Unless GX1_Man here has an idea, you MIGHT be better off asking this over on the Fedora forums. It's almost certainly a graphics driver/X server problem - those guys will be able to put their fingers on the problem fairly quickly, I would think.It's definitely an X problem, andn Rob has pointed you in the right direction.

978.

Solve : "Stale file handle"?

Answer»

In what SITUATION would you normally SEE "STALE file HANDLE"?

979.

Solve : unix script?

Answer»

i need to know ( a description if possible) of what these scrpits are asking from the server to perform. Unix C shell

alias setprompt 'set prompt="${cwd}% " '
setprompt # to set the initial prompt
alias CD 'chdir \!* && setprompt'
Each line is setting an alias. An alias is a piece of text, when typed at the prompt, or included in a script, that is expanded to something else. This is often done to save typing long commands.

alias lion 'large fierce carnivorous animal'

In your question, the FIRST alias arranges that when the user types 'setptompt' this is expanded to 'set prompt="${cwd}% " ' This command makes the prompt equal to a DOLLAR sign followed by the current working directory followed by a percent sign. The second alias ensures that when a user types cd this is expanded to 'chdir \!* && setprompt' This expands to 'chdir (change directory) to whatever directory is typed after cd and then run setprompt (which is expanded as above)'

THis looks like a normal part of an ORDINARY login script.




Rewrite the following sequence of commands using sort as a filter: You should end up with a single command line when you are done.
$ sort ROSTER > temp -
$ lp temp
$ rm temp
what is the point of your post, darkshadow67?

980.

Solve : Mail attchment on AIX?

Answer»
Hi All,

I am working on a scripts on IBM AIX which should send an email to a GROUP of user with a file ATTACHMENT. The file MUST go as an attachment.

Could someone help on creating the script. Infact I worte the script. Everything is working except the attachment part.

Any help is appreciated.


Thanks,
Satish
What language did you write the script in?

[GLB]Gizmo73[/glb]
981.

Solve : Fedora Core Linux Install problem?

Answer»

From the beginning...

I used perfect disk to defragment my disk drive.

Then, using partition magic 8.0, I used the install new OS option and chose linux. I have drives C: and D: (recovery). I followed the instructions by partitioning the new partition at the end of the hard drive, and set up a linux and swap partition.

As promised, it does its partitioning and boots to the new partition. I then used the linux install dvd and installed it in the new partitions. The install went fine and there were no ERRORS. After the install, it rebooted like it said and said "missing OS."

I understood that I was supposed to run BootMagic to enable Linux as a dual-boot but I don't know how to get back to my Windows XP which should still be on the drive.

EDIT: I have realized my mistake, I did not enable boot magic PRIOR to installation. So it never overrided the boot settings. However, I reinstalled Fedora Core with the GRUB loader and it loads linux PERFECTLY. The problem is, when I boot back into Windows XP, it gives me an ERROR and automatically shuts down. On the help website, it gives instructions to remove this error. However, it involves editing a registry key, I do not have the experience to install windows registry editing programs from linux (lots of things to deal with including source code). I cannot boot into Windows safe mode....How can I edit registry keys from linux or how can I edit them at all?

Thanks in Advance.Can you boot from an XP CD?Well, yes....but I found the problem. So many rough errors for something so simple. Turns out, during the partitioning, PArtition Magic hid the primary partition. So in its boot sequence to come to its "Partitioning completed" message, it couldn't find the files for it since the paths were hidden. So, from the grub loader i just typed

unhide (hd0, 0)

worked like a charm.

Thanks anyways.

982.

Solve : RE: NO CURSOR!?

Answer»

RE: NO CURSOR! (the whole story)
I have an emachines T6528 that came with XP Home. I installed another hard drive with Fedora Core 5.0 on it, so, I now have my choice of which hard drive I want to boot into. When I boot into the Fedora hard drive, I can see the cursor during boot up and LOADING of the OS but when it gets to the login screen, it's not there. I type in my login name and password and it goes to my desktop, but no mouse pointer (cursor). I can move the mouse and when the invisible pointer gets to a menu bar icon, or a desktop icon, the icon will highlite and I can open the program. So all it does is highlite a program icon after I hunt and find it. My graphics came embedded into the motherboard, no video card. it's nVidea GeForce 6100 GPU with available PCI-Express slot. When I right click the mouse, on the desktop, it does bring up a menu, so that works.

So, per another technical help answer I got, he says to go into the Terminal program, so I did, and here's what it shows:

When I FIRST enter the Terminal program, at the jim/localhost$ (I think thats what it shows) command prompt, I type vi etc/X11/xorg.conf ,and then that page opens. Then I push the INSERT KEY and the word INSERT appears at the bottom of the page.
Where the cursor (or the black rectangle) is at the top of the page I typed this:
---- xorg.conf ----
Section "Device"
Identifier "Videocard0"
Driver "nv"
VendorName "Videocard vendor"
BoardName "nVidia Corporation C51 PCI Express Bridge"
##fehlender cursor, hwcursor off rhb#182517
Option "HWCursor" "off"
EndSection

(I indented some of the paths above but it doesn't show anything indented in this message after I submit it)

So then I push the Shift key (for the plus sign) and type +:wq! which is SUPPOSED to save the changes that have been done? (so i've been told).
I did that and then when i open the File column to Save and then Close the program to reboot the PC, there is no SAVE option in it, it only has CLOSE, so how do you know if the changes that were made in the Terminal program have been SAVED or not, because everytime I reboot the PC I still never get a pointer (cursor) when it gets to the desktop so it doesn't look like it has accepted the changes that I have made.
Please tell me if i'm doing this correctly or not. PLEASE show me exactly what I need to type and if the spacing between words and symbols is correct because I know that everything has to be typed EXACTLY right or the program won't accept it.
I appreciate your help,
Thanks, JimI think you would benefit from going back to your original thread and following the suggestion there.

You also need to start with some basic Linux reading. The best starting point is >The Linux Documentation Project<.

Please reply to this thread rather than starting a new one, if you have further comments/issues. Thanks!

983.

Solve : Sound Card Not Working After ReInstall?

Answer»

Alright, will go ahead and try that out. Will edit this post when I have some results.

EDIT: robpomeroy...you sir, are a SAINT. Thank you so much for helping (it WORKS now in case you didn't FIGURE that out). Once again, thank you for all of your help.Splendid - glad it's WORKING for you!

984.

Solve : Mount of FileSystem Failed?

Answer»

Okay, Hum, I have Ubuntu and since a couple of days, I can't use it.

It only says
"Mount of FileSystem Failed.9e96ed-f67c-4346-b99e-de93b8c6a573"
And then, it says that a maintenance shell will be starting. And that I have to press Ctrl-D to re-try.


But, NOTHING happens!!! I can't really do anything... And.. I really NEED help!
I don't feel like reformatting the WHOLE thing... please help me!
Thanks in advance! Does the maintenance shell not load?

Do you have your Ubuntu CD?Does the grub boot menu come up?
That means you will see the words "ubuntu 9." blah blah for a second then everything tart LOADING- a scrolling output.

985.

Solve : Inseting .IMG into .XFS???

Answer»

I recnetly DOWNLOADED a program and in the readme it said I NEEDED to insert the six .IMG files into one .XFS file and I couldn't figure out how to do it. Help or REFERENCES APPRECIATED.

986.

Solve : Find the device/destination name?

Answer»

I am trying to ADD a local printer and I don't know the name of the PARALLEL port device. Is there some command to SHOW the device names? How do I find the parallel port destination?Did you try LPT1 or LPT2?

[GLB]Gizmo73[/glb]

987.

Solve : .tar.gz file????

Answer»

How do i open the installer.TAR.gz file that is included in my mozilla firefox download. Be gentle, i'm a newbie.To extract the tar.gz file go to a TERMINAL and cd to the directory containing the file and type tar -xzvf firefox-1.0.4.installer.tar.gz. Then type
cd firefox-installer, then ./firefox-installer.

Or if your USING KDE you can just right click on the file go to extract and click extract here. Then MOVE into the firefox-installer directory. Right Click on EMPTY space go to action and open terminal here. Then type ./firefox-installer at the terminal.

988.

Solve : what type of operating system is unix??

Answer»

Please can anyone tell me what type of OPERATING system unix is ?? I mean..is it
1)pre-emptive
2)non-preemptive
3)batch

which of the above TYPES does unix belog to...?

any HELP is much appreciated...

thanx in advance
fresherUnix is a preemptive OS. If you have any other questions, feel free to contact me at ResourcePC.

DaveWhat does pre-emptive mean? What's the DIFFERENCE between pre-emptive, non pre-emptive, and batch?Try this web site:

http://www.jguru.com/faq/view.jsp?EID=42151

989.

Solve : SimplyMepis and Fedora Core 5.0?

Answer»

I have XP HOME on primary master, simplymepis on primary SLAVE, cdrom on secondary master and fedora core 5.0 on secondary slave. xp goes online and emails with no problem. either of the linux os's won't go online. i used to get simplymepis online when it and the xp hard drives were the only ones in the pc, primary master and primary slave. now after i installed the fedora hard drive neither it or the simplymepis will go online. what can be done to enable them to go online and set up email programs in them? simplymepis, in the past, has been very good with everyhting, but ever since i installed fedora on another hard drive and installed it as secondary master and neither one of them will go online.i've tried disconnecting the fedora hard drive and I'm still having the same problem with them whether its connected or not.
any help will be appreciated.
thanks, JimIt shouldn't matter at all. Are you on broadband? Did you adjust any settings after loading it? Are you SURE absolutely nothing else has changed?I have a cable modem. service provider is comcast. i use an alphashield hardware firewall device which stops hackers, 3rd party pop-ups and wormswhich worked fine when simplymepis was going online. i have a linksys wrt54g wireless router which is wired to this pc because it is the basestation in my network. i haven't set up fedora with the network manager yet to detect the nic, i will give that a try. the connection process that is failing with both simplymepis and fd5 is when i click on the firefox icon it searches and then a screen appears and says it can't CONNECT. (i don't remember the exact wording of the message).please let me know if you NEED more info.
thanks, JimWell the exact message would be helpful.

990.

Solve : SSH question?

Answer» HEY all,

I was looking to setup my SSH to only a single AUTHENTICATION method, for EXAMPLE use RSA only, Challenge Response and Public key.

I WANTED to know how to disable all other authentication type using one of the three above individually.

Thanks in advance. edit the sshd_config file. check your SSH documentation.Thanks for the REPLY however i did look at the documentation and I was hope to get more help ...
991.

Solve : Linux Operating System File Compression?

Answer»

We are currently running SuSe 9.0 on an IBM iSeries. We are using Linux for our file and print sharing. Been doing this for approximately 10 months. Previously, we were using Novells Netware on a Compaq for this. My problem is disk space? In Netware when files went unused for CERTAIN periods of time, Netware compressed these files down. What HAPPENED to us was, I thought I was migrating 25 gigabytes of file data from Netware into my Linux Server. But, after the migration took place the data size almost doubled. Now I have almost 40 gigabytes of data on Linux. At first we didn't realize Netware by default, compressed unused files. Once we learned this, I've been in search of something comperable in Linux. The word I've heard is there is somehting, but no one can tell me what it is. And just for the record, I'm not looking for a utility that is going to require an uncompression process to take place first before the file can be VIEWED. Netware did all this automatically. The user is oblivous to this process. In Netware the only thing the user might have experience when opening a file that had gone unused for an extended period of time, would have been a few more seconds in the opening process. Any ideas would be appreciated?http://www.novell.com/coolsolutions/tools/13587.htmlThe link for Novells cool solutions looks like a GREAT solution for Netware. I need it for LINUX. Maybe I'm wrong, is there some way I can apply .nlm 's to LINUX?http://www.linux.org/apps/index.html you may find something! or even this .....http://noclone.net/Awards.asp

992.

Solve : MD5 and SHA1SUM Problem?

Answer»

My desktop is currently running Suse 9.3 and Kubuntu 5.04. I have two hard DRIVES attatched to seperate ide controllers, and a dvd drive. Anytime I try to calculate an md5sum or sha1sum on files over aprox. 100MB they come up incorrect. (if I run md5 or sha1 on the same file multiple times will give a different value each time.) This is true for all three partitions (FORMATTED with reiser.) and the cdrom drive. I downloaded a couple ISOs from DamnSmallLinux and the mdsums came up correct, but all files where 50mb or less. I have tried reformating but the results are the same in both OSs. Im concerned that it may be a hardware problem but I posted in the hardware section and they said to post in the Linux section.

Setup (in CASE it helps)
3.2 GHZ Pentium with HT
1Gb RAM
WD 80 gb HD
SG 160 gb HD
Pioneer DVD-RW DVD-105
Kernel 2.6.11-smp
kde 3.4.1

993.

Solve : Best Linux Distro for web server?

Answer»

Well what do ya think? Please give a reason ALONG with your vote. ThanxDebian - It works great for servers. SUSE - The only one I've ever used (pretty weak reason I know).It's the wrong question really. The best setup for a web server is one with minimal crud. You wouldn't do a full install of any of those DISTROS, if you were planning to deploy a production-grade Apache 2 server installation.

And as far as Linux distributions are concerned, there's very little between them, when you're only doing a minimal install.

I'd CONSIDER something like SUPERSuSE, due to it's claims of performance optimisations, but then again, it's bleeding-edge, and for that reason you wouldn't use it on mission-critical servers.For easy to use and low footprint ditro i would go with SME linux from http://contribs.org. Really easy to setup and configure.
it can also be used for:
* Sharing of a single Internet connection between multiple computers
* A network firewall to protect against Internet intruders
* A ROBUST email server, which INCLUDES virus and spam filtering and webmail
* File and print sharing
* Web application server, including support for MySQL, Perl and PHP
* Secure remote access
All the setup is donw via a web interface.

994.

Solve : "duplicating" DAT tape in unix?

Answer»

I wish to make a duplicate of the contents of a DAT tape, for backup PURPOSES, on a device running HP-UX, if that's important. My thought is to
1) view the contents of the source tape,
2) COPY the contents of the source tape to a directory on the hard DRIVE,
3) insert a destination tape,
4) format the destination tape as needed,
5) copy the contents from the directory on the hard drive to the destination tape,
6) and view the contents of the destination tape, to verify all files copied.

Somewhere along the LINE I am pretty sure I need to use the dd command, but my Unix knowledge is too little and too many years in cold storage. The DAT drive is /dev/rdt/tape2.

Please help. Thanks!

Stephen :-?Yes, dd would be the way to go, but I never work with tapes, so I'm guessing a little. Do you have sufficient hard drive space to store the contents of the tape streamer? If so, dd in then dd out should do the trick (subject to whatever preformatting you need to do with tapes - I wouldn't know).

I think you probably got there on your own; man dd and try it.Here is an article with some basic commands.

Tape Drives in Linux

995.

Solve : print problem?

Answer»

Hello

i dont have much idea on UNIX commands, i am asking for your help on printer issues.

i wanted to change the current printer we have now, basically bec we NEEDED a more durable one. so recently i have a product demo, but its driver is not present in UNIX. i will be using the same network printer name but different model. ACCORDING to the presentor, i can work on a "certain driver", so i change the model to "certain driver" w/c is actually present in our unix (scoadmin - printer - PRINT manager - settings - model) .

here is the THING, after we change it, we test ( lp -d ) but nothing happened. we tried printing using windows (test print) it prints.

Do i need to add another printer again??

I am using HP Netport print server
on port 3

Hoping for your positive RESPOSE.
thanks a much

996.

Solve : Dual boot XP/Linux startup and access?

Answer»

Hello everyone. Let me tell you what I've done.

1 - I wiped out my old 80 GB hard drive and I am freshly installing everything.
2 - I partitioned the drive roughly:
C: 7 GB
D: 20 GB
E: 20 GB
F: 29 GB
3 - I installed XP on C: without any problems.
4 - I formatted E: and F: to FAT32
5 - I installed Mandrake 10.1 onto D: (after partitioning out 2 GB for swap)

Everything is all right. I am very new to Linux so I have no idea how to do anything with it yet. Here are my questions:

1: I was under the impression that I would have access to the E: and F: drives from both XP and Linux. Is this not so? And if so, how do I access it through Linux KDE? I can get into them from XP without any problem.

2: The system boots to LILO which looks clunky to me. I would much prefer to have Windows boot the system with the two options "Windows XP" and "Linux" on a startup screen with XP highlighted and a 10 second timer so that it would always default to XP. I imagine that I would have to disable LILO and put Linux boot into the boot.ini file? Any POINTERS on how to do this?

Thanks to everyone.

PeregrinoI think your C is waaaay too small for EVEN a minimal XP install. i would go bigger now while you can.

You can see the drives with linux. If you are using KDE, Konqueror can do it, and you may also have another file manager installed as well.

Lilo works fine and can be customized as you envision. There is absolutely NO advantage to having Windows try to boot things. Windows does not play nice with other OS'es. Hopefully EYE CANDY in a boot screen is not what you're after.

Take your time and learn as you go. Suse has good support and you can also find other forums with that Google button. http://www.winimage.com/bootpart.htm

This nifty little piece of software may be what you are looking for.ill have to boot my linux and get that, then all i have to do is figure out a way to play my windows games on linux and ill be setIn the end Windows games are best played on Windows, Apple games on Apple, etc. Some emulators work for some games, but it is a work in progress.oh well, i can play my audio files that are on my NTFS partition while in linux with this program right?With a modern Linux kernel, yes.sweet... the only thing i'll miss is my EQ software that came with my integrated AC'97 audio controler, 6 channel, but the rear channel only puts out alittle distorted audio on the left or right channel, CANT remember whichKeep looking. Linux/Unix has always been ahead with its audio processing tools.I dual booted Ubuntu and xp, I used the Grub loader that was with the Ubuntu install and it was ok, Also i'd allow at least 20gb for xp.

I've now uninstalled Ubuntu as its was far to slow on my machine, I'll be trying another distro.I bet you anything it was the desktop you were using that was too slow, not Ubuntu, per se. Gnome and KDE are quite resource-intensive.

Still, VectorLinux is a good choice for something that is speedier in its default configuration.

997.

Solve : password for TRU64 UNIX?

Answer»

hii
I am using a machine having TRU64 UNIX PLATFORM and I want to impliment extended PASSWORD policy ... anyone knows how to do it ??

example..

- I want that the PASWORD of the system must expire after 45 days.
- The password when set it must have atleast one numaric.

998.

Solve : Linux uuencode & mailx?

Answer»

Hello I was wondering if anyone has come across this problem before.

We were running a box using Solaris and we were emailing reports out using mailx and uuencode with a fairly high success rate of attachments attaching.

However, since we have changed servers which runs Red Hat Linux the emails have become totally random, some do not send and a large proportion of them do not attach the attachment.

Any help or suggestions would be appreciated.

Thanks in advance
mtt1966What Server OS were you running prior to Red Hat?

Just wondering if you kept with similar OS lineage or made a drastic change to Red Hat from a totally different Linux Server line. Such as going from Xandros to Red Hat which is not a clean move vs from CentOS to Red Hat which is of the same lineage.

The scripts that were run at the prior server that are acting up at teh Red Hat servers likely need corrections. Hopefully there is logging in the scripts so that problems are easier to detect and correct.

As far as emails becoming totally Random..... I'd THINK there there would be a similarity in the e-mail that fail to attach or send, so I would look at those that dont go across to see if there is a common attribute among them that stands out as the relationship as to why they are giving the Red Hat Servers troubles when attempting to send them. However that is not to completely rule out random from the equation, but its more common for there to be a problem with the e-mail that causes it not to send when generated or processed through scripts than it to be random. However if the script is malfunctioning such as with a flaw, memory leak, etc this can happen as well as if the servers themselves have something going on with a bad memory stick in one of them etc, it could puke on this routine and not crash the system. So you may want to run like memtest86 on this server to make sure that all is well.Hi Dave, thanks for your reply.

I will need to investigate some of the issues you raise when I get back in the office.

One thing I will say is that when I say the attachments randomly drop off, it is random, as I can run the script from the shell and the email will arrive with the attachment, then run the same script for the same attachment moments later and the attachment is not there.

Very frustrating, perhaps, and this is why I changed my status from Experienced to Familiar, you can tell me if there are any logs I can look at that register when this happens?

Many Thanks
mtt1966

I'd run a memory test on the server given the randomness of this issue. It sounds like either memory RELATED or a bug with the distro and WHATEVER is being run. SOMETIMES running scripts that are in legacy scripting with more modern servers, you can run into issues with legacy supportted script instructions being bugged.

As far as logs go, the person who created the script would be able to echo out or write information to a log file to track the scripts progress and any error conditions which may be set to ignore ( silent mode ) displaying could be displayed to the log file.

999.

Solve : Turbo C in linux?

Answer»

How can I install turbo C in linux mint? Please tell me the complete procedure?GOOGLE this:
Linux windows emulator

You run a windows emulator and run your program.
But programs written in Turbo C use the Windows API.
So they are not Linux programs until compiled by a Linux C package.

Quote from: Geek-9pm on April 25, 2009, 01:19:48 PM

Google this:
Linux windows emulator

You run a windows emulator and run your program.
But programs written in Turbo C use the Windows API.
So they are not Linux programs until compiled by a Linux C package.


what is windows emulator and WINDOWS API ?
Please tell me the simple procedure to run C programs in linux mint?Sorry, you said Trbo C wihich I understood to be a windows tool.
Let's start over.
If you are new, it is best to use Ubuntu until you become familiar with Linux.
Here is a link about C and C++ in Ubuntu.

http://www.ubuntugeek.com/how-to-install-c-and-c-compilers-in-ubuntu-and-testing-your-first-c-and-c-program.html

Just ignore the ADVERTISING!





I read on the this webpage to run turbo C in linux with dosbox which is a utility software.

http://pingusays.blogspot.com/2009/04/turbo-c-in-linux.html

after that I was going to download dos box from (http://www.dosbox.com/download.php?main=1 ) but don't know which VERSION should I install ?Please tell the rest of the procedure?Hey, Thanks. I didn't know you could do it in DOSBX.
But I would recommend you install Ubuntu, perhaps on another HD, If you are not using it.
The links you gave a excellent. I think it is easier to do in Ubuntu.
Look here:Quote
Using DOSBOX to run Turbo C++ in Ubuntu Linux
http://dogbuntu.wordpress.com/2007/07/05/using-dosbox-to-run-turbo-c-in-ubuntu-linux/
Notice how easy it is to get a DOSBOX in Ubuntu:

Code: [SELECT]Simply, Go to the terminal:
sudo aptitude install dosboxWhat could be easier?

The link I gave above is not on this forum.
But glad you stopped in and hope this is of some help.
Come back and teach us what you have learned.
I really did like the debugger in Turbo C. It was neat.
Turbo C++ is a borland product for MS-DOS.

the best method for linux would likely be gcc, which I believe is included in all major distros.I go with BC_Programmer. The gcc is included in Ubuntu. It can be invoked by the command "gcc" in the terminal. You will get the error "No input FILES" because you need to specify the path to the source and some other options.But is it a nice to use a the Borland product?

The Ubuntu people use it in the DOSBOX and replace the standard library with a Linux library. I have yet to try it.what is BC_programmer ? BC_Programmer is another member of this forum.Quote
what is BC_programmer ?
Maybe quote of the month!
1000.

Solve : Script to find out different OS on the network?

Answer»

Hi,

can anyone GUIDE me in creating a script to find out all the LINUX machines on my network, with ip address.


Or any tool suggested for this.

basically i want to check, how many lInux machines , i have in my network, so that i can prepare a monitoring system for those machines.

We have Ubuntu machines in our network.

It will be good, if am able to fetch the IP address also(least FEASIBLE).

But still we can give a try.


This is really urgent, if some ONE can guide me , as early as possible.

Thanks in advance.

I've used Advanced LAN Scanner (windows program) for the same thing you need. It doesn't readily tell you which machines are running linux, but you can compare OPEN ports. Linux machines will have different set of opened ports compared to Win machines. It CREATED list by IP addresses. I've used it on /24 networks and reviewed the results manually. If your networks is larger this approach might not be practical.