Re: [CentOS] USB external HDD error messages

2008-09-29 Thread MHR
On Sun, Sep 28, 2008 at 8:29 PM, Guest
<[EMAIL PROTECTED]> wrote:
>
> Sorry to double up on your answer like this, but is there any chance that
> the i/o errors are due to a bad usb cable, or usb card in the main
> computer?  I didn't mention before that the external hdd that the seagate is
> replacing also reported a lot of i/o errors and kept disconnecting itself,
> which is why I replaced it
>

Have you tried using a different USB cable, and maybe a different USB
controller?  That would narrow down your search parameters a bit.

You can also try running Seagate's Seatools program - it is available
for Linux from their web site, but you have to poke around a little to
find it.

Also, have you tried any other diagnostics to see what might be the problem?

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


Re: [CentOS] Network installation from CD

2008-09-29 Thread Dag Wieers

On Sun, 28 Sep 2008, Robert Moskowitz wrote:


Dag Wieers wrote:

 In a corporate environment we are not allowed to use DHCP/PXE for doing
 network installations. This means we have to look for other solutions. Our
 solution is to use an ISO image (mounted via a KVM solution) to kick off
 the network installation.

 A big problem currently is that the order of the network interfaces is
 arbitrary (depends on the order of the drivers loaded) and is not
 influence by the order of the PCI slots. So in our case we have a bunch of
 e1000, bnx2 and tg3 in systems we have to install.


I ASSuME that different interfaces are plugged into different switch ports on 
a switch supporting VLANs? Perhaps the same switch for all ports.


Can you set up those ports, so that for install, they are all on the same 
VLAN? So it would not matter which interface is used for the install, the IP 
address you assign it will work on it?


Robert,

The problem here is that multiple teams are involved and every additional 
step does not only make the whole installation harder, it makes it more 
error-prone.


The 2 datacenters are 400km away, the teams speak another language.

And frankly, if we specify the MAC address and we can have a proper 
network going to download the kickstart file. We should be able to do the 
same for the second phase (downloading the media/packages).


Adding a step where room-management is going to repatch the system is 
highly undesirable, because it should be avoidable.


--
--   dag wieers,  [EMAIL PROTECTED],  http://dag.wieers.com/   --
[Any errors in spelling, tact or fact are transmission errors]
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] GUI FTP

2008-09-29 Thread Gopinath Achari
hi,


how to upload and download file from a ftp server using GUI. ftp
client.


upload and download to and from ftp server works fine when done done
from command prompt but not working from GUI ftp client Ex. Gftp.


is there any modifications to be done on the server,


regards
gopinath

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


Re: [CentOS] USB external HDD error messages

2008-09-29 Thread partha chowdhury

Guest wrote:
On Sun, Sep 28, 2008 at 5:00 PM, partha chowdhury <[EMAIL PROTECTED] 
> wrote:


Guest3731 wrote:


if you take it out and put it back again is it automatically mounted
and can kernel see it when you do fdisk -l ?



Sorry to double up on your answer like this, but is there any chance 
that the i/o errors are due to a bad usb cable, or usb card in the main 
computer?  I didn't mention before that the external hdd that the 
seagate is replacing also reported a lot of i/o errors and kept 
disconnecting itself, which is why I replaced it


Thanks for any clues...




___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
i had the same problem as yours a while back. i have tried different 
solutions :


1> check with different usb cable.
2> may be the hdd is going bad . run e2fsck -f  and see what the 
output is .


3> try with a different machine.
4> experiment with noacpi and noirqdebug kernel boot parameters.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


RE: [CentOS] GUI FTP

2008-09-29 Thread John
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Gopinath Achari
Sent: Monday, September 29, 2008 5:56 AM
To: CentOS mailing list
Subject: [CentOS] GUI FTP


hi,


how to upload and download file from a ftp server using GUI. ftp
client.


upload and download to and from ftp server works fine when done done from
command prompt but not working from GUI ftp client Ex. Gftp.


is there any modifications to be done on the server,


regards
gopinath 
-
JohnStanley Writes
 
yum install gftp
 
JohnStanley 


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


Re: [CentOS] GUI FTP

2008-09-29 Thread Anne Wilson
On Monday 29 September 2008 10:55:36 Gopinath Achari wrote:
> hi,
>
>
> how to upload and download file from a ftp server using GUI. ftp
> client.
>
>
> upload and download to and from ftp server works fine when done done
> from command prompt but not working from GUI ftp client Ex. Gftp.
>
>
> is there any modifications to be done on the server,
>
gftp should work fine - did you set up a bookmark for your connection?  I find 
that the best way

Anne


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] GUI FTP

2008-09-29 Thread Jim Perrin
On Mon, Sep 29, 2008 at 5:55 AM, Gopinath Achari
<[EMAIL PROTECTED]> wrote:

> upload and download to and from ftp server works fine when done done from
> command prompt but not working from GUI ftp client Ex. Gftp.


You might consider posting some logs from what you're doing so that we
can see the errors your ftp client gives you. You might also consider
giving some details about the server and how it's set up, as the
server doesn't know/care if a client is gui based or not. It simply
interprets the ftp protocol commands and responds accordingly.


-- 
During times of universal deceit, telling the truth becomes a revolutionary act.
George Orwell
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


RE: [CentOS] GUI FTP

2008-09-29 Thread John
 -Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Jim Perrin
Sent: Monday, September 29, 2008 7:27 AM
To: CentOS mailing list
Subject: Re: [CentOS] GUI FTP

On Mon, Sep 29, 2008 at 5:55 AM, Gopinath Achari
<[EMAIL PROTECTED]> wrote:

> upload and download to and from ftp server works fine when done done 
> from command prompt but not working from GUI ftp client Ex. Gftp.


You might consider posting some logs from what you're doing so that we can
see the errors your ftp client gives you. You might also consider giving
some details about the server and how it's set up, as the server doesn't
know/care if a client is gui based or not. It simply interprets the ftp
protocol commands and responds accordingly.
---
JohnStanley Writes:

Jim is right... Posting the errors would be best. I sejusted you use gftp
but as I did not see you are using it also. So posting the errors would be
of help.

JohnStanley


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


RE: [CentOS] GUI FTP

2008-09-29 Thread Gopinath Achari
This was the error message generated during an upload to the ftp server

login was done through local user on ftp server


