Re: test please delete

2006-10-12 Thread P.U.Kruppa

On Thu, 12 Oct 2006, Josef Grosch wrote:



--
Josef Grosch   | Another day closer to a | FreeBSD 6.1
[EMAIL PROTECTED] |   Micro$oft free world  | Berkeley, Ca.


Please use the test mailing list:
http://lists.freebsd.org/mailman/listinfo/freebsd-test

Regards,

Uli.


Peter Ulrich Kruppa
Wuppertal
Germany

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Changing Hostname = Reboot machine?

2006-10-12 Thread Jonathan Chen
On Fri, Oct 13, 2006 at 11:06:54AM +0800, David Schulz wrote:
> Hello all,
> 
> i would like to change the Host-name one two of my Servers. Do i have  
> to restart the Machines afterwards, or is the another way i can make  
> the new Host-name take effect?

hostname(1) is your friend.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
---
"I love deadlines. I like the whooshing sound they make as they fly by"
- Douglas Adams
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: iSCSI support..

2006-10-12 Thread Josef Grosch
On Thu, Oct 12, 2006 at 08:37:27PM -0700, Jeff Mohler wrote:
> Freebsd ever hope to have a stable supported iscsi layer?
> 
> Thanks for any hints.


I plan to starting testing FreeBSD 6.2 (when it is released) and iSCSI
within the next few weeks. We have seattled on an HP DL360 with a Broadcom
NIC talking to a NetApp. This will be our first pass at iSCSI. Should be
intresting. 



Josef

-- 
Josef Grosch   | Another day closer to a | FreeBSD 6.1
[EMAIL PROTECTED] |   Micro$oft free world  | Berkeley, Ca.


pgpLRYeJnNfV8.pgp
Description: PGP signature


test please delete

2006-10-12 Thread Josef Grosch

-- 
Josef Grosch   | Another day closer to a | FreeBSD 6.1
[EMAIL PROTECTED] |   Micro$oft free world  | Berkeley, Ca.


pgpclfgwfCiFQ.pgp
Description: PGP signature


iSCSI support..

2006-10-12 Thread Jeff Mohler

Freebsd ever hope to have a stable supported iscsi layer?

Thanks for any hints.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


blade system recommendations

2006-10-12 Thread John Daniels
I'd like to purchase a blade enclosure with SAN
storage.  What systems like these are recommended with
FreeBSD?

Please comment on:
HP c-class enclosure -- will some/all of the
management features work?  if I use hp tools (requires
compat5) and linux compat, would I get all/most
functionality?

Is p-class better if all the "bells and whistles" of
the c-class are not available?

What about Dell?  Not as robust but cheaper?  Does
Dell blade system (PE1955) with CX300 work well?  If
hp c-class doesn't make sense because functionality
(like manageability features) are not available, then
would Dell's offering be a better choice over the hp
p-class?

Please feel free to recommend other blade-SAN
configurations that work well under FreeBSD.

Thanks!

Send instant messages to your online friends http://uk.messenger.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Changing Hostname = Reboot machine?

2006-10-12 Thread David Schulz

Hello all,

i would like to change the Host-name one two of my Servers. Do i have  
to restart the Machines afterwards, or is the another way i can make  
the new Host-name take effect?


Thanks a lot,
David

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Running Perl from a C program

2006-10-12 Thread Olivier Nicole
Hi,

I am facing a problem when running a Perl script from a C program.

My C calls 2 different Perl scripts. The way to call them is
completely similar.

One script does a 'require "timelocal.pl";' and is working.

The other try to do a 'use Email::MIME::Creator;' and is not working
(whatever the module I try to load).

Of course this script is working when called from the shell, so this is
not a syntax error.

This has to do with not being able to 'use' any module from withing a
Perl script called from C. A 'require' would not work either.

I know this may not be the best list for that question.

TIA

Olivier
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Prevent process in disk wait

2006-10-12 Thread Chris


On Oct 12, 2006, at 6:32 PM, Olivier Nicole wrote:


While installing the Ruby port on a 6.1-Release system (uname -a
...
37788  p0  DL+   39:43.11 ./ruby18 ./bin/rdoc --all --ri --op
/usr/local/share/ri/1.8/system .

The system is an old Pentium 5 with a standard IDE drive. Is there a


I got hit bit that a couple of times too.

For some reason, Ruby at some stage tries to browse the complete hard
disk in order to find things like libraries.

At least that's what I guessed.

Anser was: get a better/newer hardware.

Yes, I wasn't clear in trying to answer the original post. Inadequate  
memory
that led to swapping seemed to be the source of that port being a  
slow upgrade.

I thought that might explain the problem described.

With the methods as described in the previous post, perhaps one could  
get by with
antiquated hardware though for testing purposes and playing. 
___

freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: optimal kernel options for VMWARE guest system

2006-10-12 Thread Jeff Dickens

Jeff Dickens wrote:

Jeff Dickens wrote:

John Nielsen wrote:

On Tuesday 03 October 2006 12:58, Jeff Dickens wrote:
 
I have some Freebsd systems that are running as VMware guests.  I'd 
like
to configure their kernels so as to minimize the overhead on the 
VMware

host system.  After reading and partially digesting the white paper on
timekeeping in VMware virtual machines
(http://www.vmware.com/pdf/vmware_timekeeping.pdf) it appears that I
might want to make some changes.

Has anyone addressed this issue?



I haven't read the white paper (yet; thanks for the link), but I've 
had good results with recent -STABLE VM's running under ESX server 
3. Some thoughts:


As I do on most of my installs, I trimmed down GENERIC to include 
just the drivers I use. In this case that was mpt for the disk and 
le for the network (although I suspect forcing the VM to present 
e1000 hardware and then using the em driver would work as well if 
not better).


The VMware tools package that comes with ESX server does a poor job 
of getting itself to run, but it can be made to work without too 
much difficulty. Don't use the port, run the included install script 
to install the files, ignore the custom network driver and compile 
the memory management module from source (included). If using X.org, 
use the built-in vmware display driver, and copy the vmmouse driver 
.o file from the VMware tools dist to the appropriate dir under 
/usr/X11. Even though the included file is for X.org 6.8, it works 
fine with 6.9/7.0 (X.org 7.1 should include the vmmouse driver.) Run 
the VMware tools config script from a non-X terminal (and you can 
ignore the warning about running it remotely if you're using SSH), 
so it won't mess with your X display (it doesn't do anything not 
accomplished above). Then run the rc.d script to start the VMware 
tools.


I haven't noticed any timekeeping issues so far.

JN
___
  
What is the advantage of using the "e1000 hardware", and is this 
documented somewhere?  I got the vxn network driver working without 
issues; I just had to edit the .vxn file manually:  I'm using the 
free VMware server V1 rather than the ESX server.


  ethernet0.virtualDev="vmxnet"

I've got timekeeping running stably on these.  I turn on time sync 
via vmware tools in the .vmx file:


 tools.syncTime = "TRUE"

and in the guest file's rc.conf start ntpd with flags "-Aqgx &" so it 
just syncs once at boot and exits.


I'm not using X on these.  They're supposed to be clean & lean 
systems to run such things as djbdns and qmail.  And they do work 
well. My main goal is to reduce the background load on the VMware 
host system so that it isn't spending more time than it has to 
simulating interrupt controllers for the guests.  I'm wondering about 
the "disable ACPI" boot option.  I suppose I first should figure out 
how to even roughly measure the effect of any changes I might make.


Well, I've done some pseudo-scientific measurement on this.  I 
currently have five freebsd virtual systems running, and one Centos 4 
(linux 2.6),   This command give some info on the background cpu usage:


(The host is a Centos 3 system, linux 2.4)

[EMAIL PROTECTED] root]# ps auxww | head -1
USER   PID %CPU %MEM   VSZ  RSS TTY  STAT START   TIME COMMAND
[EMAIL PROTECTED] root]# ps auxww | grep vmx
root 18031 12.7  1.5 175440 39916 ?  S<   Oct09 345:50 
/usr/lib/vmware/bin/vmware-vmx -C /var/lib/vmware/Virtual 
Machines/Goose/freebsd-6.1-i386.vmx -@ ""
root 18058 12.9  1.4 174772 36916 ?  S<   Oct09 351:01 
/usr/lib/vmware/bin/vmware-vmx -C /var/lib/vmware/Virtual 
Machines/Duck/freebsd-6.1-i386.vmx -@ ""
root 18072 16.2  5.5 246372 141776 ? S<   Oct09 440:16 
/usr/lib/vmware/bin/vmware-vmx -C /var/lib/vmware/Virtual 
Machines/BlueJay/freebsd-6.1-i386.vmx -@ ""
root 18086 12.9  1.4 174688 38464 ?  S<   Oct09 351:47 
/usr/lib/vmware/bin/vmware-vmx -C /var/lib/vmware/Virtual 
Machines/Heron/freebsd-6.1-i386.vmx -@ ""
root 18100  9.4  4.1 385712 107348 ? S<   Oct09 256:25 
/usr/lib/vmware/bin/vmware-vmx -C /var/lib/vmware/Virtual 
Machines/Newt/freebsd-6.1-i386.vmx -@ ""
root 18139 12.2  2.5 299388 65132 ?  S<   Oct09 330:35 
/usr/lib/vmware/bin/vmware-vmx -C /var/lib/vmware/Virtual 
Machines/Centos4/Centos4.vmx -@ ""

