having problems with getting two interfaces running on FreeBSD 5.1

2003-08-27 Thread Bsd Neophyte
i have two NICs in my FreeBSD 5.1 box.  the idea was to have the box run
as a proxy server down the line... possibly an IDS as well.

i'm having issues with getting both interfaces up and running.

here's the output with ifconfig -a:

fxp0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
inet 192.168.1.244 netmask 0xfff0 broadcast 192.168.100.255
ether 00:a0:c9:31:b5:d2
media: Ethernet autoselect (100baseTX full-duplex)
status: active
fxp1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
ether 00:a0:c9:de:cb:70
media: Ethernet autoselect (100baseTX full-duplex)
status: active
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
inet 127.0.0.1 netmask 0xff00

this is what my rc.conf looks like:

#Network settings
defaultrouter=192.168.1.254
hostname=neptune.adelphia.net
ifconfig_fxp0=inet 192.168.1.244  netmask 255.255.255.240
ifconfig_fxp1=inet 192.168.1.245  netmask 255.255.255.240


i'm sure this is causing problems for samba as well.  because... well
samba isn't working... and when i type: smbclient -L //neptune i get the
following:

added interface ip=192.168.1.244 bcast=192.168.1.255 nmask=255.255.255.240
can't determine netmask for fxp1

anyone know what to do here?



__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


problems with mozilla 1.4 and xhost on 4.8 stable

2003-08-27 Thread Christian Jeannot
hi,

i am using 4.8 stable and want to run mozilla 1.4. the compilation from mozilla
was without any errors.

when i open a new xterm i have $DISPLAY on :0.0. when i start mozilla i get
No running window found.
Segmentation fault

xhost is running properly here.

when i change $DISPLAY to cboneville:0.0 or cboneville.cht.de:0.0 i get
Gtk-WARNING **: cannot open display: cboneville:0.0 twice.

xhost now produce an error.
xhost:  unable to open display cboneville:0.0

i have other applications like gimp 1.2 which runs without errors.

somebody may have an idea what could be wrong?

regards

chris


-- 
christian jeannot   [EMAIL PROTECTED]
vogelmauer 17   http://www.augusta.de/~jeannot
86152 augsburg   +49 179 69 46 446
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


IBM Emulation

2003-08-27 Thread Micheal Patterson
My department has been tasked with trying to find an alternative to Windows
in our organization. I can get the normal workplace items, spreadsheets,
word, etc taken care of, but I have one issue that eludes me. We have an
application server running on an IBM RS6000 running AIX 4.3 that requires
IBM 3151 terminal emulation. Is there anyone that has successfully been able
to utilize a termcap for the IBM3151 so that the character sets and function
keys map accordingly when using an xterm session to an IBM RS6000 system
running AIX?

Thanks.

--

Micheal Patterson
Network Administration
Cancer Care Network
405-733-2230


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


Re: Data Recovery companies (dead HD)

2003-08-27 Thread Alfonso Romero
where are you located, Francisco?

- Original Message -
From: Francisco Reyes [EMAIL PROTECTED]
To: FreeBSD Questions List [EMAIL PROTECTED]
Sent: Tuesday, August 19, 2003 10:44 AM
Subject: Data Recovery companies (dead HD)


 Anyone has used any data recovery company they could recommend?
 It's a UFS HD with softupdates.
 Its the data disk of a FreeBSD 4.7 machine.

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


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


Install error resolv.h - Application: Webware

