Re: HTTP execute

2003-06-16 Thread James Mclean

wget -q

man wget



On Tue, 17 Jun 2003 10:55:36 +1000
Rudi Starcevic <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> I'd like to exeute a php script on Apache via a cron job.
> 
> All I want to do is execute the file not download it.
> So far I've tried wget and lynx without the results I'd like.
> 
> Wget downloads the file and the lynx commnad opens up lynx in a
> terminal.
> 
> Any tips ?
> 
> Thank you kindly
> Best regards
> Rudi.
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact
> [EMAIL PROTECTED]
> 


pgpGrbVq7jpc5.pgp
Description: PGP signature


Re: HTTP execute

2003-06-16 Thread James Mclean

wget -q

man wget



On Tue, 17 Jun 2003 10:55:36 +1000
Rudi Starcevic <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> I'd like to exeute a php script on Apache via a cron job.
> 
> All I want to do is execute the file not download it.
> So far I've tried wget and lynx without the results I'd like.
> 
> Wget downloads the file and the lynx commnad opens up lynx in a
> terminal.
> 
> Any tips ?
> 
> Thank you kindly
> Best regards
> Rudi.
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact
> [EMAIL PROTECTED]
> 


pgp0.pgp
Description: PGP signature


Neighbour Table Overflow

2002-01-24 Thread James Mclean



All,

I have just returned from setting up a small internet cafe, where the server is 
based on Debian Woody.

Whilst i was setting up the machine, with it not plugged into the ethernet 
switch every 2 seconds it would display Neighbour Table Overflow on the 
console. It was *very* annoying to say the least.

Now for the strange part... I plug in the Ethernet into the switch, and the 
messages dissapear. The machine is the server, gateway, using SDSL to the 
upstream. Ethernet Cards are both Intel 10/100 (Brand new ones... not sure of 
exact model).

The messages went away when plugged into ethernet, I am curious as to what this 
is, or what it may be?

Regards,

James Mclean
Adam Internet

» [EMAIL PROTECTED] | www.adam.com.au «
» 199 Sturt St. | P: 8231 0303«
» Adelaide 5000 | F: 8231 0223«


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




SSH & Debian Woody

2001-12-16 Thread James Mclean


All,

I am building a debian woody machine as we speak, and i have installed the 
latest .deb of OpenSSH...

Installed fine, but it fails to authenticate a remote login, and if i try a 
login from the same machine's command line it also fails.

This is the message from the command line...
# ssh -l jamesmc xxx.xxx.xxx.xxx
Neighbour Table Overflow
ssh: connect to address xxx.xxx.xxx.xxx port 22. No Buffer Space

I recieve no errors when attempting to login remotely, but fails to 
authenticate and continues to ask for the password...
I cannot see anything the messages or syslog logfiles.

# ssh -V
OpenSSH_3.0.1p1, SSH Protocols 1.5/2.0, OpenSSL 0x0090602f

I am tempted to install from source next. Any Ideas?

Regards,

James Mclean

"Windows didn't get as bad as it is overnight -- it took over ten years of 
careful development."




SSH & Debian Woody

2001-12-16 Thread James Mclean



All,

I am building a debian woody machine as we speak, and i have installed the 
latest .deb of OpenSSH...

Installed fine, but it fails to authenticate a remote login, and if i try a 
login from the same machine's command line it also fails.

This is the message from the command line...
# ssh -l jamesmc xxx.xxx.xxx.xxx
Neighbour Table Overflow
ssh: connect to address xxx.xxx.xxx.xxx port 22. No Buffer Space

I recieve no errors when attempting to login remotely, but fails to 
authenticate and continues to ask for the password...
I cannot see anything the messages or syslog logfiles.

# ssh -V
OpenSSH_3.0.1p1, SSH Protocols 1.5/2.0, OpenSSL 0x0090602f

I am tempted to install from source next. Any Ideas?

Regards,

James Mclean

"Windows didn't get as bad as it is overnight -- it took over ten years of 
careful development."


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Strange kernel compile error

2001-10-16 Thread James Mclean


All,

I am recompiling my kernel on my file-server, it was running Debian Potato, and 
on a make bzImage, i get the following error.

make[1]: Entering directory `/usr/src/linux/arch/i386/boot'
as86 -0 -a -o bbootsect.o bbootsect.s
make[1]: as86: Command not found
make[1]: *** [bbootsect.o] Error 127
make[1]: Leaving directory `/usr/src/linux/arch/i386/boot'
make: *** [bzImage] Error 2

I have tried a few different kernels, kernel 2.2.17 (kernel.org), debian kernel-
source-2.2.17 package, kernel 2.2.19 (kernel.org), debian kernel-source-2.2.19 
package. 

