 | Senior Member with 113 posts. | | Join Date: May 2002 Location: In the Outback of Australia | | opening file problem I hope someone can help me , I have been trying to install Spam Assassin and am having problems when I type tar xvfz Mail-SpamAssassin-2.53.tar.gz in a shell. This is what comes up :
[pedro@localhost pedro]$ tar xvfz Mail-SpamAssassin-2.53.tar.gz
tar (child): Mail-SpamAssassin-2.53.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
[pedro@localhost pedro]$
can someone help me out , I have RedHat Linux 8.0 installed dual boot with WinXP Home
If some of my settings were changed I dont know how it happened , may have clicked something by mistake .
By the way I have copied the SpamAssassin file onto my HDD
thanks in advance
__________________ All the best, and have a nice day.
Mintabie Pete
Last edited by MintabiePete : 27-Jun-2003 08:17 AM.
| | Distinguished Member with 3,377 posts. | | Join Date: May 2003 Location: SOUTHERN MARYLAND | | It is possible that you need to upgrade Evolution. Here is a link that explains in detail how to upgrade Evolution, with approriate links to do so, and install and run SpamAssassin in Red Hat 8.0. http://homepage.mac.com/mpeters/spamassassin/ | | Senior Member with 1,962 posts. | | Join Date: Aug 2002 Location: Back East,Way Back East | | When you try to unpack that tarball,are you cd'd into the directory where its at?Are you spelling the name correctly?
lynch | | Member with 72 posts. | | Join Date: Apr 2003 Location: Edmonton, AB, Canada | | Are you root when you try unpacking it? | | Senior Member with 113 posts. | | Join Date: May 2002 Location: In the Outback of Australia | | I am doing as per instructions : To compile SpamAssassin , copy the file from the cover CD to your hard disk and type the following commands in a shell.
$ tar xvfz Mail-SpamAssassin-2.53.tar.gz
$ cd Mail-SpamAssassin-2.53/
$ perl Makefile.PL
$ make
Then it goes on to say:
To install SpamAssassin , change to the superuser using the 'su' command and type the following .
$ make install
I have not started off in root , but have tried both ways and still get that message in my first post. This is a CD that came on the cover of a reputable Magazine called Australian PC World July edition .
I have copied the file into the home directory
__________________ All the best, and have a nice day.
Mintabie Pete
Last edited by MintabiePete : 28-Jun-2003 01:54 AM.
| | Senior Member with 1,410 posts. | | | | I think Lynch has hit the starting point. For the command you gave, you must be in the directory that contains the Mail-SpamAssassin-2.53.tar.gz file. It is certainly possible that the file was downloaded to a different directory than the one you are in when you issue the command. If you suspect that you are in the same directory as the tar.gz file, do a quick ls -l and see if the file is included in the listing; if it is not, then you will need to use the cd command to relocate to the directory that contains the tar.gz file.
If it turns out that the tar.gz file is not in the current directory, and you don't know where the downloaded file resides, you can use the command (as root): find / -name "Mail-Spam*" to show the full pathname where the file resides. Then use the cd command to relocate to the directory that contains the tar.gz file, and continue with the unpacking/make, etc.
One additional thought: in Linux, case is significant. Mail-spamAssassin is different from Mail-SpamAssassin; you might verify that you have the name right.
Hope this helps.
__________________ The slowest component still sits at the keyboard. | | Senior Member with 113 posts. | | Join Date: May 2002 Location: In the Outback of Australia | | I used the ls -l command and the file is in the right directory to my knowledge , I will post what happened :
-l
total 5712
-rw------- 1 pedro pedro 604164 Jun 21 12:46 cashmereg.mpg
drwx------ 3 pedro pedro 4096 Jun 27 21:35 Desktop
drwx------ 6 pedro pedro 4096 Jun 25 11:23 evolution
drwxr-xr-x 2 pedro pedro 4096 Jun 28 17:04 _files
-rw-rw-r-- 1 pedro pedro 40770 Jun 21 12:30 fine for speeding.jpg
-rw-rw-r-- 1 pedro pedro 5652 Jun 25 11:17 Girl
-rw------- 1 pedro pedro 1038778 Jun 26 19:55 gxine-0.3.3.tar.gz
-rw-rw-rw- 1 pedro pedro 5892 Oct 23 1999 index.html
lrwxrwxrwx 1 root root 14 Jun 20 18:19 kppp -> /usr/sbin/kppp
-rw-rw-r-- 1 pedro pedro 15842 Jun 21 12:30 macho1.jpg
-rw-rw-r-- 1 pedro pedro 23071 Jun 21 12:30 macho2.jpg
-rw-rw-r-- 1 pedro pedro 21955 Jun 21 12:30 macho3.jpg
-rw-rw-r-- 1 pedro pedro 20334 Jun 21 12:30 macho4.jpg
drwx------ 7 pedro pedro 4096 Jun 26 09:14 Mail
drwxrwxr-x 13 pedro pedro 4096 Jun 27 20:05 Mail-SpamAssassin-2.53
-rw------- 1 pedro pedro 94909 Jun 20 23:00 nlm.zip
drwxrwxrwx 10 1000 1000 4096 May 12 03:18 xine-lib-1-beta12
-rw------- 1 pedro pedro 3919156 Jun 26 19:48 xine-lib-1-beta12.tar.gz
[pedro@localhost pedro]$ tar xvfz Mail-SpamAssassin-2.53.tar.gz
tar (child): Mail-SpamAssassin-2.53.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
[pedro@localhost pedro]$ [pedro@localhost pedro]$ ls -l
bash: [pedro@localhost: command not found
[pedro@localhost pedro]$ total 5712
bash: total: command not found
[pedro@localhost pedro]$
seem to be still getting that error exit thingy
any ideas, would I have pressed something accidentally ?
__________________ All the best, and have a nice day.
Mintabie Pete | | Senior Member with 1,962 posts. | | Join Date: Aug 2002 Location: Back East,Way Back East | | It looks like you have the Mail-SpamAssassin folder.What's in that? Code: drwxrwxr-x 13 pedro pedro 4096 Jun 27 20:05 Mail-SpamAssassin-2.53
According to the nice link Al-Firdaus provided, there are 3 packages to install;was one installed OK? That would explain the creation of the directory.Or was the version you have all in one package?
lynch | | Senior Member with 113 posts. | | Join Date: May 2002 Location: In the Outback of Australia | | in this disk of PC World there is one package Mail-SpamAssassin-2.53.tar.gz
and in :
drwxrwxr-x 13 pedro pedro 4096 Jun 27 20:05 Mail-SpamAssassin-2.53
there are 11 blue and white packages and 26 files that seem to be text files some with pencils on them .
I really appreciate the help you are giving and find it a bit hard here in the bush doing these things without hands on experience but I think I am learning albeit very slowly
__________________ All the best, and have a nice day.
Mintabie Pete | | Senior Member with 113 posts. | | Join Date: May 2002 Location: In the Outback of Australia |
28-Jun-2003, 09:36 AM
#10 | Having a further look at the Link that Al-Firdaus posted do you think it would be good sense to delete the files that I have unpacked off the one package from PC World CD and to download the 3 files of the link that Al-Firdaus has posted , the instructions seem very clear on what to do .
__________________ All the best, and have a nice day.
Mintabie Pete | | Senior Member with 1,962 posts. | | Join Date: Aug 2002 Location: Back East,Way Back East |
28-Jun-2003, 02:25 PM
#11 | That directory with all the sub-folders and text files(the pencils  ) sure sounds like the unpacked tar.gz. I would browse around the folders and files to see what's there.
There a chance that the folder is from an earlier version or it may be you just have some configuring to do.
lynch | | Senior Member with 113 posts. | | Join Date: May 2002 Location: In the Outback of Australia |
29-Jun-2003, 12:41 AM
#12 | I installed as non root and everything seemed to go OK into the ~/sausr and ~/saetc directories off my home directory.
Now I have to work out what goes next , but I have a lot of instructions here , will spend some time reading them lol. | | Senior Member with 113 posts. | | Join Date: May 2002 Location: In the Outback of Australia |
29-Jun-2003, 08:22 AM
#13 | I have been trying to configure and this is as far as I have got :
[pedro@localhost pedro]$ cd Mail-SpamAssassin-2.53
[pedro@localhost Mail-SpamAssassin-2.53]$ perldoc Mail::SpamAssassin::conf
No documentation found for "Mail::SpamAssassin::conf".
[pedro@localhost Mail-SpamAssassin-2.53]$
I have been trying run the command but it says no go.
will continue trying but maybe someone can see where I am going wrong
__________________ All the best, and have a nice day.
Mintabie Pete | | Senior Member with 1,410 posts. | | |
30-Jun-2003, 03:09 AM
#14 | OK, I'm confused (not unusual  ). It's possible that the perl modules do not contain any embedded documentation or that your PATH variable does not include the current directory. Either of those conditions could cause the result you are seeing. In addition, if the .pod files are not in the current directory and you have not completed the installation, you could receive this result, as perldoc will not know where to search for the information to be displayed. I suspect one of these is the sort of problem you are having.
I assume that what you mean by "configuration" refers to Spam Assassin itself, and not the configuration of the build process (please correct me if I'm wrong). Since I don't run Spam Assassin, I can't be of much help in that area, except, perhaps, to suggest that you might take a look at popfile if you haven't already. Popfile is a superb naive-Bayesian filter that learns very rapidly and achieves high levels of accuracy (typically upwards of 98% with two weeks). Popfile runs under multiple O/Ses (including Linux), uses a web interface (so all you need is your favorite browser) and is transparent to your existing mail programs. If Spam Assassin continues to cause problems for you, popfile may be an alternative worth considering.
Hope this helps -- additional info appreciated.
__________________ The slowest component still sits at the keyboard. | | Senior Member with 113 posts. | | Join Date: May 2002 Location: In the Outback of Australia |
30-Jun-2003, 04:40 AM
#15 | I have deleted the files of SpamAssassin and the tarball and have downloaded the same version again off the CD ( 1 package ) (Tarball ) and have opened it and it has all gone into the one main folder and I have CD ' it and then run the perldoc command with the only file there is and nothing comes up apart from errors .
I will play around with this a bit longer but might take you up on Popfile codejockey and try that  it couldnt be any harder than SpamAssassin .
configuration to me means cusomizing SpamAssassin and that is where the perldoc Mail::SpamAssassin::Conf comes in .
__________________ All the best, and have a nice day.
Mintabie Pete
Last edited by MintabiePete : 30-Jun-2003 05:37 AM.
|  THIS THREAD HAS EXPIRED.
Are you having the same problem?
We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.
|
Smart Search
| Find your solution! | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | |  WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.
| You Are Using: |
Advertisements do not imply our endorsement of that product or service.
All times are GMT -5. The time now is 10:39 PM.
Copyright © 1996 - 2009 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd. | |
|