226 Directory send OK.
Received URL
ftp://[EMAIL PROTECTED]:21/home/gopinath/r8169-6.005.00.tar.bz2
Loading directory listing /home/gopinath/wget1 from cache
(LC_TIME=en_US.UTF-8)
SIZE /home/gopinath/r8169-6.005.00.tar.bz2
213 41002
PASV
227 Entering Passive Mode (192,168,1,40,233,89)
PORT 192,168,1,40,233,89
500 Illegal PORT command.
Loading directory listing /home/gopinath/wget1 from server
(LC_TIME=en_US.UTF-8)
PASV
227 Entering Passive Mode (192,168,1,101,143,76)
LIST -aL
150 Here comes the directory listing.
226 Directory send OK.



On Mon, 2008-09-29 at 08:03 -0400, John wrote:

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
> Of Jim Perrin
> Sent: Monday, September 29, 2008 7:27 AM
> To: CentOS mailing list
> Subject: Re: [CentOS] GUI FTP
> 
> On Mon, Sep 29, 2008 at 5:55 AM, Gopinath Achari
> <[EMAIL PROTECTED]> wrote:
> 
> > upload and download to and from ftp server works fine when done done 
> > from command prompt but not working from GUI ftp client Ex. Gftp.
> 
> 
> You might consider posting some logs from what you're doing so that we can
> see the errors your ftp client gives you. You might also consider giving
> some details about the server and how it's set up, as the server doesn't
> know/care if a client is gui based or not. It simply interprets the ftp
> protocol commands and responds accordingly.
> ---
> JohnStanley Writes:
> 
> Jim is right... Posting the errors would be best. I sejusted you use gftp
> but as I did not see you are using it also. So posting the errors would be
> of help.
> 
> JohnStanley
> 
> 
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
> 
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] BackupPC

2008-09-29 Thread Timothy Murphy
I was a bit surprised to find that BackupPC
does not seem to be available on my CentOS-5.2 system.

What do people use to backup Centos systems?

-- 
Timothy Murphy  
e-mail: gayleard /at/ eircom.net
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland

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


Re: [CentOS] Network installation from CD

2008-09-29 Thread Kai Schaetzl
John wrote on Mon, 29 Sep 2008 02:00:15 -0400:

> JohnStanley Writes:

It would really help to find something useful in your postings if you were 
to quote in a standard way. AFAIK, Outlook 11 *can* do this.

Kai

-- 
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com



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


Re: [CentOS] Probably a bad set-up but which one?

2008-09-29 Thread Kai Schaetzl
Tech wrote on Mon, 29 Sep 2008 13:01:26 +0800:

> Oh, it does print "Hello World" OK but it also prints the "Content" line 
> as text rather than using it as a directive.

This is not a setup problem and not a CentOS problem. Your script is 
probably wrong in some code. I assume with "Content" line you might mean an 
HTTP header. There is no such header (there are headers starting with this 
string, though). I think your question is better suited for a Perl or CGI 
programming newsgroup.

Kai

-- 
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com



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


[CentOS] Rpmbuild and how to disable automatic dependency list creation.

2008-09-29 Thread Friedrich Clausen
Hello All,

When I build RPM packages, rpmbuild always scans all the executables,
shared libs, perl scripts, etc. to find out which external libraries
the application depends on. This is normally a Good Thing but I am
currently packaging an in-house, self contained application.

I could almost use a tarball but an RPM provides better manageability
and also allows post-installation tasks. All shared libraries are
under a single prefix, which is not in the system-wide ld.so.conf - it
is configured in the startup script of the application. However,
rpmbuild finds all these dependencies and adds them to the list of
"Requires", which is not desirable in this case.

My question therefore is - how can I tell rpmbuild to stop
automatically creating a dependency list? The best I can come up with
at the moment is to add the following to my ~/.rpmmacros (line numbers
added by me):

[1] %__os_install_post  /usr/lib/rpm/brp-strip-comment-note
[2] %__find_requires   /bin/true
[3] %__perl_requires   /bin/true

So:

[1] - Stop it stripping already stripped binaries.
[2] and [3] - This stops it doing the automatic dependency list creation.

This seems a bit heavy handed though, is there another, cleaner way to do it?

Regards,

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


Re: [CentOS] BackupPC

2008-09-29 Thread Paul Bijnens

On 2008-09-29 14:26, Timothy Murphy wrote:

I was a bit surprised to find that BackupPC
does not seem to be available on my CentOS-5.2 system.

What do people use to backup Centos systems?


Actually BackupPC does run on CentOS without any problem.
I use BackupPC hosted on a CentOS 5.2 server to backup some Windows
laptops.

On the other hand the Unix machines, including the CentOS machines,
while they could be served by a BackupPC server as well, I do those
backups using Amanda, mostly because that is what I used for more
than 8 years now, and because we need tapes as well.

Amanda never left me in the cold, even after terrible hard disk
crashes or operator mistakes.

--
Paul Bijnens, xplanation Technology ServicesTel  +32 16 397.511
Technologielaan 21 bus 2, B-3001 Leuven, BELGIUMFax  +32 16 397.512
http://www.xplanation.com/  email:  [EMAIL PROTECTED]
***
* I think I've got the hang of it now:  exit, ^D, ^C, ^\, ^Z, ^Q, ^^, *
* F6, quit, ZZ, :q, :q!, M-Z, ^X^C, logoff, logout, close, bye, /bye, *
* stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt,  abort,  hangup, *
* PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e,  kill -1 $$,  shutdown, *
* init 0, kill -9 1, Alt-F4, Ctrl-Alt-Del, AltGr-NumLock, Stop-A, ... *
* ...  "Are you sure?"  ...   YES   ...   Phew ...   I'm out  *
***
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Re: Rpmbuild and how to disable automatic dependency list creation.

2008-09-29 Thread Friedrich Clausen
To Reply to myself -

The method I am using with ~/.rpmmacros to stop the "find_requires"
and "perl_requires" does not actually work. Apologies for implying it
does.

Any suggestions on how to do this are much appreciated.

Cheers,

Fred.

