Re: [CentOS] Port 631 closed, not hidden

2007-11-22 Thread John R Pierce

Miark wrote:

I have the firewall turned on my CentOS 5 box, but GRC is
reporting that 631 is closed instead of stealthed. If the
firewall isn't configured to allow that, then why might that
be happening?
  



that GRC port scanner is not something I'd rely on. use a shell 
account somewhere, and nmap to portscan yourself.



anyways, WTF 'stealth' ?ports are SUPPOSED to return "NAK" ...   
IMHO, 'stealth' is complete and total BS, dropping request packets does 
nothing useful.



___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] manipulating files and directories with spaces

2007-11-22 Thread William L. Maltby
On Wed, 2007-11-21 at 05:24 -0500, Ignacio Vazquez-Abrams wrote:
> On Wed, 2007-11-21 at 04:39 -0500, William L. Maltby wrote:
> > On Wed, 2007-11-21 at 10:04 +0100, Ralph Angenendt wrote:
> > > find . -type f -exec chmod 123 {} +
> > 
> > Easier to type and more natural (for me). But less efficient than the
> > xargs version since each file cause a new process to be spawned.
> 
> Wrong. + causes find to append as many items as possible.

Good grief! Learn something new every day. I guess I need to RTFM again
every few years to see what's changed.  :-P


> 

--
Bill

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Re: manipulating files and directories with spaces

2007-11-22 Thread William L. Maltby
On Wed, 2007-11-21 at 10:46 +, Tony Mountifield wrote:
> In article <[EMAIL PROTECTED]>,
> William L. Maltby <[EMAIL PROTECTED]> wrote:
> > On Wed, 2007-11-21 at 10:04 +0100, Ralph Angenendt wrote:
> > > Shad L. Lords wrote:
> > > > find . -type type -print0 | xargs -0 chmod value
> > > 
> > > Or (SUSV compliant): 
> > > 
> > > find . -type f -exec chmod 123 {} +
> > 
> > P.S.
> > 
> >  Don't forget to escape the "{" and "}".

> 
> Why? I've never needed to.

Well, for a *long* time, the shell would react to them. Does it still? I
don't know. But on this machine

$ lsb_release -a
LSB Version::core-3.0-ia32:core-3.0-noarch:graphics-3.0-
ia32:graphics-3.0-noarch
Distributor ID: CentOS
Description:CentOS release 4.5 (Final)
Release:4.5
Codename:   Final

$ rpm -q findutils
findutils-4.1.20-7.el4.3.i386


... All following arguments to find are taken to be arguments to the
command until an argument consisting of ';' is encountered. ... Both of
these  constructions might need to be escaped (with a  '\') or
quoted to protect them from expansion by the 


Since I'm an old user with old habits (which, as we know, die hard), I
still put them in, along with the '\;' at the end. If I get really
energetic (or maybe it's lazy?) I might invest the time and energy to
experiment and see what works here. Of course, then I'm setting myself
up to forget whether I'm on CentOS 4 or 5 (I don't use my 5 much yet) or
LFS or ... :-(

I think I'll stick with what works more "universally".

> 
> Cheers
> Tony

--
Bill

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Port 631 closed, not hidden

2007-11-22 Thread Miark
On Thu, 22 Nov 2007 15:57:38 +0800, Christopher wrote:

> Miark wrote:
> > I have the firewall turned on my CentOS 5 box, but GRC is
> > reporting that 631 is closed instead of stealthed. If the
> > firewall isn't configured to allow that, then why might that
> > be happening?
> 
> Do your firewall rules DROP or REJECT?

I assume drop, but I don't know for certain. I'm just using
system-config-securitylevel to configure it.

Miark
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Port 631 closed, not hidden

2007-11-22 Thread Miark
On Thu, 22 Nov 2007 00:47:08 -0800, John wrote:

> Miark wrote:
> > I have the firewall turned on my CentOS 5 box, but GRC is
> > reporting that 631 is closed instead of stealthed. If the
> > firewall isn't configured to allow that, then why might that
> > be happening?
> >   
> 
> 
> that GRC port scanner is not something I'd rely on. use a
> shell account somewhere, and nmap to portscan yourself.

I did that, too. 631 is actively rejecting instead of dropping.
 
> anyways, WTF 'stealth' ?ports are SUPPOSED to return
> "NAK" ... IMHO, 'stealth' is complete and total BS, dropping
> request packets does nothing useful.

You don't think it helps to push scanning goons on to some other
server? Or to prevent any sort of attack? It seems logical to me
that dropping is less work for the box than doing anything
else. (?)

Miark
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Dual boot box: WinXP & CentOS 5: Impossible to restoreWinXP?

2007-11-22 Thread William L. Maltby
On Wed, 2007-11-21 at 09:15 -0500, Lanny Marcus wrote:
> On Tueday, 20 November 2007, "Ross S. W. Walker" <[EMAIL PROTECTED]> wrote:
> 
> 

> I'm an old retired
> Assembly Language programmer (started with IBM 360/65) and I never
> worked with Unix, so this is a brand new world for me and one that I
> regret I did not work in, professionally.

>From one to another (IBM Model 25, 360/30/50/... 370/..) congrats on
making the leap. I've not done IBM assembly since 1980s, but still
recall BALR 14, save area trace layout, "standard" register usage, etc.
In '78 I leaped wholeheartedly into *IX. Encountered the shell and
exclaimed "This is the way we should've been doing it".

If I may suggest, become *intimate* with the shell as a first step.
Focus on pipes (and FIFOs, although less frequently used) and "standard
I/O" handling with redirection capability. You'll see a lot of
"regexisms" in there too, but a better and more "standard" regular 
expression education will be given in other things you might look into.

Then, the various file utilities, like find, chmod, chown, ... would
accelerate your learning and enjoyment. Ditto for the text processing
utilities (although Bash has incorporated some of those functions) like
cut, paste, (e)grep.

If you still have the enthusiasm, C (and C++), (g)awk and some
relatively new-fangled (for me ;-)  ) thingy called Perl might have
interest for you.

> 

--
Bill

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] resize an image file