2003-08-27 Thread rtjohan
Trying to install an application that is generally run on Linux. No port
available and when I run their make file I get errors like
/usr/include/resolv.h:104: field `nsaddr_list' has incomplete type. I
installed the linux-base and then tried the install again, but didn't change
anything.

Any help would be very much appriciated.

Thanks,
Richard


% cd WebKit/Adapters/wkcgi/
% ls
Makefilewebkit.cfg  wkcgi.dsp   wkcgi.exe
README  wkcgi.c wkcgi.dsw   wkcgi.h
% make
cc -O2 -c ./wkcgi.c -o ./wkcgi.o
In file included from ../common/wkcommon.h:20,
 from wkcgi.h:6,
 from wkcgi.c:5:
/usr/include/resolv.h:104: field `nsaddr_list' has incomplete type
/usr/include/resolv.h:114: field `addr' has incomplete type
/usr/include/resolv.h:129: field `ina' has incomplete type
/usr/include/resolv.h:130: field `in6a' has incomplete type
*** Error code 1

Stop in /usr/home/rtjohan/Webware-0.8.1/WebKit/Adapters/wkcgi.
%


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


Re: IBM Emulation

2003-08-27 Thread Matthew Emmerton
 My department has been tasked with trying to find an alternative to
Windows
 in our organization. I can get the normal workplace items, spreadsheets,
 word, etc taken care of, but I have one issue that eludes me. We have an
 application server running on an IBM RS6000 running AIX 4.3 that requires
 IBM 3151 terminal emulation. Is there anyone that has successfully been
able
 to utilize a termcap for the IBM3151 so that the character sets and
function
 keys map accordingly when using an xterm session to an IBM RS6000 system
 running AIX?

The naive approach would be to copy the IBM3151 definition from the termcap
on AIX to FreeBSD.
I took a look on the AIX 4.3 (and 5.1) machines that I have access to and
there is no such definition.

What do you currently set your TERM variable to on AIX to get the desired
emulation?

--
Matt Emmerton

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


IBM Emulation

2003-08-27 Thread Matthew Emmerton
[ apologies if this hits the list twice -- my ISP has been futzing with the
relaying policy on their SMTP servers ]

  My department has been tasked with trying to find an alternative to
 Windows
  in our organization. I can get the normal workplace items, spreadsheets,
  word, etc taken care of, but I have one issue that eludes me. We have an
  application server running on an IBM RS6000 running AIX 4.3 that
requires
  IBM 3151 terminal emulation. Is there anyone that has successfully been
 able
  to utilize a termcap for the IBM3151 so that the character sets and
 function
  keys map accordingly when using an xterm session to an IBM RS6000 system
  running AIX?

 The naive approach would be to copy the IBM3151 definition from the
termcap
 on AIX to FreeBSD.
 I took a look on the AIX 4.3 (and 5.1) machines that I have access to and
 there is no such definition.

 What do you currently set your TERM variable to on AIX to get the desired
 emulation?

 --
 Matt Emmerton


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


Eric Allman has changed jobs

2003-08-27 Thread Eric Allman's vacation droid
I have left the University.  Your mail is being forwarded to me.
My mail volume is huge these days, so if your question is about
one of the listed topics, PLEASE use that address:

  Sendmail code questions/difficulties: [EMAIL PROTECTED]

  Questions about Sendmail, Inc:[EMAIL PROTECTED]

  Software Warehouse problems:  [EMAIL PROTECTED]

  CS Division Namespace questions:  [EMAIL PROTECTED]

  USENIX issues:[EMAIL PROTECTED]

If this is truly personal mail, my new address is [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: IBM Emulation

2003-08-27 Thread Marc Wiz
On Tue, Aug 26, 2003 at 07:18:50PM -0400, Matthew Emmerton wrote:
 
 The naive approach would be to copy the IBM3151 definition from the termcap
 on AIX to FreeBSD.
 I took a look on the AIX 4.3 (and 5.1) machines that I have access to and
 there is no such definition.

infocmp -C termname will output a TERMCAP entry.  See the AIX FM for details.

Perhaps the question should be does the application specifically require a 
3151 terminal?

Marc
-- 
Marc Wiz
[EMAIL PROTECTED]
Yes, that really is my last name.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


idle process status

2003-08-27 Thread Michelle
Could anyone please tell me what might cause a process to enter an I 
status or idle status.  I had two cron jobs which did not run a few 
nights ago, specifically the daily run output and aide.  The next day 
when I looked at the status of the jobs with the ps aux command, it 
stated that the status was I or idle for both of these cron jobs.  I 
was unable to kill the jobs even with kill -9 and had to reboot the 
server.  Now everything is fine and the cron jobs ran again last night; 
however, I would like to know what might cause this so I can prevent it 
from happening again.

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


Re: IBM Emulation

2003-08-27 Thread Micheal Patterson
Currently, we use ProComm for Win95 and 2k with a VT100 emulation in
conjunction with a vendor provided keyboard and translation file that they
won't part with. I've also tested TinyTerm and it utilizes when in IBM3151
emulation mode, it provides the same translations  as ProComm and it's
combined translation file. After speaking with a few of the field techs, I
was told that anything that can provide an IBM3151 terminal emulation will
work properly.  On my aix system, under /src/misc/terminfo there is an entry
named ibm3151.ti. Under my FreeBSD 4.8 system, within
/usr/compat/linux/usr/share/terminfo I have a terminal file for the
ibm3151 and within /usr/compat/linux/etc/termcap there is an entry for
ibm3151 but I'm uncertain how to utilize that within the FreeBSD
environment.  I've tried importing the ibm3151 termcap entry into my FBSD
termcap and rehashing the termcap database but it garbles once I get into
the ibm environment. I'm wondering if I may actually need to get some sort
of terminal emulator for BSD instead of a straight telnet session.


--

Micheal Patterson
Network Administration
Cancer Care Network
405-733-2230


- Original Message - 
From: Matthew Emmerton [EMAIL PROTECTED]
To: Micheal Patterson [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Tuesday, August 26, 2003 6:18 PM
Subject: Re: IBM Emulation


  My department has been tasked with trying to find an alternative to
 Windows
  in our organization. I can get the normal workplace items, spreadsheets,
  word, etc taken care of, but I have one issue that eludes me. We have an
  application server running on an IBM RS6000 running AIX 4.3 that
requires
  IBM 3151 terminal emulation. Is there anyone that has successfully been
 able
  to utilize a termcap for the IBM3151 so that the character sets and
 function
  keys map accordingly when using an xterm session to an IBM RS6000 system
  running AIX?

 The naive approach would be to copy the IBM3151 definition from the
termcap
 on AIX to FreeBSD.
 I took a look on the AIX 4.3 (and 5.1) machines that I have access to and
 there is no such definition.

 What do you currently set your TERM variable to on AIX to get the desired
 emulation?

 --
 Matt Emmerton

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


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


Hard drive devices (WAS Need Vinum help)

2003-08-27 Thread Thomas Smith
Thanks to those of you who replied to my previous question. However, I 
don't think the problem was Vinum entirely.

After doing some research, I discovered that not all /dev devices are 
created at install time. Looking back, one of the errors I would get 
when trying to setup Vinum is device not configured. I haven't been 
able to find much documentation on what devices are created during the 
installation.

The mirror partition I was trying to setup was on ad1--after I created 
the slices the BSD slice was ad1s1e. I also had ad1s1d for the swap 
partition, and (of course) ad1s1c for the drive.

Can anyone answer these questions for me:

- Is there a way to tell whether a device is aleady configured? That is, 
if I'm not sure ad1s1e is configured can I test it to see.
- Are / slices mirror-able? There seems to be some conflicting 
documentation on this. The handbook says yes but www.vinumvm.org, in 
some areas, says no--as does freebsddiary.org and daemonnews.org.
- I'm coming from a Redhat background where RAID arrays can be 
configured during installation. I understand that this isn't the case 
with FreeBSD due to sysinstall limitation. This begs the question: What 
is the preferred order of events to setup Vinum? I tried what I found in 
the docs and couldn't get it done. Generally, I installed FreeBSD. 
Created my vinum.conf file to concat ad0s1a. Ran vinum create -f 
vinum.conf. Saved the changes with vinum saveconfig. Added the 
necassary entries to /boot/loader.conf. And rebooted--I was able to get 
a single vinum drive working fine. I created another config file to add 
the second drive in a mirrored array. The config files are below.

CONFIG 1
drive a1 device /dev/ad0a
volume root
 plex org concat
   sd length 36g drive a1
CONFIG2
drive a2 device /dev/ad1e
volume mirror
 plex org concat
   sd length 36g drive a1
 plex org concat
   sd length 36g drive a2
I was never able to get both up at the same time--one always showed 
Referenced. When I looked in /dev/vinum/drives only a1 would be listed 
but not a2.

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


Re: IPFW ICMP

2003-08-27 Thread K Anderson


Lowell Gilbert wrote:
K Anderson [EMAIL PROTECTED] writes:


I figure
that the firewall should block the traffic first so as to prevent
ruled traffic from coming in and then, in my thinking, snort shouldn't
see it.
Hopefully somebody might have an explanation with the why's and how
comes one way or the other.


Your way would rule out sniffing of third-party traffic.
So then it is normal behaviour for snort to see the packets then get to 
the firewall and then be processed? I'm up to 10K+ Cyberkit 2.2 packets 
in a 24 hour period.

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


Re: FreeBSD with propolice protection

2003-08-27 Thread Joel Rees
 Does anybody recommend using this?
 
 How to build FreeBSD with propolice protection
 http://www.trl.ibm.com/projects/security/ssp/buildfreebsd.html
 
 After implementing it, how to make sure it's working correctly?

If I were going to try to put propolice on freebsd, I think I'd start by
studying what they've done with it on openbsd. Be sure to search their
mailing list archives about it first.

-- 
Joel Rees, programmer, Systems Group
Altech Corporation (Alpsgiken), Osaka, Japan
http://www.alpsgiken.co.jp

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


Re: Mailman

2003-08-27 Thread Chuck Swiger
george wrote:
pid 157 (python2.3), uid 91: exited on signal 11 (core dumped) pid 9300
(perl), uid 0: exited on signal 10 (core dumped) pid 151 (python2.3), uid
91: exited on signal 5 (core dumped)
You've very probably got hardware problems like bad memory or overheating.
I dont think the memory is bad cause the only core dumps i get are from
mailman, no other program crashes
The three lines you've listed show that both python and perl crashed.

And you're getting an assortment of signal types, rather than say SIGSEGV all of 
the time.

...and i have uptimes of over 250 days and can successfully compile world and
kernels without problems. As for the heat thing it is an EPIA M1000 that uses
16 watts of power and has a fansink.
I am wondering if it has to do with the processor not being an AMD or Intel 
cause it is a C3 VIA.
Hmm.  If you compiled with the wrong processor options, I'd expect you to get a 
SIGILL...

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


Re: php4-cgi -- internal server errror

2003-08-27 Thread Lin Jianfong
Hi,

I think I know what you're talking about, it's the UMN Mapserver for GIS 
application. Basically it's the php-mapscript part which needs php to be 
compiled as cgi. It's a wonderful open source GIS app which works very nice 
and very stable once configured correctly but it's a major pain in the butt 
to get it right.

As for the internal server error premature end of script header, it could 
be either one of the many reasons :
- the http header is not properly generated.
- wrong permission
- wrong directory path
- apache port is screwed.
- php4-cgi port is screwed.
- and some other reasons unknown.

Try writing a simple php script which contains ?php phpinfo() ? and cat it 
through the php binary in your cgi-bin. See if it generates proper HTTP 
header + all the config stuffs correctly. I upgraded to php4.3.3rc4 from the 
port on my own box and I have different problem altogether. The last working 
version of php compiled as cgi for me is from 4.3.0 version, that is, not 
installing from port but by hand instead (tar xzvf, config,...manually). So 
try by hand as well, and see if anything changes. You do have a backup copy 
of last working php-cgi binary, don't you ?

Sorry can't help any farther but I share your pain man.

Date: Mon, 25 Aug 2003 21:12:08 +0200 (CEST)
From: Benjamin Thelen (CCGIS) [EMAIL PROTECTED]
Subject: php4-cgi -- internal server errror
To: [EMAIL PROTECTED]
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain;charset=iso-8859-1
Hi,

sorry, I've already posted this into the German user list, but as I am
still completely stuck I hope to find some more hints/help here.
Systems:
FreeBSD 4.7 (mod_php4 - a little changed) 4.8 (php4-cgi - the latest)
Apache 1.3.27 and 28


We need to run php as cgi, because of the requirements of software we run
(called umn-mapserver - if somebody knows). Half a year ago I basically
followed the instructions I found on the umn-mapserver wiki-pages:
I quote, that's shorter:
(http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?PHPMapScriptCGI)
quote
PHP's default 'configure' behavior is to build a 'php' CGI executable.
It's the --with-apxs and/or --with-apache PHP configure options that
enable PHP to be built as an Apache DSO.
...to build PHP as a CGI ... don't provide the --with-apxs or
--with-apache switch to the PHP configure.
Then once you have a 'php' executable, copy it to your server's cgi-bin
directory and add to your httpd.conf:
 AddType?  application/x-httpd-php .php3
 AddType?  application/x-httpd-php .phtml
 AddType?  application/x-httpd-php .php
 Action application/x-httpd-php /cgi-bin/php

/quote

As I could not find an ordinary php-port (not sure now, it's month ago), I
removed one --with-apxs entry within the Makefile from www/mod_php4 (!)
and php ran as cgi!
Half a year later, I updated the ports-tree and I was happy to see a
www/php4-cgi port and immediately checked this out on a test system. This
time, I did not edit the php4-cgi makefile of course, as I expected to
have php4 as cgi compiled. I again copied the php-binary, as said above to
cgi-bin and surprisingly saw only 500 - internal server error and I
found a Premeture end of script headers: /usr/local/www/cgi-bin/php in
httpd-error.log.
One thing you have to know is, that our scripts are in
/usr/local/www/data/our-php-application. This worked on this 4.7/this
edited mod_php4-system very well.
I posted to the Germany user list, checked google. I found a few hints,
but nothing really helped.
e.g.:
http://www.php.net/manual/en/security.cgi-bin.php
http://httpd.apache.org/docs/howto/cgi.html
My question basically is:
How do I setup this php/cgi environment?
One way, I was told and can be found on php.net is to add a
#!/usr/local/lib/php on top of every php-Skript and all scripts need
chmod a+x and need to be in /cgi-bin. This would work. But it is a little
uncomfortable way and the main thing is that it would not work with our
php-application, which is a set of css, html, php, pictures, so
pictures, css, etc would be parsed, too!
There are other solutions, one with an AddHandler directive in httpd.conf,
but I don't get that running.
As it worked half a year ago and as there is a similar way in IIS, to map
an extension (.php) to an application (c:\php\bin\php.exe), I suppose that
there is a similar way, but I am just to blind to find the solution!
My second question is:
Why did it work with those instructions from umn-mapserver wiki-pages and
why does the same thing not work now?
One way to find out, what's wrong, was to cp /bin/cat to
/usr/local/www/cgi-bin/php. But the error is the same.
I would be very grateful for hints/help!

Thanks in advance!

Best Regards,
Benjamin
_
Get MSN 8 and help protect your children with advanced parental controls.  
http://join.msn.com/?page=features/parental

___
[EMAIL PROTECTED] mailing list

Re: Hard drive devices (WAS Need Vinum help)

2003-08-27 Thread Greg 'groggy' Lehey
On Tuesday, 26 August 2003 at 17:54:07 -0700, Thomas Smith wrote:
 Thanks to those of you who replied to my previous question. However, I
 don't think the problem was Vinum entirely.

 - Is there a way to tell whether a device is aleady configured? That is,
 if I'm not sure ad1s1e is configured can I test it to see.

  vinum ld

 - Are / slices mirror-able? There seems to be some conflicting
 documentation on this.

It's possible.  How you do it depends on your version of FreeBSD.

 The handbook says yes but www.vinumvm.org, in
 some areas, says no--as does freebsddiary.org and daemonnews.org.

In other areas, notably http://www.vinumvm.org/cfbsd/vinum.pdf, it
says yes.  Point me to the others and I'll update them.

 - I'm coming from a Redhat background where RAID arrays can be
 configured during installation. I understand that this isn't the
 case with FreeBSD due to sysinstall limitation. This begs the
 question: What is the preferred order of events to setup Vinum?

That's in the link above.

 I was never able to get both up at the same time--one always showed
 Referenced. When I looked in /dev/vinum/drives only a1 would be listed
 but not a2.

You don't say what version of FreeBSD you were using, but I recently
fixed a bug which looks like it could be related to this.

Try using /dev/ad0s1a and /dev/ad1s1e and see if you do any better.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers


pgp0.pgp
Description: PGP signature


freebsd boot and fsck problem

2003-08-27 Thread Jennifer
Dear FreeBSD people

I started to learn and used FreeBSD from last year. And I found FreeBSD is
really very powerful and lovely. But I am also a little scared of it, for
then it has problem, I just do not know how to fix it.

Here I came up a big emergent problem  this morning, and I wish you can give
me your precious advice and help.

 I have been using   a script drivecopy.sh for a couple of months to do full
 backup once a week. This drivecopy.sh is a small scripts to copy whole IDE
HDD (of freeBSD)
 to another HDD. Please have a look at the attached script drivecopy.sh
 It worked very fine till yesterday.

 Last night, As usual,I started ./drivecopy.sh to backup my FreeBSD4.3
server
 (Disk1) on another HDD(Disk2). Disk2 has been used successfully as backup
 for more than 10 times with same procedure of ./drivecopy.sh.
 So it seemed the start up going smoothly, then I left the server room.
 This morning, when I came to check the server and backup. (which was
 supposed to have finished). And I surprised to find all those horrible
error
 messages on the console screen:

 ***start to quote error message
 ad0s2e: had error reading fsbn 97103692 of 3473456-3473467(ad0s2 bn
 97103692; cn 6044 fn 108 sn 28) status=59 error=40
 cannot read: BLK 3473456
 UNEXPECTED SOFT UPDATE INCONSISTENCY.
 **end of error message quote
 So I had to force to suspend the backup process by pressing Ctrl+Z.
 Then I tried to reboot Disk1. I had problem during the booting process.

 **start to quote error message
 
 chflags: not found
 chown: not found
 cd: can't cd to /var/run
 cd: can't cd to /var/spool/lock
 /etc/rc: cann't create /var/run/dmesg.boot directory nonexistent
 cd: can't cd to /var/run
 /etc/rc: cannot ceate
 /var/run/clean_var:dirctory nonexitent.
 Enter full path of shell or return for /bin/sh
 .
 **end of error message quote
 Then I just press Enter and came to the single boot mode. I typed the
 following command to try to munually fsck the problem partition.
 #fsck /dev/ad0s2e
 The console then showed the following message.
 **/dev/ad0s2e
 **Last mounted on /www
 **Phase 1 -check block  size
 cannot read: BLK 19596336
 UNEXPECTED SOFT UPDATE INCONSISTENCY
 continue [y/n]

 ...
 Looks like the manual fsck doesn't working here.
 Then I tried my luck to boot Disk2.Unfortunately, it showed the same errors
 as Disk2 during booting.

 Your  advice will be highly appreciated.

 Jennifer

 P.S. The attached is my drivecopy.sh,which had worked fine for the previous
 backup processes except yesterday. So I do not think anything wrong with
the
 drivecopy.sh itself. There must be something wrong with my yesterday's
 backup process, though I can not find out what it is.



drivecopy.sh
Description: Binary data
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: firewire vs IDE DVD.

2003-08-27 Thread Matthew Graybosch
On 15:03 Tue 26 Aug , Adam K Kirchhoff wrote:
 
 Anyone?  The same IDE drive plays back DVDs with mplayer under NetBSD
 without any problems, however NetBSD seems to be using some IDE-to-SCSI
 emulation.  Is it impossible to get IDE DVD drives to play back DVD
 videose under FreeBSD?

I'm going to try to send this message one last time. Try looking for
/dev/acd0c instead of /dev/acd0; I use the former and make sure its
permissions are set to 666.

-- 
Matthew Graybosch
http://www.starbreaker.net
The best way to lose an argument is to throw the first punch.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Intel L440GX+ Server Board - Temperature Monitoring

2003-08-27 Thread Holger Kunst
Hi,

I am trying to get fan RPM, temperature  voltage readings from Intel 
L440GX+ server board (VA Linux 2200 Box) on FreeBSD 4.8. The board does 
come with an integrated monitoring subsystem (BMC) which is supposed to 
have IPMI management capabilities.

Doug White's IPMI tools (http://people.freebsd.org/~dwhite/ipmi/) for 
FreeBSD could be an option, but the board is not listed as tested and I was 
unable to get any readings from the board. I have tried both KCS and SMIC 
drivers and it appears that the board has a KCS interface as kcs.c reports 
Current KCS state: 0x0 (0x0) : IDLE_STATE. According to the readme a 
status of 0xff indicates not supported so a result of 0x0 looks like it is 
supported.

ipmicmd.py -k -c reports *** Error getting chunk at len 21 (0x0)

Has anybody tried this on a L440GX+ board?

I have also tried to read sensor information directly from the SMB bus. 
/usr/ports/sysutils/consolehm can read senor information from the PIIX4 SMB 
bus, but that does not deliver valid data:

chm -I
Using ISA Method.

Motherboard Temperature: 255 ° C
CPU_0 Temperature: 0 ° C
CPU_1 Temperature: 0 ° C
VCore:   3.98438 V
Vit: 3.98438 V
Vio: 3.98438 V
+5V: 6.65391 V
+12V:15.9375 V
-12V:-15.9375 V
-5V: -6.65391 V
Fan 1: Not Available
Fan 2: Not Available
Fan 3: Not Available
If I try the chm -S method (with SMBUS support compiled into the kernel) I 
get a Device not configured error message.

Has anyone been able to get monitoring readings from this board? Any 
suggestions?

Thanks,

Holger

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


Re: Evolution Message Summary View

2003-08-27 Thread William Bloom
I finally tracked the timezone offset shifting problem down to
icaltime.c  I am working with version 1.4.4 sources. The problem is as
follows...

When the summary view is selected (sometimes other views as well, I
suspect) some steps are done that require temporarily setting the
timezone to UTC.  So set_tz() is called to change the TZ environment
variable to TZ=UTC using setenv(), then unset_tz() is called to put
the TZ environment variable back the way it was afterward.  Now, in
FreeBSD, the TZ environment variable usually doesn't exist because
tzset() typically just works from /etc/localtime.  In this case,
unset_tz() is supposed to simply remove TZ from the environment.  It
does this using putenv(TZ) (SVR4 convention?).  However, this has no
effect in FreeBSD (the FreeBSD-ish technique for deleting an
environment variable is unsetenv(TZ)).  So when the (usual) case
arises of there being no TZ environment variable when Evolution is
started in FreeBSD, then TZ=UTC ends up being inserted into the
environment whenever certain views are selected and is never deleted
afterward.

The solution (untested anywhere but on my FreeBSD desktop) seems to be
to change putenv(TZ) to unsetenv(TZ) in...

libical/src/libical/icaltime.c

According to man pages, this is valid for Linux as well as FreeBSD
although I notice that early Solaris systems lack unsetenv().  I don't
have a recent vintage Solaris system to check.

Or an easy workaround would be to simply add TZ to the environment
before running Evolution.


Bill

On Sun, 2003-08-24 at 22:11, Joe Marcus Clarke wrote:
 On Sun, 2003-08-24 at 18:33, William Bloom wrote:
  I've just installed the Evolution 1.4.4 port and I'm generally
 pleased,
  with reservations.  I've encountered the inbox permission problem
  reported in other posts to freebsd-questions, but also I've noticed
 that
  there seems to be a date/time formatting problem in the message
 summary
  view that's not been mentioned in earlier posts.  For that matter,
 I've
  seen nothing referencing this problem in the issue list at
  http://developer.ximian.org/projects/evolution.  The symptom is that a
  message's date/time is shown as expected when the view is first
  displayed after Evolution startup.  But if -any- other view is
 displayed
  (i.e. Summary), then on return to the message summary the date/times
 all
  are evidently displayed with a UTC time offset (0) instead of the
  correct one.  Once this occurs, the date/time never returns to the
  current offset until Evolution is stopped and restarted.  Has anyone
  else seen this as well, or know a workaround?
 
 Ah, that's the catalyst.  There have been numerous reports of this
 problem, but I was never able to reproduce it.  Switching views is the
 catalyst.  I suspect this is not a FreeBSD bug, but now that I have a
 definite catalyst, I will take this to the Ximian people, and see what
 they have to say.
 
 Joe
 
  
  Bill
-- 
William Bloom [EMAIL PROTECTED] (602) 604-3100
Eldorado Computing, Inc.  5353 North 16th Street, Suite 400
Phoenix, Az 85016  http://www.eldocomp.com


-- CONFIDENTIALITY NOTICE --

This message is intended for the sole use of the individual and entity to whom it is 
addressed, and may contain information that is privileged, confidential and exempt 
from disclosure under applicable law. If you are not the intended addressee, nor 
authorized to receive for the intended addressee, you are hereby notified that you may 
not use, copy, disclose or distribute to anyone the message or any information 
contained in the message. If you have received this message in error, please 
immediately advise the sender by reply email, and delete the message. Thank you.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


ntpd going haywire? (from Aug 25 2003 to Jan 9 1984)

2003-08-27 Thread Edwin Woudt
Yesterday I noticed that one of my machines thought it was living in 1984 
for a while. An excerpt from /var/log/messages:

Aug 25 08:55:18 edwin ntpd[99]: time reset -0.226462 s
Jan  9 09:04:04 edwin ntpd[99]: time reset -619315200.105133 s
Jan  9 09:30:59 edwin ntpd[99]: time reset 0.858392 s
Aug 25 11:13:05 edwin ntpd[99]: time reset 619315200.044631 s
If I read the manpage for ntpd correctly, whenever an offset exceeds the 
sanity limit of 1000 seconds, it should quit and not change the time. So 
what went wrong here?

I did note that 619315200 seconds is exactly 7168 days (=7*1024), so it 
looks like a few bits got flipped around. (Though a random memory problem 
does not sound plausible, because two hours later the exact reverse 
happened)

[07:13:42 [EMAIL PROTECTED] ~] uname -a
FreeBSD edwin.kabel.utwente.nl 4.8-RELEASE FreeBSD 4.8-RELEASE #7: Thu May 
1 16:43:45 CEST 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/HERMES 
i386
[07:13:45 [EMAIL PROTECTED] ~] cat /etc/rc.conf | grep ntpd
xntpd_enable=YES
[07:13:53 [EMAIL PROTECTED] ~] cat /etc/ntp.conf
server chime1.surfnet.nl
server chime2.surfnet.nl

driftfile /etc/ntp.drift

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


Re: Evolution Message Summary View

2003-08-27 Thread Joe Marcus Clarke
On Wed, 2003-08-27 at 01:15, William Bloom wrote:
 I finally tracked the timezone offset shifting problem down to
 icaltime.c  I am working with version 1.4.4 sources. The problem is as
 follows...
 
 When the summary view is selected (sometimes other views as well, I
 suspect) some steps are done that require temporarily setting the
 timezone to UTC.  So set_tz() is called to change the TZ environment
 variable to TZ=UTC using setenv(), then unset_tz() is called to put
 the TZ environment variable back the way it was afterward.  Now, in
 FreeBSD, the TZ environment variable usually doesn't exist because
 tzset() typically just works from /etc/localtime.  In this case,
 unset_tz() is supposed to simply remove TZ from the environment.  It
 does this using putenv(TZ) (SVR4 convention?).  However, this has no
 effect in FreeBSD (the FreeBSD-ish technique for deleting an
 environment variable is unsetenv(TZ)).  So when the (usual) case
 arises of there being no TZ environment variable when Evolution is
 started in FreeBSD, then TZ=UTC ends up being inserted into the
 environment whenever certain views are selected and is never deleted
 afterward.
 
 The solution (untested anywhere but on my FreeBSD desktop) seems to be
 to change putenv(TZ) to unsetenv(TZ) in...
 
 libical/src/libical/icaltime.c
 
 According to man pages, this is valid for Linux as well as FreeBSD
 although I notice that early Solaris systems lack unsetenv().  I don't
 have a recent vintage Solaris system to check.
 
 Or an easy workaround would be to simply add TZ to the environment
 before running Evolution.

Funny you should mention this.  I already have patches, and I will be
testing them soon.  Look for an Evo update sometime in a few hours.

Joe

 
 
 Bill
 
 On Sun, 2003-08-24 at 22:11, Joe Marcus Clarke wrote:
  On Sun, 2003-08-24 at 18:33, William Bloom wrote:
   I've just installed the Evolution 1.4.4 port and I'm generally
  pleased,
   with reservations.  I've encountered the inbox permission problem
   reported in other posts to freebsd-questions, but also I've noticed
  that
   there seems to be a date/time formatting problem in the message
  summary
   view that's not been mentioned in earlier posts.  For that matter,
  I've
   seen nothing referencing this problem in the issue list at
   http://developer.ximian.org/projects/evolution.  The symptom is that a
   message's date/time is shown as expected when the view is first
   displayed after Evolution startup.  But if -any- other view is
  displayed
   (i.e. Summary), then on return to the message summary the date/times
  all
   are evidently displayed with a UTC time offset (0) instead of the
   correct one.  Once this occurs, the date/time never returns to the
   current offset until Evolution is stopped and restarted.  Has anyone
   else seen this as well, or know a workaround?
  
  Ah, that's the catalyst.  There have been numerous reports of this
  problem, but I was never able to reproduce it.  Switching views is the
  catalyst.  I suspect this is not a FreeBSD bug, but now that I have a
  definite catalyst, I will take this to the Ximian people, and see what
  they have to say.
  
  Joe
  
   
   Bill
-- 
PGP Key : http://www.marcuscom.com/pgp.asc


signature.asc
Description: This is a digitally signed message part


[no subject]

2003-08-27 Thread anton
Hello freebsd-questions,

I'v problem with upgarade FreeBSD-4.8

I intut:
# cd /usr/src
# make buildworld
Makefile:137: *** missing separator.  Stop.

What is problem?
  

-- 
Best regards,
 anton  mailto:[EMAIL PROTECTED]

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


Re:

2003-08-27 Thread Mike Maltese
 I'v problem with upgarade FreeBSD-4.8

 I intut:
 # cd /usr/src
 # make buildworld
 Makefile:137: *** missing separator.  Stop.

 What is problem?

It seems pretty obvious that there is an error at line 137 of the Makefile.
Have you tampered with it? Post that line to the list or just do a cvsup and
try again.

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


Re: Re:

2003-08-27 Thread Joe Marcus Clarke
On Wed, 2003-08-27 at 02:43, Mike Maltese wrote:
  I'v problem with upgarade FreeBSD-4.8
 
  I intut:
  # cd /usr/src
  # make buildworld
  Makefile:137: *** missing separator.  Stop.
 
  What is problem?
 
 It seems pretty obvious that there is an error at line 137 of the Makefile.
 Have you tampered with it? Post that line to the list or just do a cvsup and
 try again.

Actually, I saw this today on a system that had been hacked to look
more like Linux.  They replaced BSD make with gmake.  If you try to
buildworld with gmake, you might see this error.  Make sure you
/usr/bin/make to do all port and system builds.

Joe

 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
-- 
PGP Key : http://www.marcuscom.com/pgp.asc


signature.asc
Description: This is a digitally signed message part


Patching procedures

2003-08-27 Thread Guy Van Sanden
I'm still relatively new to FreeBSD, and I was wondering what most of
you use as a patching procedure for FreeBSD (not the ports)

Up to now, I have always folowed the instructions in '2) To patch your
present system:'.
Yet somehow this seems like the long way to do it.

Therefor, I'm wondering how most of you keep your systems up to date.

For the moment, I'm only managing my home server (which is still
critical), but I would also like to know how to manage this in a
professional deployment (I used to manage Solaris networks, and we had
these patch-clusters which were rahter nice).

Thanks in advance

Guy

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


Re: idle process status

2003-08-27 Thread Uwe Doering
Michelle wrote:
Could anyone please tell me what might cause a process to enter an I 
status or idle status.  I had two cron jobs which did not run a few 
nights ago, specifically the daily run output and aide.  The next day 
when I looked at the status of the jobs with the ps aux command, it 
stated that the status was I or idle for both of these cron jobs.
Idle state means that this process didn't run (that is, slept) for at 
least 20 seconds.  Please see man page ps(1).  It is just a flag and 
does nothing special to the process.

I was 
unable to kill the jobs even with kill -9 and had to reboot the server.  
Now everything is fine and the cron jobs ran again last night; however, 
I would like to know what might cause this so I can prevent it from 
happening again.
A sleeping process that cannot be killed is usually the result of either 
a kernel bug or some hardware problem (lost interrupt, hanging 
controller etc.) that blocks the intended demise of the process.  But 
without further debugging it is impossible to tell what it is exactly.

   Uwe
--
Uwe Doering |  EscapeBox - Managed On-Demand UNIX Servers
[EMAIL PROTECTED]  |  http://www.escapebox.net
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: firewire vs IDE DVD.

2003-08-27 Thread Adam K Kirchhoff

There is no /dev/acd0c on my system :-)  Just a /dev/acd0 and a
/dev/acd0t01 (neither of which work).

Adam

On Tue, 26 Aug 2003, Matthew Graybosch wrote:

 On 15:03 Tue 26 Aug , Adam K Kirchhoff wrote:
 
  Anyone?  The same IDE drive plays back DVDs with mplayer under NetBSD
  without any problems, however NetBSD seems to be using some IDE-to-SCSI
  emulation.  Is it impossible to get IDE DVD drives to play back DVD
  videose under FreeBSD?

 I'm going to try to send this message one last time. Try looking for
 /dev/acd0c instead of /dev/acd0; I use the former and make sure its
 permissions are set to 666.

 --
 Matthew Graybosch
 http://www.starbreaker.net
 The best way to lose an argument is to throw the first punch.


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


Correct syntax for ipfw to allow local traffic?

2003-08-27 Thread Johan Paul
Hi all,

I have
00100 allow ip from any to any via lo0
in my firewall script. But although I get lines like

silakka /kernel: Connection attempt to TCP 127.0.0.1:2000 from 127.0.0.1:3914

into my messages log. It is jsst like the firewall although blocks local
traffic. What should I add or modify to allow traffic via loopback and/or
from and to 127.0.0.1 ?


Regards,

Johan Paul

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


Re: Correct syntax for ipfw to allow local traffic?

2003-08-27 Thread Vitali Malicky

 Hi all,
Hi!


 I have
 00100 allow ip from any to any via lo0
 in my firewall script. But although I get lines like

 silakka /kernel: Connection attempt to TCP 127.0.0.1:2000 from
127.0.0.1:3914

 into my messages log. It is jsst like the firewall although blocks local
 traffic. What should I add or modify to allow traffic via loopback and/or
 from and to 127.0.0.1 ?

 /sbin/ipfw -q add 1 allow ip from 127.0.0.1 to 127.0.0.1 via lo0

=

I usually configure tyhe firewall in /etc/rc.firewall.

when I modify firewall rules on the remote servers I responsible of, first I
make a copy of rc.firewall, say, rc.firewall.new and make all necessary
changes in _this_ file, then  I run shutdown -r +5min and only after that
I execute /etc/rc.firewall.new
# /etc/rc.firewall.new nohup 
if it's alright and I'm still there on the server I just kill the shutdown
process, if not, the machine reboots with the old rules...

Best of luck!





 Regards,

 Johan Paul

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

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


Large memory issues

2003-08-27 Thread Irvine Short
Hey All

I'm running 4-STABLE as of about a week ago.

The machine is a dual 2.4GHz Xeon with hyperthreading enabled and 4GB RAM.

The box has been running fine for a few months now, being used as a number
cruncher.

Yesterday one of the users noticed that he was limited to 512MB RAM per
process.

I poked around in LINT and found this:
options MAXDSIZ=(256*1024*1024)
options MAXSSIZ=(256*1024*1024)
options DFLDSIZ=(256*1024*1024)

for max data size, max stack size, and default data size.

I put this in my kernel config file:
options MAXDSIZ=(4096*1024*1024)
options MAXSSIZ=(64*1024*1024)
options DFLDSIZ=(512*1024*1024)

I then rebooted and the box got nowhere with sh exiting on a signal 11

I then tried:
options MAXDSIZ=(4095*1024*1024)
options MAXSSIZ=(64*1024*1024)
options DFLDSIZ=(512*1024*1024)

and it was slightly better - managed to boot halfway with everything
running out of memory.

I then found that this:
options MAXDSIZ=(2048*1024*1024)
options MAXSSIZ=(128*1024*1024) (and also 64MB)
options DFLDSIZ=(512*1024*1024)

worked fine but not as expected - limit reports datasize unlimited.

I'd kind of like a default of 512MB with the option to loosen it.

Any offers as to what's the proper way to do this? All's well at the mo
but it doesn't seem right.

Configging MAXDSIZ to 3500*1024*1024 did the same as 4095

Also, when the machine boots it says:
CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2392.25-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0xf27  Stepping = 7

Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS
,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
  Hyperthreading: 2 logical CPUs
real memory  = 4025942016 (3931584K bytes)

and then later it says on the console something like:
256MB of RAM over 4GB ignored.

Seems silly to waste 256MB RAM so any hints would be appreciated here
too.

Cheers,


Irvine Short

Sys Admin
SANBI, University of the Western Cape, South Africa
http://www.sanbi.ac.za
tel: +27-21-959 3645
cel: +27-82-494 3828
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Large memory issues

2003-08-27 Thread Vitali Malicky
I hope that

optionsMAXMEM=(4096*1024)

should help...



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


Re: Correct syntax for ipfw to allow local traffic?

2003-08-27 Thread Ruben de Groot
On Wed, Aug 27, 2003 at 02:48:50PM +0300, Vitali Malicky typed:
 
  Hi all,
 Hi!
 
 
  I have
  00100 allow ip from any to any via lo0
  in my firewall script. But although I get lines like
 
  silakka /kernel: Connection attempt to TCP 127.0.0.1:2000 from
 127.0.0.1:3914
 
  into my messages log. It is jsst like the firewall although blocks local
  traffic. What should I add or modify to allow traffic via loopback and/or
  from and to 127.0.0.1 ?
 
  /sbin/ipfw -q add 1 allow ip from 127.0.0.1 to 127.0.0.1 via lo0

This won't help. He allready allows any to any via lo0.
Anyway, it's not the firewall logging these Connection attempt to lines
to /var/log/messages. What happens here is some proces tries to make a
connection on a port where no other proces is listening. There can be many
reasons for this. If you don't want to see these messages anymore put the
line

net.inet.tcp.log_in_vain=0

in /etc/sysctl.conf

Ruben

 =
 
 I usually configure tyhe firewall in /etc/rc.firewall.
 
 when I modify firewall rules on the remote servers I responsible of, first I
 make a copy of rc.firewall, say, rc.firewall.new and make all necessary
 changes in _this_ file, then  I run shutdown -r +5min and only after that
 I execute /etc/rc.firewall.new
 # /etc/rc.firewall.new nohup 
 if it's alright and I'm still there on the server I just kill the shutdown
 process, if not, the machine reboots with the old rules...
 
 Best of luck!
 
 
 
 
 
  Regards,
 
  Johan Paul
 
  ___
  [EMAIL PROTECTED] mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Error in Kernel linking.

2003-08-27 Thread Sergy V . Greg
I have some trouble with Kernel linking

I typed the command:
make buildkernel KERNCONF=KERNEL1

and got Error:
   ...
linking Kernel
if.o: In function 'if_setlladdr':
if.o: (.text+0x1b44): undefined reference to arp_ifinit
*** Error code 1
   ...

In attached file - my Kernel's config

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


Re: Correct syntax for ipfw to allow local traffic?

2003-08-27 Thread Johan Paul
  /sbin/ipfw -q add 1 allow ip from 127.0.0.1 to 127.0.0.1 via lo0

 This won't help. He allready allows any to any via lo0.
 Anyway, it's not the firewall logging these Connection attempt to lines
 to /var/log/messages. What happens here is some proces tries to make a
 connection on a port where no other proces is listening. There can be many
 reasons for this. If you don't want to see these messages anymore put the
 line

 net.inet.tcp.log_in_vain=0

 in /etc/sysctl.conf

Aah, thanks!! I thought of this myself too after I noticed that the above
line didn't work either. The port 2000 that the process tries to connect
to is, I think, the Sieve port. I am not running Sieve which would explain
the situation. Well, it seems that the firewall is working properly after
all which is the most important thing.


 Ruben


--
Johan

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


Error in Kernel linking.

2003-08-27 Thread Sergy V . Greg
I have some trouble with Kernel linking

I typed the command:
make buildkernel KERNCONF=KERNEL1

and got Error:
   ...
linking Kernel
if.o: In function 'if_setlladdr':
if.o: (.text+0x1b44): undefined reference to arp_ifinit
*** Error code 1
   ...

In attached file - my Kernel's config

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


Re: IBM Emulation

2003-08-27 Thread Peter Elsner
I have successfully used AlphaCom from http://www.omnicomtech.com

It has IBM3151 emulation built in.  Cost is about $25. per user and is
(in my opinion) the best terminal emulator for Microsoft WinBlows out there.
Peter Elsner

At 07:20 PM 8/26/2003 -0500, you wrote:
Currently, we use ProComm for Win95 and 2k with a VT100 emulation in
conjunction with a vendor provided keyboard and translation file that they
won't part with. I've also tested TinyTerm and it utilizes when in IBM3151
emulation mode, it provides the same translations  as ProComm and it's
combined translation file. After speaking with a few of the field techs, I
was told that anything that can provide an IBM3151 terminal emulation will
work properly.  On my aix system, under /src/misc/terminfo there is an entry
named ibm3151.ti. Under my FreeBSD 4.8 system, within
/usr/compat/linux/usr/share/terminfo I have a terminal file for the
ibm3151 and within /usr/compat/linux/etc/termcap there is an entry for
ibm3151 but I'm uncertain how to utilize that within the FreeBSD
environment.  I've tried importing the ibm3151 termcap entry into my FBSD
termcap and rehashing the termcap database but it garbles once I get into
the ibm environment. I'm wondering if I may actually need to get some sort
of terminal emulator for BSD instead of a straight telnet session.
--

Micheal Patterson
Network Administration
Cancer Care Network
405-733-2230
- Original Message -
From: Matthew Emmerton [EMAIL PROTECTED]
To: Micheal Patterson [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Tuesday, August 26, 2003 6:18 PM
Subject: Re: IBM Emulation
  My department has been tasked with trying to find an alternative to
 Windows
  in our organization. I can get the normal workplace items, spreadsheets,
  word, etc taken care of, but I have one issue that eludes me. We have an
  application server running on an IBM RS6000 running AIX 4.3 that
requires
  IBM 3151 terminal emulation. Is there anyone that has successfully been
 able
  to utilize a termcap for the IBM3151 so that the character sets and
 function
  keys map accordingly when using an xterm session to an IBM RS6000 system
  running AIX?

 The naive approach would be to copy the IBM3151 definition from the
termcap
 on AIX to FreeBSD.
 I took a look on the AIX 4.3 (and 5.1) machines that I have access to and
 there is no such definition.

 What do you currently set your TERM variable to on AIX to get the desired
 emulation?

 --
 Matt Emmerton

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

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
Peter Elsner [EMAIL PROTECTED]
Vice President Of Customer Service (And System Administrator)
1835 S. Carrier Parkway
Grand Prairie, Texas 75051
(972) 263-2080 - Voice
(972) 263-2082 - Fax
(972) 489-4838 - Cell Phone
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Error in Kernel linking. Please help!!!

2003-08-27 Thread
I have some trouble with Kernel linking

I typed the command:
make buildkernel KERNCONF=KERNEL1

and got Error:
   ...
linking Kernel
if.o: In function 'if_setlladdr':
if.o: (.text+0x1b44): undefined reference to arp_ifinit
*** Error code 1
   ...

In attached file - my Kernel's config

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


Chkrootkit anomaly

2003-08-27 Thread Sean Page
Since there have already been a couple of questions on this I thought I'd
see if anyone could shed some light on something I've noticed since I
started running chkrootkit. It runs every 15 minutes (overkill? Nah.) in
quiet mode to cut down on noise in the logs, and sporadically I get these
notifications:

You have 1 process hidden for readdir command
You have 1 process hidden for ps command
Warning: Possible LKM Trojan installed

These messages will appear only on the odd occasion, seemingly completely at
random.
False positives or very crafty rootkit? 
Any advice would be greatly appreciated!

Sean.

Pertinent details:
FreeBSD 4.8-RELEASE-p3

kldstat
Id Refs AddressSize Name
 12 0xc010 2addcc   kernel
 21 0xc166f000 4000 logo_saver.ko

Installed Packages:
BitchX-1.0c19_2, XFree86-libraries-4.3.0_1,
amavisd-new-20021227.p2,apache+mod_ssl-1.3.27+2.8.14, arc-5.21e.8_1,
aspell-0.50.3_1,apache+autoconf-2.53_1,autoconf213-2.13.000227_5,
automake-1.5,1, automake14-1.4.5_9, bash-2.05b,cclient-2002,1,
chkrootkit-0.41, compat3x-i386-4.4.20020925, cracklib-2.7_1,curl-7.9.8,
cvsup-16.1g, db3-3.3.11,1, docbook-1.2, docbook-241,
docbook-3.0,docbook-3.1, docbook-4.0, docbook-4.1, expat-1.95.6_1,
ezm3-1.0,fontconfig-2.1.94_1, freetype2-2.1.4_1, gd-2.0.11,
gettext-0.11.5_1, gmake-3.80, help2man-1.29, horde-2.2, httplog-2.1,
imake-4.3.0, imap-uw-2002_1,1, imp-3.1_3, iso8879-1986, ispell-3.2.06_3,
jade-1.2.1_1, jpeg-6b_1, kronolith-1.0_3, lha-1.14i, libiconv-1.8_2,
libmcal-0.7, libmcrypt-2.5.6_1, libtool-1.3.4_4, libwmf-0.2.7,
libxml2-2.5.6, linuxdoc-1.1, logcheck-1.1.1, m4-1.4_1, mhash-0.8.17,
mkcatalog-1.1, mm-1.2.1, mod_php4-4.3.1, mysql-client-3.23.56,
mysql-server-3.23.56, nag-1.1, nmap-3.00, openldap-2.0.25_3,
p5-Archive-Tar-0.22, p5-Archive-Zip-1.05, p5-Authen-SASL-2.02,
p5-Bit-Vector-6.3, p5-Compress-Zlib-1.16, p5-Convert-TNEF-0.17,
p5-Convert-UUlib-0.213, p5-DBI-1.34_1, p5-Data-ShowTable-3.3,
p5-Date-Calc-5.3, p5-Digest-HMAC-1.01, p5-Digest-MD5-2.22,
p5-Digest-Nilsimsa-0.06, p5-Digest-SHA1-2.01, p5-File-Spec-0.82,
p5-File-Tail-0.98_1, p5-HTML-Parser-3.26, p5-HTML-Tagset-3.03, p5-IO-1.20,
p5-IO-stringy-2.108, p5-MIME-Base64-2.16, p5-MIME-Tools-5.411a_2,
p5-Mail-SpamAssassin-2.43, p5-Mail-Tools-1.53, p5-Mysql-modules-1.2219,
p5-Net-1.12,1, p5-Net-DNS-0.33_1, p5-Net-Daemon-0.36, p5-Net-Server-0.83,
p5-PlRPC-0.2016, p5-PodParser-1.18, p5-Storable-2.06, p5-Test-Harness-2.26,
p5-Test-Simple-0.47_1, p5-Time-HiRes-1.38,1, p5-TimeDate-1.1301,
p5-URI-1.23, p5-Unix-Syslog-0.100, pear-Crypt_CBC-0.3, pear-Date-1.3,
pear-Log-1.5, pear-install-4.3.0, perl-5.8.0_4, pine-4.56, pkgconfig-0.15.0,
pkgdb.db, png-1.2.5_2, poppassd-4.0_2, portupgrade-20030427,
procmail-3.22_2, python-2.2.2_2, qpopper-4.0.5_1, razor-agents-2.21_1,
ruby-1.6.8.2003.04.19, ruby-bdb1-0.2.1, ruby-rdoc-0.0.0.b2,
ruby-shim-ruby18-1.8.0.p2.2003.04.19_1, screen-3.9.15_1,
sed_inplace-2002.10.19, sgmlformat-1.7_2, swatch-3.0.4, turba-1.1_3,
unarj-2.43_1, unrar-.11,1, unzip-5.50, wget-1.8.2_3, wide-dhcp-1.4.0.6,
wv-0.7.4, xlhtml-0.5.1, zoo-2.10.1



Sean Page
Network Analyst, Internet Services
Information Technology Services
Edmonton Public Schools
Phone: (780) 429-8206
http://its.epsb.ca http://its.epsb.ca  

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


Xlib error FreeBSD 4.8

2003-08-27 Thread Ronny Hippler
Hello, I keep getting the following error when starting X 

Xlib: extension GLX missing on display :0.0.

The 0.0 changes depending on the display I am starting X on, I get in in my vnc 
session too. everything seems to work fine is this something to be concerned 
about? if so how do I fix this? btw I have an old voodoo3 video card and use 
kde as the window manager. TIA

--


The best way to accelerate Windows is at v9.8f/s/s



Ronny Hippler || Spartanburg SC
http://www.vr5.dyndns.org:8008/ || ftp://ftp.vr5.dyndns.org:2112/
For PGP key email with PGPKey in the subject


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


Re: Error in Kernel linking.

2003-08-27 Thread Kent Stewart
On Wednesday 27 August 2003 05:54 am, Sergy V.Greg wrote:
 I have some trouble with Kernel linking

 I typed the command:
 make buildkernel KERNCONF=KERNEL1

 and got Error:
...
 linking Kernel
 if.o: In function 'if_setlladdr':
 if.o: (.text+0x1b44): undefined reference to arp_ifinit
 *** Error code 1
...

 In attached file - my Kernel's config

I would try uncommenting pseudo-device ether. The module if_ether 
contains the missing entry point.

Ken t

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html

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


Re: Chkrootkit anomaly

2003-08-27 Thread Lewis Watson
 Since there have already been a couple of questions on this I thought
I'd
 see if anyone could shed some light on something I've noticed since I
 started running chkrootkit. It runs every 15 minutes (overkill? Nah.) in
 quiet mode to cut down on noise in the logs, and sporadically I get
these
 notifications:

 You have 1 process hidden for readdir command
 You have 1 process hidden for ps command
 Warning: Possible LKM Trojan installed

 These messages will appear only on the odd occasion, seemingly
completely at
 random.
 False positives or very crafty rootkit?
 Any advice would be greatly appreciated!


Hi Sean,
I too have occasionally seen these, I am running 4.7-RELEASE.

Also, thanks for mentioning -q, I never knew there was such a thing :-)
Lewis

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


Problems with sio3 on 5.1 machine

2003-08-27 Thread Kirk Strauser
I have an old 2400 baud ISA modem that I use to dial out to my paging
company's TAP server.  The modem worked corrected under FreeBSD 4.8 with
this entry in my kernel configuration:

device  sio3at isa? port IO_COM4 irq 9

I've since installed 5.1 on that machine but I'm having trouble getting the
modem to work.  I get this in my dmesg:

sio3: configured irq 9 not in bitmap of probed irqs 0
sio3: port may not be enabled

This is the relevant clause from my /boot/device.hints:

hint.sio.3.at=isa
# hint.sio.3.disabled=1
hint.sio.3.port=0x2E8
hint.sio.3.irq=9

I'm still growing accustomed to 5.x's new configuration setup so I may very
well be overlooking something obvious.  What can I do to re-enable my old
modem?
-- 
Kirk Strauser


pgp0.pgp
Description: PGP signature


enable root login to remote system (was - failed root login withshared ssh key)

2003-08-27 Thread Dave [Hawk-Systems]

Further test, which I missed earlier for some unknown reason, was to create an
ssh key for a non-root user, copy to the target server, and try a key
authenticated login with the non-root user...  worked perfectly.

As such, the problem does not appear to be with the ssh key login, but with the
fact that it is a root login.  I am focusing my efforts there.  Any idea as to
why the server would not allow root login given that we have already checked
PermitRootLogin yes for the sshd_config.  Is there another location or entry
which would be preventing root logins?

Dave


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


RE: Chkrootkit anomaly

2003-08-27 Thread Dave [Hawk-Systems]
Since there have already been a couple of questions on this I thought I'd
see if anyone could shed some light on something I've noticed since I
started running chkrootkit. It runs every 15 minutes (overkill? Nah.) in
quiet mode to cut down on noise in the logs, and sporadically I get these
notifications:

You have 1 process hidden for readdir command
You have 1 process hidden for ps command
Warning: Possible LKM Trojan installed

These messages will appear only on the odd occasion, seemingly completely at
random.
False positives or very crafty rootkit?
Any advice would be greatly appreciated!

http://www.chkrootkit.org/

FAQ item #6 is what you are intersted in, although it isn't clear.

The problem is that processes are ending before it can check it, thus they are
incorrectly tagged as hidden and result in a false positive.  There are better
resources regarding this (researched it a few months ago) but that is roughly
the gist of it.

Dave


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


Problems with Nagios? Or is it my machine?

2003-08-27 Thread Kirk Strauser
I use Nagios to monitor various servers on my LAN and on clients' networks.
I'm having problems with the check_nntp plugin as of upgrading my Nagios
port on 2003-08-27:

[EMAIL PROTECTED]:~# /usr/local/libexec/nagios/check_tcp -H virtual2 -p 119
TCP OK -   0.004 second response time on port 119|time=  0.004

[EMAIL PROTECTED]:~# /usr/local/libexec/nagios/check_nntp -H virtual2
Bus error (core dumped)

`check_nntp' is actually a symlink to `check_tcp'; the relevant portion of
check_tcp.c is:

else if (strstr (argv[0], check_nntp)) {
asprintf (progname, check_nntp);
asprintf (SERVICE, NNTP);
SEND = NULL;
EXPECT = NULL;
server_expect = realloc (server_expect, ++server_expect_count);
asprintf (server_expect[server_expect_count - 1], 200);
server_expect = realloc (server_expect, ++server_expect_count);
asprintf (server_expect[server_expect_count - 1], 201);
asprintf (QUIT, QUIT\r\n);
PROTOCOL = TCP_PROTOCOL;
PORT = 119;
}

I know that bus errors usually aren't Good Things, but I'm only seeing them
with this one program, and only when it's called as `check_nntp'.  Before I
submit a PR, is there anything on my system that could cause that error?
-- 
Kirk Strauser


pgp0.pgp
Description: PGP signature


Re: no root login after changing shell

2003-08-27 Thread Markie

- Original Message -
From: Charles Howse [EMAIL PROTECTED]
To: 'thomas may' [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Wednesday, August 27, 2003 4:57 PM
Subject: RE: no root login after changing shell


 i wanted to change the shell for user root to bash.
 in the freebsd online handbook i found this command:

 # echo /usr/local/bin/bash  /etc/shells


 but what i didnt know at this moment, that i have to install bash
 before.
 so i logged of as user root and get now on login the following error:

 su: /usr/local/bin/bash: No such file or directory

 can anybody please help me ...
 thanx

Type 'boot -s' at the 10 second count down to boot to single user mode, it
should ask you for the shell you want to use I think, the default being
/bin/sh so you should be able to hit enter. You'll have to mount your
partitions read/write, something like `mount -rw /`, if /usr is a seperate
partition I think you will also need to mount this for vi and such... you
should then be able to type `chsh -s /bin/tcsh` (on second thoughts maybe
you don't need vi for this) to change the shell for root back, reboot and
login (unless I missed something out) :o)


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


Re: no root login after changing shell

2003-08-27 Thread Mike Hogsett


  i wanted to change the shell for user root to bash.
  in the freebsd online handbook i found this command:
  
  # echo /usr/local/bin/bash  /etc/shells
  
  
  but what i didnt know at this moment, that i have to install bash
  before.
  so i logged of as user root and get now on login the following error:
  
  su: /usr/local/bin/bash: No such file or directory
  
  can anybody please help me ...
  thanx
 
 Been there, done that, I sympathize with you.
 The proper way to have done that would be:
 Install bash
 As root, type chsh
 That will open vi, or your configured editor.
 Then change the shell line to: /usr/local/bin/bash
 
 Alternately, you can, as root, type:
 Chpass -s /usr/local/bin/bash root
 This aviods opening vi and the editing I mentioned above.
 
 As far as recovering from this problem, I'm kinda a newbie myself, when
 I did that, I finally re-installed.  Maybe someone can point you to the
 easy way to fix it.

Reboot the machine.

At the `boot:' prompt do :

boot -s

When it asks for a shell accept /bin/sh (or specify it)

Mount all OS partitions (e.g. `mount -a -t ufs')

Fix the password file. (us vipw if you can)

reboot.

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


Samba: very strange truncation error

2003-08-27 Thread acc
Fellow Samba- and FreeBSD-lovers:

I'm encountering a very peculiar error.  I first encountered it when
doing an upgrade to Samba 2.2.8a (from a fairly recent version---I don't
recally exactly which, but it couldn't have been older than 2.2.7) on
FreeBSD 4.8-STABLE.

The error I'm encountering is twofold.  In the first example, I try to
connect to the shared service, which results in the following:

[2003/08/26 18:21:17, 0] smbd/service.c:make_connection(252)
  aphrodite (192.168.1.4) couldn't find service share

Second, when trying to connect to service acc I get:

[2003/08/18 13:36:22, 0] smbd/service.c:make_connection(252)
  aphrodite (192.168.1.4) couldn't find service accproject.ede
[2003/08/18 13:36:22, 0] smbd/service.c:make_connection(252)
  aphrodite (192.168.1.4) couldn't find service accmakefile.am

The former example doesn't seem to phase Win2k SP4 at all, but certain
apps (such as Emacs 21.3.1) freeze up when the latter is encountered.
However, when I try to access the acc service again, it works fine
(i.e., it alternates from functional to non-functional, ad nauseum).

I've tried rebuilding a couple of times, which doesn't fix the problem
at all.  The make variables (which should be obvious to any FreeBSD user
experienced with portupgrade and fairly straightforward to everyone
else) I pass to the build process are:

-DWITH_AUDIT -DWITH_RECYCLE -DWITH_SSL -DWITH_UTMP -DWITH_MSDFS
-DWITHOUT_CUPS -DWITH_WINBIND_AUTH_CHALLENGE

I would very much appreciate any insight that you could lend.  This is
only a slight nuisance, but one that is starting become slightly more
irritating as time goes on.  I've included my (very minimal) smb.conf
below.  Thanks!

-- 
Anthony Chavez http://www.anthonychavez.org/
mailto:[EMAIL PROTECTED] jabber:[EMAIL PROTECTED]

# Samba config file created using SWAT
# from aphrodite.anthonychavez.org (192.168.1.4)
# Date: 2003/07/17 02:56:37

# Global parameters
[global]
workgroup = ATHENS
server string = Samba %v
interfaces = rl0 127.0.0.1
bind interfaces only = Yes
encrypt passwords = Yes
passwd chat = *password* %n\n *password* %n\n *done*
username map = /usr/local/etc/smb.usermap
unix password sync = Yes
log level = 1
log file = /var/log/samba.%m
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 IPTOS_THROUGHPUT
load printers = No
domain admin group = @staff
add user script = /root/bin/addmachine.pl %u
delete user script = /root/bin/rmmachine.pl %u
logon path = \\%N\profiles\%u
domain logons = Yes
os level = 65
preferred master = Yes
domain master = Yes
hosts allow = 192.168.1. 127.

[netlogon]
path = /usr/local/samba/netlogon
write list = root
browseable = No

[profiles]
path = /usr/local/samba/profiles
read only = No
create mask = 0600
directory mask = 0700
browseable = No

[homes]
comment = Home Directory
valid users = %S
read only = No
hide dot files = No
browseable = No

[acc]
comment = Home Directory
path = /usr/home/acc
valid users = root acc
force user = acc
force group = acc
read only = No

[tlc]
comment = Home Directory
path = /usr/home/tlc
valid users = root tlc
force user = tlc
force group = tlc
read only = No

[archive]
path = /usr/local/samba/arc
force user = samba
read only = No
force create mode = 0600
force directory mode = 0700

[multimedia]
path = /usr/local/samba/mm
force user = samba
read only = No
force create mode = 0600
force directory mode = 0700

[roms]
path = /usr/local/samba/roms
force user = samba
read only = No
force create mode = 0600
force directory mode = 0700

[shared]
path = /usr/local/samba/shared
read only = No
force create mode = 0600
force directory mode = 0700


pgp0.pgp
Description: PGP signature


Problem

2003-08-27 Thread Yann
Firstly , excuse me for my bad english but I'm french student.

I am installing an web test server with a FreeBSD 4-4 distribution, i install Mysql 
4.0.14 and apache 1.3.23 successfully , but when I add (with pkg_add) php4
apache doesn't want to run, and show this error

Syntax error on line 237 of /usr/local/etc/apache/httpd.conf: 
Cannot load /usr/local/libexec/apache/libphp4.so into server: 
/usr/local/libexec/apache/libphp4.so: Undefined symbol nl_langinfo 

I read the bug report http://www.freebsd.org/cgi/query-pr.cgi?pr=31806 but, because 
i'm a beginner I had not understand the things to do.

Can you help me please.


Thanks

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


Re: Problem

2003-08-27 Thread Jerry McAllister
 
 Firstly , excuse me for my bad english but I'm french student.
 
 I am installing an web test server with a FreeBSD 4-4 distribution, i 
 install Mysql 4.0.14 and apache 1.3.23 successfully , but when I add 
 (with pkg_add) php4
 apache doesn't want to run, and show this error
 
 Syntax error on line 237 of /usr/local/etc/apache/httpd.conf: 
 Cannot load /usr/local/libexec/apache/libphp4.so into server: 
 /usr/local/libexec/apache/libphp4.so: Undefined symbol nl_langinfo 
 
 I read the bug report http://www.freebsd.org/cgi/query-pr.cgi?pr=31806 
 but, because i'm a beginner I had not understand the things to do.

Two things you need to do:
  One, break you lines in your message at around 70 characters.  It
  will make it much easier to respond from text based Email clients.

  Two, include in your message the contents of line 237 (plus maybe a
  few lines before and a few after) from /usr/local/etc/apache/httpd.conf
  Since that is what it is complaining about, it could be essential 
  for diagnosing the problem.

jerry

 
 Can you help me please.
 
 Thanks
 
 YAnn JOUANIN 
 [EMAIL PROTECTED]
 ___
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: no root login after changing shell

2003-08-27 Thread David Landgren
thomas may wrote:
Hi,

i wanted to change the shell for user root to bash.
This is not a good idea. You don't want to use a shell on a partition 
other than / (e.g. /usr, /usr/local) for root. If those partitions, or 
shared libraries like libc, get trashed, you are in a world of pain.

Much better is to continue to use /bin/sh (or whatever other 
statically-linked shell takes your fancy) by default. Then, when you 
want the comfort of bash, all you have to do is run

	exec bash

from the command line and voila! you're using bash. This is how all my 
servers are set up. 10 keystrokes is a small price to pay for peace of 
mind.

David

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


Re: SSH Daemon not running

2003-08-27 Thread David Landgren
[EMAIL PROTECTED] wrote:

After a standard install of 4.7 the ssh daemon isn't running
even though it shows enabled in rc.conf, could it be
something else I'm missing. It was my understading that ssh
got installed by default. I did go into /etc/ssh/sshd_config
and made sure I uncommented the port 22, etc. but still no
help. I tried reinstalling just to make sure I didn't
accidentally mess something up but the same thing keeps
happening. Can someone please point me in the right
direction?
Does it start if you run /usr/sbin/sshd manually? Are any error 
messages recorded in /var/log/security or /var/log/messages?

David

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


Problem with Adelphia connection

2003-08-27 Thread fbsd_user
I have been running an FBSD gateway with a local lan behind it
containing 2 ms/windows boxes, the gateway connects to Adelphia ISP
over cable and has been working for the past 18 months without any
problems. Adelphia's email system was taken offline last Sunday to
address the new virus which attacks ms/windows boxes and has been in
the news. Today Wednesday when I booted FBSD gateway I no longer
have lan access to public internet. From the FBSD gateway box I can
ping IP and domain names, I can also use lynx browser to pull up web
sits. I use IPFILTER firewall and added temp rules to (pass quick
log) everything so I can get ready-trace of all packets passing
through gateway. I see LAN PC packet come into IPF get nated and
then pass out to public internet, which is really going to ISP for
pass through to public internet. I see no responses returning  from
public internet for nated Lan pc's packets. But anything originating
from gateway does get  responses returning  from public internet.
From the Lan PC's I can telnet  FTP into gateway box just fine, I
can also pull up my personal web sit running on Apache in the
gateway box just fine. The lan works fine locally. When I cable
Adelphia's cable modem directly to MS/windows box, I get connected
to internet ok and everything works as expected.

It looks like Adelphia has activated some kind of new filter to deny
Nated packets. I thought the Nated packet did not carry any info in
it that could identify it as having been Nated after leaving the
gateway box.

Has any body experienced this?  Any help in the area of how to
further debug this problem would be appreciated?



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


Re: Large memory issues

2003-08-27 Thread David Landgren
Irvine Short wrote:

Hey All
[snip]
and it was slightly better - managed to boot halfway with everything
running out of memory.
I then found that this:
options MAXDSIZ=(2048*1024*1024)
options MAXSSIZ=(128*1024*1024) (and also 64MB)
options DFLDSIZ=(512*1024*1024)
worked fine but not as expected - limit reports datasize unlimited.
I've managed to crank it up as far as

options MAXDSIZ=(3568*1024*1024)

This is for a squid proxy. Right now I have

% ps uUnobody
USER PID %CPU %MEM   VSZ  RSS  TT  STAT STARTED  TIME COMMAND
nobody   132  0.0 55.6 2185016 2184992  ??  S18Aug03  43:08.02 
squid -NsY
nobody   133  0.0  0.0   864  412  ??  Ss   18Aug03   0:28.88 
(unlinkd) (unlinkd)

which is pretty sweet. Which reminds me, I have to tweak my squid conf 
a bit to let it blow another gig or so of RAM :)

I'd kind of like a default of 512MB with the option to loosen it.
Any offers as to what's the proper way to do this? All's well at the mo
but it doesn't seem right.
man limits

Configging MAXDSIZ to 3500*1024*1024 did the same as 4095

Also, when the machine boots it says:
CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2392.25-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0xf27  Stepping = 7
Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS
,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
  Hyperthreading: 2 logical CPUs
real memory  = 4025942016 (3931584K bytes)
and then later it says on the console something like:
256MB of RAM over 4GB ignored.
Seems silly to waste 256MB RAM so any hints would be appreciated here
too.
How can you address more than 2^32 bytes of RAM with a 32 bit 
processor? :)