On Mon, Sep 29, 2008 at 2:43 PM, Friedrich Clausen <[EMAIL PROTECTED]> wrote:
> Hello All,
>
> When I build RPM packages, rpmbuild always scans all the executables,
> shared libs, perl scripts, etc. to find out which external libraries
> the application depends on. This is normally a Good Thing but I am
> currently packaging an in-house, self contained application.
>
> I could almost use a tarball but an RPM provides better manageability
> and also allows post-installation tasks. All shared libraries are
> under a single prefix, which is not in the system-wide ld.so.conf - it
> is configured in the startup script of the application. However,
> rpmbuild finds all these dependencies and adds them to the list of
> "Requires", which is not desirable in this case.
>
> My question therefore is - how can I tell rpmbuild to stop
> automatically creating a dependency list? The best I can come up with
> at the moment is to add the following to my ~/.rpmmacros (line numbers
> added by me):
>
> [1] %__os_install_post  /usr/lib/rpm/brp-strip-comment-note
> [2] %__find_requires   /bin/true
> [3] %__perl_requires   /bin/true
>
> So:
>
> [1] - Stop it stripping already stripped binaries.
> [2] and [3] - This stops it doing the automatic dependency list creation.
>
> This seems a bit heavy handed though, is there another, cleaner way to do it?
>
> Regards,
>
> Fred.
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Re: Rpmbuild and how to disable automatic dependency list creation.

2008-09-29 Thread Mikael Fridh
On Mon, Sep 29, 2008 at 02:47:55PM +0200, Friedrich Clausen wrote:
> To Reply to myself -
> 
> The method I am using with ~/.rpmmacros to stop the "find_requires"
> and "perl_requires" does not actually work. Apologies for implying it
> does.
> 
> Any suggestions on how to do this are much appreciated.

http://rpm5.org/docs/max-rpm.html#s2-rpm-depend-autoreqprov

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


Re: [CentOS] GUI FTP

2008-09-29 Thread Ralph Angenendt
Gopinath Achari wrote:
> This was the error message generated during an upload to the ftp server
> PASV
> 227 Entering Passive Mode (192,168,1,40,233,89)
> PORT 192,168,1,40,233,89
> 500 Illegal PORT command.

Looks like you need to do active instead of passive mode.

Cheers,

Ralph


pgpRFPumJKhqK.pgp
Description: PGP signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Re: Rpmbuild and how to disable automatic dependency list creation.

2008-09-29 Thread Friedrich Clausen
Hi,

On Mon, Sep 29, 2008 at 2:52 PM, Mikael Fridh <[EMAIL PROTECTED]> wrote:
> On Mon, Sep 29, 2008 at 02:47:55PM +0200, Friedrich Clausen wrote:
>> To Reply to myself -
>>
>> The method I am using with ~/.rpmmacros to stop the "find_requires"
>> and "perl_requires" does not actually work. Apologies for implying it
>> does.
>>
>> Any suggestions on how to do this are much appreciated.
>
> http://rpm5.org/docs/max-rpm.html#s2-rpm-depend-autoreqprov

Thanks! I should really have checked there first...

Cheers,

Fred.

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


Re: [CentOS] Graphical net install-OT

2008-09-29 Thread Ross S. W. Walker

John,

All the kickstart options are in the online RedHat docs either at  
redhat.com or CentOS.org.


-Ross



On Sep 29, 2008, at 1:38 AM, "John" <[EMAIL PROTECTED]> wrote:


JohnStanley Writes:
Ross,

Not to sound stupid or anything but where did you find all the  
options for

building your kickstarts at? As in the after reboot cleanup options.


Ks config


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


__
This e-mail, and any attachments thereto, is intended only for use by
the addressee(s) named herein and may contain legally privileged
and/or confidential information. If you are not the intended recipient
of this e-mail, you are hereby notified that any dissemination,
distribution or copying of this e-mail, and any attachments thereto,
is strictly prohibited. If you have received this e-mail in error,
please immediately notify the sender and permanently delete the
original and any copy or printout thereof.

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


Re: [CentOS] Graphical net install-OT

2008-09-29 Thread Rainer Duffner
Ross S. W. Walker schrieb:
> John,
>
> All the kickstart options are in the online RedHat docs either at
> redhat.com or CentOS.org.
>
> -


There's also a .ppt floating around from last years RH-summit, IIRC that
is also a good documentation for all the options.
Nowadays, I do all my provisioning with cobbler and tend to forget he
details
;-)



Rainer

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


Re: [CentOS] USB to SATA / eSATA adapter compatibility

2008-09-29 Thread Rudi Ahlers
On Fri, Sep 26, 2008 at 2:37 PM, Barry Brimer <[EMAIL PROTECTED]> wrote:
>> Does anyone know if this  USB to SATA / e-SATA adapter will work on Linux?
>>
>> http://www.vantecusa.com/front/product/view_detail/266
>
> I don't know if this one does, but I have been using this one with CentOS
> and it works well:
>
> 
>
> Barry
> ___


Thanx, I couldn't get hold of that one, but my one supplier had these
in stock, so I got one. And it's working fine. Now I can hook-up a DVD
Writer to our servers, as well as a Hard Drive to copy stuff from it.


-- 

Kind Regards
Rudi Ahlers
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Re: Probably a bad set-up but which one?

2008-09-29 Thread tech

Kai Schaetzl wrote:

Tech wrote on Mon, 29 Sep 2008 13:01:26 +0800:

Oh, it does print "Hello World" OK but it also prints the "Content" line 
as text rather than using it as a directive.


This is not a setup problem and not a CentOS problem. Your script is 
probably wrong in some code. I assume with "Content" line you might mean an 
HTTP header. There is no such header (there are headers starting with this 
string, though). I think your question is better suited for a Perl or CGI 
programming newsgroup.


Kai




Hi,

Thanks for your reply.

By "Content" line I meant this line:

print "Content-type: text/html\n\n";

I have tried many scripts, they all do this. I have problems with 
JavaScript too so I am not sure yet about this just being a Perl or CGI 
problem. I might even have multiple problems. I can see the possibility 
of permission problems, Perl problems, CGI problems, and/or browser 
problems. I am running the latest released version of all including IE 
and Firefox. All I do know is what all the examples that show this as 
working don't work. I have the book, CGI Programing 101, and can't get 
its examples to work.


It is very frustrating.

Mel

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


Re: [CentOS] Network installation from CD

2008-09-29 Thread Filipe Brandenburger
On Sun, Sep 28, 2008 at 16:59, Dag Wieers <[EMAIL PROTECTED]> wrote:
>   Is there a way to have the second phase network configuration NOT take
>   place,

Not that I know of.

>   or have it use the interface that was correctly downloading the
>   kickstart file ?

Yes!

