[gentoo-user] glsa-check script

2006-05-11 Thread Nick Smith

has anyone written a script that checks for glsa security updates and
then has it auto emerge the packages it needs to get rid of the
security risk?  if so i would be very interested in looking at that
script.  Keeping 5 gentoo machines up to date security wise is
becoming very time consuming.

thanks

Nick

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] glsa-check script

2006-05-11 Thread Nick Smith

On 5/11/06, Rasmus Andersen [EMAIL PROTECTED] wrote:

On Thu, May 11, 2006 at 04:35:46PM -0400, Nick Smith wrote:
 has anyone written a script that checks for glsa security updates and
 then has it auto emerge the packages it needs to get rid of the
 security risk?  if so i would be very interested in looking at that
 script.  Keeping 5 gentoo machines up to date security wise is
 becoming very time consuming.

There is glsa-check from gentoolkit. I never used it, though.

Rasmus
--
gentoo-user@gentoo.org mailing list



thats what im talking about, has anyone ever wrote a script that would
automate the check and apply the updates as needed?

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] dhcp problems

2006-03-29 Thread Nick Smith
On 3/16/06, JimD [EMAIL PROTECTED] wrote:
 On Thu, 16 Mar 2006 10:21:17 -0500
 Nick Smith [EMAIL PROTECTED] wrote:

  i have a new laptop that is giving me fits when i try to get any
  distro of linux installed.  i was actually able to install gentoo and
  got it to boot (this is my first amd64 machine) but i cant get it to
  pull an ip address via dhcp i get this in the syslog:
 
  dhcpcd[6038]: dhcpStart: ioctl SIOCSIFFLAGS: Function not implemented
 
  i did install dhcpcd on the install so that should be working, and i
  do have the 8139too driver compiled into the kernel like i normally
  do.  what am i missing here?
 
  thanks for any help
 
  Nick

 I had similar problems with a new Centrino laptop.  The wireless would
 not work, neither would the regular network port.  I first tried to
 boot with the kernel parameter acpi=off.  This worked for me, however I
 then lost all acpi funtions so I could not use SpeedStep or see how
 much battery life I had.

 I kept searchig and found irqpoll as a kernel boot option.  Using that
 fixed my wireless up and allowed me to get my battery status.  I think
 it all had to do with irq sharing and conflicts.

 Try booting up with the irqpool kernel boot option or the acpi=off boot
 option and see what you get.

 Jim
 --
 gentoo-user@gentoo.org mailing list


I have tried both those options, and have even tried just a static ip
address just in case dhcp was messed up, and it still gives me that
Function not implemented error message.
I have done 3 different installs of gentoo, recompiled different
modules for the network card etc to no avail.  how is it that it can
work with ubuntu and suse, but i cant get the darned thing to work in
gentoo, the OS i really want on my laptop ;-)

any more ideas?

thanks

Nick

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: problems emerge'ing amavis-new

2006-03-27 Thread Nick Smith
its been a couple weeks since i posted this, figured i would wait and
see if this fixed itself and it hasnt, has any one got any ideas as to
why im getting this error or where to start to fix it?

thanks

nick

On 3/10/06, Nick Smith [EMAIL PROTECTED] wrote:
 i get this when i try to emerge amavis-new:

  Unpacking amavisd-new-2.3.3.tar.gz to
 /var/tmp/portage/amavisd-new-2.3.3-r2/work
  * Patching with qmail qmqp support.
  * Applying amavisd-new-qmqpqq.patch ...

  [ ok ]
  * Patching with qmail lf bug workaround.
  * Applying amavisd-new-2.2.1-qmail-lf-workaround.patch ...

  * Failed Patch: amavisd-new-2.2.1-qmail-lf-workaround.patch !
  *  ( 
 /usr/portage/mail-filter/amavisd-new/files/amavisd-new-2.2.1-qmail-lf-workaround.patch
 )
  *
  * Include in your bugreport the contents of:
  *
  *   
 /var/tmp/portage/amavisd-new-2.3.3-r2/temp/amavisd-new-2.2.1-qmail-lf-workaround.patch-28558.out


 !!! ERROR: mail-filter/amavisd-new-2.3.3-r2 failed.
 !!! Function epatch, Line 350, Exitcode 0
 !!! Failed Patch: amavisd-new-2.2.1-qmail-lf-workaround.patch!
 !!! If you need support, post the topmost build error, NOT this status 
 message.

 here is the contents of the .out file:


 [14:[EMAIL PROTECTED]:[/home/nick]# cat
 /var/tmp/portage/amavisd-new-2.3.3-r2/temp/amavisd-new-2.2.1-qmail-lf-workaround.patch-29392.out
 * amavisd-new-2.2.1-qmail-lf-workaround.patch *

 ===

 PATCH COMMAND:  patch -p0 -g0 --no-backup-if-mismatch 
 /usr/portage/mail-filter/amavisd-new/files/amavisd-new-2.2.1-qmail-lf-workaround.patch

 ===
 can't find file to patch at input line 3
 Perhaps you used the wrong -p or --strip option?
 The text leading up to this was:
 --
 |--- amavisd-new-2.2.1/amavisd.chris2005-01-09 18:05:09.0 +0100
 |+++ amavisd-new-2.2.1/amavisd  2005-01-09 18:05:47.360864816 +0100
 --
 No file to patch.  Skipping patch.
 1 out of 1 hunk ignored

 ===

 PATCH COMMAND:  patch -p1 -g0 --no-backup-if-mismatch 
 /usr/portage/mail-filter/amavisd-new/files/amavisd-new-2.2.1-qmail-lf-workaround.patch

 ===
 patching file amavisd
 Hunk #1 FAILED at 3948.
 1 out of 1 hunk FAILED -- saving rejects to file amavisd.rej
 ===

 PATCH COMMAND:  patch -p2 -g0 --no-backup-if-mismatch 
 /usr/portage/mail-filter/amavisd-new/files/amavisd-new-2.2.1-qmail-lf-workaround.patch

 ===
 missing header for unified diff at line 3 of patch
 can't find file to patch at input line 3
 Perhaps you used the wrong -p or --strip option?
 The text leading up to this was:
 --
 |--- amavisd-new-2.2.1/amavisd.chris2005-01-09 18:05:09.0 +0100
 |+++ amavisd-new-2.2.1/amavisd  2005-01-09 18:05:47.360864816 +0100
 --
 No file to patch.  Skipping patch.
 1 out of 1 hunk ignored
 ===

 PATCH COMMAND:  patch -p3 -g0 --no-backup-if-mismatch 
 /usr/portage/mail-filter/amavisd-new/files/amavisd-new-2.2.1-qmail-lf-workaround.patch

 ===
 missing header for unified diff at line 3 of patch
 can't find file to patch at input line 3
 Perhaps you used the wrong -p or --strip option?
 The text leading up to this was:
 --
 |--- amavisd-new-2.2.1/amavisd.chris2005-01-09 18:05:09.0 +0100
 |+++ amavisd-new-2.2.1/amavisd  2005-01-09 18:05:47.360864816 +0100
 --
 No file to patch.  Skipping patch.
 1 out of 1 hunk ignored
 ===

 PATCH COMMAND:  patch -p4 -g0 --no-backup-if-mismatch 
 /usr/portage/mail-filter/amavisd-new/files/amavisd-new-2.2.1-qmail-lf-workaround.patch

 ===
 missing header for unified diff at line 3 of patch
 can't find file to patch at input line 3
 Perhaps you used the wrong -p or --strip option?
 The text leading up to this was:
 --
 |--- amavisd-new-2.2.1/amavisd.chris2005-01-09 18:05:09.0 +0100
 |+++ amavisd-new-2.2.1/amavisd  2005-01-09 18:05:47.360864816 +0100
 --
 No file to patch.  Skipping patch.
 1 out of 1 hunk ignored


 what do i need to do to correct this?

 TIA

 Nick



--
Linux, because I'd rather own a free OS than steal one that's not
worth paying for.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: unformat a partition

2006-03-17 Thread Nick Smith
thanks for the replies, i was actually able to get the data off the
drive with getdataback, i can rest easy now.

thanks again

Nick

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Re: unformat a partition

2006-03-17 Thread Nick Smith

 Aren't you the lucky one!! Bet you'll never do _that_ again! However, it's
 important to have a list of useful programs that help in just this kind of
 circumstance. You _never_ know when you may need it. I'd never heard of
 getdataback, but will take a look.

 Glad this had a happy ending. Now, you should develop a good backup
 routine.

 --

well i had one, i was keeping multiple copies of my files on shares
over my network, but over time i had alot of different versions of my
files, i moved them all onto my laptop so i could consolidate them and
then move them back onto my server, but at the same time was playing
with installing gentoo on this new laptop.  ive never had two HDs in a
laptop before and without thinking did mke2fs -j /dev/hda1 during the
install and blew away my ntfs partition that i was going to dual boot
and that had all my freshly moved files on  ;-)
i cant believe i was that incredibly stupid, but yes i hope i never do
that again.  getting in a hurry only makes problems.

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] dhcp problems