root 28930  0.0  0.0  3680  672 pts/3S14:08   0:00 grep vmx
[EMAIL PROTECTED] root]#


As one can see the one called "Newt" is consistently lower in the 
"%CPU" column.  Curiously enough, this *is* the one I built a custom 
kernel for.
The config file I used is posted below:  Besides commenting out 
devices I wasn't using & NFS, etc, I commented out the apic and 
pctimer devices.  Do you think I'm on the right track for reducing 
interrupt frequency?


Also, if I were to want to move this kernel to other FreeBSD systems, 
how much has to move, the whole /boot/kernel directory?


Finally I did have to re-run the vmware-config-t

RE: Question re ncurses and the various ttys

2006-10-12 Thread Murray Taylor
 

> -Original Message-
> From: Raaf [mailto:[EMAIL PROTECTED] 
> Sent: Friday, 13 October 2006 7:36 AM
> To: freebsd-questions@freebsd.org
> Cc: Murray Taylor
> Subject: Re: Question re ncurses and the various ttys
> 
> > Hi all
> > 
> > I've been digging around in the various man pages and 
> havent yet found
> > the 
> > incantations I require.
> > 
> > Goal: to create a curses driven status screen that can run 
> without user
> > intervention.
> > 
> > I want to know if it is possible to _programatically_ switch to an
> > unused 
> > virtual tty,
> 
> Yes it is certainly possible, i have done this recently 
> myself and like
> you i couldn't find how to do it in any man page. Fortunately 
> i could find
> the answer in the xorg-server source code.
> 
> You just open one of the virtual terminals and issue the VT_ACTIVATE
> ioctl:
> 
> fd = open("/dev/ttyv9",O_RDONLY);
> ioctl(fd,VT_ACTIVATE,10);
> 
> > and then use this as the display page.
> > ( By unused I mean marked 'off' in /etc/ttys )
> 
> 
> Well, the above code only switches the active vt...
> 
> If you want your program output to go to a certain vt you 
> probably have
> to open the specific vt and replace the stdin and stdout file 
> descriptors
> of your program with the one of the one of the vt you just opened.
> 
> But there are probably some caveats to this method, so best 
> is to take a
> look at the getty source code and maybe add your program to /etc/ttys.
> 

Thank you - this is probably the incantation I need along with the 
curses newterm / setterm calls

cheers
mjt

 
---
The information transmitted in this e-mail is for the exclusive
use of the intended addressee and may contain confidential
and/or privileged material. Any review, re-transmission,
dissemination or other use of it, or the taking of any action
in reliance upon this information by persons and/or entities
other than the intended recipient is prohibited. If you
received this in error, please inform the sender and/or
addressee immediately and delete the material. 

E-mails may not be secure, may contain computer viruses and
may be corrupted in transmission. Please carefully check this
e-mail (and any attachment) accordingly. No warranties are
given and no liability is accepted for any loss or damage
caused by such matters.
---

### This e-mail message has been scanned for Viruses by Bytecraft ###
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Prevent process in disk wait

2006-10-12 Thread Olivier Nicole
> While installing the Ruby port on a 6.1-Release system (uname -a
> ...
> 37788  p0  DL+   39:43.11 ./ruby18 ./bin/rdoc --all --ri --op
> /usr/local/share/ri/1.8/system .
>
> The system is an old Pentium 5 with a standard IDE drive. Is there a

I got hit bit that a couple of times too.

For some reason, Ruby at some stage tries to browse the complete hard
disk in order to find things like libraries.

At least that's what I guessed.

Anser was: get a better/newer hardware.

olivier
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ltdl library problems

2006-10-12 Thread Aaron P. Martinez
> On Oct 12, 2006, at 1:48 PM, Aaron P. Martinez wrote:
>> I am trying to compile a program called gyachi on my freebsd 6.1
>> machine and am having a ton of problems.  I consulted the gyachi
>> forums but most people there are running on one flavor of linux or
>> another, nobody has it on freebsd that i can tell, so now i am
>> turning here.
>> at first my configure would stop at alsa, even though i have the
>> linux-compatible alsa programs, so then i used the --with-esd
>> switch and now i'm getting stopped with the following error:
>> checking for lt_dlopen in -lltdl... no configure: error: cannot
>> find ltdl library I have libtool installed and and under /usr/local/
>> lib i have: libltdl.a libltdl.la libltdl.so libltdl.so.4 I tried
>> using the --with-libintl-prefix switch like so: ./configure --
>> enable-esd --with-gnu-ld --with-libintl-prefix=/usr/local it's
>> still not finding it, same error again.
>
> Assuming you use a Bourne-compatible shell, try:
>
>   LDFLAGS=-L/usr/local/lib CPPFLAGS=-I/usr/local/include ./configure --
> enable-esd [ ... ]
>
> If you use csh, use setenv to export the above variables.
>
> --
> -Chuck
>
>
Great Chuck,

that worked like a charm.  I went straight to make after the configure and
for some odd reason i'm getting alsa errors and finally make fails..  here
is the output from make:

]$ make
make  all-recursive
Making all in intl
Making all in po
Making all in gyvoice
if gcc -DHAVE_CONFIG_H -I. -I. -I..
-DLOCALEDIR=\"/usr/local/share/locale\"  -DXTHREADS -DXUSE_MTSAFE_API
-I/usr/local/include/atk-1.0 -I/usr/local/include/cairo
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-I/usr/X11R6/include/gtk-2.0 -I/usr/X11R6/lib/gtk-2.0/include
-I/usr/X11R6/include/pango-1.0 -I/usr/X11R6/include
-I/usr/local/include/freetype2 -I/usr/local/include  
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include  
-I/usr/local/include  -g -O2  -I/usr/X11R6/include -Wall -funsigned-char
-MT sound.o -MD -MP -MF ".deps/sound.Tpo" -c -o sound.o sound.c;  then mv
-f ".deps/sound.Tpo" ".deps/sound.Po"; else rm -f ".deps/sound.Tpo"; exit
1; fi
sound.c:165:28: alsa/asoundlib.h: No such file or directory
sound.c:167: error: syntax error before '*' token
sound.c:167: warning: type defaults to `int' in declaration of
`pcm_handleplay'
sound.c:167: warning: data definition has no type or storage class
sound.c:168: error: syntax error before '*' token
sound.c:168: warning: type defaults to `int' in declaration of
`pcm_handlecapt'
sound.c:168: warning: data definition has no type or storage class
sound.c:170: error: syntax error before '*' token
sound.c: In function `set_hw_ALSA':
sound.c:173: error: `snd_pcm_hw_params_t' undeclared (first use in this
function)
sound.c:173: error: (Each undeclared identifier is reported only once
sound.c:173: error: for each function it appears in.)
sound.c:173: error: `hwparams' undeclared (first use in this function)
sound.c:176: error: syntax error before "period_frames"
sound.c:179: warning: implicit declaration of function
`snd_pcm_hw_params_alloca'
sound.c:182: warning: implicit declaration of function
`snd_pcm_hw_params_any'
sound.c:182: error: `pcm_handle' undeclared (first use in this function)
sound.c:187: warning: implicit declaration of function
`snd_pcm_hw_params_set_access'
sound.c:187: error: `SND_PCM_ACCESS_RW_INTERLEAVED' undeclared (first use
in this function)
sound.c:192: warning: implicit declaration of function
`snd_pcm_hw_params_set_format'
sound.c:192: error: `SND_PCM_FORMAT_S16_LE' undeclared (first use in this
function)
sound.c:200: warning: implicit declaration of function
`snd_pcm_hw_params_set_rate_near'
sound.c:208: warning: implicit declaration of function
`snd_pcm_hw_params_set_channels'
sound.c:213: warning: implicit declaration of function
`snd_pcm_hw_params_get_buffer_time_max'
sound.c:217: error: `period_frames' undeclared (first use in this function)
sound.c:217: error: `buffer_frames' undeclared (first use in this function)
sound.c:219: warning: implicit declaration of function
`snd_pcm_hw_params_set_period_time_near'
sound.c:220: warning: implicit declaration of function
`snd_pcm_hw_params_set_period_size_near'
sound.c:222: warning: implicit declaration of function
`snd_pcm_hw_params_set_buffer_time_near'
sound.c:223: warning: implicit declaration of function
`snd_pcm_hw_params_set_buffer_size_near'
sound.c:225: warning: implicit declaration of function `snd_pcm_hw_params'
sound.c: In function `init_ALSA':
sound.c:237: warning: implicit declaration of function `snd_pcm_open'
sound.c:237: error: `SND_PCM_STREAM_PLAYBACK' undeclared (first use in
this function)
sound.c:243: error: `SND_PCM_STREAM_CAPTURE' undeclared (first use in this
function)
sound.c: In function `uninit_ALSA':
sound.c:253: warning: implicit declaration of function `snd_pcm_close'
sound.c: In function `play_ALSA':
sound.c:260: warning: implicit declaration of function `snd_pcm_writei'
sound.c:261: warning: implicit declaration of func

Re: Question re ncurses and the various ttys