Intel have invented a kluge called PAE (Page Address Extensions which 
lets you eke a bit more out of the current Pentium architecture -- but 
single processes are still limited to a 4Gb address space. And the 
talk a while back on freebsd-current was that it has a slight 
performance impact as well.

David

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


how to reset password with nologin shell?

2003-08-27 Thread David Banning
If I have a user that has a nologin shell and they forget
thier password, is there a way to give them a new password?

Right now I am resetting their password to nil, then
giving them a shell like /bin/sh, logging in on their behalf,
setting up a password, and then changing their shell back
to /bin/nologin.

I would like to elliminate the noshell to shell and then
back to noshell part.

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


RE: how to reset password with nologin shell?

2003-08-27 Thread Charles Howse

 If I have a user that has a nologin shell and they forget
 thier password, is there a way to give them a new password?
 
 Right now I am resetting their password to nil, then
 giving them a shell like /bin/sh, logging in on their behalf,
 setting up a password, and then changing their shell back
 to /bin/nologin.
 
 I would like to elliminate the noshell to shell and then
 back to noshell part.

# passwd username


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


ASUS A7N8X + nvidia driver

2003-08-27 Thread Hendrik Hasenbein
Hi,

i am running FreeBSD-5.1 and can't get agp up and running. I tried to 
load the kernel module before and after system start and also tried with 
and without acpi. The results were the same:

nvidia0: Unknown at device 0.1 on pci0
nvidia0: Unable to enable PCI busmastering.
device_probe_and_attach: nvidia0 attach returned 6
nvidia0: Unknown at device 0.2 on pci0
nvidia0: Unable to enable PCI busmastering.
device_probe_and_attach: nvidia0 attach returned 6
nvidia0: Unknown at device 0.3 on pci0
nvidia0: Unable to enable PCI busmastering.
device_probe_and_attach: nvidia0 attach returned 6
nvidia0: Unknown at device 0.4 on pci0
nvidia0: Unable to enable PCI busmastering.
device_probe_and_attach: nvidia0 attach returned 6
nvidia0: Unknown at device 0.5 on pci0
nvidia0: Unable to enable PCI busmastering.
device_probe_and_attach: nvidia0 attach returned 6
nvidia0: Unknown port 0xe800-0xe81f irq 10 at device 1.1 on pci0
nvidia0: Unable to enable PCI busmastering.
device_probe_and_attach: nvidia0 attach returned 6
nvidia0: Unknown mem 0xcf081000-0xcf0810ff irq 5 at device 2.2 on pci0
nvidia0: Unable to allocate NVIDIA memory resource.
device_probe_and_attach: nvidia0 attach returned 6
nvidia0: Unknown port 0xec00-0xec07 mem 0xcf082000-0xcf082fff irq 10 
at device 4.0 on pci0
nvidia0: Unable to allocate NVIDIA memory resource.
device_probe_and_attach: nvidia0 attach returned 6
nvidia0: Unknown mem 0xcf00-0xcf07 irq 10 at device 5.0 on pci0
nvidia0: Unable to allocate NVIDIA memory resource.
device_probe_and_attach: nvidia0 attach returned 6
nvidia0: GeForce4 Ti 4200 with AGP8X mem 
0xc000-0xc7ff,0xcb00-0xcbff irq 11 at device 0.0 on pci3

Does someone know a solution?

Hendrik

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


Re: Problem

2003-08-27 Thread Matthew Seaman
On Wed, Aug 27, 2003 at 12:47:51PM -0400, Jerry McAllister wrote:
  
  Firstly , excuse me for my bad english but I'm french student.
  
  I am installing an web test server with a FreeBSD 4-4 distribution, i 
  install Mysql 4.0.14 and apache 1.3.23 successfully , but when I add 
  (with pkg_add) php4
  apache doesn't want to run, and show this error
  
  Syntax error on line 237 of /usr/local/etc/apache/httpd.conf: 
  Cannot load /usr/local/libexec/apache/libphp4.so into server: 
  /usr/local/libexec/apache/libphp4.so: Undefined symbol nl_langinfo 
  
  I read the bug report http://www.freebsd.org/cgi/query-pr.cgi?pr=31806 
  but, because i'm a beginner I had not understand the things to do.
 
 Two things you need to do:
   One, break you lines in your message at around 70 characters.  It
   will make it much easier to respond from text based Email clients.
 
   Two, include in your message the contents of line 237 (plus maybe a
   few lines before and a few after) from /usr/local/etc/apache/httpd.conf
   Since that is what it is complaining about, it could be essential 
   for diagnosing the problem.

Normally, yes.  But in this case, I think you'll find line 237 is
just where apache loads the libphp shared object.

The OP's problem is that they've got a mismatch between the gettext
shlib version on their system and the gettext shlib version that PHP
was compiled against.

If you've updated the gettext port recently, and have
/usr/local/lib/libintl.so.5 present on your system, then you also need
to recompile your PHP port so that it links against the new
libintl.so.5 library.  In fact, you would need to do that for every
binary that links against gettext, which is going to be a fair
fraction of all of the ports you've got installed.

See Joe Marcus Clarke's HEADS-UP and the resulting thread for one way
of doing that:

http://freebsd.rambler.ru/bsdmail/freebsd-ports_curr/msg9.html
http://freebsd.rambler.ru/bsdmail/freebsd-ports_curr/msg00011.html

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: how to reset password with nologin shell?

2003-08-27 Thread Jerry McAllister
 
 If I have a user that has a nologin shell and they forget
 thier password, is there a way to give them a new password?
 
 Right now I am resetting their password to nil, then
 giving them a shell like /bin/sh, logging in on their behalf,
 setting up a password, and then changing their shell back
 to /bin/nologin.
 
 I would like to elliminate the noshell to shell and then
 back to noshell part.

If you have root - you must have, just type  'passwd USERID' 
Substitute the real user name for USERID and don't use the quotes.
Root can set password for any user - but make sure you put a 
username because if you don't, you will set root's password.

jerry

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


RE: how to reset password with nologin shell?

2003-08-27 Thread Derrick Ryalls
  If I have a user that has a nologin shell and they forget thier 
  password, is there a way to give them a new password?
  
  Right now I am resetting their password to nil, then
  giving them a shell like /bin/sh, logging in on their 
 behalf, setting 
  up a password, and then changing their shell back to /bin/nologin.
  
  I would like to elliminate the noshell to shell and then
  back to noshell part.
 
 If you have root - you must have, just type  'passwd USERID' 
 Substitute the real user name for USERID and don't use the 
 quotes. Root can set password for any user - but make sure you put a 
 username because if you don't, you will set root's password.
 

You can also install usermin (ports) so that once you give them a password,
they can change it without direct shell access.

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


Freebsd ufs under WIN

2003-08-27 Thread Martin Vana
Hi,
is there any utility that can mount Freebsd UFS under win for read/write.
Thank you
Martin
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Large memory issues

2003-08-27 Thread Irvine Short
On Wed, 27 Aug 2003, David Landgren wrote:

 Irvine Short wrote:
  I then found that this:
  options MAXDSIZ=(2048*1024*1024)
  options MAXSSIZ=(128*1024*1024) (and also 64MB)
  options DFLDSIZ=(512*1024*1024)
 
  worked fine but not as expected - limit reports datasize unlimited.

 I've managed to crank it up as far as

 options MAXDSIZ=(3568*1024*1024)

Cool! Although I tried 3500  it blew up too...

Hyperthreading: 2 logical CPUs
  real memory  = 4025942016 (3931584K bytes)
 
  and then later it says on the console something like:
  256MB of RAM over 4GB ignored.
 
  Seems silly to waste 256MB RAM so any hints would be appreciated here
  too.

 How can you address more than 2^32 bytes of RAM with a 32 bit
 processor? :)