2006-03-16 Thread Nick Smith
i have a new laptop that is giving me fits when i try to get any
distro of linux installed.  i was actually able to install gentoo and
got it to boot (this is my first amd64 machine) but i cant get it to
pull an ip address via dhcp i get this in the syslog:

dhcpcd[6038]: dhcpStart: ioctl SIOCSIFFLAGS: Function not implemented

i did install dhcpcd on the install so that should be working, and i
do have the 8139too driver compiled into the kernel like i normally
do.  what am i missing here?

thanks for any help

Nick

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: dhcp problems

2006-03-16 Thread Nick Smith
On 3/16/06, Nick Smith [EMAIL PROTECTED] wrote:
 i have a new laptop that is giving me fits when i try to get any
 distro of linux installed.  i was actually able to install gentoo and
 got it to boot (this is my first amd64 machine) but i cant get it to
 pull an ip address via dhcp i get this in the syslog:

 dhcpcd[6038]: dhcpStart: ioctl SIOCSIFFLAGS: Function not implemented

 i did install dhcpcd on the install so that should be working, and i
 do have the 8139too driver compiled into the kernel like i normally
 do.  what am i missing here?

 thanks for any help

 Nick


i get this on the live cd too for some reason. i installed with the
new Live CD. but i am now using a minimal amd64 install cd to try and
fix thisany ideas?

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] unformat a partition

2006-03-16 Thread Nick Smith
i just accidentally blew away my ntfs partition with the gentoo
install cd (formatted hda1 instead of hdb1) is there a way to unformat
if it was just done? like undo the format information? i formatted
with ext3.  ordinarily i wouldnt mind, but i have some VERY important
information on there and a ton of pictures i cannot lose (originals). 
i can probably use getdataback when i get home just wanted to know if
there was another way since im still at the prompt on the install cd
now.

thanks (bangs head on wall)

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] problems emerge'ing amavis-new

2006-03-10 Thread Nick Smith
i get this when i try to emerge amavis-new:

 Unpacking amavisd-new-2.3.3.tar.gz to
/var/tmp/portage/amavisd-new-2.3.3-r2/work
 * Patching with qmail qmqp support.
 * Applying amavisd-new-qmqpqq.patch ...  
  
 [ ok ]
 * Patching with qmail lf bug workaround.
 * Applying amavisd-new-2.2.1-qmail-lf-workaround.patch ...

 * Failed Patch: amavisd-new-2.2.1-qmail-lf-workaround.patch !
 *  ( 
/usr/portage/mail-filter/amavisd-new/files/amavisd-new-2.2.1-qmail-lf-workaround.patch
)
 *
 * Include in your bugreport the contents of:
 *
 *   
/var/tmp/portage/amavisd-new-2.3.3-r2/temp/amavisd-new-2.2.1-qmail-lf-workaround.patch-28558.out


!!! ERROR: mail-filter/amavisd-new-2.3.3-r2 failed.
!!! Function epatch, Line 350, Exitcode 0
!!! Failed Patch: amavisd-new-2.2.1-qmail-lf-workaround.patch!
!!! If you need support, post the topmost build error, NOT this status message.

here is the contents of the .out file:


[14:[EMAIL PROTECTED]:[/home/nick]# cat
/var/tmp/portage/amavisd-new-2.3.3-r2/temp/amavisd-new-2.2.1-qmail-lf-workaround.patch-29392.out
* amavisd-new-2.2.1-qmail-lf-workaround.patch *

===

PATCH COMMAND:  patch -p0 -g0 --no-backup-if-mismatch 
/usr/portage/mail-filter/amavisd-new/files/amavisd-new-2.2.1-qmail-lf-workaround.patch

===
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--
|--- amavisd-new-2.2.1/amavisd.chris2005-01-09 18:05:09.0 +0100
|+++ amavisd-new-2.2.1/amavisd  2005-01-09 18:05:47.360864816 +0100
--
No file to patch.  Skipping patch.
1 out of 1 hunk ignored

===

PATCH COMMAND:  patch -p1 -g0 --no-backup-if-mismatch 
/usr/portage/mail-filter/amavisd-new/files/amavisd-new-2.2.1-qmail-lf-workaround.patch

===
patching file amavisd
Hunk #1 FAILED at 3948.
1 out of 1 hunk FAILED -- saving rejects to file amavisd.rej
===

PATCH COMMAND:  patch -p2 -g0 --no-backup-if-mismatch 
/usr/portage/mail-filter/amavisd-new/files/amavisd-new-2.2.1-qmail-lf-workaround.patch

===
missing header for unified diff at line 3 of patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--
|--- amavisd-new-2.2.1/amavisd.chris2005-01-09 18:05:09.0 +0100
|+++ amavisd-new-2.2.1/amavisd  2005-01-09 18:05:47.360864816 +0100
--
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
===

PATCH COMMAND:  patch -p3 -g0 --no-backup-if-mismatch 
/usr/portage/mail-filter/amavisd-new/files/amavisd-new-2.2.1-qmail-lf-workaround.patch

===
missing header for unified diff at line 3 of patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--
|--- amavisd-new-2.2.1/amavisd.chris2005-01-09 18:05:09.0 +0100
|+++ amavisd-new-2.2.1/amavisd  2005-01-09 18:05:47.360864816 +0100
--
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
===

PATCH COMMAND:  patch -p4 -g0 --no-backup-if-mismatch 
/usr/portage/mail-filter/amavisd-new/files/amavisd-new-2.2.1-qmail-lf-workaround.patch

===
missing header for unified diff at line 3 of patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--
|--- amavisd-new-2.2.1/amavisd.chris2005-01-09 18:05:09.0 +0100
|+++ amavisd-new-2.2.1/amavisd  2005-01-09 18:05:47.360864816 +0100
--
No file to patch.  Skipping patch.
1 out of 1 hunk ignored


what do i need to do to correct this?

TIA

Nick

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] qmail and SA problems

2006-03-08 Thread Nick Smith
im currently trying to implement spamassassin into our mail server and
am running into problems im hoping you can help me with. our current
setup is running
gentoo/qmail/vpopmail/qmail-scanner/courier-imap/clamav/tmda.  i have
reinstalled qmail-scanner so that it can pickup that SA is installed,
and i do have setuid for clamav installed.
the problem is that none of the message seem to be being scanned by
SA.  its not re-writing the header with a score or anything, its like
im not running anything at all.  i have a testing server setup that i
am doing all of this on, i have even sent the known spam test email
gtube i think its called, and it isnt caught either.  the spamd
processes are running, everything looks fine.  i have tried rebooting
and restarting the services.  i think i must have a configuration
setting wrong or something.  i have included the relevant parts of the
config files, if there is anything else you need to help me please let
me know.  this has been an on-going battle for a while and i would
like to find a resolution to this finally.

thanks for any and all help.

qmail-scanner-queue.pl:

my $sa_delta='0';
my $sa_quarantine='1';
my $sa_forward='';
my $sa_fwd_verbose='0';
my $sa_delete='15';
my $sa_reject='0';
my $sa_alt='1';
my $sa_debug='1';
my $sa_hdr_report='1';
my $SA_SKIP_MD='0';
my $spamc_binary='/usr/bin/spamc';
my $spamc_options='';
my $spamc_subject=***SPAM***;  # st: if fast_spamassassin mode is selected
my $spamassassin_binary='';
my $spamd_socket='';
$spamc_binary.= -U $spamd_socket if ($spamd_socket ne );
my ($sa_comment,$sa_level);
my $sa_symbol='+';
my ($tag_score)=;