2006-10-12 Thread Raaf
> Hi all
> 
> I've been digging around in the various man pages and havent yet found
> the 
> incantations I require.
> 
> Goal: to create a curses driven status screen that can run without user
> intervention.
> 
> I want to know if it is possible to _programatically_ switch to an
> unused 
> virtual tty,

Yes it is certainly possible, i have done this recently myself and like
you i couldn't find how to do it in any man page. Fortunately i could find
the answer in the xorg-server source code.

You just open one of the virtual terminals and issue the VT_ACTIVATE
ioctl:

fd = open("/dev/ttyv9",O_RDONLY);
ioctl(fd,VT_ACTIVATE,10);

> and then use this as the display page.
> ( By unused I mean marked 'off' in /etc/ttys )


Well, the above code only switches the active vt...

If you want your program output to go to a certain vt you probably have
to open the specific vt and replace the stdin and stdout file descriptors
of your program with the one of the one of the vt you just opened.

But there are probably some caveats to this method, so best is to take a
look at the getty source code and maybe add your program to /etc/ttys.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RHEL 4 slave NIS server setup problem

2006-10-12 Thread Simon Gao
Hi,

Hope someone can help me here.

We have a NIS master server running on FreeBSD 4.11. RHEL clients can
bind to the server without any problem. Now I want to add another nis
slave server using RHEL 4.

When I issued command "/usr/lib/yp/ypinit -s ", I got following
errors:



We will need a few minutes to copy the data from .
Transferring passwd.byuid...
Trying ypxfrd ...rpc.ypxfrd doesn't support the needed database type
call to rpc.ypxfrd failed: RPC: Can't decode result

 (failed, fallback to enumeration)

Transferring passwd.byname...
Trying ypxfrd ...rpc.ypxfrd doesn't support the needed database type
call to rpc.ypxfrd failed: RPC: Can't decode result

 (failed, fallback to enumeration)

Transferring group.bygid...
Trying ypxfrd ...rpc.ypxfrd doesn't support the needed database type
call to rpc.ypxfrd failed: RPC: Can't decode result

 (failed, fallback to enumeration)

Transferring group.byname...
Trying ypxfrd ...rpc.ypxfrd doesn't support the needed database type
call to rpc.ypxfrd failed: RPC: Can't decode result

 (failed, fallback to enumeration)

Transferring services.byname...
Trying ypxfrd ...rpc.ypxfrd doesn't support the needed database type
call to rpc.ypxfrd failed: RPC: Can't decode result

 (failed, fallback to enumeration)

Transferring rpc.bynumber...
Trying ypxfrd ...rpc.ypxfrd doesn't support the needed database type
call to rpc.ypxfrd failed: RPC: Can't decode result

 (failed, fallback to enumeration)

Transferring rpc.byname...
Trying ypxfrd ...rpc.ypxfrd doesn't support the needed database type
call to rpc.ypxfrd failed: RPC: Can't decode result

 (failed, fallback to enumeration)

Transferring protocols.byname...
Trying ypxfrd ...rpc.ypxfrd doesn't support the needed database type
call to rpc.ypxfrd failed: RPC: Can't decode result

 (failed, fallback to enumeration)

Transferring networks.byname...
Trying ypxfrd ...rpc.ypxfrd doesn't support the needed database type
call to rpc.ypxfrd failed: RPC: Can't decode result

 (failed, fallback to enumeration)

Transferring protocols.bynumber...
Trying ypxfrd ...rpc.ypxfrd doesn't support the needed database type
call to rpc.ypxfrd failed: RPC: Can't decode result

 (failed, fallback to enumeration)

Transferring hosts.byaddr...
Trying ypxfrd ...rpc.ypxfrd doesn't support the needed database type
call to rpc.ypxfrd failed: RPC: Can't decode result

 (failed, fallback to enumeration)

Transferring netid.byname...
Trying ypxfrd ...rpc.ypxfrd doesn't support the needed database type
call to rpc.ypxfrd failed: RPC: Can't decode result

 (failed, fallback to enumeration)

Transferring networks.byaddr...
Trying ypxfrd ...rpc.ypxfrd doesn't support the needed database type
call to rpc.ypxfrd failed: RPC: Can't decode result

 (failed, fallback to enumeration)

Transferring ypservers...
Trying ypxfrd ...rpc.ypxfrd doesn't support the needed database type
call to rpc.ypxfrd failed: RPC: Can't decode result

 (failed, fallback to enumeration)

Transferring hosts.byname...
Trying ypxfrd ...rpc.ypxfrd doesn't support the needed database type
call to rpc.ypxfrd failed: RPC: Can't decode result

 (failed, fallback to enumeration)


faith.schrodinger.com's NIS data base has been set up.
If there were warnings, please figure out what went wrong, and fix it.

At this point, make sure that /etc/passwd and /etc/group have
been edited so that when the NIS is activated, the data bases you
have just created will be used, instead of the /etc ASCII files.


Is it required to have the same nis map data file type on both master
and slave? How to make maps transfer from FreeBSD to Linux correctly?

Simon

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ltdl library problems

2006-10-12 Thread Chuck Swiger

On Oct 12, 2006, at 1:48 PM, Aaron P. Martinez wrote:
I am trying to compile a program called gyachi on my freebsd 6.1  
machine and am having a ton of problems.  I consulted the gyachi  
forums but most people there are running on one flavor of linux or  
another, nobody has it on freebsd that i can tell, so now i am  
turning here.
at first my configure would stop at alsa, even though i have the  
linux-compatible alsa programs, so then i used the --with-esd  
switch and now i'm getting stopped with the following error:  
checking for lt_dlopen in -lltdl... no configure: error: cannot  
find ltdl library I have libtool installed and and under /usr/local/ 
lib i have: libltdl.a libltdl.la libltdl.so libltdl.so.4 I tried  
using the --with-libintl-prefix switch like so: ./configure -- 
enable-esd --with-gnu-ld --with-libintl-prefix=/usr/local it's  
still not finding it, same error again.


Assuming you use a Bourne-compatible shell, try:

	LDFLAGS=-L/usr/local/lib CPPFLAGS=-I/usr/local/include ./configure -- 
enable-esd [ ... ]


If you use csh, use setenv to export the above variables.

--
-Chuck

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Problems with ipfw and ssh

2006-10-12 Thread Spiros Papadopoulos

Thanks,

On 12/10/06, Chris <[EMAIL PROTECTED]> wrote:


The thing is... I generally have the kernel setup to allow by default.
Then I
create rules denying traffic as I either know up front, or can deduct from
logging a last rule denying traffic.



IE: the rule you have set to allow any, my same rule is deny any. This way I

can create allow and deny rules earlier, then view my log to see what
items
are still being denied via /var/log/security

This will allow you to concentrate on what items may be causing the
problem.

I know I had some issues with IPFW working for about 15 minutes, then
dying.
It was due to me not having any rules allowing MAC, or layer2 traffic.
You'll
see this if you set your logging up properly with an ending rule just
before
the last one.



I see.. Yes, what you suggest is a better idea and i think now is even more
clear why the manual suggests to start by allowing everything
I had it different in my mind but still i don't think i wasted my time.
I also have in mind about the layer2, ARP etc traffic and i also think of
using snort's output to create better rules.
However I stuck with the ssh rule since i mainly want to work remotely on
this.
I will go for it in the way you suggest.

Thanks,
Spiros

p.s. Apologies for messing with the receipients..I tried not to include ipfw
list after the first post, but
it was in someone's reply to me..etc..sorry

On Thursday 12 October 2006 20:22, Spiros Papadopoulos wrote:

Thanks for your replies,

On 12/10/06, *Chris* <[EMAIL PROTECTED]> wrote:
>If you have your kernel set to deny all by default, you can set a rule
number
>65534 to allow any to any

>as rule 65535 will deny any to any

>Then work your way back from there.

Could you please make the above last part of your though more clear for

me?


I already have done what you said and i can su normally.
So there is definitely something that must be allowed before which i am

not

aware of
and from the messages and behaviour i get i cannot identify.

On 12/10/06, vladone <[EMAIL PROTECTED]> wrote:
>
> Hello Spiros,
>
> Thursday, October 12, 2006, 12:53:28 AM, you wrote:
>
> > Hi,
>
> > I am trying to configure a firewall using ipfw for a machine running
> FreeBSD
> > 5.4.
> > Without NAT.
>
> > I am nearly a newbie on this (since i never had time until now..) but
> still
> > i believe i understand exactly the
> > concepts and what needs to be done.
> > Except the manual page and chapter 26.1 in the handbook I am using

good

> > references such as:
> > http://www.freebsd-howto.com/HOWTO/Ipfw-HOWTO
>
> > I need to connect remotely to the machine using ssh and this is where

i

> get
> > the problem:
>
> > Initially i can connect properly using a normal user account.
> > When later i am trying to su to root it does nothing and the

connection

> > closes.
>
> > I have ipfw enabled in the kernel to deny everything by default.
> > I have used both (one at a time) the following rules concerning ssh,

in

> > /etc/ipfw.rules
> > and also other combinations, such as taking off setup and keep-state

etc