2007-11-22 Thread William L. Maltby
On Wed, 2007-11-21 at 13:26 -0500, Jerry Geis wrote:
> I have a 100G disk on an old redhat 7.3 system.
> 
> FilesystemSize  Used Avail Use% Mounted on
> /dev/hda1 9.6G  2.4G  6.7G  27% /
> /dev/hda3  99G  6.1G   88G   7% /home
> hda2 is 2G swap
> 
> I am trying to back that complete image up on my centos 5 system.
> I can do the dd if=/dev/hda bs=1M | ssh [EMAIL PROTECTED] 'cat > disk.img'
> which gets me the whole 100G.
> 
> As you can see most of the disk is unused.
> Is there a way to trim the resulting image to only be 10G instead of 100G?

Presuming that it is the data you really want and the file system meta-
data and overhead are irrelevant...

One of the respondents suggested tar, but I'm partial to cpio. Other
than that, it's pretty much as was suggested.

On the target machine, make a 10G file using dd with input of /dev/zero
and output of your file name. Then use the losetup command to associate
a loopback device with it. Then mke2fs on it, mount it and transfer the
files in, using a cpio via ssh instead of tar.

As another thought, what about resizing the target HD partition itself?
If resize2fs can be used, hda3 can then be reduced (just don't move the
starting point), an extended partition can be added and new logical
partitions installed (hda4 might have hda5, hda6, etc.).

This would have the advantage of no handstands, loopback files, etc. If
the target system has LVM, things get easier.

> 
> Thanks,
> 
> Jerry
> 

HTH
--
Bill

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] resize an image file

2007-11-22 Thread William L. Maltby
On Wed, 2007-11-21 at 13:26 -0500, Jerry Geis wrote:
> 

OOPS! Source is RH 7.3 100GB. Still, some of the thoughts I mentioned
could still be useful.

--
Bill

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Re: Migration from RH9

2007-11-22 Thread Ugo Bellavance

Ugo Bellavance wrote:

Hi,

I will probably have to migrate a few servers running Red Hat 9 to 
CentOS and I'd like to have opinions.  One server to migrate is running 
Fedora core 4.


Anyone has experience with that?  I'm not too scared about sendmail, 
Bind, apache/PHP (except that maybe the PHP upgrade may break the 
website, but this is easily managed and can be tested), ftp.


However, I don't know dansguardian much, but I guess it would be a good 
idea to integrate it with squid.


I don't know squid much, but depending on what they're doing with it, it 
should be fairly simple.


For samba, are there major changes between the default version in RH9 
and Centos4 or 5?


Anyone migrated a perforce environment?