***am i suppose to have a scanner for SA in here somewhere? or is that
the perl-scanner part?***

my @scanners_installed=(clamdscan_scanner,perlscan_scanner);
my @scanners_default=(clamdscan_scanner,perlscan_scanner);


qmail-scanner-queue-version.txt:
clamdscan: 0.88/1292. perlscan: 1.25st.



local.cf:

required_score 6
skip_rbl_checks 0
rbl_timeout 5 # default 15 secs
rewrite_header Subject *SPAM*

score PYZOR_CHECK 1
score RCVD_IN_BL_SPAMCOP_NET 2.0


loadplugin Mail::SpamAssassin::Plugin::SPF
loadplugin Mail::SpamAssassin::Plugin::Razor2
loadplugin Mail::SpamAssassin::Plugin::Pyzor

# Razor
razor_config /etc/mail/spamassassin/.razor/razor-agent.conf
use_razor2 1

#Pyzor
use_pyzor 1
pyzor_path /usr/sbin/pyzor
#pyzor_add_header 1 # optional
pyzor_timeout 15 # optional, default 10 seconds

##
report_safe 1
##
use_bayes 1
bayes_path /etc/mail/spamassassin/bayes
bayes_file_mode 0770
bayes_auto_learn 1
bayes_min_ham_num 400
bayes_min_spam_num 400
bayes_learn_during_report 1
bayes_use_hapaxes 1
bayes_auto_learn_threshold_nonspam 1
bayes_auto_learn_threshold_spam 14.00
bayes_ignore_header X-Bogosity
bayes_ignore_header X-Spam-Flag
bayes_ignore_header X-Spam-Status

thanks again for your help.

Nick

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] virtual cdroms in linux

2006-03-01 Thread Nick Smith
does anyone know how to make a virtual cdrom in linux? kinda like
daemon tools for windows? i have my iso mounted as /mnt/iso but vmware
keeps complaining that i cant use a directory as an iso.  i know
vmware can use iso's as cdroms, but in this instance i cant use
vmware, i have to mount it some other way and just tell vmware its a
cdrom drive.  any suggestions?

TIA
Nick

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] virtual cdroms in linux

2006-03-01 Thread Nick Smith
On 3/1/06, Uwe Klosa [EMAIL PROTECTED] wrote:
 You don't have to mount it for the use with vmware. Update your vmx file with 
 the following:

 ide1:0.fileName = changeme.iso
 ide1:0.deviceType = cdrom-image

 Cheers
 Uwe

 Nick Smith wrote:
  does anyone know how to make a virtual cdrom in linux? kinda like
  daemon tools for windows? i have my iso mounted as /mnt/iso but vmware
  keeps complaining that i cant use a directory as an iso.  i know
  vmware can use iso's as cdroms, but in this instance i cant use
  vmware, i have to mount it some other way and just tell vmware its a
  cdrom drive.  any suggestions?
 
  TIA
  Nick
 



wouldnt that be the same as just telling vmware in the software itself
to use the that iso image? i cant use vmware's virtual cdrom for this
project, it gives me errors on boot, i need to find a way to have it
mounted some other way like daemontools for windows.  i have tried
just mounting the iso as a cdrom in folder /media/cdrom and other
places, but vmware complains that you cant use a folder like that. so
im kinda out of ideas.  can it even be done?

Nick

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] virtual cdroms in linux

2006-03-01 Thread Nick Smith
On 3/1/06, Heiko Wundram [EMAIL PROTECTED] wrote:
 Am Mittwoch, 1. März 2006 17:27 schrieb Nick Smith:
  wouldnt that be the same as just telling vmware in the software itself
  to use the that iso image? i cant use vmware's virtual cdrom for this
  project, it gives me errors on boot, i need to find a way to have it
  mounted some other way like daemontools for windows.  i have tried
  just mounting the iso as a cdrom in folder /media/cdrom and other
  places, but vmware complains that you cant use a folder like that. so
  im kinda out of ideas.  can it even be done?

 Yes. Basically that's what mount -o loop does internally before mounting it to
 a filesystem; you just have to set up the loop device separately.

 For info on that, do a man losetup, basically what you need is:

 losetup /dev/loop0 myimage.iso

 and tell VMWare to use that loop device as a CD-ROM block device.

 YMMV though, as a true CD-ROM block device supports IOCTLs which the loop
 device can't/doesn't.

 --
 --- Heiko.

 --
 gentoo-user@gentoo.org mailing list


vmware tells me that /dev/loop1 exsists but does not appear to be a
cdrom device, is there something else i have to do?

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] virtual cdroms in linux

2006-03-01 Thread Nick Smith
sweet! oh well, thanks for they help.

On 3/1/06, Heiko Wundram [EMAIL PROTECTED] wrote:
 Am Mittwoch, 1. März 2006 18:02 schrieb Nick Smith:
  vmware tells me that /dev/loop1 exsists but does not appear to be a
  cdrom device, is there something else i have to do?

 As I said, YMMV. The loop device doesn't support CD-ROM-device IOCTLs, which
 are required by VMware as it seems. There's nothing you can do about that,
 except to use the internal CD-ROM emulation that VMware offers. As it seems
 that this doesn't work for you, you're out of luck.

 --
 --- Heiko.

 --
 gentoo-user@gentoo.org mailing list




--
Linux, because I'd rather own a free OS than steal one that's not
worth paying for.

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] re-scanning for devices

2006-02-25 Thread Nick Smith
is there a way to rescan for devices after bootup? like if i
hot-plugged a scsi drive into the machine after it was already
running? how can i re-detect the hardware?

also, what if it detects a drive as sda, and i want it to be sdb? is
there a way i can tell it what i want to be sda, sda etc? without
actually having to move the drives around?

im having an issuse where the bios see's the drive i want as sda or
the boot drive, but when gentoo boots up the drive is actually sde and
i get kernel panics cause its looking for something on a different
drive.

please advise

Nick

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] re-scanning for devices

2006-02-25 Thread Nick Smith
On 2/26/06, Richard Fish [EMAIL PROTECTED] wrote:
 On 2/25/06, Nick Smith [EMAIL PROTECTED] wrote:
  is there a way to rescan for devices after bootup? like if i
  hot-plugged a scsi drive into the machine after it was already
  running? how can i re-detect the hardware?

 If you are using udev, and have configured the kernel for hotplug
 support, this should not be necessary.  The kernel will generate the
 appropriate hotplug events, and udev will create the device nodes.

 
  also, what if it detects a drive as sda, and i want it to be sdb? is
  there a way i can tell it what i want to be sda, sda etc? without
  actually having to move the drives around?

 Write udev rules to create persistent device names.

 An example:
 BUS==usb, KERNEL==sd[a-z]2, SYSFS{serial}==30005AF6,
 SYMLINK=%k, NAME=backups%e

 -Richard

 --
 gentoo-user@gentoo.org mailing list


its actually running a 2.4 kernel on sparc, and i dont think they use
udev, i think they are still on devfs. IIRC. is udev the only way to
accomplish this?

Nick

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] tracking the life of an email.

2006-02-24 Thread Nick Smith
i have setup a mailserver running qmail with clamav and spamassassin,
and it uses queue-scanner.  im still learning alot about administering
mail servers, and i was wondering, how can i track a message going
through the system? i know i can stumble through the log files, but
how do i know the exact route a message takes through my mailserver?
like from coming into the machine, being scanned by spamassassin,
being scanned by clamav, then passed to qmail to be delivered. where
can i see proof that it is actually doing all those steps?

TIA

nick

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: apache and php

2006-02-24 Thread Nick Smith
On 2/24/06, Catalin Trifu [EMAIL PROTECTED] wrote:
  Hi,

 I think if you first emerge dev-lang/php and apache, you will not get the
 blockers anymore. dev-lang/php will update the virtuals available on the
 system and horde depends on virtual/php and not dev-php/php.

 Catalin