> etc
> > which would then make my firewall stateless as far as i understood,
> which is
> > something i don't want anyway.
>
> > ${addcmd} 300 allow log logamount 5 tcp from any to me 22 setup
> keep-state
> > -
> > ${addcmd} 300 allow log logamount 5 tcp from any to any ssh keep-state
>
> > In a first investigation (not thorough) i found this post:
> > http://www.freebsdforums.org/forums/showthread.php?t=21876
> > where from, i cannot realize what is wrong or how to fix this.
>
> > I run the sshd in debug mode and below is the portion, for when i am
> trying
> > to su to root
>
> > /* sshd -d */
> > Write failed: Permission denied
> > debug1: do_cleanup
> > debug1: PAM: cleanup
> > debug1: do_cleanup
> > debug1: PAM: cleanup
> > debug1: session_pty_cleanup: session 0 release /dev/ttyp7
>
> > And here are related logs:
>
> > /* line from /var/log/messages */
> > Oct 11 20:25:54 username sshd[26251]: fatal: Write failed: Permission
> denied
>
> > /* /var/log/auth.log */
> > Sep 26 11:17:34 username sshd[50073]: Connection from

xxx.xxx.xxx.xxport

> > 1545
> > Sep 26 11:17:46 username sshd[50073]: Accepted

keyboard-interactive/pam

> for
> > user from xxx.xxx.xxx.xx port 1545 ssh2
> > Sep 26 10:17:49 username su: user to root on /dev/ttyp4
> > Sep 26 11:17:51 username sshd[50068]: Read error from remote host
> > xxx.xxx.xxx.xx: Connection reset by peer
> > Sep 26 13:29:40 username sshd[50076]: Read error from remote host
> > xxx.xxx.xxx.xx: Operation timed out
>
> > Is it trying to write to a
> > socket? I cannot see what is trying to do and the permission is denied
> > (of course maybe it is in front of me..but..)
> > Could anyone please advice?
>
> > Thanks in advance
> > Spiros
> > ___
> > freebsd-ipfw@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-ipfw
> > To unsubscribe, send any mail to
> > "[EMAIL PROTECTED]"
> Isn

ltdl library problems

2006-10-12 Thread Aaron P. Martinez
I am trying to compile a program called gyachi on my freebsd 6.1 machine 
and am having a ton of problems.  I consulted the gyachi forums but most 
people there are running on one flavor of linux or another, nobody has 
it on freebsd that i can tell, so now i am turning here.


at first my configure would stop at alsa, even though i have the 
linux-compatible alsa programs, so then i used the --with-esd switch and 
now i'm getting stopped with the following error: 

checking for lt_dlopen in -lltdl... no 
configure: error: cannot find ltdl library 

I have libtool installed and and under /usr/local/lib i have: 

libltdl.a libltdl.la libltdl.so libltdl.so.4 

I tried using the --with-libintl-prefix switch like so: 

./configure --enable-esd --with-gnu-ld --with-libintl-prefix=/usr/local 

it's still not finding it, same error again.  

I looked in the readme for libltdl and here is what it says: 
/usr/local/share/libtool/libltdl]# less README 
This is GNU libltdl, a system independent dlopen wrapper for GNU libtool. 

It supports the following dlopen interfaces: 
* dlopen (Solaris, Linux and various BSD flavors) 
* shl_load (HP-UX) 
* LoadLibrary (Win16 and Win32) 
* load_add_on (BeOS) 
* GNU DLD (emulates dynamic linking for static libraries) 
* dyld (darwin/Mac OS X) 
* libtool's dlpreopen


Just one other note, like the fedora guys that got their's working by 
linking /usr/local/share/libtool/libltdl/ltdl.h to /usr/include this 
does not fix the problem on my system. i get the exact same error.  

checking for lt_dlopen in -lltdl... no 
configure: error: cannot find ltdl library


I'd really like to get this working if possible (and i'm sure it is) all 
help would be appreciated. I can submit my config.log if that would help.  

Thanks in advance. 


Aaron
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Openssl 0.9.8c woes

2006-10-12 Thread Mark

What is up with openssl 0.9.8c? Or rather, with me installing it. :) I
compiled it, installed it, and everything went seemingly well.. until I
used it: (recompiled) httpd core dumps the moment it tries and load a
certificate; same with stunnel, which really trips saying function are
being called that really shouldn't be called (?).

Apache (1.3.37), php4.4.4 and all related stuff recompiled against the new
openssl (confirmed with ldd). And all seem to need:

/usr/local/lib/libssl.so.4
/usr/local/lib/libcrypto.so.4

Which are there:

-r--r--r-- 1 root wheel 263434 Oct 12 08:14 /usr/local/lib/libssl.so.4
-r--r--r-- 1 root wheel 1337303 Oct 12 08:14 /usr/local/lib/libcrypto.so.4

Is there something in the openssl upgrade process I'm missing? Ought to be
a real straghtforward process. Things have a way of not being, though. :)

Thanks,

- Mark

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Prevent process in disk wait