I do something similar here. I use a script to generate the "network"
line, because I want to choose my IPs and netmasks during installation
and I don't want to hardcode them in the ks.cfg file.

Here is what I do:

I create a %pre section to ks.cfg, this will be a script (in my case a
Python script) that will ask the user for any needed information. Then
it will look up the boot-up interface by looking at
/proc/sys/net/ipv4/conf and choosing the first entry that starts with
"eth", then it will generate a "network" line and save it to
/tmp/netconfig.

Then, before on the ks.cfg file, where the network configuration is
expected, I use a %include /tmp/netconfig

For me, it works like a charm! Let us know if you try it and it works for you.

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


[CentOS] scp and key login

2008-09-29 Thread Kai Schaetzl
It seems the certificate-based login doesn't work on both sides of the 
remote connection when using scp?
Scenario:
User on PC A can SSH login to PCs B and C with his certificate, no 
password prompt.
When User on PC A runs a scp operation from B to C he's asked for the 
password on C.

Does the scp actually open a connection from B to C (User doesn't have a 
certificate on B)? This would explain the problem. I hoped to avoid such a 
problem by scping from a third machine that normally has certificate-based 
access to all machines.

Kai

-- 
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com



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


Re: [CentOS] Re: Probably a bad set-up but which one?

2008-09-29 Thread Steve Huff


On Sep 29, 2008, at 10:11 AM, tech wrote:


Thanks for your reply.

By "Content" line I meant this line:

print "Content-type: text/html\n\n";

I have tried many scripts, they all do this. I have problems with  
JavaScript too so I am not sure yet about this just being a Perl or  
CGI problem. I might even have multiple problems. I can see the  
possibility of permission problems, Perl problems, CGI problems, and/ 
or browser problems. I am running the latest released version of all  
including IE and Firefox. All I do know is what all the examples  
that show this as working don't work. I have the book, CGI  
Programing 101, and can't get its examples to work.



i'm sorry to hear you're frustrated.  it would be easier to  
troubleshoot this problem if you were to post links to the following:


* your Perl script
* the Apache access and error logs showing what happens when you try  
to hit the CGI from a browser

* the relevant Apache configs (vhost, .htaccess, whatever)

-steve

--
If this were played upon a stage now, I could condemn it as an  
improbable fiction. - Fabian, Twelfth Night, III,v






smime.p7s
Description: S/MIME cryptographic signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Probably a bad set-up but which one?

2008-09-29 Thread Kai Schaetzl
as I said this has really nothing to do with CentOS, you should go to a 
Usenet newsgroup that specializes in this stuff. 

Kai

-- 
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com



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


Re: [CentOS] scp and key login

2008-09-29 Thread nate
Kai Schaetzl wrote:
> It seems the certificate-based login doesn't work on both sides of the
> remote connection when using scp?

I think what your looking for is SSH agent forwarding

http://unixwiz.net/techtips/ssh-agent-forwarding.html

nate

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


Re: [CentOS] USB external HDD error messages

2008-09-29 Thread nate
Guest wrote:

> Sorry to double up on your answer like this, but is there any chance that
> the i/o errors are due to a bad usb cable, or usb card in the main
> computer?  I didn't mention before that the external hdd that the seagate is
> replacing also reported a lot of i/o errors and kept disconnecting itself,
> which is why I replaced it

Perhaps the drive is spinning down without informing the OS. I recall
an issue last year(?) about some USB drives not behaving properly
and spinning down without informing the OS, then the OS tries to
access them it gets an I/O error.

All of my 2.5" western digital external USB drives seem to behave
correctly when going into power save mode, have never had an I/O
error as a result of them spinning down.

nate

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


Re: [CentOS] Re: Probably a bad set-up but which one?

2008-09-29 Thread Les Mikesell

tech wrote:

Kai Schaetzl wrote:

Tech wrote on Mon, 29 Sep 2008 13:01:26 +0800:

Oh, it does print "Hello World" OK but it also prints the "Content" 
line as text rather than using it as a directive.


This is not a setup problem and not a CentOS problem. Your script is 
probably wrong in some code. I assume with "Content" line you might 
mean an HTTP header. There is no such header (there are headers 
starting with this string, though). I think your question is better 
suited for a Perl or CGI programming newsgroup.


Kai




Hi,

Thanks for your reply.

By "Content" line I meant this line:

print "Content-type: text/html\n\n";

I have tried many scripts, they all do this. I have problems with 
JavaScript too so I am not sure yet about this just being a Perl or CGI 
problem. I might even have multiple problems. I can see the possibility 
of permission problems, Perl problems, CGI problems, and/or browser 
problems. I am running the latest released version of all including IE 
and Firefox. All I do know is what all the examples that show this as 
working don't work. I have the book, CGI Programing 101, and can't get 
its examples to work.


It is very frustrating.


If you execute this from the command line, you should see the 
Content-type: header as part of the text output.  When apache runs it 
under the cgi interface the parts up to the blank line ("\n\n") should 
be included in the http headers and the rest in the body of the 
response.  If you have copied the example files from somewhere, be sure 
that they aren't formated for windows with extra carriage returns 
embedded and if you are entering your own code be sure you don't output 
anything but valid header lines before the blank line.


--
  Les Mikesell
   [EMAIL PROTECTED]
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Re: Probably a bad set-up but which one?

2008-09-29 Thread tech

> Steve Huff wrote:

it would be easier to troubleshoot this problem if you were to post links to 
the following:

* your Perl script
* the Apache access and error logs showing what happens when you try to 
hit the CGI from a browser

* the relevant Apache configs (vhost, .htaccess, whatever)

-steve



Steve,

Thanks for the reply. Instead of links I will post the code as it is 
very short.


This is what the browser displays all on one line exactly as shown:

Content-type: text/html Hello, world!

Here is the index.html file:


Tech







Here is the hello.cgi file:

#!/bin/perl
print "Content-type: text/html\n\n";
print "Hello, world!\n";

Here are the lines from the access log:

220.241.99.252 - - [29/Sep/2008:23:22:22 +0800] "GET / HTTP/1.1" 200 189 
"-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9) Gecko/2008052912 
Firefox/3.0"


The error log has no lines for this access.


Mel

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


Re: [CentOS] Re: Moving folder just vanished??

2008-09-29 Thread Filipe Brandenburger
Hi,