ill give it a shot, i hope your right.

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] wierd messages in syslog

2006-02-24 Thread Nick Smith
i keep getting these errors in my syslog, has been happening ever
since the install (couple days ago)

what does it mean, and how can i fix it?

init: Id s0 respawning too fast: disabled for 5 minutes

what is s0?

this is a sparc system if that makes a difference.

TIA

Nick

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] tracking the life of an email.

2006-02-24 Thread Nick Smith

 Most of these components will issue messages to syslog using the 'mail'
 facility.  If you configure your syslog daemon to route messages from
 this facility to, say, /var/log/mail.log, you'll have all of the info
 you need.

 If you're using syslog-ng, the following addition will do this for you:

 destination mail { file(/var/log/mail.log perm(0644) ); };
 filter f_mail { facility(mail); };
 log { source(src); filter(f_mail); destination(mail); };

 --
 gentoo-user@gentoo.org mailing list



for some reason qmail spreads things out into 3 or 4 or 5 different
log files, one for sent, smtp, pop, imap etc, its a real pain to go
through those files, i dont know if its qmail or syslog-ng thats doing
it, but ive been wanting to find a way to combine all those logs into
one mail.log file for easy grepping.
thanks for the input.

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Missing Keyword

2006-02-23 Thread Nick Smith
ive been wondering this for a while.  i know how to deal with masked
packages, beit keyword masked or hardmasked, but ive googled and
googled, and cant seem to find or figure out how to deal with masked
packages that are missing keywords.  there is a nice document in the
wiki that explains masked packages but it makes no mention to ones
that are missing a keyword.
what are you suppose to do to these files to get them unmasked? and it
it like a hard mask where they are known not to work?

TIA

Nick

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Missing Keyword

2006-02-23 Thread Nick Smith

 Use /etc/portage/package.keywords (with an actual keyword, instead of the
 default ~ARCH) or your local overlay.

what is the actual keyword if it doesnt have one? just add it to my
package.keywords file and add the arch to it? i dont see how that
would work.

 However, a missing keyword (like neither amd64 nor ~amd64) indicates that
 the ebuild has not been tested on that architecture.  If the ebuild DOES
 work, report it on b.g.o.  (Actually, even if it doesn't, you should
 probably report it, because then the -ARCH keyword can be added which
 means tested and does not work.)

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] apache and php

2006-02-23 Thread Nick Smith
i know there has been alot of reconstruction with the php files in
gentoo in the past, had alot of problems with one of my old web
servers, horde wants php5 everything else doesnt.
well ive setup a new server, decided i would install horde right out
of the gate and let it pull down what it wanted and hopefully avoid
any problemsWRONG.

i have nothing even php related installed and this is what i get when
i -pv the emerge:

burtha linux # emerge horde horde-imp -pv

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[blocks B ] dev-php/mod_php (is blocking dev-lang/php-5.0.5-r5)
[blocks B ] dev-php/php (is blocking dev-lang/php-5.0.5-r5)
[blocks B ] dev-php/mod_php (is blocking dev-php/PEAR-PEAR-1.4.6-r1)
[blocks B ] dev-php/php (is blocking dev-php/PEAR-PEAR-1.4.6-r1)
[ebuild  N] net-www/apache-2.0.55-r1  +apache2 -debug -doc -ldap
-mpm-leader (-mpm-peruser) -mpm-prefork -mpm-threadpool -mpm-worker
-no-suexec (-selinux) +ssl -static-modules +threads 4,684 kB
[ebuild  N] dev-php/mod_php-4.4.0-r9  -X +apache2 +berkdb +crypt
-curl -debug -doc (-fdftk) -firebird -flash -freetds +gd +gd-external
+gdbm -gmp -hardenedphp +imap (-informix) -ipv6 -java +jpeg -kerberos
-ldap -mcal -memlimit -mssql +mysql +nls (-oci8) -odbc +pam +png
-postgres -snmp +spell +ssl -tiff +truetype +xml2 -yaz 4,340 kB
[ebuild  N] dev-php/php-4.4.0-r4  -X +berkdb +crypt -curl -debug
-doc (-fdftk) -firebird -flash -freetds +gd +gd-external +gdbm -gmp
-hardenedphp +imap (-informix) -ipv6 -java +jpeg -kerberos -ldap -mcal
-memlimit -mssql +mysql +ncurses +nls (-oci8) -odbc +pam +png
-postgres +readline -snmp +spell +ssl -tiff +truetype +xml2 -yaz 0 kB
[ebuild  N] app-admin/php-toolkit-1.0-r2  0 kB
[ebuild  N] dev-lang/php-5.0.5-r5  (-adabas) -apache +apache2
-bcmath +berkdb (-birdstep) +bzip2 -calendar -cdb -cgi -cjk -cli
+crypt -ctype -curl -curlwrappers (-db2) -dba -dbase (-dbmaker) -debug
-discard-path -doc (-empress) (-empress-bcs) (-esoob) -exif (-fdftk)
(-filepro) -firebird -flatfile -force-cgi-redirect (-frontbase) -ftp
+gd +gd-external +gdbm -gmp -hardenedphp (-hyperwave-api) -iconv +imap
(-informix) -inifile -interbase -iodbc -ipv6 -java-external -kerberos
-ldap (-libedit) -mcve -memlimit -mhash -ming -mnogosearch -msql
-mssql +mysql -mysqli +ncurses +nls (-oci8) (-oci8-instant-client)
-odbc (-oracle7) -ovrimos -pcntl -pcre -pdo-external (-pfpro) (-pic)
-posix -postgres -qdbm +readline -recode -sapdb -sasl +session
-sharedext -sharedmem -simplexml -snmp -soap -sockets (-solid) +spell
-spl -sqlite +ssl (-sybase) (-sybase-ct) -sysvipc +threads -tidy -tiff
-tokenizer +truetype -wddx +xml -xmlrpc -xpm -xsl -yaz -zip +zlib
4,797 kB
[ebuild  N] dev-php/PEAR-PEAR-1.4.6-r1  317 kB
[ebuild  N] dev-php/PEAR-Mail_Mime-1.3.1-r1  16 kB
[ebuild  N] dev-php/PEAR-File-1.2.2  15 kB
[ebuild  N] dev-php/PEAR-DB-1.7.6-r1  121 kB
[ebuild  N] dev-php/PEAR-Log-1.9.3  33 kB
[ebuild  N] dev-php/PEAR-Auth_SASL-1.0.1-r1  5 kB
[ebuild  N] dev-php/PEAR-Net_Socket-1.0.6-r1  4 kB
[ebuild  N] dev-php/PEAR-Net_SMTP-1.2.7  10 kB
[ebuild  N] dev-php/PEAR-Mail-1.1.9  16 kB
[ebuild  N] dev-php/PEAR-Cache-1.5.4-r1  29 kB
[ebuild  N] dev-php/PEAR-Net_URL-1.0.14-r1  5 kB
[ebuild  N] dev-php/PEAR-HTTP_Request-1.3.0  13 kB
[ebuild  N] dev-php/PEAR-Net_DIME-0.3-r1  6 kB
[ebuild  N] dev-php/PEAR-SOAP-0.9.1  67 kB
[ebuild  N] dev-php/PEAR-XML_Parser-1.2.7  12 kB
[ebuild  N] dev-php/PEAR-XML_Util-1.1.1-r1  8 kB
[ebuild  N] dev-php/PEAR-XML_Serializer-0.18.0  22 kB
[ebuild  N] dev-php/PEAR-Services_Weather-1.3.2-r1  43 kB
[ebuild  N] dev-php/PEAR-Date-1.4.6  52 kB
[ebuild  N] www-apps/horde-pear-1.3-r3  0 kB
[ebuild  N] app-admin/webapp-config-1.11  53 kB
[ebuild  N] www-apps/horde-2.2.9  +mysql +vhosts 667 kB
[ebuild  N] www-apps/horde-imp-3.2.8  +vhosts 1,550 kB

now what is up with that? why cant it pick one!! what do i have to do
to get this working now, i didnt figure i would have an issue on a new
server, but i guess i was wrong.