I'm also wondering whether I migrate them to centos3, 4, or 5.  3 would 
be to make the transition easier, while still letting them have many 
years of security updates.


4 is the version I use most, I barely touched 5.

5 would be for xen and... your ideas?

I usually use OpenVZ for virtualization, but they might want to 
virtualize windows servers too, which OpenVZ can't do.


Any input would be appreciated,


No answer yet... I guess I must have done something wrong in my post.

I'll try to get more details about what is to be done and I'll post 
again.  Still, if you have an advice about anything in my original post, 
 please let me know.


Regards,
Ugo

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Re: Migration from RH9

2007-11-22 Thread Craig White
On Thu, 2007-11-22 at 09:51 -0500, Ugo Bellavance wrote:
> Ugo Bellavance wrote:
> > Hi,
> > 
> > I will probably have to migrate a few servers running Red Hat 9 to 
> > CentOS and I'd like to have opinions.  One server to migrate is running 
> > Fedora core 4.
> > 
> > Anyone has experience with that?  I'm not too scared about sendmail, 
> > Bind, apache/PHP (except that maybe the PHP upgrade may break the 
> > website, but this is easily managed and can be tested), ftp.
> > 
> > However, I don't know dansguardian much, but I guess it would be a good 
> > idea to integrate it with squid.
> > 
> > I don't know squid much, but depending on what they're doing with it, it 
> > should be fairly simple.
> > 
> > For samba, are there major changes between the default version in RH9 
> > and Centos4 or 5?
> > 
> > Anyone migrated a perforce environment?
> > 
> > I'm also wondering whether I migrate them to centos3, 4, or 5.  3 would 
> > be to make the transition easier, while still letting them have many 
> > years of security updates.
> > 
> > 4 is the version I use most, I barely touched 5.
> > 
> > 5 would be for xen and... your ideas?
> > 
> > I usually use OpenVZ for virtualization, but they might want to 
> > virtualize windows servers too, which OpenVZ can't do.
> > 
> > Any input would be appreciated,
> 
> No answer yet... I guess I must have done something wrong in my post.
> 
> I'll try to get more details about what is to be done and I'll post 
> again.  Still, if you have an advice about anything in my original post, 
>   please let me know.

questions were far to general to get specific responses

There is no supported upgrade path for either RHL 9 or Fedora 4 to
CentOS but you certainly can use anaconda to do that by appending...

linux upgradeany

to the boot parameters of the CentOS 3/4/5 installer

You get to keep the pieces that are broken.

per info on Centos web site...
http://centos.org/modules/smartfaq/faq.php?faqid=43

CentOS 3.x is in maintenance updates only mode...hardly makes sense to
me to install this on anything UNLESS you have specific software that
will only run on 2.4 kernels

CentOS 4.x enters into maintenance updates only mode March 1st, 2008 -
not that far off

I don't know anything about 'perforce environment' and thus have nothing
to offer. Similarly, I haven't use squid for many years and likewise
dansguardian.

Apache/PHP/MySQL are all starting to show their age on CentOS-4.x but
thankfully, there is CentOS Plus repository for updated php & mysql but
if I were thinking in terms of updates that I didn't have to bother with
for a few years, I would certainly go all the way to CentOS 5

You might find some useful information here...

http://centos.org/search.php?query=upgradeany&andor=AND&action=results&submit=Search

Craig

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Re: Migration from RH9

2007-11-22 Thread Leonel Nunez
> Ugo Bellavance wrote:
>> Hi,
>>
>> I will probably have to migrate a few servers running Red Hat 9 to
>> CentOS and I'd like to have opinions.  One server to migrate is running
>> Fedora core 4.
>>
>> Anyone has experience with that?  I'm not too scared about sendmail,
>> Bind, apache/PHP (except that maybe the PHP upgrade may break the
>> website, but this is easily managed and can be tested), ftp.
>>
>> However, I don't know dansguardian much, but I guess it would be a good
>> idea to integrate it with squid.
>>
>> I don't know squid much, but depending on what they're doing with it, it
>> should be fairly simple.
>>
>> For samba, are there major changes between the default version in RH9
>> and Centos4 or 5?
>>
>> Anyone migrated a perforce environment?
>>
>> I'm also wondering whether I migrate them to centos3, 4, or 5.  3 would
>> be to make the transition easier, while still letting them have many
>> years of security updates.
>>
>> 4 is the version I use most, I barely touched 5.
>>
>> 5 would be for xen and... your ideas?
>>
>> I usually use OpenVZ for virtualization, but they might want to
>> virtualize windows servers too, which OpenVZ can't do.
>>
>> Any input would be appreciated,
>
> No answer yet... I guess I must have done something wrong in my post.
>
> I'll try to get more details about what is to be done and I'll post
> again.  Still, if you have an advice about anything in my original post,
>   please let me know.
>
> Regards,
> Ugo
>