On Sun, Sep 28, 2008 at 10:54, Stewart Williams <[EMAIL PROTECTED]> wrote:
> $ find / -iname "*.jpg" -or "*.JPG"

This syntax is invalid, this is what I get under CentOS 5:

# find / -iname "*.jpg" -or "*.JPG"
find: paths must precede expression
Usage: find [-H] [-L] [-P] [path...] [expression]

What you probably meant is find / -iname "*.jpg" -or -iname "*.JPG",
but as it was already pointed out, -iname is case-insensitive, so all
you need is:
# find / -iname "*.jpg"

If you used the wrong command, maybe run it again?

> unless it's a bug with fuse-encfs.

If you are using ext3 over fuse-encfs, if there is a problem with
fuse-encfs it would bork your ext3 filesystem, but probably the end
result would be a corrupted and unusable filesystem, not one with
files missing. In any case, you might try to unmount it and run fsck
over it to see if there is something wrong with it. If the filesystem
got corrupted, by running fsck it might be able to find the missing
files and save them under lost+found, it's a long shot, but if you
tried everything else it might be worth trying.

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


RE: [CentOS] BackupPC

2008-09-29 Thread Sorin Srbu
>-Original Message-
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of
>Timothy Murphy
>Sent: Monday, September 29, 2008 2:26 PM
>To: centos@centos.org
>Subject: [CentOS] BackupPC
>
>I was a bit surprised to find that BackupPC
>does not seem to be available on my CentOS-5.2 system.
>
>What do people use to backup Centos systems?

Rdiff maybe?


smime.p7s
Description: S/MIME cryptographic signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Re: Probably a bad set-up but which one?

2008-09-29 Thread nate
tech wrote:

> 

Do you have server side includes turned on in apache? (in
the  section typically)

Are your includes configured with the NoExec option?

nate

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


Re: [CentOS] Re: Probably a bad set-up but which one?

2008-09-29 Thread Tony Schreiner


On Sep 29, 2008, at 11:32 AM, tech wrote:


> Steve Huff wrote:
it would be easier to troubleshoot this problem if you were to  
post links to the following:

* your Perl script
* the Apache access and error logs showing what happens when you  
try to hit the CGI from a browser

* the relevant Apache configs (vhost, .htaccess, whatever)
-steve


Steve,

Thanks for the reply. Instead of links I will post the code as it  
is very short.


This is what the browser displays all on one line exactly as shown:

Content-type: text/html Hello, world!

Here is the index.html file:


Tech







Here is the hello.cgi file:

#!/bin/perl
print "Content-type: text/html\n\n";
print "Hello, world!\n";

Here are the lines from the access log:

220.241.99.252 - - [29/Sep/2008:23:22:22 +0800] "GET / HTTP/1.1"  
200 189 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9) Gecko/ 
2008052912 Firefox/3.0"


The error log has no lines for this access.


Mel




I believe your HTML file has already caused the server to emit the

Content-type: text/html

line before it gets to the exec line; so when the perl program prints  
that line, it appears in the normal text output instead of as an HTTP  
directive. If you want to use the perl program this way, you're  
better of using it as a CGI instead of a server include file.


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


Re: [CentOS] Re: Probably a bad set-up but which one?

2008-09-29 Thread Stephen Harris
On Mon, Sep 29, 2008 at 12:11:32PM -0400, Tony Schreiner wrote:
> On Sep 29, 2008, at 11:32 AM, tech wrote:

> >
> >Tech
> >
> >
> >
> >
> >
> >
> >
> >Here is the hello.cgi file:
> >
> >#!/bin/perl
> >print "Content-type: text/html\n\n";
> >print "Hello, world!\n";

> I believe your HTML file has already caused the server to emit the

Right.  The O/P is confusing his weasels.  He's writing a CGI script
but using an _include_ script.  Two totally different things.

PEBKAC.

-- 

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


Re: [CentOS] Re: Moving folder just vanished??

2008-09-29 Thread Filipe Brandenburger
On Mon, Sep 29, 2008 at 12:12, Stephen Harris <[EMAIL PROTECTED]> wrote:
> On Mon, Sep 29, 2008 at 11:54:23AM -0400, Filipe Brandenburger wrote:
>> # find / -iname "*.jpg"
>
> Use '*.jpg' because otherwise shell expansion could happen and break things.

No it can't. Have you tried it?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Re: Probably a bad set-up but which one?

2008-09-29 Thread tech

> nate wrote:


Do you have server side includes turned on in apache? (in
the  section typically)

Are your includes configured with the NoExec option?


Hi Nate,

Don't think so. I have +Includes and ExecCGI in directory options. 
NoExec does not appear anywhere in HTTP.conf or in perl.conf


Mel

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


[CentOS] scp partition "not a regular file"

2008-09-29 Thread henry ritzlmayr
Hi list, 

should it be possible to scp a partition with this command:

scp /dev/sda7 backupserver:/backup/sda7.img

I always get "not a regular file" - which is a clear and understandable
error, but my googling tells me that some people are doing this - and it
seems to work - at least at their systems.

I know that I can avoid this by simply doing

dd if=/dev/sda7 | ssh backupserver dd of=/backup/sda7.img

So its not a big deal - just curious. 

System here is a fully updated CentOS 5.2
x86_64 if that matters

any thoughts?

Henry 

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


Re: [CentOS] Re: Probably a bad set-up but which one?

2008-09-29 Thread nate
tech wrote:

> Don't think so. I have +Includes and ExecCGI in directory options.
> NoExec does not appear anywhere in HTTP.conf or in perl.conf


Have you tried variations on the path? e.g if your executing
a shell I don't think ./cgi-bin/ would be a valid path, it would
be relative to the file system itself.

Also is the html file being called named .shtml or .html ? Unless
you changed the default behavior of apache server side includes
I believe are ignored unless the extension is .shtml.

Example from my personal web site:



Calls the UPS status cgi and displays it inline on the site:
http://portal.aphroland.org/

nate

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


Re: [CentOS] Problem in Wireless Card Setup in Dell Precision M90

2008-09-29 Thread Ashish Vijaywargiya
Hello Akemi,

I did what you suggested but my wireless is not working.
Can you please tell me what is the purpose of following line in
modprobe.conf file ?

alias eth1 eep100

How can I troubleshoot my wireless connection ?
Can you please tell me few commands so that I can share the output of those
command with you for troubleshooting wireless connection ?