Thanks for any and all help.

Nick

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] mysql DB file

2006-02-21 Thread Nick Smith
where is the actual mysql DB file stored? what it the name as well?
found info on the net that pointed to either /usr/local/mysql/data or
/usr/local/var neither of which contain a mysql dir, the latter doesnt
even exsist on gentoo.

TIA

nick

--
Linux, because I'd rather own a free OS than steal one that's not
worth paying for.

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] raid/partition question

2006-02-20 Thread Nick Smith
just wanted to ask before i mess something up.
i have booted off the install cd, created a raidtab with my mirrored
drives on it. i have created the raid.  now, do i go in and setup the
partitions i want on that raid? or should i have done that before
creating the raid? so instead of having one big mirror and then
partitioning that, do i need to create my seperate partitions and then
mark them as fd and then create each raid seperate?

i think im confusing myself here. can you partition a raid device aka
/dev/md0? when i look at it in fdisk it shows the partitions of both
drives (they are the same).  if i partition md0 and try to write the
table i get :

WARNING: Re-reading the partition table failed with
error 22: Invalid argument.
The kernel still uses the old table.
The new table will be used at the next reboot.
Syncing disks.

did i just set myself up for failure? or is it going to work? im doing
this install remotely so i really cant reboot to see if its going to
work, but i dont want to continue with the install if im just wasting
my time. thats why im asking here to be sure. this is on sparc
hardware, but i dont think that will make a difference.

TIA

Nick

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] package dependencies

2006-02-16 Thread Nick Smith
is there a way to tell what packages are required by what?  for
instance i have a package that is blocking another package when i do
an emerge, is there a way to tell if the package that is blocking the
other is actually needed by any other package on the system before i
unmerge it?

thanks

Nick

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] package dependencies

2006-02-16 Thread Nick Smith
On 2/16/06, Ghaith Hachem [EMAIL PROTECTED] wrote:
 usualy portatge tells you what is blocking what
 anyway try emerge -av it will give you an idea of what you need

right, but i want to know that the package im going to remove because
its blocking something else isnt needed by another package on my
system that has nothing to do with the package im trying to emerge.
can that be done?  am i making any sense?

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] SMP not working?

2006-02-13 Thread Nick Smith
actually the SMP is working, as in top shows 2 CPU's.  but when i do
an emerge --sync CPU1 stays pegged at 99% and CPU0 stays below 1% the
entire time. this is a dual 200mhz U2 Sparc system, i was just
wondering if this was normal or is there something messed up in my
config?

and sorry for posting this in the normal user list, i figured i would
get more responses here as i dont think this is specific to Sparc
hardware, but i could be wrong.

TIA

Nick

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] problems removing a package

2006-01-20 Thread Nick Smith
Ive been trying to install horde and it keeps saying:

[blocks B ] dev-lang/php (is blocking dev-php/mod_php-4.4.0-r9)
[blocks B ] dev-lang/php (is blocking dev-php/php-4.4.0-r4)

when i try to remove it i get:

mail ~ # emerge unmerge dev-lang/php

--- Couldn't find dev-lang/php to unmerge.

 unmerge: No packages selected for removal.

so its like the package isnt in stalled but emerge thinks it is. what
else can i do to get horde installed and get php removed?

TIA

Nick

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] problems compiling Msql-Mysql-modules

2005-12-14 Thread Nick Smith
can anyone help me out with this error?

Creating files for MySQL ..
WARNING: PL_FILES takes a hash reference not a array reference.
Please inform the author.
Checking if your kit is complete...
Looks good
Note (probably harmless): No library found for -lgz
Using DBI 1.46 (for perl 5.008006 on i686-linux) installed in
/usr/lib/perl5/vendor_perl/5.8.6/i686-linux/auto/DBI/
Writing Makefile for DBD::mysql
Writing Makefile for Msql-Mysql-modules
/usr/bin/perl5.8.6 -Iblib/arch -Iblib/lib -I/usr/lib/perl5/5.8.6/i686-linux \
-I/usr/lib/perl5/5.8.6 -Ilib -MExtUtils::PerlPP \
-e ppp dbd/dbimon.in dbimon lib/DBD/mysql/Install/Config.pm
/usr/bin/pod2text mysql/lib/DBD/mysql.pm README
make[1]: Entering directory
`/var/tmp/portage/Msql-Mysql-modules-1.2219-r1/work/Msql-Mysql-modules-1.2219/mysql'
cp lib/DBD/mysql.pm ../blib/lib/DBD/mysql.pm
cp lib/Mysql.pm ../blib/lib/Mysql.pm
cp lib/Mysql/Statement.pm ../blib/lib/Mysql/Statement.pm
cp lib/Bundle/DBD/mysql.pm ../blib/lib/Bundle/DBD/mysql.pm
i686-pc-linux-gnu-gcc -c
-I/usr/lib/perl5/vendor_perl/5.8.6/i686-linux/auto/DBI
-I/usr/include/mysql -I../dbd
-I/usr/lib/perl5/site_perl/5.8.6/i686-linux/auto/DBI
-I/usr/lib/perl5/5.8.6/i686-linux -fno-strict-aliasing -pipe
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=pentium4 -O3 -pipe
-fomit-frame-pointer   -DVERSION=\2.0419\ -DXS_VERSION=\2.0419\
-fPIC -I/usr/lib/perl5/5.8.6/i686-linux/CORE  -DDBD_MYSQL dbdimp.c
dbdimp.c: In function `mysql_db_login':
dbdimp.c:724: warning: passing arg 3 of `mysql_dr_error' discards
qualifiers from pointer target type
dbdimp.c: In function `mysql_db_FETCH_attrib':
dbdimp.c:1013: warning: initialization discards qualifiers from
pointer target type
dbdimp.c:1019: warning: initialization discards qualifiers from
pointer target type
dbdimp.c:1027: warning: initialization discards qualifiers from
pointer target type
dbdimp.c:1048: warning: initialization discards qualifiers from
pointer target type
dbdimp.c:1059: warning: initialization discards qualifiers from
pointer target type
dbdimp.c: In function `mysql_st_internal_execute':
dbdimp.c:1203: warning: passing arg 3 of `mysql_dr_error' discards
qualifiers from pointer target type
dbdimp.c:1264: warning: passing arg 3 of `mysql_dr_error' discards
qualifiers from pointer target type
dbdimp.c: In function `mysql_st_fetch':
dbdimp.c:1427: warning: passing arg 3 of `mysql_dr_error' discards
qualifiers from pointer target type
dbdimp.c: In function `MysqlReconnect':
dbdimp.c:2163: warning: passing arg 3 of `mysql_dr_error' discards
qualifiers from pointer target type
/usr/bin/perl5.8.6 -p -e s/~DRIVER~/mysql/g
/usr/lib/perl5/vendor_perl/5.8.6/i686-linux/auto/DBI//Driver.xst 
mysql.xsi
/usr/bin/perl5.8.6 /usr/lib/perl5/5.8.6/ExtUtils/xsubpp  -typemap
/usr/lib/perl5/5.8.6/ExtUtils/typemap  mysql.xs  mysql.xsc  mv
mysql.xsc mysql.c
Warning: duplicate function definition 'do' detected in mysql.xs, line 281
Warning: duplicate function definition 'rows' detected in mysql.xs, line 407
i686-pc-linux-gnu-gcc -c
-I/usr/lib/perl5/vendor_perl/5.8.6/i686-linux/auto/DBI
-I/usr/include/mysql -I../dbd
-I/usr/lib/perl5/site_perl/5.8.6/i686-linux/auto/DBI
-I/usr/lib/perl5/5.8.6/i686-linux -fno-strict-aliasing -pipe
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=pentium4 -O3 -pipe
-fomit-frame-pointer   -DVERSION=\2.0419\ -DXS_VERSION=\2.0419\
-fPIC -I/usr/lib/perl5/5.8.6/i686-linux/CORE  -DDBD_MYSQL
mysql.cmysql.xs: In function `XS_DBD__mysql__dr__ListDBs':
mysql.xs:98: warning: passing arg 3 of `mysql_dr_error' discards
qualifiers from pointer target type
mysql.xs: In function `XS_DBD__mysql__dr__admin_internal':
mysql.xs:138: warning: passing arg 3 of `mysql_dr_error' discards
qualifiers from pointer target type
mysql.xs:144: error: too few arguments to function `mysql_shutdown'
mysql.xs:186: warning: passing arg 3 of `mysql_dr_error' discards
qualifiers from pointer target type
mysql.xs: In function `XS_DBD__mysql__db__ListDBs':
mysql.xs:250: warning: passing arg 3 of `mysql_dr_error' discards
qualifiers from pointer target type
mysql.xs: In function `XS_DBD__mysql__db__ListTables':
mysql.xs:271: warning: passing arg 3 of `mysql_dr_error' discards
qualifiers from pointer target type
make[1]: *** [mysql.o] Error 1
make[1]: Leaving directory
`/var/tmp/portage/Msql-Mysql-modules-1.2219-r1/work/Msql-Mysql-modules-1.2219/mysql'
make: *** [subdirs] Error 2