Just like any other migration  do you tests in other machines and do
parallel tests
every migration  needs fixes

Leonel


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Port 631 closed, not hidden

2007-11-22 Thread Ignacio Vazquez-Abrams
On Thu, 2007-11-22 at 02:48 -0500, Miark wrote:
> I have the firewall turned on my CentOS 5 box, but GRC is
> reporting that 631 is closed instead of stealthed. If the
> firewall isn't configured to allow that, then why might that
> be happening?

The cups service opens port 631, regardless of your firewall settings.
It then manually accepts or rejects connections.

-- 
Ignacio Vazquez-Abrams <[EMAIL PROTECTED]>

PLEASE don't CC me; I'm already subscribed


signature.asc
Description: This is a digitally signed message part
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Re: Migration from RH9

2007-11-22 Thread James A. Peltier

Leonel Nunez wrote:


Just like any other migration  do you tests in other machines and do
parallel tests
every migration  needs fixes

Leonel


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


I can second this.  I am in the process of migrating 5 research labs 
from Suse 10.0 to CentOS 5 (for various reasons).  The migration has 
been in testing phase for over 3 months and a lot of bugs have been 
found and corrected in that time.


A migration from any OS to another is a very tedious and time consuming 
step.  You will need to work on each part of the migration individually. 
 Start with the services that you are most familiar with or that you 
feel you could learn the quickest.


Setup a machine with CentOS 5 and begin testing that service.  When you 
are confident that said service is operating as it should, shift that 
service from the production server to your testing server.  Let it run 
there for a bit because chances are you'll find bugs and that will give 
you a chance to fail the service back over (if necessary) while you 
correct the issue.


Once you've gotten all the services over to the new box you'll be happy 
to know you did it the "right way" and that you've incurred the least 
amount of pain for you, your fellow workers who work with you and your 
users.


IMHO, you should spend a lot of time testing the Perforce migration, 
followed by your web services.  Migration of any SCM is a potentially 
complicated operation.  I haven't used Perforce before, but be careful.


Secondly, careful testing of your web services is crucial.  You'll most 
likely be upgrading version of Apache, PHP and libraries at the same 
time which can break things like backward compatibility. Samba depending 
on it's function within your institution would be a close third, if not 
a tie for number 2, but that's up to you.


The squid services are probably not all that complicated if they're only 
using a caching server (forward or reverse).


Of course, with proper software unit testing and a bit of elbow grease 
I'm sure it will all go over well.


There are various papers on best practices for OS migrations and various 
other system administrator task on the web just google for migration 
best practices and you'll find lots.


--
James A. Peltier
Technical Director, RHCE
SCIRF | GrUVi @ Simon Fraser University - Burnaby Campus
Phone   : 778-782-3610
Fax : 778-782-3045
Mobile  : 778-840-6434
E-Mail  : [EMAIL PROTECTED]
Website : http://gruvi.cs.sfu.ca | http://scirf.cs.sfu.ca
MSN : [EMAIL PROTECTED]
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] wget'ing files relative paths?

2007-11-22 Thread Rogelio
I'm trying to wget some very specific files off a web page, but some of the
paths are relative paths (e.g. ../path/to/file) rather than abosolute
(e.g. http://direct/path/to/file
). Obviously, when wget gets to that part, it craps out...
Is there a switch in wget (in CentOS 5 - latest wget package) that lets me
maintain this session?  I tried some of the options here
(http://www.gnu.org/software/wget/manual/html_node/HTTP-Options.html
),
but it's not working, and I'm hoping someone here might point me in the
right direction.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Re: Migration from RH9

2007-11-22 Thread Ugo Bellavance

Craig White wrote:

On Thu, 2007-11-22 at 09:51 -0500, Ugo Bellavance wrote:





questions were far to general to get specific responses


That is what I thought.



There is no supported upgrade path for either RHL 9 or Fedora 4 to
CentOS but you certainly can use anaconda to do that by appending...