--
Ashish Vijaywargiya
Indore (M.P), India
http://en.wikipedia.org/wiki/Indore




On Sun, Sep 28, 2008 at 8:30 PM, <[EMAIL PROTECTED]> wrote:

> On 9/28/08, Ashish Vijaywargiya <[EMAIL PROTECTED]> wrote:
> > Hello Akemi,
> >
> > Here is the details from my command line :-
> >
> =
> >  Package Arch   Version  Repository
>  Size
> >
> =
> > Installing:
> >  kernel  i686   2.6.18-92.1.10.el5.centos.plus
> > centosplus 16 M
> > Removing:
> >  kernel  i686   2.6.18-92.el5installed
>  37 M
> >
> > Transaction Summary
> >
> =
> >
> > Transaction Check Error:
> >   package kernel-2.6.18-92.1.13.el5 (which is newer than
> > kernel-2.6.18-92.1.10.el5.centos.plus) is already installed
> >
> > Error Summary
> >
> > So should I remove the kernel-2.6.18-92.1.13.el5 package from my
> > installation first ?
>
> The reason you are getting that error is because
> 2.6.18-92.1.13.el5.centos.plus is *not* available yet and you already
> have 2.6.18-92.1.13.el5 installed.  I would suggest you wait for
> Johnny Hughes to build the current centosplus kernel.
>
> If you would rather not wait, you could remove
> kernel-2.6.18-92.1.13.el5 for now.  In that case, first boot into the
> previous kernel 2.6.18-92.1.10.  After that yum will install
> 2.6.18-92.1.10.el5.centos.plus normally.
>
> Akemi
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Re: Probably a bad set-up but which one?

2008-09-29 Thread tech

> Stephen Harris wrote:

Right.  The O/P is confusing his weasels.  He's writing a CGI script
but using an _include_ script.  Two totally different things.


Stephen,

Thank you.

I appreciate your time and patience. I now know what to go find to fix this.

I was trying to do this the same way I installed the common visitor 
counter which worked.


Thanks to all who pointed me in the right direction.

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


Re: [CentOS] scp partition "not a regular file"

2008-09-29 Thread nate
henry ritzlmayr wrote:
> Hi list,
>
> should it be possible to scp a partition with this command:
>
> scp /dev/sda7 backupserver:/backup/sda7.img

/dev/sda7 is just a file, if you copy it it doesn't mean you'll
copy the contents of the partition you'll just copy the block
file itself, equivalent to running the mknod command on the
other end.

You need to stream the contents of the file to get the data from
it, like your dd example.

nate

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


Re: [CentOS] GUI FTP

2008-09-29 Thread John R Pierce

Gopinath Achari wrote:

PASV
227 Entering Passive Mode (192,168,1,40,233,89)
PORT 192,168,1,40,233,89
500 Illegal PORT command.



**I didn't think you used a PORT command when doing a PASV transfer, the 
address and port was given by the SERVER in the 227 response to the 
PASV.  However, **that appears to be a perfectly legitimate PORT 
command.192.168.1.40 is the IP, (233,89) is the port in  a split 
decimal notation (233*256 + 89 == **59737, so its port 59737).**

**

Is there any NAT translation going on between the client and the 
server?   FTP and NAT is messy at best.


btw, the log session you sent shows no signs of an 'upload', just a 
directory listing.

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


[CentOS] Re: Probably a bad set-up but which one?

2008-09-29 Thread tech

> nate wrote:

Have you tried variations on the path? e.g if your executing
a shell I don't think ./cgi-bin/ would be a valid path, it would
be relative to the file system itself.


Example from my personal web site:




Nate,

The ./cgi-bin/ is under public_html. It is set in http.conf as a CGI 
directory. The files are found OK. But, as mentioned, I have been 
confusing the proverbial apples and oranges. I will put my CGI tutorial 
books away and learn how to call CGI and JavaScripts from HTML to right way.


Thanks again.

Mel

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


Re: [CentOS] Re: Probably a bad set-up but which one?

2008-09-29 Thread nate
tech wrote:

> The ./cgi-bin/ is under public_html. It is set in http.conf as a CGI
> directory. The files are found OK. But, as mentioned, I have been
> confusing the proverbial apples and oranges. I will put my CGI tutorial
> books away and learn how to call CGI and JavaScripts from HTML to right way.

Try calling the cgi directly like my example instead of
executing perl in a shell.

nate

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


Re: [CentOS] Re: Moving folder just vanished??

2008-09-29 Thread Stephen Harris
On Mon, Sep 29, 2008 at 11:54:23AM -0400, Filipe Brandenburger wrote:
> # find / -iname "*.jpg"

Use '*.jpg' because otherwise shell expansion could happen and break things.

-- 

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


[CentOS] Re: Probably a bad set-up but which one?

2008-09-29 Thread tech

> nate wrote:

Try calling the cgi directly like my example instead of
executing perl in a shell.


Will do.

Mel

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


Re: [CentOS] GUI FTP

2008-09-29 Thread Jim Perrin
On Mon, Sep 29, 2008 at 12:29 PM, John R Pierce <[EMAIL PROTECTED]> wrote:

> btw, the log session you sent shows no signs of an 'upload', just a
> directory listing.
> **


It would appear that we may not have been specific enough when we
asked for logs earlier. We probably should have specifed that we
wanted logs for THE ENTIRE FAILED TRANSACTION, not just what the user
felt the relevant bits might be.

I too suspect NAT/PASV port block failings here, but hey.

-- 
During times of universal deceit, telling the truth becomes a revolutionary act.
George Orwell
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Yumex-Error in loading repository data

2008-09-29 Thread Josh Donovan
It looks like it could be this bug http://bugs.centos.org/view.php?id=2549 
meaning yumex has been broken on CentOS 4.X for quite some time.

Thanks,
Josh.




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


[CentOS] Re: scp partition "not a regular file"

2008-09-29 Thread henry ritzlmayr
Am Montag, den 29.09.2008, 09:27 -0700 schrieb nate:
> henry ritzlmayr wrote:
> > Hi list,
> >
> > should it be possible to scp a partition with this command:
> >
> > scp /dev/sda7 backupserver:/backup/sda7.img
> 
> /dev/sda7 is just a file, if you copy it it doesn't mean you'll
> copy the contents of the partition you'll just copy the block
> file itself, equivalent to running the mknod command on the
> other end.
> 
> You need to stream the contents of the file to get the data from
> it, like your dd example.
> 
> nate