Yeah, I know about PAE, but it's a 4GB machine so why is there 256MB over
the 4GB limit?

Thanks for the advice though...

Irvine

Sys Admin
SANBI, University of the Western Cape, South Africa
http://www.sanbi.ac.za
tel: +27-21-959 3645
cel: +27-82-494 3828
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


[no subject]

2003-08-27 Thread Jon Seidel, CMC
I'm trying to install FreeBSD 5.0 on my Toshiba Portege 7010CT laptop
(Pentium II, 300MHz, 160Meg RAM, 20G HDrive).

4.7 and 4.8 both installed fine, but I was unable to get X to install,
and wanted some of the new features, so figured I'd try 5.0. No luck.

No matter how I try it, I get the message Unable to transfer the bin
distribution from media. The other distributions (doc, etc.)
transfer just fine.  I've tried the following:

- downloaded and burned CDs from ISO images (downloaded twice, burned
twice to make sure not a media problem); also tried 5.1 with the same
result.
- connect via ftp server

I've booted from floppy or from the previously-installed 4.7/4.8
FreeBSD. I'm beginning to wonder if there's some incompatibility that
I don't know about.

Any suggestions? I've just started trying to use FreeBSD.

Thanks...jon




-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

  Connecting Business and Technology

Jon Seidel, CMC   +1-510-530-6314
EDP Consulting, Inc.www.edpci.com