!!! ERROR: dev-perl/Msql-Mysql-modules-1.2219-r1 failed.
!!! Function perl-module_src_compile, Line 120, Exitcode 2
!!! compilation failed
!!! If you need support, post the topmost build error, NOT this status message.

thanks for any help.

Nick

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] hyperthreading

2005-12-13 Thread Nick Smith
just did a reinstall of my gentoo box, (been almost a year or so) and
for some reason this time around it doesnt see my hyperthreading p4 as
two cpu's anymore, i have hyperthreading and smp support turned on in
the kernel like i had before.  is this normal? what can i do to get
gentoo to see this machine as an smp machine again?

thanks

Nick

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] hyperthreading

2005-12-13 Thread Nick Smith
On 12/13/05, Jeff Williams [EMAIL PROTECTED] wrote:
 Are you viewing /proc/cpuinfo to get that information or just watching
 as it boots? Also, what do you get if you do this:

i was actually watching 'top' i could never get the smp function to
work. here is what cpuinfo gives:

mail ~ # cat /proc/cpuinfo
processor   : 0
vendor_id   : GenuineIntel
cpu family  : 15
model   : 2
model name  : Intel(R) Pentium(R) 4 CPU 2.80GHz
stepping: 9
cpu MHz : 2793.380
cache size  : 512 KB
physical id : 0
siblings: 2
core id : 0
cpu cores   : 1
fdiv_bug: no
hlt_bug : no
f00f_bug: no
coma_bug: no
fpu : yes
fpu_exception   : yes
cpuid level : 2
wp  : yes
flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid
xtpr
bogomips: 5593.96


 grep -i 'smp' /boot/config

this is my boot/config grepped:

mail ~ # grep -i 'smp' /boot/config
# CONFIG_X86_BIGSMP is not set
CONFIG_SMP=y
CONFIG_X86_FIND_SMP_CONFIG=y
CONFIG_X86_SMP=y

 If you don't have a symbolic link from /boot/config to your kernel
 config you will have to change the path somewhat (for example,
 /boot/config-2.6.14-gentoo-r2 if you are using the 2.6.14-r2 gentoo
 sources). This should give you a result similar to the following:

 CONFIG_SMP=y
 CONFIG_X86_FIND_SMP_CONFIG=y
 CONFIG_X86_SMP=y

 Hope this helps.

 Jeff

seems to look correct doesnt it? its just not showing up as two cpus,
:-\  what do you think?

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] hyperthreading

2005-12-13 Thread Nick Smith
 In top what happens when you hit the number '1'?

it only lists the one cpu.


 Seems a bit strange to me.

 - Mark

its a server, i dont think i built ACPI into the kernel cause i didnt
need/want it, dont think that should make a difference.

 --
 gentoo-user@gentoo.org mailing list



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] hyperthreading

2005-12-13 Thread Nick Smith
On 12/13/05, Glenn Enright [EMAIL PROTECTED] wrote:
 On Wednesday 14 December 2005 09:29, Nick Smith wrote:
  its a server, i dont think i built ACPI into the kernel cause i didnt
  need/want it, dont think that should make a difference.

 From what I can see SMP functoinality seems to rely quite heavily on ACPI
 discovery. Having said that, lots of code in mpparse.c says it should just
 work like in previous versions.

 Is this the first time building this kernel version?

probably, i will try adding ACPI support and see what i get, thanks
for the suggestions.


 What does 'dmesg | grep CPU' say? anything in /var/log/syslog.log?

mail ~ # dmesg | grep CPU
Initializing CPU#0
CPU: After generic identify, caps: bfebfbff   
4400  
CPU: After vendor identify, caps: bfebfbff   
4400  
CPU: Trace cache: 12K uops, L1 D cache: 8K
CPU: L2 cache: 512K
CPU: Physical Processor ID: 0
CPU: After all inits, caps: bfebfbff   0080
4400  
Intel machine check reporting enabled on CPU#0.
CPU0: Intel P4/Xeon Extended MCE MSRs (12) available
CPU0: Thermal monitoring enabled
CPU0: Intel(R) Pentium(R) 4 CPU 2.80GHz stepping 09
Brought up 1 CPUs


 Have you added any extra patches to the kernel recently?


nope

 --
 The sounds of the nouns are mostly unbound.
 In town a noun might wear a gown,
 or further down, might dress a clown.
 A noun that's sound would never clown,
 but unsound nouns jump up and down.
 The sound of a noun could distrub the plowing,
 and then, my dear, you'd be put in the pound.
 But please don't let that get you down,
 the renown of your gown is the talk of the town.
 -- A. Nonnie Mouse

 --
 gentoo-user@gentoo.org mailing list



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] hyperthreading

2005-12-13 Thread Nick Smith
thanks to everyone that helped, ya'll are gods, that got me working with smp/HT

thanks again

Nick

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] apache and cgi

2005-12-12 Thread Nick Smith
how do you install a cgi script in apache when the cgi-bin folder is
outside of the document root like is the default for gentoo? ive tried
a symlink and that doesnt seem to work, this is my first cgi script so
im not exactly sure how to install it.  this is for the courier
webadmin program, it has to be in cgi-bin running on the webserver.

thanks

Nick
--
Linux, because I'd rather own a free OS than steal one that's not
worth paying for.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] apache and cgi

2005-12-12 Thread Nick Smith
On 12/12/05, Catalin Trifu [EMAIL PROTECTED] wrote:
  Hi,

  The cgi-bin in /var/www/localhost will server the scripts; in the
  httpd.conf /cgi-bin/ is aliased to that particular directory, so everything
  u put in there will be available at http://localhost/cgi-bin/
  There are two scripts in there by default printenv and test-cgi. Point
 u'r
  browser to http://localhost/cgi-bin/printenv and u should
 see something.
  If not, then there is something wrong with u'r setup.

  Catalin



  Nick Smith wrote:
  how do you install a cgi script in apache when the cgi-bin folder is
 outside of the document root like is the default for gentoo? ive tried
 a symlink and that doesnt seem to work, this is my first cgi script so
 im not exactly sure how to install it. this is for the courier
 webadmin program, it has to be in cgi-bin running on the webserver.

 thanks

 Nick
 --
 Linux, because I'd rather own a free OS than steal one that's not
 worth paying for.



i get this in my logs when i try to access that.

[Mon Dec 12 19:35:00 2005] [error] [client 192.168.0.6] (13)Permission
denied: exec of '/var/www/localhost/cgi-bin/printenv' failed
[Mon Dec 12 19:35:00 2005] [error] [client 192.168.0.6] Premature end
of script headers: printenv

i have set the ownership of the entire www dir to apache:apache and it
still didnt work.

i have this in my http.conf file:

Directory /var/www/localhost/cgi-bin/
AllowOverride None
Options ExecCGI
Order allow,deny
Allow from all
/Directory

ScriptAlias /cgi-bin/ /var/www/localhost/cgi-bin/

what could be wrong?

--
Linux, because I'd rather own a free OS than steal one that's not
worth paying for.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] cms

2005-12-11 Thread Nick Smith
what about postnuke? its got all those things.  www.postnuke.org it rocks!

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] courier webadmin