2006-10-12 Thread Daniel Bye
On Thursday 12 October 2006 13:44, Chris (Chris 
<[EMAIL PROTECTED]>), said:
> On Oct 12, 2006, at 5:18 AM, FreeBSD-Questions wrote:
> > Hello list,
> >
> > While installing the Ruby port on a 6.1-Release system (uname -a
> > ...
> > 37788  p0  DL+   39:43.11 ./ruby18 ./bin/rdoc --all --ri --op
> > /usr/local/share/ri/1.8/system .
> >
> > The system is an old Pentium 5 with a standard IDE drive. Is there a
>
> When I installed portupgrade last weekend, it seemed to have ruby as
> a dependency and hung for many hours at the exact same point.

portupgrade is written in Ruby, so this is to be expected.

> The 
> display of the make was stopped on ri. In looking at top, I noted
> that swap file was being used heavily. This particular system was a
> Pentium 500Mhz with only 128M. I attributed the problem to data IO
> and swap IO contention. After about 4, maybe 5 hours at that one
> spot, it did complete.

This is the stage during the build where the Ruby documentation is built.  It 
is apparently a very memory-hungry part of the build... If you don't want the 
Ruby docs, or are happy to use the online versions at ruby-lang.org, then you 
can set WITHOUT_RDOC to prevent the indexing process, or you can use 
NOPORTDOCS when building Ruby.  There are several ways to do this, depending 
on what tools you use for your ports management.  I would probably do 
something like this in /etc/make.conf:

.if ${.CURDIR:M*/lang/ruby18}
WITHOUT_RDOC=1
.endif

This approach seems to work, no matter what tools you use.

Dan

-- 
Daniel Bye

PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: D349 B109 0EB8 2554 4D75  B79A 8B17 F97C 1622 166A


pgpxvQ6allZZY.pgp
Description: PGP signature


Re: Hard Drive Issues

2006-10-12 Thread David Kelly
On Thu, Oct 12, 2006 at 06:54:53PM +0100, Spiros Papadopoulos wrote:
> 
> Since as you say everything is working, maybe it is a good idea to
> take a look and run the fsck command at least it may give you some
> more information, which you can post in order to get better answers

That too, but first I'd start with sysutils/smartmontools and see what
the drive and its built-in log says.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


gif questions

2006-10-12 Thread Chris
In 14.10, it appears the description of setting up the VPN tunnel is  
built on a box
directly connected to the internet. The tunnel I'm trying to design  
is one level back
since the ISP router provides private address space host-mapped on  
the router.
Additionally, the example shows the creation of a tunnel for a single  
network and

I'm trying to accommodate multiples. So the questions are:

1. If one has private address host-mapped to the public IP by the ISP  
router,

should the tunnel reference the actual interface address as in:

ifconfig gif0 192.168.1.2 W.X.Y.Z
ifconfig gif0 inet 192.168.2.1 192.168.3.1 netmask 0x

where:
192.168.1.2 is the private address host-mapped to public via the  
local router

W.X.Y.Z is the host mapped public address on the other end
192.168.2.1 is the backend interface of this end's server
192.168.3.1 is the remote server's backend NIC.

...or should the 192.168.1.2 be given as the resultant public IP?

2. When creating tunnels to multiple locations, is the  
net.link.gif.parallel_tunnels
sysctl required? I was unclear if that is what's needed to have gif0,  
gif1 etc. or
if parallel as referenced in man gif means something other than peer  
level

tunnels.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Question re ncurses and the various ttys

2006-10-12 Thread Derek Ragona

You should be able to do this, provided the perms are set right on that device.

-Derek


At 10:24 PM 10/11/2006, Murray Taylor wrote:

Hi all

I've been digging around in the various man pages and havent yet found
the
incantations I require.

Goal: to create a curses driven status screen that can run without user
intervention.

I want to know if it is possible to _programatically_ switch to an
unused
virtual tty, and then use this as the display page.
( By unused I mean marked 'off' in /etc/ttys )

So if I set ttyv7 to off, can I launch a program (possibly from
a cold boot) that selects tty7 ( ie the now getty-less terminal ),
possibly sets the rows and cols like th ecommand line vidcontrol can,
and then continues executing a curses app ?

I can write the curses bit.

Can I execute vidcontrol(1) via a system(3) call and make it stick after
the
call returns or does it only affect the environment within the call.

Can I programtically do the same as Alt-F8 to preselect my screen?
Will the curses output go onto this selected screen or would it go
to the initial console screen? (Hmm maybe that is part of the answer,
in the form of "Does curses output only go to the current console?"

( ... am I even on the right track ?? )



Murray Taylor

Special Projects Engineer
Bytecraft Systems

--

"Any intelligent fool can make things bigger and more complex... It
takes a
touch of genius - and a lot of courage to move in the opposite
direction."
--Albert Einstein

---
The information transmitted in this e-mail is for the exclusive
use of the intended addressee and may contain confidential
and/or privileged material. Any review, re-transmission,
dissemination or other use of it, or the taking of any action
in reliance upon this information by persons and/or entities
other than the intended recipient is prohibited. If you
received this in error, please inform the sender and/or
addressee immediately and delete the material.

E-mails may not be secure, may contain computer viruses and
may be corrupted in transmission. Please carefully check this
e-mail (and any attachment) accordingly. No warranties are
given and no liability is accepted for any loss or damage
caused by such matters.
---

### This e-mail message has been scanned for Viruses by Bytecraft ###
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Hard Drive Issues

2006-10-12 Thread Spiros Papadopoulos

On 12/10/06, Justin <[EMAIL PROTECTED]> wrote:


Greetings,

I'm getting the following errors on the terminal:

ad1: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=186691903
ad1: FAILURE - READ_DMA status=51 error=84
LBA=186691903
g_vfs_done():ad1s1d[READ(offset=95586222080, length=49152)]error = 5

And similar, with the LBA number, offset number, and error=84 changes to
error=10.

The hard disk drives and data seem to be remaining intact and
working.  Can
someone direct me as to what these errors mean, and if they are serious?

Regards,

Justin P. Michel



Since as you say everything is working, maybe it is a good idea to
take a look and run the
fsck command
at least it may give you some more information, which you can post in order
to get better answers

___

freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "
[EMAIL PROTECTED]"





--
Spiros Papadopoulos
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Problems with ipfw and ssh

2006-10-12 Thread Spiros Papadopoulos

Hi again,

On 12/10/06, Garrett Cooper <[EMAIL PROTECTED]> wrote:

Based on all the docs I've read about using ipfw, you should put
"ipfw allow all any from any via lo0" somewhere at the top of your
script so all traffic can and will be sent via lo0.

I think you are talking about the line below, is this right?

/sbin/ipfw -q add 50 allow all from any to any via lo0

It is there.. this is the first line to be met by packets in my
/etc/ifpw.rules script
it is also one of the default rules coming in /etc/rc.firewall script
...where i copied it from.

On 12/10/06, *Chris - WEBignite* <[EMAIL PROTECTED]> wrote:

I've actually just started seeing this same error. I do have a rule set for
local 127.0.0.1 and an allow for layer2 traffic.



Oct 11 23:59:02 firewall sshd[49200]: fatal: Write failed: Permission

denied


I get this error when updating my firewall rules via ssh. Any current ssh
connections are dropped, but I'm able to reinitiate a new connection

without

trouble.


Could you please let me know what FreeBSD version you are using?

On 12/10/06, *Giorgos Keramidas* <[EMAIL PROTECTED]> wrote:

Yes.  See above.  The `ipfw -d show' command shown there was
after I looped using SSH from my workstation to another system
and back again.



Sorry i will not be able to reply again tonight



No problem. Take your time. There is definitely a logical
explanation why this is happening, even if that explanation is
`there is a bug in ipfw and 5.4' :)


I turned on the laptop and now everything is working again, as i initially
described (I don't have a clue of what happened yesterday)

I can ssh the machine as a normal user but cannot su to root.
When trying, (from a win machine) with putty it freezes immediately after i
enter the root password
and the message below is produced on the freebsd box

Oct 12 17:58:52 user sshd[838]: fatal: Write failed: Permission denied

It is sshd that produces the above, but still i cannot identify what is it
trying to do and why permission is denied.
I have the option PermitRootLogins=No in my /etc/ssh/sshd_config file, but
it was working properly before I enable ipfw

Do you think it is a good idea to take ipfw out of the kernel and try
enabling it from /etc/rc.conf?
Anyway i think i should wait a little more before i proceed with this
Do you think that this is a bug?

Thanks in advance
Spiros
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Hard Drive Issues

2006-10-12 Thread Garrett Cooper
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Lowell Gilbert wrote:
> Garrett Cooper <[EMAIL PROTECTED]> writes:
> 
>> Justin wrote:
>>> Greetings,
>>>  
>>> I'm getting the following errors on the terminal:
>>>  
>>> ad1: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=186691903
>>> ad1: FAILURE - READ_DMA status=51 error=84
>>> LBA=186691903
>>> g_vfs_done():ad1s1d[READ(offset=95586222080, length=49152)]error = 5
>>>  
>>> And similar, with the LBA number, offset number, and error=84 changes to
>>> error=10.
>>>  
>>> The hard disk drives and data seem to be remaining intact and working.  Can
>>> someone direct me as to what these errors mean, and if they are serious?
>>>  
>>> Regards,
>>>  
>>> Justin P. Michel
>> Based on your error message it appears that data is getting corrupted in
>> transit on whatever channel you're using for your drives. Have you tried
>> using the disk on another channel by chance, or tried another disk on
>> the same channel?
>> -Garrett
> 
> Or cables; any chance you've broken (over-bent) an ATA cable lately?

True.. forgot about that ><.
- -Garrett
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFLne96CkrZkzMC68RAtLoAJwKwjpHHyrUpjE8E6r7hJnGYb6iggCggBLq
4GNastrONxN0d5PFuksa6bo=
=CanV
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Hard Drive Issues

2006-10-12 Thread Lowell Gilbert
Garrett Cooper <[EMAIL PROTECTED]> writes:

> Justin wrote:
>> Greetings,
>>  
>> I'm getting the following errors on the terminal:
>>  
>> ad1: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=186691903
>> ad1: FAILURE - READ_DMA status=51 error=84
>> LBA=186691903
>> g_vfs_done():ad1s1d[READ(offset=95586222080, length=49152)]error = 5
>>  
>> And similar, with the LBA number, offset number, and error=84 changes to
>> error=10.
>>  
>> The hard disk drives and data seem to be remaining intact and working.  Can
>> someone direct me as to what these errors mean, and if they are serious?
>>  
>> Regards,
>>  
>> Justin P. Michel
>
> Based on your error message it appears that data is getting corrupted in
> transit on whatever channel you're using for your drives. Have you tried
> using the disk on another channel by chance, or tried another disk on
> the same channel?
> -Garrett

Or cables; any chance you've broken (over-bent) an ATA cable lately?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: dictionaries/spellchecking

2006-10-12 Thread Michael S
Thanks a lot, it worked
--- Simon Phoenix <[EMAIL PROTECTED]> wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA512
> 
> Michael S said the following on 11.10.2006 15:13:
> > Good day all.
> > 
> > I am trying to install additional dictionaries for
> > spellcking in OpenOffice. Trying to do so using
> File
> > -> Wizards -> Install new dictionaries yielded no
> > results.
> > Which is the correct way to do it?
> > 
> > Michael
> 
> 1)Download
>
http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries/DicOOo.sxw
> 
> 2) Open this file in OO. (Macroses must be allowed
> for this file).
> 
> 3) Select language and install dictionaries by
> wizard.
> 
> - --
> Best regards,
> Simon Phoenix (Phoenix Lab.)
> -
>
---
> KeyID: 0x2569D30B
> Fingerprint: 78FC 5C40 07CC D331 148E CC79 84B8 D514
> 2569 D30B
> -
>
---
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.5 (FreeBSD)
> Comment: Using GnuPG with Mozilla -
> http://enigmail.mozdev.org
> 
>
iD8DBQFFLiD8hLjVFCVp0wsRCvG6AKDFUmkuxLsFDrKBkX+32Mxy2puTPwCfSu19
> gvKs4WbzNft9/YYIUkT0T9s=
> =oQAD
> -END PGP SIGNATURE-
> ___
> freebsd-questions@freebsd.org mailing list
>
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
> 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Hard Drive Issues

2006-10-12 Thread Garrett Cooper
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Justin wrote:
> Greetings,
>  
> I'm getting the following errors on the terminal:
>  
> ad1: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=186691903
> ad1: FAILURE - READ_DMA status=51 error=84
> LBA=186691903
> g_vfs_done():ad1s1d[READ(offset=95586222080, length=49152)]error = 5
>  
> And similar, with the LBA number, offset number, and error=84 changes to
> error=10.
>  
> The hard disk drives and data seem to be remaining intact and working.  Can
> someone direct me as to what these errors mean, and if they are serious?
>  
> Regards,
>  
> Justin P. Michel

Based on your error message it appears that data is getting corrupted in
transit on whatever channel you're using for your drives. Have you tried
using the disk on another channel by chance, or tried another disk on
the same channel?
- -Garrett
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFLl456CkrZkzMC68RApN2AJ4/ltFmC3SJCCh1eER+Q+Ehh3yTUwCfU5xl
7xaFtfqG4hIR6+F8quyJWS4=
=sYIE
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Hard Drive Issues

2006-10-12 Thread Jerry McAllister
On Thu, Oct 12, 2006 at 10:27:13AM -0400, Justin wrote:
> Greetings,
>  
> I'm getting the following errors on the terminal:
>  
> ad1: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=186691903
> ad1: FAILURE - READ_DMA status=51 error=84
> LBA=186691903
> g_vfs_done():ad1s1d[READ(offset=95586222080, length=49152)]error = 5
>  
> And similar, with the LBA number, offset number, and error=84 changes to
> error=10.
>  
> The hard disk drives and data seem to be remaining intact and working.  Can
> someone direct me as to what these errors mean, and if they are serious?