CMC (Certified Management Consultant) is a certification mark awarded by
the Institute of Management Consultants USA and represents evidence of the
highest standards of consulting and adherence to the ethical canons of the
profession. Less than 1% of all consultants have achieved this level of
performance. See www.imcusa.org/hireacmc.acgi.


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


Re: mounting linux ext3 partition

2003-08-27 Thread Shantanu Mahajan
+-- Joshua Oreman [freebsd] [26-08-03 21:21 IST]:
| On Tue, Aug 26, 2003 at 01:03:33AM -0400 or thereabouts, dave wrote:
|  Hello,
|  I'm trying to mount a linux ext3 partition. I understand that it's
|  possible to do it using the ext2 kernel driver so i've recompiled a kernel
|  with that option in it. When i do:
|  mount_ext2fs /dev/ad1 /mnt
|  this is what i get.
|  
|  ad1: 38166MB WDC WD400AB-32CDB0 [77545/16/63] at ata0-slave UDMA100
|  ext2fs: ad1: wrong magic number 0 (expected 0xef53)
|  WARNING: mount of ad1s1 denied due to unsupported optional features
|  ext2fs: ad1: wrong magic number 0 (expected 0xef53)
|  WARNING: mount of ad1s1 denied due to unsupported optional features
|  ext2fs: ad1: wrong magic number 0 (expected 0xef53)
|  ext2fs: ad1: wrong magic number 0 (expected 0xef53)
|  ext2fs: ad1: wrong magic number 0 (expected 0xef53)
| 
| I think your drive is marked dirty. Please mount/umount it in Linux
| and try again.
| 
| BTW: ext3 is compatible w/ext2 *ONLY* when the dirty bit is unset. When
|  it is set, journal rollback is necessary which only ext3 can handle.


to check ext2/3 file system in FreeBSD, checkout the
port
/usr/ports/sysutils/fsck_ext2fs

It worked for me.
| 
| -- Josh
| 
|  
|  Any help appreciated.
|  Dave.
|  

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


RE: Freebsd ufs under WIN

2003-08-27 Thread Charles Howse
 Hi,
 is there any utility that can mount Freebsd UFS under win for 
 read/write.
 Thank you
 Martin

Samba will let you read and write to UFS in Windows.
Sharity-Light will let you read and write to Windows shares in FreeBSD.


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


broken packages or not ?

2003-08-27 Thread mess-mate
Hi all,
when I run synaptic there are no broken packages.
Running aptitude there are ??
What's wrong ?
mess-mate

-- 
Computers are like air conditioners, they are useless when you open
Windows.

pgp0.pgp
Description: PGP signature


Re: Freebsd ufs under WIN

2003-08-27 Thread Kirk Strauser
At 2003-08-27T19:28:45Z, Charles Howse [EMAIL PROTECTED] writes:

 Samba will let you read and write to UFS in Windows.

Um, no.  Samba will let you browse a filesystem residing on a FreeBSD
server.  It will not let you mount the filesystem natively on a local drive.
-- 
Kirk Strauser


pgp0.pgp
Description: PGP signature