I also did apt-get dist-upgrade to Woody, to no avail.

What is causing this error? What package can i install to get this to work?
I have searched the debian package archives, and could not find any packages 
that matched, and apt-get install as86 did nothing.

I havent tried to compile a kernel on this machine before.

TIA

James Mclean





Strange kernel compile error

2001-10-16 Thread James Mclean



All,

I am recompiling my kernel on my file-server, it was running Debian Potato, and 
on a make bzImage, i get the following error.

make[1]: Entering directory `/usr/src/linux/arch/i386/boot'
as86 -0 -a -o bbootsect.o bbootsect.s
make[1]: as86: Command not found
make[1]: *** [bbootsect.o] Error 127
make[1]: Leaving directory `/usr/src/linux/arch/i386/boot'
make: *** [bzImage] Error 2

I have tried a few different kernels, kernel 2.2.17 (kernel.org), debian kernel-
source-2.2.17 package, kernel 2.2.19 (kernel.org), debian kernel-source-2.2.19 
package. 

I also did apt-get dist-upgrade to Woody, to no avail.

What is causing this error? What package can i install to get this to work?
I have searched the debian package archives, and could not find any packages 
that matched, and apt-get install as86 did nothing.

I havent tried to compile a kernel on this machine before.

TIA

James Mclean



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




RE: newbie question please

2001-07-29 Thread James Mclean

you need to set the shell to /bin/sh or /bin/bash. /sbin/false diallows
shell access.

-Original Message-
From: Kris Blackwood [mailto:[EMAIL PROTECTED]]
Sent: Monday, 30 July 2001 4:12 AM
To: [EMAIL PROTECTED]
Subject: newbie question please


Hi,

I just installed the latest version of debian, added
ssh. Added an user through webmin /sbin/false and when
I tried to login through ssh.enter the user name I
get booted off immediately.

Any reason why?

How can I fix this?

Thanks.

__
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact
[EMAIL PROTECTED]



--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Virtual Hosting

2001-07-25 Thread James Mclean



> I have a question:
Many do.

> How do you use Proftpd to serve more then one domain?
> Name based Virtual Hosting seems to work only for 
> Apache, because of the protocol (HTTP 1.1).
Setup each domain as a user on the system, eg /home/user. (keep the name 
simple) Point each Apache Virtual Host to a directory in that home directory, 
(eg: /home/user/website), When the person logs is, then instantly have access 
to thier own directory, (eg: home) each website will then have its own area for 
uploads etc, by conenction to www.domain.com, (or FTP if you are so inclined)