Hmmm.I don't know all the disk codes and messages, but my practice
is to be really nervous about disks and data and any time new error
messages show up, just replace the disk.  They are so much cheaper
than the data that might get lost.

Hopefully someone else can give you specific information, but
that is my general perspective.

jerry

>  
> Regards,
>  
> Justin P. Michel
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: requesting help to make sound work on thin/diskless client

2006-10-12 Thread Doug Poland
On Tue, Oct 10, 2006 at 05:28:36PM -0500, Raymond Gibson wrote:
> On Monday 09 October 2006 19:43, Doug Poland wrote:
> > On Mon, Oct 09, 2006 at 04:00:23PM -0500, Raymond Gibson wrote:
> > >
> > > I'm looking for help. I built a thin/diskless client that I boot
> > > via etherboot. After power up the client boots and gives me a
> > > login prompt. At that time I enter 'root' and I am presented with
> > > a command prompt. I then enter 'X -query ' and X starts
> > > and it works as expected.
> > >
> > > I would like to add sound. Unfortunately, I can't find
> > > documentation describing this process. So, could someone explain
> > > to me how to configure the client/server? My server is FreeBSD
> > > 6.1-RELEASE.
> > >
> > > BTW: I installed an ISA soundblaster sound and compiled these
> > > lines into my kernel. The kernel detects the sound card during
> > > boot-up.
> > >
> > > # Add the generic audio driver
> > > device  sound
> > > device  snd_sbc
> > > device  snd_sb16
> >
> > I have had good results using /usr/ports/audio/esound.  Install on
> > both the client and the server.  On the client, run something like
> > this before you start X:
> >
> >  client% esd -tcp -public -promiscuous -beeps -trust -bind 10.0.0.1
> >
> > where 10.0.0.1 is the IP address of the client's network interface.
> >
> > Connect to the server just as you have described.  When ever you run
> > a program that has esd support compiled in, the audio will be
> > directed to the client.
> >
> > Programs compiled with ESD support appear to direct sound to the
> > host indicated by the DISPLAY environment variable.  That should set
> > correctly if the server you're attaching to is running xdm, gdm, or
> > kdm.
> >
> > You may also have to set ESPEAKER, but I've found that just DISPLAY
> > works for me.
> 
> I'm not having much luck. I installed esound on both client and
> server.  I start esound on the server; esd &, the server responds with
> several beeps.  On the client I start esd as described above, I also
> hear beeps when esd starts.
>
> I start X, then login to KDE.
> I start Xmms with esound enabled. I get an error saying 'can't open audio'.
> 
> any ideas?
> 
Couple of things.

1.  Make sure sound works on your client to begin with.  The handbook
has good instructions if you need them.

2.  After you've started esd on the client, make sure it's actually
listening on the correct port.  On my client, this is what I see:

host% sockstat -l4
USER COMMANDPID   FD PROTO  LOCAL ADDRESS FOREIGN ADDRESS
root Xorg   6583  3  tcp4   *:6000*:*
root Xorg   6583  5  udp4   *:50689   *:*
dpoland  esd642   3  tcp4   10.0.0.1:16001*:*

3.  On the server, you don't actually run esd, just an app with esd
support compiled in.

4.  Finally, the fact that you're using KDE is *probably* the issue.
KDE uses arts for sound processing, and IIRC, doesn't play well with
esd.  Since I do not run KDE, I cannot advise you further on how to
redirect sound in that environment.  However, there are thousands of KDE
users out there and I'm sure google will turn up something.

HTH,

-- 
Regards,
Doug
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Hard Drive Issues

2006-10-12 Thread Justin
Greetings,
 
I'm getting the following errors on the terminal:
 
ad1: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=186691903
ad1: FAILURE - READ_DMA status=51 error=84
LBA=186691903
g_vfs_done():ad1s1d[READ(offset=95586222080, length=49152)]error = 5
 
And similar, with the LBA number, offset number, and error=84 changes to
error=10.
 
The hard disk drives and data seem to be remaining intact and working.  Can
someone direct me as to what these errors mean, and if they are serious?
 
Regards,
 
Justin P. Michel


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


ports adding users

2006-10-12 Thread Jonathan McKeown
This is, I guess, a philosophical question.