Thanks for the answer nate, I get your idea. 
There are just a few odd things with it. 

scp backupserver:/backup/sda7.img /dev/sda7 

Works like a charm - meaning it copies the content.

cp /dev/sda7 /backup/sda7.img

Works like a charm as well. 


And the research for example:
 
http://sammoffatt.com.au/knowledge-base-mainmenu/6-daily-linux/9-scp-and-ssh

Describes exactly this procedure - which looks like it works there. 

Henry

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


Re: [CentOS] Re: scp partition "not a regular file"

2008-09-29 Thread nate
henry ritzlmayr wrote:
> http://sammoffatt.com.au/knowledge-base-mainmenu/6-daily-linux/9-scp-and-ssh
>
> Describes exactly this procedure - which looks like it works there.

hmm strange. I wouldn't expect it to work though I so rarely
use scp anymore, rsync is better, and it behaves as I described.

In any case I believe copying directly from the device like that is
a bad practice to get into, unless you always plan to have that
volume unmounted. You risk considerable data corruption if any
data is written to the device while you are reading from it.

nate


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


RE: [CentOS] Graphical net install-OT

2008-09-29 Thread John
 JohnStanley Writes:

Thanks you two. Much Thanks! Will do a search for the red hat summit *.ppt
file.




-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Rainer Duffner
Sent: Monday, September 29, 2008 9:39 AM
To: CentOS mailing list
Subject: Re: [CentOS] Graphical net install-OT

Ross S. W. Walker schrieb:
> John,
>
> All the kickstart options are in the online RedHat docs either at 
> redhat.com or CentOS.org.
>
> -


There's also a .ppt floating around from last years RH-summit, IIRC that is
also a good documentation for all the options.
Nowadays, I do all my provisioning with cobbler and tend to forget he
details
;-)



Rainer

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

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


Re: [CentOS] USB external HDD error messages

2008-09-29 Thread Guest
On Mon, Sep 29, 2008 at 9:38 AM, nate <[EMAIL PROTECTED]> wrote:
> Guest wrote:
>
>> Sorry to double up on your answer like this, but is there any chance that
>> the i/o errors are due to a bad usb cable, or usb card in the main
>> computer?  I didn't mention before that the external hdd that the seagate is
>> replacing also reported a lot of i/o errors and kept disconnecting itself,
>> which is why I replaced it
>
> Perhaps the drive is spinning down without informing the OS. I recall
> an issue last year(?) about some USB drives not behaving properly
> and spinning down without informing the OS, then the OS tries to
> access them it gets an I/O error.
>
> All of my 2.5" western digital external USB drives seem to behave
> correctly when going into power save mode, have never had an I/O
> error as a result of them spinning down.

Thanks so much for these excellent suggestions, I will be pursuing all
of these avenues.

My apologies as well for the html mail - if Gmail's interface can be
believed, I am now sending plaintext only.  Once I get past these
issues, I should be switching over to qmail & Mutt on my new CentOS
machine -- and the Mutt, she don't lie :-)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] BackupPC

2008-09-29 Thread partha chowdhury

Timothy Murphy wrote:

I was a bit surprised to find that BackupPC
does not seem to be available on my CentOS-5.2 system.

What do people use to backup Centos systems?

you can use rsync which uses ssh but is faster than scp because it only 
transfers the change between two files.

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


Re: [CentOS] scp partition "not a regular file"

2008-09-29 Thread partha chowdhury

henry ritzlmayr wrote:
Hi list, 


should it be possible to scp a partition with this command:

scp /dev/sda7 backupserver:/backup/sda7.img

I always get "not a regular file" - which is a clear and understandable
error, but my googling tells me that some people are doing this - and it
seems to work - at least at their systems.



i think there are two simple ways to do this :

1> mount /dev/sda7 under say /mnt and scp -r /mnt 
2> and rsync - i think it is most simple and suitable for backup through
ssh.

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


Re: [CentOS] BackupPC

2008-09-29 Thread Les Mikesell

partha chowdhury wrote:



I was a bit surprised to find that BackupPC
does not seem to be available on my CentOS-5.2 system.

What do people use to backup Centos systems?

you can use rsync which uses ssh but is faster than scp because it only 
transfers the change between two files.


Rsync is one of the options that backuppc can use for the transport. 
There should be a packaged backuppc in the centos testing repo, but it 
isn't hard to install from source.


--
  Les Mikesell
   [EMAIL PROTECTED]
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Probably a bad set-up but which one?

2008-09-29 Thread Lanny Marcus
On Mon, Sep 29, 2008 at 12:01 AM, tech <[EMAIL PROTECTED]> wrote:
> I am having a problem that I assume is a set-up problem but I don't know
> which area to look at to fix it. Hopefully someone here can point me in the
> right direction.
>
> I can't get the simple Perl "Hello World" script to work.

I can't get the "Hello World" program in the C++ book I began reading
to work. Seems to compile without errors, but nothing on my CRT.  Will
try it again and start a thread here...   :-)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Probably a bad set-up but which one?

2008-09-29 Thread fred smith
On Mon, Sep 29, 2008 at 09:29:06PM -0500, Lanny Marcus wrote:
> On Mon, Sep 29, 2008 at 12:01 AM, tech <[EMAIL PROTECTED]> wrote:
> > I am having a problem that I assume is a set-up problem but I don't know
> > which area to look at to fix it. Hopefully someone here can point me in the
> > right direction.
> >
> > I can't get the simple Perl "Hello World" script to work.
> 
> I can't get the "Hello World" program in the C++ book I began reading
> to work. Seems to compile without errors, but nothing on my CRT.  Will
> try it again and start a thread here...   :-)

Let me guess...

you named it "test", right? Then when you run "test" "nothing" happens?