linux upgradeany


In fact I won't upgrade the current machines, as they're old.  I'd setup 
new servers and migrate services one to one from the old to the new ones.



You get to keep the pieces that are broken.

per info on Centos web site...
http://centos.org/modules/smartfaq/faq.php?faqid=43

CentOS 3.x is in maintenance updates only mode...hardly makes sense to
me to install this on anything UNLESS you have specific software that
will only run on 2.4 kernels

CentOS 4.x enters into maintenance updates only mode March 1st, 2008 -
not that far off

I don't know anything about 'perforce environment' and thus have nothing
to offer. Similarly, I haven't use squid for many years and likewise
dansguardian.


Perforce is a CVS-like system (proprietary).


Apache/PHP/MySQL are all starting to show their age on CentOS-4.x but
thankfully, there is CentOS Plus repository for updated php & mysql but
if I were thinking in terms of updates that I didn't have to bother with
for a few years, I would certainly go all the way to CentOS 5

You might find some useful information here...

http://centos.org/search.php?query=upgradeany&andor=AND&action=results&submit=Search


All very good info, thanks!

Ugo

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Re: Migration from RH9

2007-11-22 Thread James A. Peltier

Ugo Bellavance wrote:

James A. Peltier wrote:

Leonel Nunez wrote:

I can second this.  I am in the process of migrating 5 research labs 
from Suse 10.0 to CentOS 5 (for various reasons).  The migration has 
been in testing phase for over 3 months and a lot of bugs have been 
found and corrected in that time.


A migration from any OS to another is a very tedious and time 
consuming step.  You will need to work on each part of the migration 
individually.  Start with the services that you are most familiar with 
or that you feel you could learn the quickest.


Setup a machine with CentOS 5 and begin testing that service.  When 
you are confident that said service is operating as it should, shift 
that service from the production server to your testing server.  Let 
it run there for a bit because chances are you'll find bugs and that 
will give you a chance to fail the service back over (if necessary) 
while you correct the issue.


Once you've gotten all the services over to the new box you'll be 
happy to know you did it the "right way" and that you've incurred the 
least amount of pain for you, your fellow workers who work with you 
and your users.


IMHO, you should spend a lot of time testing the Perforce migration, 
followed by your web services.  Migration of any SCM is a potentially 
complicated operation.  I haven't used Perforce before, but be careful.


Secondly, careful testing of your web services is crucial.  You'll 
most likely be upgrading version of Apache, PHP and libraries at the 
same time which can break things like backward compatibility. Samba 
depending on it's function within your institution would be a close 
third, if not a tie for number 2, but that's up to you.


The squid services are probably not all that complicated if they're 
only using a caching server (forward or reverse).


Of course, with proper software unit testing and a bit of elbow grease 
I'm sure it will all go over well.


There are various papers on best practices for OS migrations and 
various other system administrator task on the web just google for 
migration best practices and you'll find lots.




Wow, excellent advice!

Thanks!

Ugo

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


I forgot to mention.  Document EVERYTHING!  It will often help you in 
times of frustration to ensure that you are not doing the same thing 
over and over and over again and coming up with the same results.  Not 
only that, but you'll be able to refer back to it in a case of system 
failure when you need to get the service up NOW. ;)


--
James A. Peltier
Technical Director, RHCE
SCIRF | GrUVi @ Simon Fraser University - Burnaby Campus
Phone   : 778-782-3610
Fax : 778-782-3045
Mobile  : 778-840-6434
E-Mail  : [EMAIL PROTECTED]
Website : http://gruvi.cs.sfu.ca | http://scirf.cs.sfu.ca
MSN : [EMAIL PROTECTED]
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Re: Migration from RH9

2007-11-22 Thread Ugo Bellavance

James A. Peltier wrote:

Leonel Nunez wrote:

I can second this.  I am in the process of migrating 5 research labs 
from Suse 10.0 to CentOS 5 (for various reasons).  The migration has 
been in testing phase for over 3 months and a lot of bugs have been 
found and corrected in that time.


A migration from any OS to another is a very tedious and time consuming 
step.  You will need to work on each part of the migration individually. 
 Start with the services that you are most familiar with or that you 
feel you could learn the quickest.


Setup a machine with CentOS 5 and begin testing that service.  When you 
are confident that said service is operating as it should, shift that 
service from the production server to your testing server.  Let it run 
there for a bit because chances are you'll find bugs and that will give 
you a chance to fail the service back over (if necessary) while you 
correct the issue.