Twice in the last couple of weeks I have been bitten by ports adding users or 
groups. In setting up my laptop, I created my user account in sysinstall 
without creating my group. My ~ was created with the GID corresponding to my 
UID, but in building KDE, comms/gnokii used pw groupadd and was allocated 
`my' GID, resulting in my ~ being group-owned by gnokii.

More seriously, we are moving our user accounts into LDAP and I now have a 
problem on a server where I installed net/isc-dhcp3-server before configuring 
pam_ldap and nss_ldap. As a result the dhcpd user (in /etc/passwd) and one of 
my user accounts (in LDAP) have the same UID and GID. Disentangling these is 
going to be... interesting.

After some digging about, I see I can effectively reserve a block of UIDs/GIDs 
by starting my UID numbering at (1001 + x), and creating /etc/pw.conf with

reuseuids yes
reusegids yes

to use the UIDs/GIDs between 1000 and (1000 + x) (otherwise pw just allocates 
a UID/GID higher than any in use, which puts it right back in my reserved 
range). Perhaps I should also set the maxuid/maxgid options too, just in 
case?

That's one option.

Another is to expect dozens of busy port maintainers to cover for me by 
reserving UIDs/GIDs instead of creating random users.

Another is to arrange somehow that the ports infrastructure provide a pw.conf 
which can be used when pw is called by ports, that limits the range of 
UIDs/GIDs that a port can be allocated so that it doesn't overlap with the 
range generally used for user accounts.

Thoughts?

Jonathan
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Initio SCSI Controller & FreeBSD 6.1 Release

2006-10-12 Thread Grant Peel
Hi all,

I have a number of servers that use SCSI drives.

I purchased a 'Star Teck' SCSI controller (PCI Bus Connection), about a year 
ago.

Some research shows that this controller is an 'Initio PCISCSIU2W" controller.

I have found out yesterday that none of the drivers loaded in the GENERIC 
Kernel support this device.

I tried doing some searches yesterday, and found some hacks and patches that 
clain to support it, but they were from FBSD 3 -4 and do not work.

Somehow, the answer lies in the driver 'iha' or 'iha0' that I can't seem to 
find.

Is there an add on device driver for this card that anyone is aware of?

Answers,m advice and hints all welcome.

-Grant
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: OOo-204rc3, package

2006-10-12 Thread Eric Schuele

On 10/11/06 23:52, Gary Kline wrote:

On Wed, Oct 11, 2006 at 09:05:16PM -0500, Eric Schuele wrote:

On 10/10/06 16:09, Gary Kline wrote:

Is there a means of downloading the 2.0.4rc3 package for
openoffice?   The latest on the OO website is 2.0.3.  portupgrade
	shrugs.   


Try here:
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/All/

Then search for openoffice.  There appears to be:
 openoffice.org-1.0.3_7.tbz 61241 KB09/26/06
 openoffice.org-2.0.20060928.tbz114724 KB   10/09/06
 openoffice.org-2.0.4.rc3.tbz   114277 KB   10/08/06



Oustanding, thanjs much indeed!  Now, dumb questions dept:
	do I just type 

	# fetch ftp://ftp.freebsd.org// 
	for the last one, -2.0.4.rc3.tbz?  Or what?  I've never 
	retrived the OOo package before.   ...Not that that's much of
	an excuse... . 



You could:
 - copy the above URL into your favorite web browser, then scroll down 
to the file of choice.
 - Use your favorite FTP client.  Go to ftp.freebsd.org... navigate the 
dirs.

 - Use fetch(1) and append the filename to the end of the URL.

Any of the above should get you the file.  Then you can use pkg_add(1) 
to install it.


I used the *.2.0.20060928.tbz myself.  It produces some version of 
2.0.4.  I assume (right or wrong) it is a little more recent than the 
release candidate.



HTH,
Eric


I think this is the last thing to replace/upgrade.

thanks, people,

gary







___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ntpd with flags in rc.conf

2006-10-12 Thread Alex Zbyslaw

Zbigniew Szalbot wrote:

I have a question about ntpd. HOw is the time adjusted? Gradually over 
time? Because I can see 30-second difference between my pc and FBSD 
machine. Will it be minimized in the longer run? Thanks!


You're best off directing followup questions back to freebsd-questions 
as you may well get answers quicker than if you just ask me!


ntpd adjusts time slowly, but the -g option should make it set the time 
correctly when it starts from when it should keep in sync.  Set --g in 
your ntpd_flags and then as root run


   sh /etc/rc.d/ntpd restart

With -g it can still take a while (several minutes) before ntpd trusts 
its servers enough to set the time,  Many people, I believe, use ntpdate 
to set the time once at startup and then use ntpd to keep it in sync.  
(Ignore the comment on the manual page for ntpdate about it being 
deprecated.  It has said that for a long time and shows no sign of going 
away).  I believe ntpdate will pick up servers from your ntpd.conf.


The man page for ntpd has more info on how ntpd keeps the time, and also 
check out ntpdc which can show you what ntpd is doing (which servers 
it's using and stuff).


When you say the time on your PC is 30 seconds different, do you mean a 
Windows pc?  Maybe it's the one that's wrong, or maybe your local ntpd 
isn't finding any servers.


As root:  ntpdc -c dmpeers

should get you a list of the servers ntpd is polling and a * shows the 
one it is currently trusting, if i recall.


--Alex



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Prevent process in disk wait

2006-10-12 Thread Chris


On Oct 12, 2006, at 5:18 AM, FreeBSD-Questions wrote:


Hello list,

While installing the Ruby port on a 6.1-Release system (uname -a
...
37788  p0  DL+   39:43.11 ./ruby18 ./bin/rdoc --all --ri --op
/usr/local/share/ri/1.8/system .

The system is an old Pentium 5 with a standard IDE drive. Is there a


When I installed portupgrade last weekend, it seemed to have ruby as  
a dependency and hung for many hours at the exact same point. The  
display of the make was stopped on ri. In looking at top, I noted  
that swap file was being used heavily. This particular system was a  
Pentium 500Mhz with only 128M. I attributed the problem to data IO  
and swap IO contention. After about 4, maybe 5 hours at that one  
spot, it did complete. If your situation is the same, it apparently  
needs more memory. I performed the same steps on all my other systems  
which range from 512MB to 8GB. None had any problems at that step  
except the memory deficient system. Two of the other systems also  
have old IDE drives so wasn't just disk IO but a combination of swap  
and disk IO. My solution to avoid this in the future will be to  
upgrade to at least 512M on that system and increase swap to 1G  
spread it over two drives rather than just system disk as it is now.



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Prevent process in disk wait

2006-10-12 Thread FreeBSD-Questions
Hello list,

While installing the Ruby port on a 6.1-Release system (uname -a
FreeBSD sigma.socruel.nu 6.1-RELEASE-p6 FreeBSD 6.1-RELEASE-p6 #0: Wed
Sep 20 08:40:52 CEST 2006
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SIGMA  i386) I see that the
process gets into a DL+ state:

37696  p0  IW+0:00.00 make install
37780  p0  IW+0:00.00 (sh)
37781  p0  IW+0:00.00 make -f Makefile OPENSSL_CFLAGS=-DNO_IDEA
install
37787  p0  IW+0:00.00 /bin/sh -ec ./miniruby ./runruby.rb
--extout=.ext -- "./bin/rdoc" --all --ri --op "/usr/local/share/ri/1.8
37788  p0  DL+   39:43.11 ./ruby18 ./bin/rdoc --all --ri --op
/usr/local/share/ri/1.8/system .

The system is an old Pentium 5 with a standard IDE drive. Is there a
possibility to tweak the system so that this doesn't happen or is
something terribly wrong with the system? Besides this the system is
running fine. This causes this process to take a very long time 

MTIA.

Cheers,
Lars.

 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


MDaemon Warning - Virus Found

2006-10-12 Thread IT-Administrator
The following message had attachment(s) which contained viruses:

>From  : freebsd-questions@freebsd.org
To: [EMAIL PROTECTED]
Subject   : [***SPAM*** Score/Req: 11.1/5.0] [EMAIL PROTECTED]
Date  : Thu, 12 Oct 2006 17:02:51 +0600
Message-ID: <[EMAIL PROTECTED]>

AttachmentVirus name   Action taken
--
[EMAIL PROTECTED]Email-Worm.Win32.Mydoom.m Removed


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: dictionaries/spellchecking

2006-10-12 Thread Simon Phoenix
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Michael S said the following on 11.10.2006 15:13:
> Good day all.
> 
> I am trying to install additional dictionaries for
> spellcking in OpenOffice. Trying to do so using File
> -> Wizards -> Install new dictionaries yielded no
> results.
> Which is the correct way to do it?
> 
> Michael

1)Download
http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries/DicOOo.sxw

2) Open this file in OO. (Macroses must be allowed for this file).

3) Select language and install dictionaries by wizard.

- --
Best regards,
Simon Phoenix (Phoenix Lab.)
- ---
KeyID: 0x2569D30B
Fingerprint: 78FC 5C40 07CC D331 148E CC79 84B8 D514 2569 D30B
- ---
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFLiD8hLjVFCVp0wsRCvG6AKDFUmkuxLsFDrKBkX+32Mxy2puTPwCfSu19
gvKs4WbzNft9/YYIUkT0T9s=
=oQAD
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Problems with ipfw and ssh

2006-10-12 Thread Spiros Papadopoulos

On 12/10/06, Chris - WEBignite <[EMAIL PROTECTED]> wrote:


I've actually just started seeing this same error. I do have a rule set
for
local 127.0.0.1 and an allow for layer2 traffic.

Oct 11 23:59:02 firewall sshd[49200]: fatal: Write failed: Permission
denied



Yes this is the same exactly message i got.

I get this error when updating my firewall rules via ssh. Any current ssh

connections are dropped, but I'm able to reinitiate a new connection
without
trouble.

-Chris



The only difference is that i could not su to root so i could not update any
rules remotely.
I could login to a normal user account properly though

-Original Message-

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
]
On Behalf Of Mark Jose
Sent: Wednesday, October 11, 2006 8:41 PM
To: 'Spiros Papadopoulos'; freebsd-questions@freebsd.org;
freebsd-ipfw@freebsd.org
Subject: RE: Problems with ipfw and ssh

Hi,

Just a suggestion/query: Do you have you localhost/127.0.0.1 rules defined
to allow all traffic?



Well actually i copied the following rules from /etc/rc.firewall plus the
comment (..because of the comment!) without thinking of it too much and i
consider them trusty and i never thought they could cause any problem.
Are you suggesting that these rules may be the reason for this?

# Only in rare cases do you want to change these rules
  ${addcmd} 50 allow all from any to any via lo0
  ${addcmd} 100 deny all from any to 127.0.0.0/8
  ${addcmd} 150 deny ip from 127.0.0.0/8 to any

Unfortunately i will not be on the machine for the next 7 or so hrs



Cheers


-Original Message-
From: [EMAIL PROTECTED] [mailto:
[EMAIL PROTECTED]
On Behalf Of Spiros Papadopoulos
Sent: Thursday, 12 October 2006 7:53 AM
To: freebsd-questions@freebsd.org; freebsd-ipfw@freebsd.org
Subject: Problems with ipfw and ssh

Hi,

I am trying to configure a firewall using ipfw for a machine running
FreeBSD
5.4.
Without NAT.

I am nearly a newbie on this (since i never had time until now..) but
still
i believe i understand exactly the
concepts and what needs to be done.
Except the manual page and chapter 26.1 in the handbook I am using good
references such as:
http://www.freebsd-howto.com/HOWTO/Ipfw-HOWTO

I need to connect remotely to the machine using ssh and this is where i
get
the problem:

Initially i can connect properly using a normal user account.
When later i am trying to su to root it does nothing and the connection
closes.

I have ipfw enabled in the kernel to deny everything by default.
I have used both (one at a time) the following rules concerning ssh, in
/etc/ipfw.rules
and also other combinations, such as taking off setup and keep-state etc
etc
which would then make my firewall stateless as far as i understood, which
is
something i don't want anyway.

${addcmd} 300 allow log logamount 5 tcp from any to me 22 setup keep-state
-
${addcmd} 300 allow log logamount 5 tcp from any to any ssh keep-state

In a first investigation (not thorough) i found this post:
http://www.freebsdforums.org/forums/showthread.php?t=21876
where from, i cannot realize what is wrong or how to fix this.

I run the sshd in debug mode and below is the portion, for when i am
trying
to su to root

/* sshd -d */
Write failed: Permission denied
debug1: do_cleanup
debug1: PAM: cleanup
debug1: do_cleanup
debug1: PAM: cleanup
debug1: session_pty_cleanup: session 0 release /dev/ttyp7

And here are related logs:

/* line from /var/log/messages */
Oct 11 20:25:54 username sshd[26251]: fatal: Write failed: Permission
denied

/* /var/log/auth.log */
Sep 26 11:17:34 username sshd[50073]: Connection from xxx.xxx.xxx.xx port
1545
Sep 26 11:17:46 username sshd[50073]: Accepted keyboard-interactive/pam
for
user from xxx.xxx.xxx.xx port 1545 ssh2
Sep 26 10:17:49 username su: user to root on /dev/ttyp4
Sep 26 11:17:51 username sshd[50068]: Read error from remote host
xxx.xxx.xxx.xx: Connection reset by peer
Sep 26 13:29:40 username sshd[50076]: Read error from remote host
xxx.xxx.xxx.xx: Operation timed out

Is it trying to write to a
socket? I cannot see what is trying to do and the permission is denied
(of course maybe it is in front of me..but..)
Could anyone please advice?

Thanks in advance
Spiros
___
freebsd-ipfw@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ipfw
To unsubscribe, send any mail to " [EMAIL PROTECTED]"

___
freebsd-ipfw@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ipfw
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "
[EMAIL PROTECTED]"





--
Spiros Papadopoulos
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
T

Re: webbased email administration

2006-10-12 Thread albi
On Thu, 12 Oct 2006 09:09:35 +0200
"Andreas Widerøe Andersen" <[EMAIL PROTECTED]> wrote:

> We're considering setting up an email service here and we need to
> give IT admins in various companies the ability to administer their
> own email addresses (under their domain).

postfixadmin is great for this imho

you can have 1 main admin for all, then email-admins for each domain,
and all users can change their own password and set auto-reply

it's in the ports, but after installation it takes some time to set it
up, i've used this howto to set it up in FreeBSD :

http://bliki.rimuhosting.com/space/knowledgebase/linux/mail/postfixadmin+on+debian+sarge

-- 
grtjs,
albi
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


ports vs configure/make/make install Re: RE : Re: RE : Re: RE : Re: RE : Re: RE : Re: cheapskate webmail interface

2006-10-12 Thread Chad Leigh -- Shire.Net LLC


On Oct 12, 2006, at 1:26 AM, Juha Saarinen wrote:


On 10/11/06, Desmond Coughlan <[EMAIL PROTECTED]> wrote:
  Yeah. I used to do Solaris admin (Jesus, you'd never know  
it...), and usually prefer installing software the ./configure -->  
make && make install route.  Especially since a ports install  
doesn't tell you anything about where the software is put


It most certainly does, and also allows you to change the locations of
the software to be installed. Have a look at the Makefile in the
ports.


While theoretically you can change the location where stuff is put  
using ports, it does not always work out that well (I admit I could  
have screwed up).  Mainly, some ports rely on other ports.  I  
installed a bunch of stuff (gnu build stuff) that some ports relied  
on in my own dir /usr/public as a prefix.  The ports system should  
know about this (ie at later install time) but certain ports that  
rely on this stuff seem to have it hardwired that this stuff is in / 
usr/local and these ports fail.  So may ports can easily be changed,  
some ports can't.


I use ports for things like build tools, system tools, editors,   
compilers. and certain standard SW we use.  I use configure/make etc  
for my MTA, apache, php, my imap and pop servers, and lots of my  
service level software that I find much easier to customize myself  
without jumping through ports.


best
Chad




--

Juha
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions- 
[EMAIL PROTECTED]"


---
Chad Leigh -- Shire.Net LLC
Your Web App and Email hosting provider
chad at shire.net





Re: webbased email administration

2006-10-12 Thread Jim Pazarena

Andreas Widerøe Andersen wrote:

Hi,
We're considering setting up an email service here and we need to give IT
admins in various companies the ability to administer their own email
addresses (under their domain).

I'm looking for software that will do this. We currently run Sendmail and
WU-POP3, but can easily change to Postfix or whatever needed.

Can anyone recommend a webbased system for administration of email adresses
that will run on FreeBSD?

Thanks,
Andreas


take a look at:  http://www.eemam.com

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Problems with ipfw and ssh

2006-10-12 Thread Chris - WEBignite
I've actually just started seeing this same error. I do have a rule set for
local 127.0.0.1 and an allow for layer2 traffic.

Oct 11 23:59:02 firewall sshd[49200]: fatal: Write failed: Permission denied

I get this error when updating my firewall rules via ssh. Any current ssh
connections are dropped, but I'm able to reinitiate a new connection without
trouble.

-Chris


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Mark Jose
Sent: Wednesday, October 11, 2006 8:41 PM
To: 'Spiros Papadopoulos'; freebsd-questions@freebsd.org;
freebsd-ipfw@freebsd.org
Subject: RE: Problems with ipfw and ssh

Hi,

Just a suggestion/query: Do you have you localhost/127.0.0.1 rules defined
to allow all traffic?

Cheers
  

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Spiros Papadopoulos
Sent: Thursday, 12 October 2006 7:53 AM
To: freebsd-questions@freebsd.org; freebsd-ipfw@freebsd.org
Subject: Problems with ipfw and ssh

Hi,

I am trying to configure a firewall using ipfw for a machine running FreeBSD
5.4.
Without NAT.

I am nearly a newbie on this (since i never had time until now..) but still
i believe i understand exactly the
concepts and what needs to be done.
Except the manual page and chapter 26.1 in the handbook I am using good
references such as:
http://www.freebsd-howto.com/HOWTO/Ipfw-HOWTO

I need to connect remotely to the machine using ssh and this is where i get
the problem:

Initially i can connect properly using a normal user account.
When later i am trying to su to root it does nothing and the connection
closes.

I have ipfw enabled in the kernel to deny everything by default.
I have used both (one at a time) the following rules concerning ssh, in
/etc/ipfw.rules
and also other combinations, such as taking off setup and keep-state etc etc
which would then make my firewall stateless as far as i understood, which is
something i don't want anyway.

${addcmd} 300 allow log logamount 5 tcp from any to me 22 setup keep-state
-
${addcmd} 300 allow log logamount 5 tcp from any to any ssh keep-state

In a first investigation (not thorough) i found this post:
http://www.freebsdforums.org/forums/showthread.php?t=21876
where from, i cannot realize what is wrong or how to fix this.

I run the sshd in debug mode and below is the portion, for when i am trying
to su to root

/* sshd -d */
Write failed: Permission denied
debug1: do_cleanup
debug1: PAM: cleanup
debug1: do_cleanup
debug1: PAM: cleanup
debug1: session_pty_cleanup: session 0 release /dev/ttyp7

And here are related logs:

/* line from /var/log/messages */
Oct 11 20:25:54 username sshd[26251]: fatal: Write failed: Permission denied

/* /var/log/auth.log */
Sep 26 11:17:34 username sshd[50073]: Connection from xxx.xxx.xxx.xx port
1545
Sep 26 11:17:46 username sshd[50073]: Accepted keyboard-interactive/pam for
user from xxx.xxx.xxx.xx port 1545 ssh2
Sep 26 10:17:49 username su: user to root on /dev/ttyp4
Sep 26 11:17:51 username sshd[50068]: Read error from remote host
xxx.xxx.xxx.xx: Connection reset by peer
Sep 26 13:29:40 username sshd[50076]: Read error from remote host
xxx.xxx.xxx.xx: Operation timed out

Is it trying to write to a
socket? I cannot see what is trying to do and the permission is denied
(of course maybe it is in front of me..but..)
Could anyone please advice?

Thanks in advance
Spiros
___
freebsd-ipfw@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ipfw
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

___
freebsd-ipfw@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ipfw
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: webbased email administration

2006-10-12 Thread Daniel Gerzo
Hello Andreas,

Thursday, October 12, 2006, 9:09:35 AM, you wrote:

> Hi,
> We're considering setting up an email service here and we need to give IT
> admins in various companies the ability to administer their own email
> addresses (under their domain).

> I'm looking for software that will do this. We currently run Sendmail and
> WU-POP3, but can easily change to Postfix or whatever needed.

> Can anyone recommend a webbased system for administration of email adresses
> that will run on FreeBSD?

postfix + postfixadmin + mysql (there are also patches to make it work
with pgsql), all these tools are in ports.

-- 
Best regards,
 Danielmailto:[EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: RE : Re: RE : Re: RE : Re: RE : Re: RE : Re: cheapskate webmail interface

2006-10-12 Thread Juha Saarinen

On 10/11/06, Desmond Coughlan <[EMAIL PROTECTED]> wrote:

  Yeah. I used to do Solaris admin (Jesus, you'd never know it...), and usually prefer 
installing software the ./configure --> make && make install route.  Especially 
since a ports install doesn't tell you anything about where the software is put


It most certainly does, and also allows you to change the locations of
the software to be installed. Have a look at the Makefile in the
ports.


--

Juha
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: webbased email administration

2006-10-12 Thread Patrik Jansson

Hi,
Andreas Widerøe Andersen skrev:

Hi,
We're considering setting up an email service here and we need to give IT
admins in various companies the ability to administer their own email
addresses (under their domain).

I'm looking for software that will do this. We currently run Sendmail and
WU-POP3, but can easily change to Postfix or whatever needed.

Can anyone recommend a webbased system for administration of email 
adresses

that will run on FreeBSD?
I'm running Exim with Vexim on a few machines. Not to advanced GUI but 
it does the job.

http://silverwraith.com/vexim/

- Patrik
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: webbased email administration

2006-10-12 Thread Ted Mittelstaedt
Webmin!

Ted

- Original Message - 
From: "Andreas Widerøe Andersen" <[EMAIL PROTECTED]>
To: 
Sent: Thursday, October 12, 2006 12:09 AM
Subject: webbased email administration


> Hi,
> We're considering setting up an email service here and we need to give IT
> admins in various companies the ability to administer their own email
> addresses (under their domain).
>
> I'm looking for software that will do this. We currently run Sendmail and
> WU-POP3, but can easily change to Postfix or whatever needed.
>
> Can anyone recommend a webbased system for administration of email
adresses
> that will run on FreeBSD?
>
> Thanks,
> Andreas
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"[EMAIL PROTECTED]"
>

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


webbased email administration

2006-10-12 Thread Andreas Widerøe Andersen

Hi,
We're considering setting up an email service here and we need to give IT
admins in various companies the ability to administer their own email
addresses (under their domain).

I'm looking for software that will do this. We currently run Sendmail and
WU-POP3, but can easily change to Postfix or whatever needed.

Can anyone recommend a webbased system for administration of email adresses
that will run on FreeBSD?

Thanks,
Andreas
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"