> 
> Is the only way to use IP-Aliasing?
> (Have all IP's to be official?)
> 


Cheers, 

James


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Power down

2001-07-07 Thread James Mclean



more than likely the older machines are AT rather than ATX

Quoting D <[EMAIL PROTECTED]>:

> Please excuse the simple question, but it's something that's been
> bothering me.  I've been running various debian machines as servers for
> quite some time now.  The problem started when I got two new servers. 
> All of the other machines (excluding the two new ones) were on the older
> side ( <= P2 ).  The problem is that when I shut down the servers.. they
> don't turn off.  It's particularly irritating to me because all of my
> servers run headless.  With my older machines, I never gave a second
> thought to the shut down process as they'd always turn themselves off as
> soon they finished wrapping things up.  The new ones just halt and stay
> on.  To make things even worse.. the hard drives in the new machines are
> so quiet I can't tell if they've finished everything.
> Anyway, does this have something to do with newer power management stuff
> in the bios?  Something changed in the debian configs?  All i'd like is
> for the servers to turn themselves off at system halt like my old
> servers do.
> 
> Thanks for your time
> 






Re: Power down

2001-07-06 Thread James Mclean




more than likely the older machines are AT rather than ATX

Quoting D <[EMAIL PROTECTED]>:

> Please excuse the simple question, but it's something that's been
> bothering me.  I've been running various debian machines as servers for
> quite some time now.  The problem started when I got two new servers. 
> All of the other machines (excluding the two new ones) were on the older
> side ( <= P2 ).  The problem is that when I shut down the servers.. they
> don't turn off.  It's particularly irritating to me because all of my
> servers run headless.  With my older machines, I never gave a second
> thought to the shut down process as they'd always turn themselves off as
> soon they finished wrapping things up.  The new ones just halt and stay
> on.  To make things even worse.. the hard drives in the new machines are
> so quiet I can't tell if they've finished everything.
> Anyway, does this have something to do with newer power management stuff
> in the bios?  Something changed in the debian configs?  All i'd like is
> for the servers to turn themselves off at system halt like my old
> servers do.
> 
> Thanks for your time
> 




--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




local APT mirror (take 2)

2001-04-18 Thread James Mclean




> list,
> 
> Thanks to all that replied, but what should I put in the sources.list file?
> This is the main thing that is holding me back now...

sorry, rephrase again... Not the servers sources.list, the clients. I have some
debian clients that will fetch .debs from this server.

> 
> 
> Machine is only available from a local network (ie no fqdn) will this matter
at
> all? hostname is hydrogen, and all the packages on the system are from 2.2r0
> cd's. i have proftp and apache running on the server.
> 
> cheers
> 
> james mclean
> 
> 
> --  
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

-- 
James Mclean

 +==+ 
 | E: [EMAIL PROTECTED]   |
 | W: http://jamesmc.org|
 | W: http://stalechicken.com   |
 +==+

Linux; Brought to you by the letters G,N & U




local APT mirror (take 2)

2001-04-18 Thread James Mclean





> list,
> 
> Thanks to all that replied, but what should I put in the sources.list file?
> This is the main thing that is holding me back now...

sorry, rephrase again... Not the servers sources.list, the clients. I have some
debian clients that will fetch .debs from this server.

> 
> 
> Machine is only available from a local network (ie no fqdn) will this matter
at
> all? hostname is hydrogen, and all the packages on the system are from 2.2r0
> cd's. i have proftp and apache running on the server.
> 
> cheers
> 
> james mclean
> 
> 
> --  
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

-- 
James Mclean

 +==+ 
 | E: [EMAIL PROTECTED]   |
 | W: http://jamesmc.org|
 | W: http://stalechicken.com   |
 +==+

Linux; Brought to you by the letters G,N & U


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




local APT mirror (take 2)

2001-04-18 Thread James Mclean



list,

Thanks to all that replied, but what should I put in the sources.list file?
This is the main thing that is holding me back now...


Machine is only available from a local network (ie no fqdn) will this matter at
all? hostname is hydrogen, and all the packages on the system are from 2.2r0
cd's. i have proftp and apache running on the server.

cheers

james mclean




local APT mirror (take 2)

2001-04-18 Thread James Mclean




list,

Thanks to all that replied, but what should I put in the sources.list file?
This is the main thing that is holding me back now...


Machine is only available from a local network (ie no fqdn) will this matter at
all? hostname is hydrogen, and all the packages on the system are from 2.2r0
cd's. i have proftp and apache running on the server.

cheers

james mclean


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




local APT mirror

2001-04-13 Thread James Mclean


list,

 I am looking to create an APT mirror for my local machines. I have a set of
debian 2.2 cd's and can begin the mirror by copying those onto the hard drive of
the server, and then perhaps update the mirror via ftp or rsync once a week. the
mirror would only be available from my local network.

what i am looking to do is when i do apt-get install package it looks on the
server on the lan first, then connects to a real debian mirror, should the 
package
not be on my machine.

Any body got any tips on how to do this or docs on doing it?

-- 
James Mclean

 +==+ 
 | E: [EMAIL PROTECTED]   |
 | W: http://jamesmc.org|
 | W: http://stalechicken.com   |
 +==+

Linux; Brought to you by the letters G,N & U




local APT mirror

2001-04-13 Thread James Mclean



list,

 I am looking to create an APT mirror for my local machines. I have a set of
debian 2.2 cd's and can begin the mirror by copying those onto the hard drive of
the server, and then perhaps update the mirror via ftp or rsync once a week. the
mirror would only be available from my local network.

what i am looking to do is when i do apt-get install package it looks on the
server on the lan first, then connects to a real debian mirror, should the package
not be on my machine.

Any body got any tips on how to do this or docs on doing it?

-- 
James Mclean

 +==+ 
 | E: [EMAIL PROTECTED]   |
 | W: http://jamesmc.org|
 | W: http://stalechicken.com   |
 +==+

Linux; Brought to you by the letters G,N & U


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




multiple nics

2001-02-01 Thread James Mclean




lists,

just curious to know how two network cards in servers work IE: in the
configuration like freshmeat.net...


VA Linux FullOn 2x2
Single Pentium III 600 (256kb cache)
1GB RAM
10,000RPM 9GB SCA HDD
2 Intel EtherExpress Pro Fast Ethernet Cards ***

would they be on separate IP addresses or the same one?  plugged into the same
hub/switch? i guess it is just basic redundancy...? this kind of thing interests
me

i know how they work in a firewall config though, eg internal & external
networks

stupid question?

cheers jamesmc


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]