Once you've gotten all the services over to the new box you'll be happy 
to know you did it the "right way" and that you've incurred the least 
amount of pain for you, your fellow workers who work with you and your 
users.


IMHO, you should spend a lot of time testing the Perforce migration, 
followed by your web services.  Migration of any SCM is a potentially 
complicated operation.  I haven't used Perforce before, but be careful.


Secondly, careful testing of your web services is crucial.  You'll most 
likely be upgrading version of Apache, PHP and libraries at the same 
time which can break things like backward compatibility. Samba depending 
on it's function within your institution would be a close third, if not 
a tie for number 2, but that's up to you.


The squid services are probably not all that complicated if they're only 
using a caching server (forward or reverse).


Of course, with proper software unit testing and a bit of elbow grease 
I'm sure it will all go over well.


There are various papers on best practices for OS migrations and various 
other system administrator task on the web just google for migration 
best practices and you'll find lots.




Wow, excellent advice!

Thanks!

Ugo

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] perl-base and perl-file-scan-clamav and perl dependency error re 5.8.8 ???

2007-11-22 Thread Robert - elists
Happy gobble gobble day!

Server is a mail and web box with latest centos 4 upgrades and has been
running and stable for probably over two years

Machine has perl 5.8.8 on it.

For a coupla days I have been trying to follow these basic instructions so
that I can run a test.

http://wiki.apache.org/spamassassin/ClamAVPlugin

Now, the issue I am running into is that I needed to get a file-scan-clamav
perm module in rpm

So I opened up browser and search for "file-scan-clamav perl dag rpm" and
found some choices

Eventually I end up with this file

http://rpm.pbone.net/index.php3/stat/4/idpl/3851508/com/perl-File-Scan-ClamA
V-1.8-1mud2007.0.noarch.rpm.html

then when I try to install it says I need perl-base so I search and goto

http://dag.wieers.com/rpm/packages/perl-base/

now...

when I install perl-base and then goto install the file-scan-clamav rpm I
get this...

yum localinstall perl-File-Scan-ClamAV-1.8-1mud2007.0.noarch.rpm
Setting up Local Package Process
Examining perl-File-Scan-ClamAV-1.8-1mud2007.0.noarch.rpm:
perl-File-Scan-ClamAV - 1.8-1mud2007.0.noarch
Marking perl-File-Scan-ClamAV-1.8-1mud2007.0.noarch.rpm to be installed
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package perl-File-Scan-ClamAV.noarch 0:1.8-1mud2007.0 set to be updated
--> Running transaction check
Setting up repositories
update100% |=|  951 B00:00
base  100% |=| 1.1 kB00:00
addons100% |=|  951 B00:00
extras100% |=| 1.1 kB00:00
Reading repository metadata in from local files
Excluding Packages in global exclude list
Finished
Excluding Packages in global exclude list
Finished
--> Processing Dependency: perl-base >= 2:5.8.8 for package:
perl-File-Scan-ClamAV
--> Finished Dependency Resolution
Error: Missing Dependency: perl-base >= 2:5.8.8 is needed by package
perl-File-Scan-ClamAV

at this point, I was wondering what I specifically need to do.

So, I tried rebuilding perl-base and installing it yet it asked to be signed
so I have to figure that part out and if it will solve this.

Is that what the error is about in regards to perl-base >= 2:5.8.8

Or am I missing something else?

Dag, would you consider putting File::Scan::ClamAV rpm on your site please?

Thanks and kind regards!

 - rh



___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


RE: [CentOS] wget'ing files relative paths?

2007-11-22 Thread mike.redan
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rogelio
Sent: November 22, 2007 12:08 PM
To: CentOS mailing list
Subject: [CentOS] wget'ing files relative paths?