two things:
1. there's already a program named test, which displays no output,
it merely has an exit status.
2. for a program in your current directory, run it with a preceding "./",
e.g., "./test"--because "." is not in the path (and shouldn't be).

-- 
 Fred Smith -- [EMAIL PROTECTED] -
   I can do all things through Christ 
  who strengthens me.
-- Philippians 4:13 ---


pgpQNrOboDpXN.pgp
Description: PGP signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


RE: [CentOS] Probably a bad set-up but which one?

2008-09-29 Thread Bob Hoffman

> > > I can't get the simple Perl "Hello World" script to work.
> > 
> > I can't get the "Hello World" program in the C++ book I 
> began reading 
> > to work. Seems to compile without errors, but nothing on my 
> CRT.  Will
> > try it again and start a thread here...   :-)
> 
> Let me guess...
> 
> you named it "test", right? Then when you run "test" 
> "nothing" happens?
> 
> two things:
> 1. there's already a program named test, which displays no 
> output, it merely has an exit status.
> 2. for a program in your current directory, run it with a 
> preceding "./", e.g., "./test"--because "." is not in the 
> path (and shouldn't be).
> 

This reminds me. I tried playing with c++ once back in like 96. I made a
hello program on my windows 95 system and then forgot about it.
I kept that system and never reformatted all the way through to windows xp.
I could not believe it was working.

One day in 2002 or so, I entered the command prompt and bored, typed 'hello'
to my computer.
It replied by saying 'hello bob, about time you got this working'

So, after I got spooked, I remembered that program from years ago...still on
the computer.

I know off topic, but it was funny

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


[CentOS] OT - Monitoring tool

2008-09-29 Thread Robert Spangler
Hello everyone,

While I know this isn't Centos related, you guys seems to be on top of your 
game around here.  Sorry for the off-topic.

I'm looking for a tool to monitor my servers and send either an email or page 
or both when something breaks.  I would like it to monitor all sorts of 
services on the servers with one small detail, I'd like it to be able to 
confiugre so if the DBA need something monitor that is hosted on a shared 
system that they can only change what they are responsible for and not 
something else that is being monitored on that system.

Is there such a program out there?

-- 

Regards
Robert

It is not just an adventure.
It is my job!!

Linux User #296285
http://counter.li.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Configure an ATI Radeon X1200 card?

2008-09-29 Thread Niki Kovacs

Hi,

I want to configure X on a NEC PC with an ATI graphic card. Usually, I 
do that by hand, e. g.:


# init 3
# X -configure  --> first draft
# mv xorg.conf.new /etc/X11

Then I edit this with Vi, step by step. Usually, this works, but not for 
ATI cards. Here, the first draft only gives me a "vesa" driver... though 
xorg-x11-drv-ati is installed. But then, when I replace


Driver "vesa"

by:

Driver "ati"

I get a "No screens found" error.

Until now, I've successfully configured dozens of different video cards, 
mostly Intel and NVidia (old and new), and also a few ATI cards (with 
the opensource driver). But this is the first ATI card that gives me 
trouble.


Any suggestions?

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


Re: [CentOS] OT - Monitoring tool

2008-09-29 Thread Rudi Ahlers
On Tue, Sep 30, 2008 at 5:46 AM, Robert Spangler
<[EMAIL PROTECTED]> wrote:
> Hello everyone,
>
> While I know this isn't Centos related, you guys seems to be on top of your
> game around here.  Sorry for the off-topic.
>
> I'm looking for a tool to monitor my servers and send either an email or page
> or both when something breaks.  I would like it to monitor all sorts of
> services on the servers with one small detail, I'd like it to be able to
> confiugre so if the DBA need something monitor that is hosted on a shared
> system that they can only change what they are responsible for and not
> something else that is being monitored on that system.
>
> Is there such a program out there?
>
> --
>
> Regards
> Robert
>
> It is not just an adventure.
> It is my job!!
>
> Linux User #296285
> http://counter.li.org
> ___

Have you looked at Nagios or Groundwork? There are some howto's on
http://www.howtoforge.net



-- 

Kind Regards
Rudi Ahlers
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


RE: [CentOS] OT - Monitoring tool

2008-09-29 Thread John
I'm looking for a tool to monitor my servers and send either an email or
page 
or both when something breaks.

JohnStanley Writes:

Hobbit, Spacewalk (rather new & requires Oracle DB), Big Brother, Zabbix and
many more. It's mainley an admins choice of what he/she wants or needs to
do.

JohnStanley

OT:
ATTENTION: If anyone finds this reply with an html attachment please let me
know. Thanks in advance.


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


[CentOS] Re: Re: scp partition "not a regular file"

2008-09-29 Thread henry ritzlmayr
Am Montag, den 29.09.2008, 13:48 -0700 schrieb nate:
> henry ritzlmayr wrote:
> > http://sammoffatt.com.au/knowledge-base-mainmenu/6-daily-linux/9-scp-and-ssh
> >
> > Describes exactly this procedure - which looks like it works there.
> 
> hmm strange. I wouldn't expect it to work though I so rarely
> use scp anymore, rsync is better, and it behaves as I described.
> 
> In any case I believe copying directly from the device like that is
> a bad practice to get into, unless you always plan to have that
> volume unmounted. You risk considerable data corruption if any
> data is written to the device while you are reading from it.
> 
> nate

/dev/sda7 was just used to keep the example simple. I use this to copy
lvm based xen Dom-Us from one system to the other - either for backup or
for creating a test environment. I am fully aware that only unmounted,
it will be consistent.

Henry

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


[CentOS] Re: scp partition "not a regular file"

2008-09-29 Thread henry ritzlmayr
Am Dienstag, den 30.09.2008, 06:25 +0530 schrieb partha chowdhury:
> henry ritzlmayr wrote:
> > Hi list, 
> > 
> > should it be possible to scp a partition with this command:
> > 
> > scp /dev/sda7 backupserver:/backup/sda7.img
> > 
> > I always get "not a regular file" - which is a clear and understandable
> > error, but my googling tells me that some people are doing this - and it
> > seems to work - at least at their systems.
> > 
> 
> i think there are two simple ways to do this :
> 
> 1> mount /dev/sda7 under say /mnt and scp -r /mnt 
> 2> and rsync - i think it is most simple and suitable for backup through
> ssh.

If the content of /dev/sda7 is a filesystem I agree, but if its a raw
device (databases, or xen DOM-Us), then this won´t work. 

What I am trying to figure out is, why does this work on some (not mine)
systems?

Henry

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


RE: [CentOS] Configure an ATI Radeon X1200 card?

2008-09-29 Thread John

 IMO I think you would be better off get the drivers from ATI and use them.
I have had better results with getting the propriatery drivers for those
cards. Nvidia drivers come with a graphical X configuration utility after
you build the kernel module driver.

Optionaly you can run "system-config-display" with the deafault configured X
config and select the ati card. Also if this is a duel monitor output card,
that could be where your ((NO Screens Are Found)) Error. Post your
Xorg.config file.

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