2005-12-10 Thread Nick Smith
anyone know what you have to do to get courier's webadmin tool to work
in gentoo?  it didnt automagicly get installed into the webserver dir
like the other things ive installed, phpmyadmin etc.  couldnt find
anything on the wiki or googling.

thanks

Nick

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Knoppix Install Method

2005-12-10 Thread Nick Smith
On 12/10/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 I have a system on an Abit motherboard with the Nvidia GeForce 4 chipset.
 There are two SATA disks in a hardward stripe configuration using the
 controller built in to the motherboard.  The machine and disks were used as a
 Windows XP workstation.  Now that Windows installation is hosed up and I'm
 using the opportunity to covert this machine to a Gentoo desktop.

 However there is some data on the drive that I'd like to recover before
 blowing the disk away.  I booted the latest Knoppix dated 9/23/05 and see two
 icons on the desktop for my drives.  One for sda the other for sdb.  I can
 not mount either.  I assume this is because Knoppix is seeing each drive
 individually instead of the one logical striped drive it is.

 Is there some magic I can perform at the boot prompt to get Knoppix to see the
 two individual drives as one logical striped drive?  I can't recover the data
 from booting Windows because it's all screwed up and reboots itself shortly
 after logon.

 Thanks,

 Drew
 --
 gentoo-user@gentoo.org mailing list


what about safe mode? or an overlay install? or even the recovery
console?  i know that doesnt answer your knoppix question but i deal
with that crap everyday and i have tried using knoppix a few times and
it had problems with the ntfs partitions.  where would you put the
data once you got it? its booted off the cd, so even if it was a
burner how would you burn something when the drive is being used? a
flash drive possibly.  but probably the easiest way to get that data
(sorry to say) is get winders functioning again, get your data, and
then blow it away.  which rises a question, if its a hardware raid
stripe, i dont think knoppix should be seeing both drives, i thought
the hardware controller told it what to see, so it should only see the
one raid device, at least that was my take on it.  hope some of this
helps.

--
Linux, because I'd rather own a free OS than steal one that's not
worth paying for.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] courier webadmin

2005-12-10 Thread Nick Smith
On 12/10/05, Stroller [EMAIL PROTECTED] wrote:

 On Dec 10, 2005, at 6:04 pm, Nick Smith wrote:

  anyone know what you have to do to get courier's webadmin tool to work
  in gentoo?  it didnt automagicly get installed into the webserver dir
  like the other things ive installed, phpmyadmin etc.  couldnt find
  anything on the wiki or googling.

 Did  you install the courier package or courier-imap?

 Stroller.

 --
 gentoo-user@gentoo.org mailing list


courier-mta not the courier-imap package

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] courier webadmin

2005-12-10 Thread Nick Smith
On 12/10/05, Nick Smith [EMAIL PROTECTED] wrote:
 On 12/10/05, Stroller [EMAIL PROTECTED] wrote:
 
  On Dec 10, 2005, at 6:04 pm, Nick Smith wrote:
 
   anyone know what you have to do to get courier's webadmin tool to work
   in gentoo?  it didnt automagicly get installed into the webserver dir
   like the other things ive installed, phpmyadmin etc.  couldnt find
   anything on the wiki or googling.
 
  Did  you install the courier package or courier-imap?
 
  Stroller.
 
  --
  gentoo-user@gentoo.org mailing list
 
 
 courier-mta not the courier-imap package

do you have it working? also, since the apache2 cgi-bin folder is out
of the document root, how does it work? do you make a symlink to it
somewhere?

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] courier

2005-12-04 Thread Nick Smith
On 12/4/05, Arturo 'Buanzo' Busleiman [EMAIL PROTECTED] wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Nick Smith wrote:
  thanks, i thought that courier-imap relied on courier, so i assumed it
  would have emerged it, i was wrong, thanks for the help.

 If there's anything you need to know about courier-mta on gentoo, just let me 
 know.

 - --
 Arturo Buanzo Busleiman - www.buanzo.com.ar
 Consultor en Seguridad Informatica / Dominio Digital TV - Da FOSS man!
 KTP Consultores - info AT ktpconsultores.com.ar

do you know of any good how-to's using just courier-mta? not just with
courier-imap and a mix of other programs?  and tips or tricks you care
to share? any problems i should look out for?

thanks for the help.

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] completely removing a program

2005-11-28 Thread Nick Smith
sorry for the simple question.
how can i completely remove a program and have it get rid of the conf files and any other temp files it leaves around? i want to start from scratch with some programs and dont want to have to manually search and remove those files.

TIA
Nick


Re: [gentoo-user] courier problems

2005-11-25 Thread Nick Smith

What about interactively logging into mysql with the providedcredentials? Does that work?


i can log in just fine with the user and pass i have specified in the conf files.


[gentoo-user] courier problems

2005-11-23 Thread Nick Smith
ive been trying to setup a mail server following the how-to at
http://gentoo-wiki.com/HOWTO_Linux_Virtual_Hosting_Server#Virtual_Mail_Hosting
and everything seems to have been setup correctly, but i keep getting
these errors and cant login 

Nov 22 23:28:29 mail imapd: Connection, ip=[:::127.0.0.1]
Nov 22 23:28:29 mail imapd: LOGIN FAILED, user=[EMAIL PROTECTED], ip=[:::127.0.0.1]
Nov 22 23:28:29 mail imapd: authentication error: Input/output error

i get this everytime i try to login either via an email client or via squirrelmail, squirrelmail gives me a 
ERROR: Connection dropped by IMAP server. error. i
can however login using mutt on the local machine and see that the mail
is indeed coming in. so postfix is doing its job. this
has been a work in progress and over the last month i have been
googling tring to find answers, i came across a post on squarism.com
that said to downgrade to courier-authlib from 0.57 to 0.55 that it was
a shared library problem, so i did that, and it still doesnt work, i
have restarted services and even rebooted and still nothing.

i have set up mail servers with gentoo before using an older version of
this how-to and it worked flawlessly, i know that there have been
changes going on with gentoo, like with the apache config files and
stuff like that, so im pretty sure something like that happened to
courier. but has anyone had this problem and possibly know how to
correct it? can anyone point me in the right direction?

thanks

Nick



Re: [gentoo-user] courier problems

2005-11-23 Thread Nick Smith
On 11/23/05, James Hiscock [EMAIL PROTECTED] wrote:
 ive been trying to setup a mail server following the how-to at http://gentoo-wiki.com/HOWTO_Linux_Virtual_Hosting_Server#Virtual_Mail_Hosting
 and everything seems to have been setup correctly, but i keep getting these errors and cant loginI know I had to reduce the set of authentication modules in/etc/courier/authlib/authdaemonrc to get my install of courier-imap to
let me login properly... I changedauthmodulelist=authuserdb authpam authshadow authldap authmysqlauthcustom authpipeto justauthmodulelist=authpam authshadow...and that resolved my problems. I seem to recall errors about
invalid MySQL configuration, though, which is what twigged me to theproblem... maybe your issue is somewhat similar?--gentoo-user@gentoo.org mailing list
i wish it were that simple, all i have in mine, just like the how-to says is 

authmodulelist=authmysql authpam

thanks for the info.

Nick


[gentoo-user] new apache install

2005-11-11 Thread Nick Smith
i just built a new box that will be a mail/web server, but after
emerging apache the entire /etc/apache/conf does not exsist, i tried
re-emerging but nothing changed. is this something im doing wrong?

Thanks

Nick


Re: [gentoo-user] new apache install

2005-11-11 Thread Nick Smith

On 11/11/05, kashani [EMAIL PROTECTED] wrote:
Nick Smith wrote: i just built a new box that will be a mail/web server, but after emerging apache the entire /etc/apache/conf does not exsist, i tried
 re-emerging but nothing changed.is this something im doing wrong?perhaps /etc/apache2/ ?kashani--gentoo-user@gentoo.org mailing list
im sorry, that is what i meant. the entire conf directory never got installed on emerge. any ideas?


Re: [gentoo-user] WEP woes

2005-09-01 Thread Nick Smith
On Wed, 2005-08-31 at 10:52 -0500, Nick Smith wrote:

 any help or a config file would be greatly appreciated.
 
 thanks
 
 Nick
 