I'm trying to wget some very specific files off a web page, but
some of the paths are relative paths (e.g. ../path/to/file) rather than
abosolute (e.g. http://direct/path/to/file ). Obviously, when wget gets
to that part, it craps out... 
 
I am a little unsure on what you are trying to do...are you
mirroring a certain section of a website, and the relative paths are
causing problems? that would be pretty strange, because I am pretty sure
that i have done that before and not had any problems (just using wget
-m http://hostname/path/I/care/about/file.html).
 
or do you have a list of URL's you are trying to grab (say in a
file or something), that only have the relative paths? something like
this:
  http://direct/path/to/file1
  http://direct/path/to/file2
  http://direct/path/to/file3
  http://direct/path/to/file4
  ../../file5
  ../../file6
 
 
if possible, it would be great if you could show the exact
command line that you are using, along with the exact error message.
 
Is there a switch in wget (in CentOS 5 - latest wget package)
that lets me maintain this session?  I tried some of the options here (
http://www.gnu.org/software/wget/manual/html_node/HTTP-Options.html
 ),
but it's not working, and I'm hoping someone here might point me in the
right direction. 
 
 
Mike 

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Package pxljr-1.1-1.i386.rpm (from kde.repo) is not signed

2007-11-22 Thread Andrew Allen
I'm trying to install the driver for an HP Colour Laserjet 3500 in
CentOS 5. I've installed the kde.repo (with appropriate priorities set
up), but when I try yum install pxljr-1.1-1.i386.rpm, I get the above
message that 'the package is not signed'. I've previously tried running
yum localinstall on the downloaded package with the same result. How do
I resolve this please?

Andy

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Port 631 closed, not hidden

2007-11-22 Thread Fajar Priyanto
On Thursday 22 November 2007 21:13:00 Miark wrote:
> > Do your firewall rules DROP or REJECT?
>
> I assume drop, but I don't know for certain. I'm just using
> system-config-securitylevel to configure it.

We can see all the rules with:
iptables -nL

HTH
-- 
Fajar Priyanto | Reg'd Linux User #327841 | Linux tutorial 
http://linux2.arinet.org
08:31:25 up 59 min, 2.6.22-14-generic GNU/Linux 
Let's use OpenOffice. http://www.openoffice.org
The real challenge of teaching is getting your students motivated to learn.


signature.asc
Description: This is a digitally signed message part.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] wget'ing files relative paths?

2007-11-22 Thread Rogelio
On 11/22/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

"I am a little unsure on what you are trying to do...are you mirroring a
certain section of a website, and the relative paths are causing problems?
that would be pretty strange, because I am pretty sure that i have done that
before and not had any problems (just using wget -m
http://hostname/path/I/care/about/file.html)."

Basically, I'd like to run this command:

wget (options to grab all the mp3s)
http://www.2600.com/offthehook/1988/1088.html

e.g.

wget -r -l3 -H -t1 -nd -N -np -A .mp3 -erobots=off
http://www.2600.com/offthehook/1988/1088.html
It's not working like it works on other websites (e.g. democracynow.org),
and I suspect it's because when you look through the source code (which I do
with "lynx -source"), I see that the mp3 files are ../../path/to/file.mp3
While I could just write a bash file to pick through the source code, piece
together a real path to the mp3 file, and then wget that, but I was hoping
to figure out the switch necessary to let me use wget properly.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Port 631 closed, not hidden

2007-11-22 Thread Christopher Chan

Ignacio Vazquez-Abrams wrote:

On Thu, 2007-11-22 at 02:48 -0500, Miark wrote:

I have the firewall turned on my CentOS 5 box, but GRC is
reporting that 631 is closed instead of stealthed. If the
firewall isn't configured to allow that, then why might that
be happening?


The cups service opens port 631, regardless of your firewall settings.
It then manually accepts or rejects connections.



Yes but the firewall does affect whether packets can reach the cups 
service or not.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Port 631 closed, not hidden

2007-11-22 Thread Ignacio Vazquez-Abrams
On Fri, 2007-11-23 at 10:17 +0800, Christopher Chan wrote:
> Ignacio Vazquez-Abrams wrote:
> > On Thu, 2007-11-22 at 02:48 -0500, Miark wrote:
> >> I have the firewall turned on my CentOS 5 box, but GRC is
> >> reporting that 631 is closed instead of stealthed. If the
> >> firewall isn't configured to allow that, then why might that
> >> be happening?
> > 
> > The cups service opens port 631, regardless of your firewall settings.
> > It then manually accepts or rejects connections.
> > 
> 
> Yes but the firewall does affect whether packets can reach the cups 
> service or not.

Huh, they finally removed the commands in the cups initscript that
punched a hole in the firewall. Never mind then.

-- 
Ignacio Vazquez-Abrams <[EMAIL PROTECTED]>

PLEASE don't CC me; I'm already subscribed


signature.asc
Description: This is a digitally signed message part
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos