help with mailscanner and mailwatch and unstale packages

2006-10-04 Thread Jon Miller
I need to know if there is a debian list that has unstable packages.  Seems the 
one I've found do not work when trying to get the latest version (unstable) of 
mailscanner_4.51.5-1

Also like to know if there is someone on the list that uses mailscanner and 
mailwatch.  I'm having an issue where the mailwatch (web interface) does not 
load properly.  It only comes up with a blank page when it's suppose to prompt 
for username and password.
There are no errors I can see in the apache web logs or the mail logs

Thanks

Jon



running backup

2006-05-30 Thread Jon Miller
I have a file that I want to run daily to backup data.  This tgz file then 
needs to be copied to a Windows 2003 server.  I'm using smbclient, but it does 
not seem to work thru the script.  Can someone point out where the problem 
lies.  I run this as a cron job as follows:
30 19 * * 1,2,3,4,5 root /root/rubybackup.sh

The script is as follows:
#!/bin/sh
# script to automate the backup of the Ruby server to the W2K3 server
#
DAY=`date +'%a-%d-%m-%y'`
BACKUPDIR=/backup
RUBYLIVE=/var/lib/mysql/

cd $RUBYLIVE
tar -czvf /backup/rubylive${DAY}.tgz ./rubylive

cd $BACKUPDIR
smbclient //server/backup tfc651800 -U administrator
put rubylive${DAY}.tgz


Thanks



Help with iptables

2006-03-31 Thread Jon Miller
I'm trying to construct a set of rules that would allow udp ports 5060, 7824, 
49152:65535 6000:6004 to come in as well as go out.  It is my understanding 
that these packets needs to be able to have an open port both incoming and 
outgoing.  What I'm looking for is the iptables rule to allow these ports in.  
The external interface is on eth1 and the internal (LAN) is on eth0.

Thanks,

Jon



backup on DVD

2006-03-28 Thread Jon Miller
Does anyone know of any script that can backup to a DVD media?  What I want to 
do is run a nightly backup of certain samba shares data M-F and rotate the disk 
either daily or weekly on the server.  Furthermore, if possible have the backup 
report the amount of space used in an e-mail sent to the backup operator.

Thanks


Jon L. Miller,  ASE, CNS, CLS, MCNE, CCNA
Director/Sr Systems Consultant
MMT Networks Pty Ltd
http://www.mmtnetworks.com.au
Resellers for: Novell Gold Partner, Cisco Partner, Peopletelecom, Westnet, 
Sophos Anti-Virus, CA Products

I don't know the key to success, but the key to failure
 is trying to please everybody. -Bill Cosby
!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN
HTMLHEAD
META http-equiv=Content-Type content=text/html; charset=us-ascii
META content=MSHTML 6.00.2900.2802 name=GENERATOR/HEAD
BODY style=MARGIN-TOP: 2px; FONT: 10pt Arial; MARGIN-LEFT: 2px
DIVDoes anyone know of any script that can backup to a DVD media?nbsp; What 
I 
want to do is run a nightly backup of certain samba shares data M-F and rotate 
the disk either daily or weekly on the server.nbsp; Furthermore, if possible 
have the backup report the amount of space used in an e-mail sent to the backup 
operator./DIV
DIVnbsp;/DIV
DIVThanks/DIV
DIVnbsp;/DIV
DIVnbsp;/DIV
DIVJon L. Miller,nbsp; ASE, CNS, CLS, MCNE, CCNABRDirector/Sr Systems 
ConsultantBRMMT Networks Pty LtdBRA 
href=http://www.mmtnetworks.com.au;http://www.mmtnetworks.com.au/ABRResellers
 
for: Novell Gold Partner, Cisco Partner, Peopletelecom, Westnet, Sophos 
Anti-Virus, CA Products/DIV
DIVnbsp;/DIV
DIVI don't know the key to success, but the key to failureBRnbsp;is 
trying 
to please everybody. -Bill Cosby/DIV
DIVnbsp;/DIV
DIVnbsp;/DIV/BODY/HTML


setting up mirrored server

2006-03-22 Thread Jon Miller
I'm in the process of setting up a server with 2 disks that I want to mirror.  
I'm using a Promise Fasttrack S150 Tx2 plus SATA card.  I've gotten the system 
to boot stating it has the 1 logical volume, however, when I use the Sarge DVD 
to do the install it reports the 2 physical drives instead of the single 
volume.  Is this correct or have I not done something right. Based on info I've 
found on google, it seems that I have to partition one drive and mimic the 
partition on the second drive.  Is this correct?

Thanks



Jon L. Miller,  ASE, CNS, CLS, MCNE, CCNA
Director/Sr Systems Consultant
MMT Networks Pty Ltd
http://www.mmtnetworks.com.au
Resellers for: Novell Gold Partner, Cisco Partner, Peopletelecom, Westnet, 
Sophos Anti-Virus, CA Products

I don't know the key to success, but the key to failure
 is trying to please everybody. -Bill Cosby
!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN
HTMLHEAD
META http-equiv=Content-Type content=text/html; charset=us-ascii
META content=MSHTML 6.00.2900.2802 name=GENERATOR/HEAD
BODY style=MARGIN-TOP: 2px; FONT: 10pt Arial; MARGIN-LEFT: 2px
DIVI'm in the process of setting up a server with 2 disks that I want to 
mirror.nbsp; I'm using a Promise Fasttrack S150 Tx2 plus SATA card.nbsp; I've 
gotten the system to boot stating it has the 1 logical volume, however, when I 
use the Sarge DVD to do the install it reports the 2 physical drives instead of 
the single volume.nbsp; Is this correct or have I not done something right. 
Based on info I've found on google, it seems that I have to partition one drive 
and mimic the partition on the second drive.nbsp; Is this correct?/DIV
DIVnbsp;/DIV
DIVThanks/DIV
DIVnbsp;/DIV
DIVnbsp;/DIV
DIVnbsp;/DIV
DIVJon L. Miller,nbsp; ASE, CNS, CLS, MCNE, CCNABRDirector/Sr Systems 
ConsultantBRMMT Networks Pty LtdBRA 
href=http://www.mmtnetworks.com.au;http://www.mmtnetworks.com.au/ABRResellers
 
for: Novell Gold Partner, Cisco Partner, Peopletelecom, Westnet, Sophos 
Anti-Virus, CA Products/DIV
DIVnbsp;/DIV
DIVI don't know the key to success, but the key to failureBRnbsp;is 
trying 
to please everybody. -Bill Cosby/DIV
DIVnbsp;/DIV
DIVnbsp;/DIV/BODY/HTML


hacked server

2006-03-17 Thread Jon Miller
I have a hacked server that has a few rootkits installed.  I'm going to rebuild 
this using the following procedure:
1) backup data files
2) copy /etc/*.conf
3) either make an image of the system and then blow it away or get new drives.

Have I missed out on anything?


Thanks

Jon L. Miller,  ASE, CNS, CLS, MCNE, CCNA
Director/Sr Systems Consultant
MMT Networks Pty Ltd
http://www.mmtnetworks.com.au
Resellers for: Novell Gold Partner, Cisco Partner, Peopletelecom, Westnet, 
Sophos Anti-Virus, CA Products

I don't know the key to success, but the key to failure
 is trying to please everybody. -Bill Cosby
!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN
HTMLHEAD
META http-equiv=Content-Type content=text/html; charset=iso-8859-1
META content=MSHTML 6.00.2800.1528 name=GENERATOR/HEAD
BODY style=MARGIN-TOP: 2px; FONT: 10pt Arial; MARGIN-LEFT: 2px
DIVI have a hacked server that has a few rootkits installed.nbsp; I'm going 
to rebuild this using the following procedure:/DIV
DIV1) backup data files/DIV
DIV2) copy /etc/*.conf/DIV
DIV3) either make an image of the system and then blow it away or get new 
drives./DIV
DIVnbsp;/DIV
DIVHave I missed out on anything?/DIV
DIVnbsp;/DIV
DIVnbsp;/DIV
DIVThanks/DIV
DIVnbsp;/DIV
DIVJon L. Miller,nbsp; ASE, CNS, CLS, MCNE, CCNABRDirector/Sr Systems 
ConsultantBRMMT Networks Pty LtdBRA 
href=http://www.mmtnetworks.com.au;http://www.mmtnetworks.com.au/ABRResellers
 
for: Novell Gold Partner, Cisco Partner, Peopletelecom, Westnet, Sophos 
Anti-Virus, CA Products/DIV
DIVnbsp;/DIV
DIVI don't know the key to success, but the key to failureBRnbsp;is 
trying 
to please everybody. -Bill Cosby/DIV
DIVnbsp;/DIV
DIVnbsp;/DIV/BODY/HTML


error message on screen

2006-03-16 Thread Jon Miller
Client is getting the following on his Debian 3.0 server:
Mar 13 12:00:19 gw kernel:  1Unable to handle kernel paging request at 
virtual address 04e8c358
Mar 13 12:00:19 gw kernel:  printing eip:
Mar 13 12:00:19 gw kernel: 04e8c358
Mar 13 12:00:19 gw kernel: Oops: 
Mar 13 12:00:19 gw kernel: CPU:1
Mar 13 12:00:19 gw kernel: EIP:
0010:[agp_frontend_cleanup+82363224/-1072693248]Not tainted
Mar 13 12:00:19 gw kernel: EFLAGS: 00010293
Mar 13 12:00:19 gw kernel: eax: 0109   ebx: d0da6000   ecx: bac0   edx: 
0018
Mar 13 12:00:19 gw kernel: esi: 0016   edi:    ebp: ba88   esp: 
d0da7fc0
Mar 13 12:00:19 gw kernel: ds: 0018   es: 0018   ss: 0018
Mar 13 12:00:19 gw kernel: Process ls (pid: 2755, stackpage=d0da7000)
Mar 13 12:00:19 gw kernel: Stack: c0108913  bac0 400222b4 0016 
 ba88 0109
Mar 13 12:00:19 gw kernel:002b 002b 0109 4001eea6 0023 
0246 ba6c 002b
Mar 13 12:00:19 gw kernel: Call Trace:[system_call+51/56]
Mar 13 12:00:19 gw kernel:
Mar 13 12:00:19 gw kernel: Code:  Bad EIP value.

Also the following from dmesg 
ft3xx: Unsupported IOCTL CMD4(0x540f)
ft3xx: Unsupported IOCTL CMD4(0x540f)
ft3xx: Unsupported IOCTL CMD4(0x540f)
ft3xx: Unsupported IOCTL CMD4(0x540f)

The server has a Promise Fasttrack 150 TX2 Sata controller card and I have it 
set up for mirroring.  I've noticed that as soon as the controller card is 
loaded the 2nd lot of errors start to appear.
Ichanged memory, and same errors show up.  
This server has Debian 3.0 installed.  

What I also need to know is how can I change an exisitng Promise card for a 
newer one.  If I try to install the card the booting hangs before it gets to 
Debian.
I'm going to try 2 methods a) using the boot cd and going in as a single entity 
and installing the driver while the new card is installed and b) try to compile 
the new drivers without the card.

The new card is a fasttrack tx2 2300 which is the replacement for the fasttrack 
150 Sata Tx2plus.

Any ideas on how I replace the Controller card and or fix the other problem.


Jon




Jon L. Miller,  ASE, CNS, CLS, MCNE, CCNA
Director/Sr Systems Consultant
MMT Networks Pty Ltd
http://www.mmtnetworks.com.au
Resellers for: Novell Gold Partner, Cisco Partner, Peopletelecom, Westnet, 
Sophos Anti-Virus, CA Products

I don't know the key to success, but the key to failure
 is trying to please everybody. -Bill Cosby
!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN
HTMLHEAD
META http-equiv=Content-Type content=text/html; charset=us-ascii
META content=MSHTML 6.00.2900.2802 name=GENERATOR/HEAD
BODY style=MARGIN-TOP: 2px; FONT: 10pt Arial; MARGIN-LEFT: 2px
DIVClient is getting the following on his Debian 3.0 server:/DIV
DIVMar 13 12:00:19 gw kernel:nbsp; lt;1gt;Unable to handle kernel paging 
request at virtual address 04e8c358BRMar 13 12:00:19 gw kernel:nbsp; 
printing 
eip:BRMar 13 12:00:19 gw kernel: 04e8c358BRMar 13 12:00:19 gw kernel: Oops: 
BRMar 13 12:00:19 gw kernel: CPU:nbsp;nbsp;nbsp; 1BRMar 13 12:00:19 
gw kernel: EIP:nbsp;nbsp;nbsp; 
0010:[agp_frontend_cleanup+82363224/-1072693248]nbsp;nbsp;nbsp; Not 
taintedBRMar 13 12:00:19 gw kernel: EFLAGS: 00010293BRMar 13 12:00:19 gw 
kernel: eax: 0109nbsp;nbsp; ebx: d0da6000nbsp;nbsp; ecx: 
bac0nbsp;nbsp; edx: 0018BRMar 13 12:00:19 gw kernel: esi: 
0016nbsp;nbsp; edi: nbsp;nbsp; ebp: ba88nbsp;nbsp; esp: 
d0da7fc0BRMar 13 12:00:19 gw kernel: ds: 0018nbsp;nbsp; es: 
0018nbsp;nbsp; 
ss: 0018BRMar 13 12:00:19 gw kernel: Process ls (pid: 2755, 
stackpage=d0da7000)BRMar 13 12:00:19 gw kernel: Stack: c0108913  
bac0 400222b4 0016  ba88 0109BRMar 13 12:00:19 gw 
kernel:nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp; 002b 002b 0109 
4001eea6 0023 0246 ba6c 002bBRMar 13 12:00:19 gw kernel: Call 
Trace:nbsp;nbsp;nbsp; [system_call+51/56]BRMar 13 12:00:19 gw 
kernel:BRMar 13 12:00:19 gw kernel: Code:nbsp; Bad EIP value./DIV
DIVnbsp;/DIV
DIVAlso the following from dmesg /DIV
DIVft3xx: Unsupported IOCTL CMDlt;4gt;(0x540f)BRft3xx: Unsupported IOCTL 
CMDlt;4gt;(0x540f)BRft3xx: Unsupported IOCTL CMDlt;4gt;(0x540f)BRft3xx: 
Unsupported IOCTL CMDlt;4gt;(0x540f)BR/DIV
DIVThe server has a Promise Fasttrack 150 TX2 Sata controller card and I have 
it set up for mirroring.nbsp; I've noticed that as soon as the controller card 
is loaded the 2nd lot of errors start to appear./DIV
DIVIchanged memory, and same errors show up.nbsp; /DIV
DIVThis server has Debian 3.0 installed.nbsp; /DIV
DIVnbsp;/DIV
DIVWhat I also need to know is how can I change an exisitngnbsp;Promise card 
for a newer one.nbsp; If I try to install the card the booting hangs before it 
gets to Debian./DIV
DIVI'm going to try 2 methods a) using the boot cd and going in as a single 
entity and installing the driver while the new card is installed and b) try to 
compile the new drivers without the card./DIV
DIVnbsp;/DIV
DIVThe 

Error in /var/log/message

2006-03-08 Thread Jon Miller
Like to know if someone can explain what the following messages mean:

Mar  9 09:29:16 gw kernel: Code:  Bad EIP value.
Mar  9 09:29:27 gw kernel:  1Unable to handle kernel paging request at 
virtual address 04e8c358
Mar  9 09:29:27 gw kernel:  printing eip:
Mar  9 09:29:27 gw kernel: 04e8c358
Mar  9 09:29:27 gw kernel: Oops: 
Mar  9 09:29:27 gw kernel: CPU:0
Mar  9 09:29:27 gw kernel: EIP:
0010:[agp_frontend_cleanup+82363224/-1072693248]Not tainted
Mar  9 09:29:27 gw kernel: EFLAGS: 00010293
Mar  9 09:29:27 gw kernel: eax: 0109   ebx: e7e9   ecx: 0806885c   edx: 
0018
Mar  9 09:29:27 gw kernel: esi: 0016   edi:    ebp: b998   esp: 
e7e91fc0
Mar  9 09:29:27 gw kernel: ds: 0018   es: 0018   ss: 0018
Mar  9 09:29:27 gw kernel: Process tar (pid: 10184, stackpage=e7e91000)
Mar  9 09:29:27 gw kernel: Stack: c0108913  0806885c 400222b4 0016 
 b998 0109
Mar  9 09:29:27 gw kernel:002b 002b 0109 4001eea6 0023 
0246 b97c 002b
Mar  9 09:29:27 gw kernel: Call Trace:[system_call+51/56]

Client told me the server was not responding when he came in and therefore he 
rebooted (turned off the server).


Thanks


Jon L. Miller,  ASE, CNS, CLS, MCNE, CCNA
Director/Sr Systems Consultant
MMT Networks Pty Ltd
http://www.mmtnetworks.com.au
Resellers for: Novell Gold Partner, Cisco Partner, Peopletelecom, Westnet, 
Sophos Anti-Virus, CA Products

I don't know the key to success, but the key to failure
 is trying to please everybody. -Bill Cosby
!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN
HTMLHEAD
META http-equiv=Content-Type content=text/html; charset=us-ascii
META content=MSHTML 6.00.2900.2802 name=GENERATOR/HEAD
BODY style=MARGIN-TOP: 2px; FONT: 10pt Arial; MARGIN-LEFT: 2px
DIVLike to know if someone can explain what the following messages mean:/DIV
DIVnbsp;/DIV
DIVMarnbsp; 9 09:29:16 gw kernel: Code:nbsp; Bad EIP value.BRMarnbsp; 9 
09:29:27 gw kernel:nbsp; lt;1gt;Unable to handle kernel paging request at 
virtual address 04e8c358BRMarnbsp; 9 09:29:27 gw kernel:nbsp; printing 
eip:BRMarnbsp; 9 09:29:27 gw kernel: 04e8c358BRMarnbsp; 9 09:29:27 gw 
kernel: Oops: BRMarnbsp; 9 09:29:27 gw kernel: CPU:nbsp;nbsp;nbsp; 
0BRMarnbsp; 9 09:29:27 gw kernel: EIP:nbsp;nbsp;nbsp; 
0010:[agp_frontend_cleanup+82363224/-1072693248]nbsp;nbsp;nbsp; Not 
taintedBRMarnbsp; 9 09:29:27 gw kernel: EFLAGS: 00010293BRMarnbsp; 9 
09:29:27 gw kernel: eax: 0109nbsp;nbsp; ebx: e7e9nbsp;nbsp; ecx: 
0806885cnbsp;nbsp; edx: 0018BRMarnbsp; 9 09:29:27 gw kernel: esi: 
0016nbsp;nbsp; edi: nbsp;nbsp; ebp: b998nbsp;nbsp; esp: 
e7e91fc0BRMarnbsp; 9 09:29:27 gw kernel: ds: 0018nbsp;nbsp; es: 
0018nbsp;nbsp; ss: 0018BRMarnbsp; 9 09:29:27 gw kernel: Process tar (pid: 
10184, stackpage=e7e91000)BRMarnbsp; 9 09:29:27 gw kernel: Stack: c0108913 
 0806885c 400222b4 0016  b998 0109BRMarnbsp; 9 
09:29:27 gw kernel:nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp; 002b 002b 
0109 4001eea6 0023 0246 b97c 002bBRMarnbsp; 9 09:29:27 
gw 
kernel: Call Trace:nbsp;nbsp;nbsp; [system_call+51/56]BR/DIV
DIVClient told me the server was not responding when he came in and therefore 
he rebooted (turned off the server)./DIV
DIVnbsp;/DIV
DIVnbsp;/DIV
DIVThanks/DIV
DIVnbsp;/DIV
DIVnbsp;/DIV
DIVJon L. Miller,nbsp; ASE, CNS, CLS, MCNE, CCNABRDirector/Sr Systems 
ConsultantBRMMT Networks Pty LtdBRA 
href=http://www.mmtnetworks.com.au;http://www.mmtnetworks.com.au/ABRResellers
 
for: Novell Gold Partner, Cisco Partner, Peopletelecom, Westnet, Sophos 
Anti-Virus, CA Products/DIV
DIVnbsp;/DIV
DIVI don't know the key to success, but the key to failureBRnbsp;is 
trying 
to please everybody. -Bill Cosby/DIV
DIVnbsp;/DIV
DIVnbsp;/DIV/BODY/HTML


kernel update from 2.4.26 to 2.6

2006-02-02 Thread Jon Miller
On Thu, Feb 02, 2006 at 06:04:38AM +0800, Jon  Miller wrote:
 I need to do a kernel update on our Debian server from 2.4.26 to 2.6.11 o=
r better.  When I did a apt-cache search kernel-image 2 of the images I got=
 was:
 kernel-image-2.6-686 - Linux kernel image for version 2.6 on PPro/Celeron=
/PII/PIII/P4.
 kernel-image-2.6-686-smp - Linux kernel image for version 2.6 on PPro/Cel=
eron/PII/PIII/P4 SMP.
 The server has a P4  in it, from what I remember there is a feature in th=
e BIOS that can turn on or off the Hyperthreading and with it on it's possi=
ble (correct me if I'm wrong here)  to run the system with the kernel-image=
-2.6-686-smp image.
 1) is this correct
 2) are there really any benefits to running this as a gateway server? or =
should I just stay with the kernel-image-2.6-686?

Note that the kernel packages have now been renamed to
`linux-image-ver'

$ apt-cache search linux-image
[snip]
linux-image-2.6.15-1-486 - Linux kernel 2.6.15 image on 486-class machines
linux-image-2.6.15-1-686 - Linux kernel 2.6.15 image on PPro/Celeron/PII/PI=
II/P4 machines
linux-image-2.6.15-1-686-smp - Linux kernel 2.6.15 image on PPro/Celeron/PI=
I/PIII/P4 SMP machines
linux-image-2.6.15-1-k7 - Linux kernel 2.6.15 image on AMD K7 machines
linux-image-2.6.15-1-k7-smp - Linux kernel 2.6.15 image on AMD K7 SMP machi=
nes
[snip]

HTH.

Kumar


--=20
Kumar Appaiah,
462, Jamuna Hostel,
Indian Institute of Technology Madras,
Chennai - 600 036
―---

When I do a apt-get update and then a apt-cache search kernel-image I only get 
the following for the 2.6 images.
kernel-image-2.6-386 - Linux kernel image for version 2.6 on 386.
kernel-image-2.6-686 - Linux kernel image for version 2.6 on 
PPro/Celeron/PII/PIII/P4.
kernel-image-2.6-686-smp - Linux kernel image for version 2.6 on 
PPro/Celeron/PII/PIII/P4 SMP.
kernel-image-2.6-amd64-generic - Linux kernel image for version 2.6 on generic 
x86_64 systems

notice they do not have the version number.  If there is a source where I can 
get the correct version I would appreciate the source list to use.

Thanks



replying to list

2006-02-02 Thread Jon Miller
Is there a simple way to reply to the list when using the digest form.  It just 
that I do not want a lot of email floating around so I selected to have the 
digest only come to me.  But I find it difficult to reply to an individual from 
the digest.  anyone know of a better way to doing this?

Thanks



Re: kernel update from 2.4.26 to 2.6

2006-02-02 Thread Jon Miller
Is your search string 'kernel-image'? I get a lot more entries. You should 
check your sources.list

Andrei

 [EMAIL PROTECTED] 1:43:34 am 3/02/2006 
Yes I get a lot more, I only gave a sample, what I was showing is that I do not 
get the version on the strings that are returned when I do a apt-cache search 
kernel-image and I get nothing if I do a apt-cache search linux-image.

Thanks



upgrading a kernel

2006-02-01 Thread Jon Miller
Just found out that I need to upgrade a kernel from 2.4 to 2.6.11 or greater 
due to the patch needed by sip_conntrack.  Can anyone point me in the right 
direction (doc) for upgrading a kernel and the steps I need to do.  I want to 
save the existing kernel so if something goes wrong I can fall back to a 
working version.  Is it advisable to do a backup image of the server to another 
hard disk? if so, should I use dd to do this?

Thanks

Jon L. Miller,  ASE, CNS, CLS, MCNE, CCNA
Director/Sr Systems Consultant
MMT Networks Pty Ltd
http://www.mmtnetworks.com.au
Resellers for: Novell Gold Partner, Cisco Partner, Peopletelecom, Westnet, 
Sophos Anti-Virus, 

I don't know the key to success, but the key to failure
 is trying to please everybody. -Bill Cosby
!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN
HTMLHEAD
META http-equiv=Content-Type content=text/html; charset=us-ascii
META content=MSHTML 6.00.2900.2802 name=GENERATOR/HEAD
BODY style=MARGIN-TOP: 2px; FONT: 10pt Arial; MARGIN-LEFT: 2px
DIVJust found out that I need to upgrade a kernel from 2.4 to 2.6.11 or 
greater due to the patch needed by sip_conntrack.nbsp; Can anyone point me in 
the right direction (doc) for upgrading a kernel and the steps I need to 
do.nbsp; I want to save the existing kernel so if something goes wrong I can 
fall back to a working version.nbsp; Is it advisable to do a backup image of 
the server to another hard disk? if so, should I use dd to do this?/DIV
DIVnbsp;/DIV
DIVThanks/DIV
DIVnbsp;/DIV
DIVJon L. Miller,nbsp; ASE, CNS, CLS, MCNE, CCNABRDirector/Sr Systems 
ConsultantBRMMT Networks Pty LtdBRA 
href=http://www.mmtnetworks.com.au;http://www.mmtnetworks.com.au/ABRResellers
 
for: Novell Gold Partner, Cisco Partner, Peopletelecom, Westnet, Sophos 
Anti-Virus, /DIV
DIVnbsp;/DIV
DIVI don't know the key to success, but the key to failureBRnbsp;is 
trying 
to please everybody. -Bill Cosby/DIV
DIVnbsp;/DIV
DIVnbsp;/DIV/BODY/HTML


kernel update from 2.4.26 to 2.6.

2006-02-01 Thread Jon Miller
I need to do a kernel update on our Debian server from 2.4.26 to 2.6.11 or 
better.  When I did a apt-cache search kernel-image 2 of the images I got was:
kernel-image-2.6-686 - Linux kernel image for version 2.6 on 
PPro/Celeron/PII/PIII/P4.
kernel-image-2.6-686-smp - Linux kernel image for version 2.6 on 
PPro/Celeron/PII/PIII/P4 SMP.
The server has a P4  in it, from what I remember there is a feature in the BIOS 
that can turn on or off the Hyperthreading and with it on it's possible 
(correct me if I'm wrong here)  to run the system with the 
kernel-image-2.6-686-smp image.
1) is this correct
2) are there really any benefits to running this as a gateway server? or should 
I just stay with the kernel-image-2.6-686?

The current kernel is Linux mei 2.4.26 #9 Fri Sep 17 09:13:49 WST 2004 i686 
unknown.

The only reason I have to do this is due to we are running a software 
(MyNetfone) a software VOIP product on the users desktop and we cannot get the 
voice to come back through and this was due to not having sip_conntrack as a 
module loaded or available.  It seems it is only available in a = 2.6.11 
kernel.

Thanks

Jon L. Miller,  ASE, CNS, CLS, MCNE, CCNA
Director/Sr Systems Consultant
MMT Networks Pty Ltd
http://www.mmtnetworks.com.au
Resellers for: Novell Gold Partner, Cisco Partner, Peopletelecom, Westnet, 
Sophos Anti-Virus, 

I don't know the key to success, but the key to failure
 is trying to please everybody. -Bill Cosby
!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN
HTMLHEAD
META http-equiv=Content-Type content=text/html; charset=us-ascii
META content=MSHTML 6.00.2900.2802 name=GENERATOR/HEAD
BODY style=MARGIN-TOP: 2px; FONT: 10pt Arial; MARGIN-LEFT: 2px
DIVI need to do a kernel update on our Debian server from 2.4.26 to 2.6.11 or 
better.nbsp; When I did a apt-cache search kernel-image 2 of the images I got 
was:/DIV
DIVkernel-image-2.6-686 - Linux kernel image for version 2.6 on 
PPro/Celeron/PII/PIII/P4.BRkernel-image-2.6-686-smp - Linux kernel image for 
version 2.6 on PPro/Celeron/PII/PIII/P4 SMP./DIV
DIVThe server has a P4nbsp; in it, from what I remember there is a feature 
in 
the BIOS that can turn on or off the Hyperthreading and with it on it's 
possible 
(correct me ifnbsp;I'm wrong here) nbsp;to run the system with the 
kernel-image-2.6-686-smp image./DIV
DIV1) is this correct/DIV
DIV2) are there really any benefits to running this as a gateway server? or 
should I just stay with the kernel-image-2.6-686?/DIV
DIVnbsp;/DIV
DIVThe current kernel is Linux mei 2.4.26 #9 Fri Sep 17 09:13:49 WST 2004 
i686 
unknown./DIV
DIVnbsp;/DIV
DIVThe only reason I have to do this is due to we are running a software 
(MyNetfone) a software VOIP product on the users desktop and we cannot get the 
voice to come back through and this was due to not having sip_conntrack as a 
module loaded or available.nbsp; It seems it is only available in a gt;= 
2.6.11 kernel./DIV
DIVnbsp;/DIV
DIVThanks/DIV
DIVnbsp;/DIV
DIVJon L. Miller,nbsp; ASE, CNS, CLS, MCNE, CCNABRDirector/Sr Systems 
ConsultantBRMMT Networks Pty LtdBRA 
href=http://www.mmtnetworks.com.au;http://www.mmtnetworks.com.au/ABRResellers
 
for: Novell Gold Partner, Cisco Partner, Peopletelecom, Westnet, Sophos 
Anti-Virus, /DIV
DIVnbsp;/DIV
DIVI don't know the key to success, but the key to failureBRnbsp;is 
trying 
to please everybody. -Bill Cosby/DIV
DIVnbsp;/DIV
DIVnbsp;/DIV/BODY/HTML


forwarding iptable packets

2006-01-31 Thread Jon Miller
I'm having a major problem trying to forward packets from either a workstation 
of the LAn to the Internet.
I want to be sure I'm doing this correctly.

I set a forward rule:
$IPT -A FORWARD -i $INT_IFACE -o eth1 -p tcp --dport 1262 -j ACCEPT

Then I set a PREROUTING rule 
$IPT -A PREROUTING -i $EXT_IFACE -p tcp --dport 1262 -j DNAT --to-destination 
192.168.xxx.xxx

All I can see using tethereal on the network is SYN packets.

Any idea what I'm doing wrong?

Thanks



RE: IDE PCI Advice Needed

2006-01-28 Thread Jon Miller
Stan,
What I would do is the following:
As you've stated run the primary IDE on the 20GB drive and remove the secondary 
drive.  Compile the kernel (2.6) with the correct driver.  When completed, add 
the 250G drive back and try to access that drive.
I didn't have the same problem but a similar problem where the CD did not have 
the driver for a SATA drive.  I ended up putting in a PATA drive and building 
the system around this (linux26) and all went ok.  Then I compiled a driver for 
the SATA and ran the SATA drive as a secondary drive. 
I'm not sure if during an initial install one could add a parameter to point to 
a complied kernel or device module (on a floppy) to load the driver for a drive 
and then return to the CD to complete the installation. Be like hitting F6 in 
Windows to load a driver for the Controller.
  
If any one on the list know if it's possible please reply.

Jon
 [EMAIL PROTECTED] 1:36:02 pm 28/01/2006 




error in script

2006-01-25 Thread Jon Miller
Trying to run a test to see if certain files exists in a certain location
using the following:
# Check files at location
LOCSAV=/usr/local/sop
if [ -e $(ls -l $LOCSAV/*.ide) ]
it comes up with an error, can some lend a hand in fixing this?

Thanks
!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN
HTMLHEAD
META http-equiv=Content-Type content=text/html; charset=us-ascii
META content=MSHTML 6.00.2900.2802 name=GENERATOR/HEAD
BODY style=MARGIN-TOP: 2px; FONT: 10pt Arial; MARGIN-LEFT: 2px
DIVTrying to run a test to see if certain files exists in a certain 
location/DIV
DIVusing the following:/DIV
DIV# Check filesnbsp;at location/DIV
DIVLOCSAV=/usr/local/sopBRif [ -e $(ls -l $LOCSAV/*.ide) ]/DIV
DIVit comes up with an error, can some lend a hand in fixing this?/DIV
DIVnbsp;/DIV
DIVThanks/DIV/BODY/HTML


network card problem

2006-01-24 Thread Jon Miller
Recently I had to replace a motherboard and 2 network card due to a static 
discharge in a rack.  I've now have 2 networks cards in the server and they 
load ok, both can be seen with lspci.  The interrupts are not being shared or 
anything of the sort.  Yet one of the cards (Netgear FA311) will not respond to 
a ping.  This the is tests that I've done.
1) connect a  cable from the FA311 to a hub, put my workstation on the hub and 
the Cisco 2821 router's gigabit interface on the same hub.
 from there I  ping the router - that was good, ping the gateway server with 
the FA311 (no reply, times out).
2) from the router I was able to ping the workstation yet when pinging the 
gateway server again times out and no reply.

Had a look at the interrupt the card is on irq19 whereas the other card is on 
irq 16.
I've unloaded the driver and reloaded it and still nothing and no errors when 
it loads.

Can anyone suggest any test or a fix that may help in resolving this issue?

Summary:
Gateway server Debian 3.x
eth0 - Netgear FA311* *fa3xx.o (notice that it states that it is running a half 
duplex if this helps)
eth1 - Realtek 8129

a crossover cable connects the gateway server (eth0 192.168.100.2) to the Cisco 
2821 router (gigaethernet0/0 192.168.100.1), whereas the other nic (eth1) 
connects to a Cisco 2950 switch.

Thanks



Failed to load module e1000

2006-01-23 Thread Jon Miller
On reboot of our Debian server the 2 x Intel 1000 GT nic are not detected and 
therefore do not load.
When I try modprobe e1000 I get a message stating it cannot find the file 
e1000.o, although the file is there and in the right location.  This appears to 
be some sort of interrupt conflict or something to that affect.  The problem is 
I keep getting error message stating that insmod is having a problem with IO or 
IRQ.  If I do a lspci I see no mention of the nic and same in the 
/var/log/message or /var/log/syslog.
How do I get the card detected so it can be loaded?

Thanks



redirecting where cucipop looks for mail

2006-01-09 Thread Jon Miller
I've had to move the mailbox (/var/spool/mail) from the installed location to 
another location /db/mail.  This was done due to space constraints.  Like to 
know if anyone knows how to reconfigure cucipop to point to /db/mail instead of 
/var/spool/mail.  Users are not getting their e-mail in their clients.

Thanks


Jon



getting PHP and MySQL to work together

2006-01-08 Thread Jon Miller
I would like to have Apache2, PHP4 and MySQL to work together.  I did a apt-get 
mysql-server, php and several other modules and it all went in.  I can access 
mysql from the local server and from using phpmyadmin from a WinXPP PC.  
However, when I run the phpinfo() from a php file, it does not mention has in 
it's listing a section on mysql.  Is this normal ?  It does have mention of 
several mysql modules:
PHP Version 4.3.10-16
Loaded Modules  - mod_auth_mysql
supported databases - MySQL
Configure Command  - '--without-mysql' 

I'm just wondering is this is setup correctly.


Jon



Apache, Debian and Mysql

2006-01-07 Thread Jon Miller
Does anyone know how to make apache2 authenticate against a MySQL database on a 
Debian Sarge system?
Want to create a login dialog box for users trying to access the webserver.  
But also want to be able to enter the data or edit in MySQL.

Thanks

Jon L. Miller,  ASE, CNS, CLS, MCNE, CCNA
Director/Sr Systems Consultant
MMT Networks Pty Ltd
http://www.mmtnetworks.com.au
Resellers for: Novell Gold Partner, Cisco Partner, Peopletelecom, Westnet, 
Sophos Anti-Virus, 

I don't know the key to success, but the key to failure
 is trying to please everybody. -Bill Cosby





cannot mount cdrom/dvd drive

2006-01-05 Thread Jon Miller
I've managed to get Debian 2.6 installed on my system using a Pioneer 
DVD/CD-ROM Drive.  After the install I wanted to use the DVD/CD as a source and 
found that the system does not recognize the drive.  I also have a SATA drive 
200GB  installed.  Seems that the 2.6 kernel treats the SATA as a sda1-4 but 
does ot see the IDE DVD/CD Rom.  Can someone point me in the right direction to 
getting this fixed.
dmesg:
SCSI subsystem initialized
libata version 1.02 loaded.
ata_piix version 1.02
ata_piix: combined mode detected
PCI: Setting latency timer of device :00:1f.2 to 64
ata1: SATA max UDMA/133 cmd 0x1F0 ctl 0x3F6 bmdma 0xF000 irq 14
ata1: dev 0 cfg 49:2f00 82:746b 83:7f01 84:4023 85:7469 86:3e01 87:4023 88:207f
ata1: dev 0 ATA, max UDMA/133, 390721968 sectors: lba48
ata1: dev 0 configured for UDMA/133
scsi0 : ata_piix
Using anticipatory io scheduler
  Vendor: ATA   Model: WDC WD2000JS-19M  Rev: 02.0
  Type:   Direct-Access  ANSI SCSI revision: 05
ata2: PATA max UDMA/33 cmd 0x170 ctl 0x376 bmdma 0xF008 irq 15
ata2: dev 0 cfg 49:0f00 82:0218 83:4000 84:4000 85:0218 86: 87:4000 88:0407
ata2: dev 0 ATAPI, max UDMA/33
ata2: dev 0 configured for UDMA/33
scsi1 : ata_piix
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
System Stats:
Intel P4 HyperThreading CPU 3.0
BioStar M/B P4ST4
1.2GB DDR memory
WD200 SATA2 HDD
Intel Pro/1000 NIC

The SATA drive is set combined (giving access to both SATA and PATA drives).

Thanks



Install of 2.6 kernel with sata drive

2006-01-05 Thread Jon Miller
Is there a way to install Debian using the 2.6 kernel with a SATA drive? So far 
it goes through the install then when the CD is removed it boots up to a 
Diskboot failure enter system disk message.
!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN
HTMLHEAD
META http-equiv=Content-Type content=text/html; charset=us-ascii
META content=MSHTML 6.00.2900.2802 name=GENERATOR/HEAD
BODY style=MARGIN-TOP: 2px; FONT: 10pt Arial; MARGIN-LEFT: 2px
DIVIs there a way to install Debian using the 2.6 kernel with a SATA drive? 
So 
far it goes through the install then when the CD is removed it boots up to a 
Diskboot failure enter system disk message./DIV
DIVnbsp;/DIV
DIVnbsp;/DIV/BODY/HTML


how to use initrd command

2006-01-04 Thread Jon Miller
I'm attempting to upgrade Debian 3.1 kernel version 2.4  to the latest 2.6 
version.  I understand I need to add a initrd command somewhere in this.  How 
do I pass this command and when (a link to a document would be a big help).

Thanks

Jon