no one has anything?

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] NetworkManager

2005-09-01 Thread Nick Smith
I cant seem to find networkmanager anywhere in portage, i have checked
the gentoo-portage site, done numerous searched with emerge and cant
seem to locate it, there website says gentoo has it Your favorite Linux
distribution probably already has packages for NetworkManager. Fedora
Core, Debian, and Gentoo, are supported out of the box. You can use your
distributions package management tools to download and install the
NetworkManager programs if it has been packaged for your distro.

anyone running this? what is it called in portage?

thanks

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] NetworkManager

2005-09-01 Thread Nick Smith
On Fri, 2005-09-02 at 01:14 +0200, Holly Bostick wrote:

 There is, however, an ebuild for 0.3.1 on b.g.o--
 
 http://bugs.gentoo.org/show_bug.cgi?id=69396
 
 which can 'legitimately' be put in one's overlay.
 
 HTH,
 Holly

well since it isnt stable yet, is there anything else out there that
integrates with gnome that allows you to switch network connections on
the fly? or just something that monitors wireless connections and allows
you to choose to connect to them? something that actually asked for the
WEP key when it hit an encrypted network would be good too, but i think
im pushing my luck. thats for the info thus far.

Nick

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] WEP woes

2005-08-31 Thread Nick Smith
Im having a heck of a time getting wep to work with either iwconfig or
wpa_supplicant, ive followed the how-to, read over the wiki pages, and
looked at the example file in /etc and i still cannot get it to let me
connect with WEP, i can see the AP, get the freg/voltage etc, but i cant
get an ip from it.  my setup is this: i have a wireless access point at
home that i want to connect to using WEP and also an AP at the office
that i want to connect to using WEP, i can connect to both with WEP
turned off, so i know my wireless is working. does someone have a
similar setup on their machine that they could possibly post their
config file? either conf.d/net or conf.d/wireless or both, (im just
using /net per the how-tos)

my config as of now looks like this:

modules=( wpa_supplicant )
wpa_supplicant_eth1=-prism54
wpa_timeout_eth1=30

#associate_order=any
#essid_eth1=any
#preferred_aps=( computernick )
#associate_order_eth1=any

key_computernick=s:c0mputernick! enc open
#key_ESSID2=[1] s:CE73E751EE [1] enc open

#preferred_aps=( ESSID1 )

#config_ESSID1=( dhcp )
#fallback_ESSID1=( 192.168.0.55/24 brd 192.168.0.255 )
#fallback_route_ESSID1=( default via 192.168.0.69 )

#config_ESSID2=( dhcp )
#fallback_ESSID2=( 192.168.1.200/24 brd 192.168.1.255 )
#fallback_route_ESSID2=( default via 192.168.1.2 )

#dhcpcd_eth0=-t 15
#dhcpcd_eth1=-t 15


i commented out alot of stuff for troubleshooting purposes but it didnt
help. i cant get either one to connect with WEP enabled. i want to try
to get wpa working because from what i have read and heard it is more
advanced that iwconfig, lets you connect to wpa enc and i think it does
scanning as well.

any help or a config file would be greatly appreciated.

thanks

Nick

-- 
gentoo-user@gentoo.org mailing list



Re: RESOLVED: RE: [gentoo-user] power management on laptop

2005-08-31 Thread Nick Smith
On Wed, 2005-08-31 at 12:03 -0400, John Dangler wrote:

 I looked around a little more and found someone who had a box very similar
 to mine and used the autoload settings from that article... All of the
 applets are showing properly in gnome now!
 
 Thanks to you and Holly for the patient replies on this.
 
 John D
 
what autoload settings did you use?


-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] emerge woes

2005-08-19 Thread Nick Smith

haven't updated 
my box in a while and when I tried this afternoon and I get this error and cant 
seem to get past it. any ideas? actually im getting several emerge errors across 
a couple boxes, this is just one of them, different files, but I hope they are 
somehow related and the answer to this will fix the others.

thanks for any and all help.

tuxbox htdocs # emerge -uD 
worldCalculating world dependencies ...done! emerge (1 of 
257) sys-devel/m4-1.4.3 to / Downloading http://gentoo.seren.com/gentoo/distfiles/m4-1.4.3.tar.bz2--14:47:32-- 
http://gentoo.seren.com/gentoo/distfiles/m4-1.4.3.tar.bz2 
= `/usr/portage/distfiles/m4-1.4.3.tar.bz2'Resolving gentoo.seren.com... 
65.245.115.11Connecting to gentoo.seren.com[65.245.115.11]:80... 
connected.HTTP request sent, awaiting response... 200 OKLength: 305,598 
[application/x-tar]
100%[==] 
305,598 13.81K/s ETA 
00:00
14:48:17 (8.08 KB/s) - 
`/usr/portage/distfiles/m4-1.4.3.tar.bz2' saved [305598/305598]
 md5 files 
;-) m4-1.4.2-r1.ebuild md5 files ;-) 
m4-1.4.1.ebuild md5 files ;-) 
m4-1.4.3.ebuild md5 files ;-) 
ChangeLog md5 files ;-) metadata.xml 
md5 files ;-) files/digest-m4-1.4.2-r1 md5 
files ;-) files/m4-1.4.3-autotools.patch md5 
files ;-) files/digest-m4-1.4.1 md5 
files ;-) files/digest-m4-1.4.3 md5 
files ;-) files/m4-1.4.3-pointer.patch md5 src_uri 
;-) m4-1.4.3.tar.bz2 Unpacking source... 
Unpacking m4-1.4.3.tar.bz2 to /var/tmp/portage/m4-1.4.3/work* Applying 
m4-1.4.3-autotools.patch 
... 
[ ok ]* Applying m4-1.4.3-pointer.patch 
... 
[ ok ] Source unpacked../configure --prefix=/usr 
--host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info 
--datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --enable-nls 
--enable-changewordconfigure: WARNING: If you wanted to set the --build 
type, don't use --host. If a cross compiler is detected 
then cross compile mode will be used.checking for gawk... gawkchecking 
for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gccchecking for C compiler 
default output file name... configure: error: C compiler cannot create 
executablesSee `config.log' for more details.
!!! Please attach the config.log to 
your bug report:!!! 
/var/tmp/portage/m4-1.4.3/work/m4-1.4.3/config.log
!!! ERROR: sys-devel/m4-1.4.3 
failed.!!! Function econf, Line 485, Exitcode 0!!! econf failed!!! 
If you need support, post the topmost build error, NOT this status 
message.

RE: [gentoo-user] Heads-Up sys-lib/ss breaks Apps

2005-07-08 Thread Nick Smith
 



From: kashani [mailto:[EMAIL PROTECTED]
Sent: Fri 7/8/2005 1:47 PM
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Heads-Up sys-lib/ss breaks Apps



Ron Bickers wrote:
 On Fri July 8 2005 01:38 am, Ow Mun Heng wrote:


Which is a huge bummer since most of us don't go checking the ebuilds
for these specific lines. How I wish It would just abort and BLAST the
Einfo on the screen for me to see the next day and decide to do it
manually.


 I have this concern as well.  Also, when emerging multiple packages, the
 helpful and sometimes necessary output at the end of each merge is easily
 missed as the next package begins.  It would be nice to at least have these
 messages logged somewhere.  Are they?  Can they be without patching portage?


mkdir /var/log/portage
echo PORT_LOGDIR=/var/log/portage  /etc/make.conf

kashani
--
gentoo-user@gentoo.org mailing list



 

what permission does that have to be? 644?

winmail.dat

[gentoo-user] reinstall troubles

2005-04-14 Thread Nick Smith
im having to do a reinstall on my laptop and im using the new 2005.0
version, however when it comes to the chroot part it says i dont have
the command env-update, this is the first time i have ran into this
and i have followed the handbook exactly.  it is something im doing
wrong or is just something messed up?

nick

-- 
ComputerNick a.k.a. Nick Smith
Email - [EMAIL PROTECTED]
Web - http://www.ComputerNick.com
--

--
gentoo-user@gentoo.org mailing list