Re: broken packages or not ?

2003-08-27 Thread Dan Nelson
In the last episode (Aug 27), mess-mate said:
 Hi all,
 when I run synaptic there are no broken packages.
 Running aptitude there are ??
 What's wrong ?
 mess-mate

Try a Debian mailinglist?

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


Re: your mail

2003-08-27 Thread Jonathan Chen
On Wed, Aug 27, 2003 at 01:36:44PM +0700, anton wrote:
 Hello freebsd-questions,
 
 I'v problem with upgarade FreeBSD-4.8
 
 I intut:
 # cd /usr/src
 # make buildworld
 Makefile:137: *** missing separator.  Stop.
 
 What is problem?

You're using GNU make instead of /usr/bin/make. Don't. Building the
system sources requires the BSD make.
-- 
Jonathan Chen [EMAIL PROTECTED]
--
 Power corrupts, Absolute Power is pretty neat
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Freebsd ufs under WIN

2003-08-27 Thread Charles Howse
  Samba will let you read and write to UFS in Windows.
 
 Um, no.  Samba will let you browse a filesystem residing on a FreeBSD
 server.  It will not let you mount the filesystem natively on 
 a local drive.

The question was:

 is there any utility that can mount Freebsd UFS under win for 
 read/write.

I have a FBSD machine running Samba.  I 'share' certain directories
within smb.conf.
When I browse the Samba shares from my Windows XP Pro machine, not only
can I read and write to them, I can mount them as as a Network drive,
which is essentialy the same as a local drive.

If I misunderstood the original question, I'm sorry, but it will work
the way I have just outlined.


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


Re: Large memory issues

2003-08-27 Thread David Landgren
Irvine Short wrote:
[...]
and then later it says on the console something like:
256MB of RAM over 4GB ignored.
Seems silly to waste 256MB RAM so any hints would be appreciated here
too.
How can you address more than 2^32 bytes of RAM with a 32 bit
processor? :)


Yeah, I know about PAE, but it's a 4GB machine so why is there 256MB over
the 4GB limit?
I dunno, if you count the chips what do you come up with?

I recently bought a whole pile of servers (HP DL380s if you've been 
following my trials and tribulations) that are designed to accept up to 
6Gb on the motherboard. I think it's a bit of a gimmick really.

One of the servers came bundled with 4.5Gb RAM. We wanted 4Gb, but the 
machine comes with 512 by default (2x256 chips [1]). Our supplier just 
stuck in 4x1Gb chips without bothering to remove the existing chips. As 
the servers all had different chip sizes, 256Mb, 512 and 1Gb, by mixing 
and matching I was able to remove the wasted 512Mb and install it in 
another server. Maybe you can do something like that. Or put it on a 
shelf for spare parts.

David

[1] DIMMs, SIMMs, whatever they call them these days.

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


Re: Freebsd ufs under WIN

2003-08-27 Thread Kirk Strauser
At 2003-08-27T20:52:04Z, Charles Howse [EMAIL PROTECTED] writes:

 The question was:

 is there any utility that can mount Freebsd UFS under win for read/write.

I am almost 100% certain that the real question was:

  Is there a utility that can mount a FreeBSD UFS partition read/write from
   a hard drive installed in a Windows box?

 I have a FBSD machine running Samba.  I 'share' certain directories within
 smb.conf.  When I browse the Samba shares from my Windows XP Pro machine,
 not only can I read and write to them, I can mount them as as a Network
 drive, which is essentialy the same as a local drive.

I understand your point, but I believe that the key was that the poster
specified UFS directly.
-- 
Kirk Strauser


pgp0.pgp
Description: PGP signature


RE: Freebsd ufs under WIN

2003-08-27 Thread Charles Howse
  The question was:
 
  is there any utility that can mount Freebsd UFS under win 
 for read/write.
 
 I am almost 100% certain that the real question was:
 
   Is there a utility that can mount a FreeBSD UFS partition 
 read/write from
a hard drive installed in a Windows box?
 
  I have a FBSD machine running Samba.  I 'share' certain 
 directories within
  smb.conf.  When I browse the Samba shares from my Windows 
 XP Pro machine,
  not only can I read and write to them, I can mount them as 
 as a Network
  drive, which is essentialy the same as a local drive.
 
 I understand your point, but I believe that the key was that 
 the poster
 specified UFS directly.

I understand.  Perhaps the OP could specify exactly what he meant to
clarify.

BTW, what is the answer to your intrepretation of the question?

Also BTW, I said I could *mount* Samba shares, what I should have said
is that I can *map* Samba shares to Network drives, sorry.


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


Re: Freebsd ufs under WIN

2003-08-27 Thread Kirk Strauser
At 2003-08-27T21:17:47Z, Charles Howse [EMAIL PROTECTED] writes:

 BTW, what is the answer to your intrepretation of the question?

No.

 Also BTW, I said I could *mount* Samba shares, what I should have said is
 that I can *map* Samba shares to Network drives, sorry.

Close enough for guv'mnt work.
-- 
Kirk Strauser


pgp0.pgp
Description: PGP signature


Re: Install error resolv.h - Application: Webware

2003-08-27 Thread Lowell Gilbert
[EMAIL PROTECTED] writes:

 Trying to install an application that is generally run on Linux. No port
 available and when I run their make file I get errors like
 /usr/include/resolv.h:104: field `nsaddr_list' has incomplete type. I
 installed the linux-base and then tried the install again, but didn't change
 anything.
 
 Any help would be very much appriciated.

At a guess, it looks like it's failing to include /usr/include/sys/socket.h.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ssh not loading after install

2003-08-27 Thread Lowell Gilbert
[EMAIL PROTECTED] writes:

 I'm using 4.7 and when I do an install ssh doesn't show on
 port 22 when I did a netstat -an even though it shows it
 enabled. I got it to work the first time but after I
 reinstalled numerous times I can't get ssh to be loaded at
 startup. I freebsd the exact same way each time so I dunno
 what I'm doing wrong. Please help.

Is the task running?
Do you have a firewall?
What happens when you try to start ssh by hand?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: having problems with getting two interfaces running on FreeBSD5.1

2003-08-27 Thread Lowell Gilbert
Bsd Neophyte [EMAIL PROTECTED] writes:

 hmmm... you're the second person to tell me this that i need the
 interfaces to be on separate subnets.

They don't *need* to be, but there's rarely a reason to do otherwise.

 my prime purpose is to have this device act as my PDC and a proxy server. 
 i want all proxy request to go into one interface and have the other fetch
 everything.

Why do you want them on different interfaces anyway?

 is there anyway to keep them on the same subnet?  i have a router that
 handles the routing, so i really don't need anything else to do routing. 
 i simply want all web requests to go through this server, and have it
 cache web sites and to provide some sort of protection.

If I recall correctly, I think squid can act as a transparent proxy.
You might be able to do that in a bridging mode, even.
However, it's probably easier to just configure the various machines
to use the proxy (and enforce it with firewalling, if necessary).
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


'make search name' fails to show port info

2003-08-27 Thread Francesco Casadei
# portversion -v icewm
icewm-1.2.0   needs updating (port has 1.2.11)

# make search name=icewm

#  ls /usr/ports/x11-wm/icewm/
Makefile  distinfo  files pkg-descr pkg-plist

Why does the command 'make search name=icewm' not show the port info?
Other ports seem to work:

# portversion -v gsfonts
gsfonts-5.10  needs updating (port has 6.0)

# make search name=gsfonts
Port:   gsfonts-6.0
Path:   /usr/ports/print/gsfonts
Info:   Fonts used by GNU Ghostscript (or X)
Maint:  [EMAIL PROTECTED]
Index:  print
B-deps: XFree86-3.3.6_11 p5-type1inst-0.6.1
R-deps:

I ran cvsup, 'pkgdb -F' and 'portsdb -Uu' on august 26th. portsdb
complained about duplicated entries as usual, but nothing more.

# ls -l /usr/ports/INDEX*
-rw-r--r--  1 root  wheel  3549086 Aug 26 10:32 /usr/ports/INDEX
-rw-r--r--  1 root  wheel  4036779 Aug 25 19:39 /usr/ports/INDEX-5
-rw-r--r--  1 root  wheel  7872512 Aug 26 10:32 /usr/ports/INDEX.db

Francesco Casadei
-- 
You can download my public key from http://digilander.libero.it/fcasadei/
or retrieve it from a keyserver (pgpkeys.mit.edu, wwwkeys.pgp.net, ...)

Key fingerprint is: 1671 9A23 ACB4 520A E7EE  00B0 7EC3 375F 164E B17B



pgp0.pgp
Description: PGP signature