Re: severely OT; re PUTTY [ssh]

2007-07-09 Thread Norberto Meijome
On Sun, 8 Jul 2007 22:57:26 -0700
Gary Kline <[EMAIL PROTECTED]> wrote:

>   wHat I was tying to do what scp a kf141.exe here on "tao"
>   over to my daughter's peecee to get her W2K key/number.
>   I didn't buy the W2K and when I junk the computer I want to
>   use the OS.   The error was a permissions type yelp from
>   the PC

not very specific...

>.  I logged out as her, then discovered that she already
>   was "administrator."

where do you end if you symply SSH to the machine? what path? If you SSH into 
it, can you create a file there?
can you CD to another path, such as c:\windows\temp\ 

what is the actual cmd when you scp to the machine? the actual paths,etc. 

why dont you scp from the w2k ? eg, 

c:\windows\temp\> scp [EMAIL PROTECTED]:/path/to/magic.exe .

why dont you upload the file to a webserver and download from there?
why not email it to yourself ...etc...etc

> 
>   gary
> 
>   PS/:  if anybody knows where I can find this "key-finder"
> binary, it'd save lots of steps!

left that world behind some time ago...trying quite hard to stay away from it...
good luck
_
{Beto|Norberto|Numard} Meijome

"Everything is interesting if you go into it deeply enough"
  Richard Feynman

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Crypto missing after FreeBSD-Update to 6.2-RELEASE

2007-07-09 Thread Colin Percival
Matt Bostock wrote:
> I've been using freebsd-update for some time now and it's been fantastic. I
> recently used Colin's upgrade script[1] to upgrade to 6.2-RELEASE, but it 
> seems
> that the crypto distribution is now missing from my system.

What makes you think that the crypto code is missing?

> With previous versions of freebsd-update I would have used --branch, but later
> versions this option is omitted. What's the safest way to get freebsd-update 
> to
> recognise that I need the crypto libraries and install them?

Starting in FreeBSD 5.3, the cryptographic libraries were required instead of
being optional; and starting at some point in 5.x -- I can't remember exactly
when -- the kerberos code stopped being distributed as separate distributions.
Since the --branch option had become obsolete, I removed it. :-)

> PS On a side note, what happened to the IDS option? I'd like to use it to
> exclude files in a backup script. If you have a suggestion for nice 
> alternative,
> please let me know :-)

I removed the IDS option because I didn't think anyone used it.  Since then I
have heard from lots of people who used it, so I'm going to add the IDS option
back soon. :-)

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


I need to create PF (NAT) log file.

2007-07-09 Thread chamnan chaladpat

About Network Address Translation.

I need to create  PF  log file that has external and local IP address 
mapping.


I need log file that has result like  pfctl -ss command.

How to create it?

_
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


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


6.2-stable power management

2007-07-09 Thread J.D. Bronson

Is there any way to verify ALL power management is disabled?
I have totally disabled it in my BIOS and I have
totally disabled it in the hard drives...

Yet I keep hearing a drive spin down and then immediately back up
over and over (at times).

If I install a different OS on this same machine, this does not 
happen..so I am thinking something within 6.2-stable is doing this?


any thoughts or ideas?

-JD

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


Re: 6.2-stable power management

2007-07-09 Thread Pollywog
On Monday 09 July 2007 12:43:45 J.D. Bronson wrote:
> Is there any way to verify ALL power management is disabled?
> I have totally disabled it in my BIOS and I have
> totally disabled it in the hard drives...
>
> Yet I keep hearing a drive spin down and then immediately back up
> over and over (at times).
>
> If I install a different OS on this same machine, this does not
> happen..so I am thinking something within 6.2-stable is doing this?
>
> any thoughts or ideas?

I am not having this problem with FreeBSD 6.2, which I recently installed on a 
laptop in place of kubuntu and I DID have this problem with the same laptop 
when it was running kubuntu.  I did not change any BIOS settings.  The laptop 
would wake me up with all the noise.  With FreeBSD 6.2 the laptop stays quiet 
if I leave it on overnight.

FreeBSD 6.2-RELEASE-p4 (GENERIC) #0: Thu Apr 26 17:40:53 UTC 2007
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 6.2-stable power management

2007-07-09 Thread Pollywog
On Monday 09 July 2007 12:43:45 J.D. Bronson wrote:
> Is there any way to verify ALL power management is disabled?
> I have totally disabled it in my BIOS and I have
> totally disabled it in the hard drives...
>
> Yet I keep hearing a drive spin down and then immediately back up
> over and over (at times).
>
> If I install a different OS on this same machine, this does not
> happen..so I am thinking something within 6.2-stable is doing this?
>
> any thoughts or ideas?

BTW are you running chat clients or mail clients on this computer?
Perhaps something like that is causing this activity, such as when a mail 
client or notifier checks a remote server for mail.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


reboot in single user

2007-07-09 Thread Jean-Paul Natola
Hi all,

I'm curious to know if there is a command to reboot into single user mode- *
more importantly* if I do reboot in single user mode can I still SSH  in?

My box is not physically near me and I'm upgrading 5.5 to 6.2 - so it this
possible- or do I need to go get the box and attach a keyboard monitor and
mouse to it?


Thanks









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


RE: reboot in single user

2007-07-09 Thread Johan Hendriks
>Hi all,

>I'm curious to know if there is a command to reboot into single user mode- *
>more importantly* if I do reboot in single user mode can I still SSH  in?

>My box is not physically near me and I'm upgrading 5.5 to 6.2 - so it this
>possible- or do I need to go get the box and attach a keyboard monitor and
>mouse to it?


>Thanks


Shutdown now goes into single user mode, but it will close SSH !
Better is to manually shutdown al daemons through /usr/local/etc/rc.d and 
/etc/rc.d to only have sshd running.
If you using natd do not stop it either, because it will disconnect you.

Then you can  finnish the make world cycles.
That is the way I do it from a remote shell, it it only failed me once.

Else try on a spare machine install 5.5 and update it to 6.2 through a ssh 
version, then you know what to expect.
Also install the main ports you have running on your remote 5.5 box and try if 
they still work.

Regards,
Johan Hendriks










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


No virus found in this incoming message.
Checked by AVG Free Edition. 
Version: 7.5.476 / Virus Database: 269.10.2/891 - Release Date: 8-7-2007 18:32
 

No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.476 / Virus Database: 269.10.2/891 - Release Date: 8-7-2007 18:32
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Out of memory error

2007-07-09 Thread Scott Mayo

I am running imapsync and keep getting the error:

"Out of memory during "large" request for 67112960 bytes, total sbrk()
is 495640576 bytes at /usr/local/bin/imapsync line 1050."

When trying to copy a mailbox that has some large attachements.

I found on the internet that I needed to set kern.maxdsiz="1024M" in my 
/boot/loader.conf to fix this problem, but when I do that then my system 
hangs when trying to mount the drive.


Does anyone have any ideas of how to fix this memory problem?

Thanks.

--
Scott Mayo
System Administrator
Bloomfield Schools


Duct tape is like the force, it has a light side and a dark side and it
holds the universe together.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Out of memory error

2007-07-09 Thread Scott Mayo

Scott Mayo wrote:

I am running imapsync and keep getting the error:

"Out of memory during "large" request for 67112960 bytes, total sbrk()
is 495640576 bytes at /usr/local/bin/imapsync line 1050."

When trying to copy a mailbox that has some large attachements.

I found on the internet that I needed to set kern.maxdsiz="1024M" in my 
/boot/loader.conf to fix this problem, but when I do that then my system 
hangs when trying to mount the drive.


Does anyone have any ideas of how to fix this memory problem?

Thanks.



I guess that the KB option cannot be added to the end to specify 
Kilobytes.  I thought it could.  I put kern.maxdsiz="10" and 
that took care of the problem.


Thanks.

--
Scott Mayo
System Administrator
Bloomfield Schools


Duct tape is like the force, it has a light side and a dark side and it
holds the universe together.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


vpnc on FreeBSD 6.2

2007-07-09 Thread Xihong Yin
Hi,

I am trying to make vpnc working on my FreeBSD 6.2 laptop to connect to a Cisco
3000 VPN concentrator without any luck.  Has anybody been successful on this?
Is there any guide on this?

Thanks,
Xihong

--
Get a free email account with anti spam protection.
http://www.bluebottle.com/tag/2

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


Re: vpnc on FreeBSD 6.2

2007-07-09 Thread Jonathan Horne
On Monday 09 July 2007 10:28:00 Xihong Yin wrote:
> Hi,
>
> I am trying to make vpnc working on my FreeBSD 6.2 laptop to connect to a
> Cisco 3000 VPN concentrator without any luck.  Has anybody been successful
> on this? Is there any guide on this?
>
> Thanks,
> Xihong
>
> --
> Get a free email account with anti spam protection.
> http://www.bluebottle.com/tag/2
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"

ill confirm that it does work properly.  you should be able to set up a config 
file (default is to put it in /usr/local/etc/vpnc/) for your site.  it might 
look like this:

IPSec gateway xxx.xxx.xxx.xxx
IPSec ID VPN3000UserGroup
IPSec secret VPN3000UsrGrpPasswd
Xauth username domain\username

ours, auths against a windows 2000 server's radius (which in turn auths 
against the active directory account).  if you set up usernames and password 
directly in the vpn3000, i would assume you would put that in the username.

i just give the command (as root): 'vpnc sitename' and it chooses 
sitename.conf from /usr/local/etc/vpnc.

can you give some info about whats not working?
-- 
Jonathan Horne
http://dfwlpiki.dfwlp.org
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Crypto missing after FreeBSD-Update to 6.2-RELEASE

2007-07-09 Thread Matt Bostock
Hi Colin,

Thanks for your reply.

> What makes you think that the crypto code is missing?

When I try to install www/apache20 from ports, I get this error:

Dependency error: this port requires the OpenSSL library, which is part of
the FreeBSD crypto distribution but not installed on your
machine. Please see the "OpenSSL" section in the handbook
(at "http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/openssl.html";, 
for instance)
for instructions on how to obtain and install the FreeBSD
OpenSSL distribution.
*** Error code 1

I presume that since OpenSSL isn't installed, the crypto dist would be missing 
too? What's the best way to verify that?

> I removed the IDS option because I didn't think anyone used it.  Since
> then I
> have heard from lots of people who used it, so I'm going to add the IDS
> option
> back soon. :-)

Great news :-) 

Many thanks for your help,
Matt

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


Re: vpnc on FreeBSD 6.2

2007-07-09 Thread Duane Hill

On Mon, 9 Jul 2007 at 11:28 -0400, [EMAIL PROTECTED] confabulated:


Hi,

I am trying to make vpnc working on my FreeBSD 6.2 laptop to connect to a Cisco
3000 VPN concentrator without any luck.  Has anybody been successful on this?
Is there any guide on this?

Thanks,
Xihong


We have one (I believe it is a 3000) in our colo facility. I just recently 
colaborated with a co-worker in getting vpnc working on our non-Windoes 
machines. He is on Mandrake and I'm on FreeBSD 6.2. The following config 
is what worked for me. Of course, you will have to substitute your info 
for 'IPSec gateway', 'IPSec ID', and 'IPSec obfuscated secret' or 'Xauth 
username' and 'Xauth password'. We use the secret for authentication. So 
the username and password are specified as nothing so the prompt doesn't 
come up when starting the VPN connection.


/usr/local/etc/vpnc.conf:

IPSec gateway 192.168.10.1
IPSec ID my-ipsec-id
IPSec obfuscated secret the_obfuscated_secret
# empty strings here for uname and pass get rid of prompts
Xauth username ''
Xauth password ''
Vendor cisco
Local Port 1

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


Scanner w/ feeder

2007-07-09 Thread Duane Winner

Hello,

Is there anybody out there who is using a scanner w/ a document feeder 
on FreeBSD?


Preferably a new model that we can buy w/ our existing budget (as 
opposed to an older used model).


Mac OS X support in addition to FreeBSD would be nice too.

Thanks for any feedback,
DW

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


Re: vpnc on FreeBSD 6.2

2007-07-09 Thread Xihong Yin
I did create the configuration file from the profile file of the Windows vpn 
client. And I know my group ID and password. But I got 'No response from 
target' error when I start vpnc. The Windows client works fine on the same 
machine.




On Mon, 9 Jul 2007, Jonathan Horne wrote:

> On Monday 09 July 2007 10:28:00 Xihong Yin wrote:
> > Hi,
> >
> > I am trying to make vpnc working on my FreeBSD 6.2 laptop to connect to a
> > Cisco 3000 VPN concentrator without any luck.  Has anybody been successful
> > on this? Is there any guide on this?
> >
> > Thanks,
> > Xihong
> >
> > --
> > Get a free email account with anti spam protection.
> > http://www.bluebottle.com/tag/2
> >
> > ___
> > freebsd-questions@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to
> > "[EMAIL PROTECTED]"
>
> ill confirm that it does work properly.  you should be able to set up a config
> file (default is to put it in /usr/local/etc/vpnc/) for your site.  it might
> look like this:
>
> IPSec gateway xxx.xxx.xxx.xxx
> IPSec ID VPN3000UserGroup
> IPSec secret VPN3000UsrGrpPasswd
> Xauth username domain\username
>
> ours, auths against a windows 2000 server's radius (which in turn auths
> against the active directory account).  if you set up usernames and password
> directly in the vpn3000, i would assume you would put that in the username.
>
> i just give the command (as root): 'vpnc sitename' and it chooses
> sitename.conf from /usr/local/etc/vpnc.
>
> can you give some info about whats not working?
> --
> Jonathan Horne
> http://dfwlpiki.dfwlp.org
> [EMAIL PROTECTED]
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>

--
Finally - A spam blocker that actually works.
http://www.bluebottle.com/tag/4

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


Re: vpnc on FreeBSD 6.2

2007-07-09 Thread Jonathan Horne
On Monday 09 July 2007 11:16:33 Xihong Yin wrote:
> I did create the configuration file from the profile file of the Windows
> vpn client. And I know my group ID and password. But I got 'No response
> from target' error when I start vpnc. The Windows client works fine on the
> same machine.

well, on your configuration file, do you have an ip address, or are you using 
a DNS name of your vpn3000?  if DNS name, can you ping the address (ie, is 
your /etc/resolv.conf straight?).

can you ping and/or traceroute to the ip of your vpn3000?
-- 
Jonathan Horne
http://dfwlpiki.dfwlp.org
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: reboot in single user

2007-07-09 Thread Jean-Paul Natola


>I'm curious to know if there is a command to reboot into single user mode- *
>more importantly* if I do reboot in single user mode can I still SSH  in?

>My box is not physically near me and I'm upgrading 5.5 to 6.2 - so it this
>possible- or do I need to go get the box and attach a keyboard monitor and
>mouse to it?


>Thanks


>Shutdown now goes into single user mode, but it will close SSH
>!
>Better is to manually shutdown al daemons through /usr/local/etc/rc.d and
>/etc/rc.d to only have sshd running.
>If you using natd do not stop it either, because it will disconnect you.>

>Then you can  finnish the make world cycles.
>That is the way I do it from a remote shell, it it only failed me once.

>Else try on a spare machine install 5.5 and update it to 6.2 through a ssh
>version, then you know what to expect.
>Also install the main ports you have running on your remote 5.5 box and try
>if they still work.


How long will this take- as stopping  the daemons (spamd/clamd etcc..) will
cause a halt in my incoming mail?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


php 4.3.10, manual installation

2007-07-09 Thread zbigniew

Hello, 

I currently have php 4.4.7 on my FBSD machine but due to some requirements
I need to downgrade to php 4.3.10. It will be for an offline machine so I
am not worried about possible security holes but I would like to ask how
you would advise me to downgrade? 

1. Delete php using pkg_delete?  
2. Unpack 4.3.10 sources and... yes... what should I do here? 

Just copy them where php gets installed by default?

I am not able to use port for this (I usually install all software via
portinstall) as this version is no longer maintained. 

But I'd appreciate your help. I do not want to make mess on this machine as
I have it quite nicely customized so I thought I'd ask for your advice. 

Thank you! 

Zbigniew Szalbot 

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


Re: reboot in single user

2007-07-09 Thread Rob

Jean-Paul Natola wrote:

How long will this take- as stopping  the daemons (spamd/clamd etcc..) will
cause a halt in my incoming mail?


Only a temporary halt.  SMTP was designed for intermittent / flaky connections.  
The sending servers will just try again, for a few days typically,  if it fails on the initial attempt(s).


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


RE: reboot in single user

2007-07-09 Thread Jean-Paul Natola

> How long will this take- as stopping  the daemons (spamd/clamd etcc..) will
> cause a halt in my incoming mail?

>Only a temporary halt.  SMTP was designed for intermittent / flaky
>connections.  
>The sending servers will just try again, for a few days typically,  if it
>fails on the initial attempt(s).


I'm aware of SMTP retries- just trying to gauge how long it will take - as I
have certain users that become very unhappy when they see a massage arrive
more than an hour after it was originally sent.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: vpnc on FreeBSD 6.2

2007-07-09 Thread Xihong Yin
Yes. I can ping the ip of my vpn3000, and it is alive. I use ip address not DNS 
name for the vpn3000. I'm not sure if I can traceroute. I'll give a try today.



On Mon, 9 Jul 2007, Jonathan Horne wrote:

> On Monday 09 July 2007 11:16:33 Xihong Yin wrote:
> > I did create the configuration file from the profile file of the Windows
> > vpn client. And I know my group ID and password. But I got 'No response
> > from target' error when I start vpnc. The Windows client works fine on the
> > same machine.
>
> well, on your configuration file, do you have an ip address, or are you using
> a DNS name of your vpn3000?  if DNS name, can you ping the address (ie, is
> your /etc/resolv.conf straight?).
>
> can you ping and/or traceroute to the ip of your vpn3000?
> --
> Jonathan Horne
> http://dfwlpiki.dfwlp.org
> [EMAIL PROTECTED]
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>

--
Find out how you can get spam free email.
http://www.bluebottle.com/tag/3

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


Re: php 4.3.10, manual installation

2007-07-09 Thread Josh Paetzel
On Monday 09 July 2007, [EMAIL PROTECTED] wrote:
> Hello,
>
> I currently have php 4.4.7 on my FBSD machine but due to some
> requirements I need to downgrade to php 4.3.10. It will be for an
> offline machine so I am not worried about possible security holes
> but I would like to ask how you would advise me to downgrade?
>
> 1. Delete php using pkg_delete?
> 2. Unpack 4.3.10 sources and... yes... what should I do here?
>
> Just copy them where php gets installed by default?
>
> I am not able to use port for this (I usually install all software
> via portinstall) as this version is no longer maintained.
>
> But I'd appreciate your help. I do not want to make mess on this
> machine as I have it quite nicely customized so I thought I'd ask
> for your advice.
>
> Thank you!
>
> Zbigniew Szalbot
>

I would take a look at cvsweb.freebsd.org and find out when PHP 4.3.10 
was in ports, then roll back your ports tree to that date with cvsup 
and install it from ports.

So in this case the commit that updated the port to 4.3.11 was on Mon 
April 4 2005, so if you roll back the ports tree to April 1 you'll be 
fine.

You'll need cvsup for this.

In your ports-supfile add the following line:

*default date=2005.04.01.00.00.00

If you have the current versions of gettext, libtool, m4, perl, and 
expat installed you can simply roll back the lang directory with 
cvsup, saving you from rolling back the entire tree by commenting out 
ports-all, and uncommenting ports-base and ports-lang

Otherwise, if you want to install the versions of the dependancies 
that were current at the time of php 4.3.10 you'll want to roll back 
the entire tree.

After you run cvsup you can just portinstall it or 
cd /usr/ports/lang/php4 && make install clean

HTH

-- 
Thanks,

Josh Paetzel


pgpIcvWLKOPvE.pgp
Description: PGP signature


Re: I need to create PF (NAT) log file.

2007-07-09 Thread Daniel Bye
chamnan chaladpat wrote:
> About Network Address Translation.
> 
> I need to create  PF  log file that has external and local IP address
> mapping.
> 
> I need log file that has result like  pfctl -ss command.
> 
> How to create it?

>From a bit of googling in the archives, I think the easiest way to do
this is using packet tags:

  nat on $ext_if from !($ext_if) to any tag NAT_TRAFFIC -> ($ext_if)

  pass log on $ext_if tagged NAT_TRAFFIC keep state

Note I have only done very cursory testing, but it seems to work. You
can follow the logs in the normal way, using tcpdump(1).

HTH

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


Re: reboot in single user

2007-07-09 Thread Norberto Meijome
On Mon, 9 Jul 2007 13:09:20 -0400
"Jean-Paul Natola" <[EMAIL PROTECTED]> wrote:

> as I
> have certain users that become very unhappy when they see a massage arrive
> more than an hour after it was originally sent.

well...do they understand how email systems work? 

if they don,t then you can explain that it could be either end of the process
that caused the delay...or any other server in between (antispam, defangers,etc)

Anywayif you're bringing a production server down, you should schedule
downtime . If it has to  fall during working hours, you can tell everyone to
get a beer @ the pub while you're it. I'm sure one hours delay wont be noticed
then ;) 

_
{Beto|Norberto|Numard} Meijome

"The only difference between the saint and the sinner is that
every saint has a past and every sinner has a future."
   Oscar Wilde

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


mergemaster not found

2007-07-09 Thread Jean-Paul Natola
I've restart in SUM   and when I attempt* to run mergemaster it returns;

Where should I run this from?









Jean-Paul 

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


pilot-link with treo and FreeBSD

2007-07-09 Thread Mike Packard
I've been using pilot-link and coldsync with my Treo.  I also use plan 
as my main scheduling calendar.  pilot-link comes with syn-plan.pl to 
sync the plan calendar with the Treo.  But it relieas on PDA/Pilot.pm to 
do the work.  I can go into the bindings perl directory and do the 
necessary make but get the error make: don't know how to make 
const-c.inc. Stop


I can't figure out how to make the const-c.inc file.

So, has anyone gotten all this to work with FreeBSD?

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


Re: mergemaster not found

2007-07-09 Thread Derek Ragona

At 01:15 PM 7/9/2007, Jean-Paul Natola wrote:

I've restart in SUM   and when I attempt* to run mergemaster it returns;

Where should I run this from?


You may need to be sure all your mounts are mounted, not just /
try:
mount -a

-Derek

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

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


RE: mergemaster not found

2007-07-09 Thread Jean-Paul Natola

-Original Message-
From: Derek Ragona [mailto:[EMAIL PROTECTED] 
Sent: Monday, July 09, 2007 2:26 PM
To: Jean-Paul Natola; freebsd-questions@freebsd.org
Subject: Re: mergemaster not found

At 01:15 PM 7/9/2007, Jean-Paul Natola wrote:


I've restart in SUM   and when I attempt* to run mergemaster it
returns;

Where should I run this from?


>You may need to be sure all your mounts are mounted, not just /
>try:
>mount -a


I tried that - it worked- sort of

I ran the mergemaster -p - then when it completed I tried make installword
and I STILL get  the  "audit" group is missing- which I was under the
impression that mergemaster -p  was suppose to address that -


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


RE: mergemaster not found

2007-07-09 Thread Derek Ragona

At 01:35 PM 7/9/2007, Jean-Paul Natola wrote:


-Original Message-
From: Derek Ragona [mailto:[EMAIL PROTECTED]
Sent: Monday, July 09, 2007 2:26 PM
To: Jean-Paul Natola; freebsd-questions@freebsd.org
Subject: Re: mergemaster not found

At 01:15 PM 7/9/2007, Jean-Paul Natola wrote:


I've restart in SUM   and when I attempt* to run mergemaster it
returns;

Where should I run this from?


>You may need to be sure all your mounts are mounted, not just /
>try:
>mount -a


I tried that - it worked- sort of

I ran the mergemaster -p - then when it completed I tried make installword
and I STILL get  the  "audit" group is missing- which I was under the
impression that mergemaster -p  was suppose to address that -


No, sounds like you are doing an upgrade and didn't read /usr/src/UPDATING

If you check that file you will see things you need to do like add any 
missing groups.


-Derek


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

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


Problems with cvsup.

2007-07-09 Thread Fernando Patzlaff

There are problems with some mirrors of cvsup listed on
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html

I have one cvsup server for upgrade my servers, and I use these cvsup on
servers listed below and they don't work.

 cvsup.br.FreeBSD.org
 cvsup4.br.FreeBSD.org
 cvsup5.br.FreeBSD.org

 cvsup6.FreeBSD.org


PS. May be there are some others servers with problems.

Best regards!!!

tkS!


--
---
Fernando Patzlaff
[EMAIL PROTECTED]
Linux User #197615
http://www.patz.inf.br
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: reboot in single user

2007-07-09 Thread Roger B.A. Klorese

Jean-Paul Natola wrote:

I'm aware of SMTP retries- just trying to gauge how long it will take - as I
have certain users that become very unhappy when they see a massage arrive
more than an hour after it was originally sent.
  


There's a reason email is called email and not instant messaging.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


password failure- after mergmaster

2007-07-09 Thread Jean-Paul Natola
OOOPSS-

I got mergemaster to run- but now that the system restarted the root password
and my password are invalid-

I can ONLY start in single user mode-

I still do have level 0 dump of 5.4  on my network is this my only option
?










Jean-Paul Natola
Network Administrator
Information Technology
Family Care International
588 Broadway Suite 503
New York, NY 10012
Phone:212-941-5300 xt 36
Fax:  212-941-5563
Mailto: [EMAIL PROTECTED]

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


Re: password failure- after mergmaster

2007-07-09 Thread John Nielsen
On Monday 09 July 2007 04:06:01 pm Jean-Paul Natola wrote:
> OOOPSS-
>
> I got mergemaster to run- but now that the system restarted the root
> password and my password are invalid-
>
> I can ONLY start in single user mode-
>
> I still do have level 0 dump of 5.4  on my network is this my only option
> ?

It's always wise to back up /etc before running mergemaster to cover just this 
type of mistake. In this case I'm guessing you replaced 
your /etc/master.passwd with the default one.

From single-user mode, set the root password using the "passwd" utility.

You will probably need to re-add your user account and any others that aren't 
part of the system default. I would grab /etc/master.passwd from your backup 
and do a line-by-line comparison with the file currently installed on your 
system. When re-adding users, be sure to use the same UID's and GID's so that 
file permissions will be correct. See man pw for details.

Alternatively, you could replace /etc/master.passwd with the copy from your 
backup and run mergemaster again. This time pay attention and actually merge 
the file.

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


Re: password failure- after mergmaster

2007-07-09 Thread David Kelly
On Mon, Jul 09, 2007 at 04:06:01PM -0400, Jean-Paul Natola wrote:
> OOOPSS-
> 
> I got mergemaster to run- but now that the system restarted the root password
> and my password are invalid-
> 
> I can ONLY start in single user mode-

You let mergemaster clobber the password file.

So in single user, "mount -a", then use vipw to recreate your accounts
in the password database. On exit from vipw use passwd to set the
passwords. 

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

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


Re: severely OT; re PUTTY [ssh]

2007-07-09 Thread Gary Kline
On Mon, Jul 09, 2007 at 07:33:25PM +1000, Norberto Meijome wrote:
> On Sun, 8 Jul 2007 22:57:26 -0700
> Gary Kline <[EMAIL PROTECTED]> wrote:
> 
> 
> why dont you upload the file to a webserver and download from there?
> why not email it to yourself ...etc...etc
> 
> > 
> > gary
> > 
> > PS/:  if anybody knows where I can find this "key-finder"
> >   binary, it'd save lots of steps!
> 
> left that world behind some time ago...trying quite hard to stay away from 
> it...
> good luck
>

Turns out there is a new kf151.zip that I found in the wee hours.
I dl'd it, unzip'd and ran it, then printed two hardcopies of the
key.  Now, when I junk the old box and get a newer one, I'll
have a legal copy for my old, junker hardware.  Play my learn-French
CDs or whatever.   Thanks again, to the list, for all of your
input!!

gary



> {Beto|Norberto|Numard} Meijome
> 
> "Everything is interesting if you go into it deeply enough"
>   Richard Feynman
> 
> I speak for myself, not my employer. Contents may be hot. Slippery when wet.
> Reading disclaimers makes you go blind. Writing them is worse. You have been
> Warned.
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"

-- 
  Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix

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


Re: password failure- after mergmaster

2007-07-09 Thread Chuck Swiger

On Jul 9, 2007, at 1:25 PM, Peter Boosten wrote:

You let mergemaster clobber the password file.

So in single user, "mount -a", then use vipw to recreate your  
accounts

in the password database. On exit from vipw use passwd to set the
passwords.


Having read this I must admit that it's a complete mystery to me why
mergemaster would touch your password file at all...


Because sometimes new versions of the OS come with new built-in user  
accounts, which need to be added to the existing passwd or groups  
databases somehow?


--
-Chuck
 
___

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


Re: password failure- after mergmaster

2007-07-09 Thread Derek Ragona

At 03:06 PM 7/9/2007, Jean-Paul Natola wrote:

OOOPSS-

I got mergemaster to run- but now that the system restarted the root password
and my password are invalid-

I can ONLY start in single user mode-

I still do have level 0 dump of 5.4  on my network is this my only option



This really sounds like you did an upgrade that went bad.  If you did 
upgrade you can do a restore from your dump, and try again.  Or just check 
or reset the root password in single user.


What error are you getting going into multi-user?

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


Installation woes with 6.2 release

2007-07-09 Thread Kurt Buff

I've got a machine with 2GB of RAM, onto which I can install Windows
XP with no issues.

However, FreeBSD 6.2 Release is giving me fits on this machine. If any
of you have insight, I'd surely appreciate you sharing

The motherboard is an Intel D645 GEBV2. I've tried a couple of
different disk arrangements, with no success.

I've installed an IDE WD 180GB drive, which the motherboard BIOS
detects just fine. When I boot from disk 1 for the FreeBSD install, it
detects no hard drive.

I've put in an Addonics ADSA2 PCI SATA card, which sports the SiL
1352A chipset, but the install blows up when installing to a 74GB
Seagate drive - the kernel panics and it reboots while copying files
to disk.

Has anyone run into these problems? Google hasn't been particularly my
friend on this one.

I've tried reading the install docs on the CD, with no particular
luck, but I could be missing something.

Many Thanks,

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


Re: Correct way to use dump to backup a Samba share

2007-07-09 Thread L Goodwin
Thanks for filling in the blanks, Roland!

--- Roland Smith <[EMAIL PROTECTED]> wrote:

> On Sat, Jul 07, 2007 at 06:42:20PM -0700, L Goodwin
> wrote:
> > I have a Samba share on a software RAID 1 array
> (using
> > gmirror) that I need to backup. I want to create a
> > shell script that does a level 0 backup every time
> to
> > (alternately) one of two USB drives. I plan to
> have
> > only ONE USB drive connected at a time. 
> > 
> > I want the script to mount the drive, perform the
> > backup, then unmount the drive so that it is ready
> for
> > someone who knows zip about computers to safely
> remove
> > and take offsite. 
> > 
> > Here are the steps I have for the script.
> > Is this all I need to do? Do I need any error
> handling
> > logic? THANKS!
> 
> > # Mount the backup drive:
> > mount /dev/usb0
> > 
> > # Create the backup:
> > /sbin/dump -0u -f /dev/usb0 /sambavol
> > 
> > # Unmount the backup drive:
> > umount /dev/usb0
> 
> The following is a rough outline of what you should
> do;
> -- shell-script --
> #!/bin/sh
> # The following assumes that the USB mass-storage
> device is formatted
> # with a UFS filesystem
> 
> # Only root can perform dumps.
> if [ $(id -u) -ne 0 ]; then
> echo "Only root can perform dumps. Exiting."
> exit 1
> fi
> 
> DDIR=/mnt/root
> # First, check if the target directory exists
> if [ ! -d $DDIR ]; then
> echo "The $DDIR directory doesn't exist.
> Exiting."
> exit 1
> fi
> # Then check if it is already mounted
> if mount|grep $DDDIR >/dev/null; then
>echo "The $DDIR directory is already in use.
> Exiting"
> exit 1
> fi
> 
> # Check if the device to dump to exists;
> DEV=/dev/da0
> if [ ! -c $DEV ]; then
> echo "The $DEV device doesn't exist. Exiting."
> exit 1
> fi
> # Check if the device is already mounted
> if mount|grep $DEV >/dev/null; then
>echo "The $DEV device is already mounted.
> Exiting"
>exit 1
> fi
> 
> SRC=/sambavol
> DFLAGS="-0 -u -f"
> # Check if the filesystem that is to be dumped
> exists.
> if [ ! -d $SRC ]; then
> echo "The $SRC directory doesn't exist.
> Exiting."
> exit 1
> fi
> # Now check if it is mounted
> if mount -t ufs|grep $SRC; then
>DFLAGS="-L "$DFLAGS
> fi
> 
> # Mount the USB device.
> if ! mount $DEV $DDIR; then
>"Mounting the USB disk failed. Exiting"
>exit 1
> fi
> 
> DATE=$(date "+%Y%m%d")
> # Perfrom the dump, assuming that the filesystem is
> live.
> dump $DFLAGS ${DDIR}/sambavol-0-${DATE}.dump $SRC
> 
> umount $DDIR
> -- shell-script --
> 
> Of course, you have to remove old dumps once in a
> while, lest you run
> out of disk space.
> 
> Depending on the contents of the samba share, it
> might be worthwhile to
> compress the dump with gzip;
> 
> # Perfrom the dump, 
> dump $DFLAGS - $SRC|gzip
> >${DDIR}/sambavol-0-${DATE}.gz
> 
> Roland
> -- 
> R.F.Smith  
> http://www.xs4all.nl/~rsmith/
> [plain text _non-HTML_ PGP/GnuPG encrypted/signed
> email much appreciated]
> pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321
> A725 (KeyID: C321A725)
> 



  

Park yourself in front of a world of choices in alternative vehicles. Visit the 
Yahoo! Auto Green Center.
http://autos.yahoo.com/green_center/ 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: severely OT; re PUTTY [ssh]

2007-07-09 Thread Gary Kline
On Sun, Jul 08, 2007 at 10:44:58PM -0700, Garrett Cooper wrote:
> Peter Boosten wrote:
> >Gary Kline wrote:
> >  
> >>I was able to find, ldown load and instal the DOS/Windows ssh
> >>utility, but am having trouble scp'ing stuff between my BSD side
> >>and my W2K server.  Anybody know what file I have to modify to
> >>get permission on the windows computer?
> >>
> >
> >Gary,
> >
> >Search for winscp, a (free) graphical drag&drop scp tool.
> >I've seen some limitations with scp of putty (like file sizes over 2 Gigs).
> >
> >Peter
> >  
> Gary,
>If you're just trying to do file transferring/sharing in a local 
> 'secure' network, I suggest Samba in place of scp. You might also want 
> to consider Samba + VPN as well; scp is great for porting files over 
> long distances, or a last resort for dealing with Unix <=> Windows 
> transferring, but just seems incredibly kludgey when dealing with 
> files/directories otherwise (having to maintain an ssh connection, 
> having to install a scp/ssh client per machine for instance are what I 
> consider kludgey).


Samba and the like are entirely foreign to me since I avoid
anything Windows.  B-u-t, we have a new HP
printer/copier/scanner/ on the W2K box, and 
I'd like to scan in photo and other stuff and scp them across
the CAT5.  Soo.  

gary

PS:  a personal note---how's the summer-of-coding going?  I'm 
 hoping that new young blood can make major improvments in
 keeping FBSD easier to keep current.  I'm almost abandoning
 Ubuntu for your Dell because things there under Gnome 
 Just Work.  :-)

 Please 'cuse the drift, folks



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

-- 
  Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix

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


Patching with freebsd-update from 6.2-RELEASE-p4 to 6.2-RELEASE-p5

2007-07-09 Thread Stevan Tiefert
Hello list,

I wanted to update via freebsd-update from 6.2-RELEASE-p4 to
6.2-RELEASE-p5. But like you can see my system is after the update still
p4!

I have saved a script of my doing:

Script started on Mon Jul  9 22:55:13 2007
vagabund# freebsd-update fetch
Looking up update.FreeBSD.org mirrors... 1 mirrors found.
Fetching metadata signature from update1.FreeBSD.org... done.
Fetching metadata index... done.
Inspecting system... done.
Preparing to download files... done.

No updates needed to update system to 6.2-RELEASE-p5.
vagabund# freebsd-update install
No updates are available to install.
Run '/usr/sbin/freebsd-update fetch' first.
vagabund# uname -a
FreeBSD vagabund.w33 6.2-RELEASE-p4 FreeBSD 6.2-RELEASE-p4 #0: Thu Apr
26 17:40:53 UTC 2007
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386
vagabund# exit
exit

Script done on Mon Jul  9 22:55:45 2007
$ 


What is going wrong? Why he is not updating?

With regards
Stevan Tiefert




___ 
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Installation woes with 6.2 release

2007-07-09 Thread Derek Ragona

At 03:43 PM 7/9/2007, Kurt Buff wrote:

I've got a machine with 2GB of RAM, onto which I can install Windows
XP with no issues.

However, FreeBSD 6.2 Release is giving me fits on this machine. If any
of you have insight, I'd surely appreciate you sharing

The motherboard is an Intel D645 GEBV2. I've tried a couple of
different disk arrangements, with no success.

I've installed an IDE WD 180GB drive, which the motherboard BIOS
detects just fine. When I boot from disk 1 for the FreeBSD install, it
detects no hard drive.

I've put in an Addonics ADSA2 PCI SATA card, which sports the SiL
1352A chipset, but the install blows up when installing to a 74GB
Seagate drive - the kernel panics and it reboots while copying files
to disk.

Has anyone run into these problems? Google hasn't been particularly my
friend on this one.

I've tried reading the install docs on the CD, with no particular
luck, but I could be missing something.


Clearly you have a disk controller compatibility problem.  I do know the 
Sil chips are terrible, and there is a long history of issues with these 
chips and FreeBSD!


Can you find a regular IDE drive to plug into that motherboard?

-Derek


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

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


Re: password failure- after mergmaster

2007-07-09 Thread Peter Boosten


David Kelly wrote:
> On Mon, Jul 09, 2007 at 04:06:01PM -0400, Jean-Paul Natola wrote:
>> OOOPSS-
>>
>> I got mergemaster to run- but now that the system restarted the root password
>> and my password are invalid-
>>
>> I can ONLY start in single user mode-
> 
> You let mergemaster clobber the password file.
> 
> So in single user, "mount -a", then use vipw to recreate your accounts
> in the password database. On exit from vipw use passwd to set the
> passwords. 
> 

Having read this I must admit that it's a complete mystery to me why
mergemaster would touch your password file at all...

/me puzzled...

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


Re: Installation woes with 6.2 release

2007-07-09 Thread Kurt Buff

On 7/9/07, Derek Ragona <[EMAIL PROTECTED]> wrote:


 At 03:43 PM 7/9/2007, Kurt Buff wrote:

I've got a machine with 2GB of RAM, onto which I can install Windows
 XP with no issues.

 However, FreeBSD 6.2 Release is giving me fits on this machine. If any
 of you have insight, I'd surely appreciate you sharing

 The motherboard is an Intel D645 GEBV2. I've tried a couple of
 different disk arrangements, with no success.

 I've installed an IDE WD 180GB drive, which the motherboard BIOS
 detects just fine. When I boot from disk 1 for the FreeBSD install, it
 detects no hard drive.

 I've put in an Addonics ADSA2 PCI SATA card, which sports the SiL
 1352A chipset, but the install blows up when installing to a 74GB
 Seagate drive - the kernel panics and it reboots while copying files
 to disk.

 Has anyone run into these problems? Google hasn't been particularly my
 friend on this one.

 I've tried reading the install docs on the CD, with no particular
 luck, but I could be missing something.
 Clearly you have a disk controller compatibility problem.  I do know the
Sil chips are terrible, and there is a long history of issues with these
chips and FreeBSD!

 Can you find a regular IDE drive to plug into that motherboard?

 -Derek


Plugging an IDE drive into the motherboard is the first thing I did -
that's the case above where FreeBSD didn't see *any* HD. That's the
one that really fries my brain, because the motherboard BIOS detects
it correctly, and XP installs to it just fine.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: password failure- after mergmaster

2007-07-09 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

David Kelly wrote:
> On Mon, Jul 09, 2007 at 04:06:01PM -0400, Jean-Paul Natola wrote:
>> OOOPSS-
>>
>> I got mergemaster to run- but now that the system restarted the root password
>> and my password are invalid-
>>
>> I can ONLY start in single user mode-
> 
> You let mergemaster clobber the password file.
> 
> So in single user, "mount -a", then use vipw to recreate your accounts
> in the password database. On exit from vipw use passwd to set the
> passwords. 
> 

Note that there will be a backup copy of the master.passwd file in
/var/backups/master.passwd.bak -- the will be possibly more than one
backup copy in that directory.  These are created by the nightly
periodic script:

/etc/periodic/daily/200.backup-passwd

which is enabled by default. As these run overnight the backed-up
copy should pre-date your adventures with mergemaster.  Verify that
the contents are sensible, then copy it back to /etc/master.passwd
and run pwd_mkdb(8) to generate /etc/passwd and /etc/pwd.db from it.

Cheers,

Matthew

- --
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGkqhX8Mjk52CukIwRCFanAKCF+mkgAZoNVE1fbjHU3HrC/LQIsACfU5tz
wb0lxphVnCmkHb7Zd79npFc=
=w67I
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: password failure- after mergmaster

2007-07-09 Thread David Kelly
On Mon, Jul 09, 2007 at 01:29:44PM -0700, Chuck Swiger wrote:
> On Jul 9, 2007, at 1:25 PM, Peter Boosten wrote:
> >
> >Having read this I must admit that it's a complete mystery to me why
> >mergemaster would touch your password file at all...
> 
> Because sometimes new versions of the OS come with new built-in user  
> accounts, which need to be added to the existing passwd or groups  
> databases somehow?

Yes, exactly. Have to *merge* the changes into /etc/master.passwd rather
than brute force overwrite.

Notice the difference from my first post in this thread, the file which
was clobbered is /etc/master.passwd, not just /etc/passwd which is a
dummy file generated from master.passwd.

In single user he can "mount -a" to get all the filesystems mounted
read/write, then extract /etc/master.passwd file from his level 0 dump.
But once again it needs to be diff'ed against the "new" version written
by mergemaster to see why mergemaster changed it.

Then the password databases need to be rebuilt. The easiest way (and
only way I remember without manpage surfing) is to run vipw and
trivially change the master password file. On exit vipw rebuilds the
password databases with pwd_mkdb(8) (I had to look that up).

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

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


Re: php 4.3.10, manual installation

2007-07-09 Thread zbigniew

Hello,

> I would take a look at cvsweb.freebsd.org and find out when PHP 4.3.10 
> was in ports, then roll back your ports tree to that date with cvsup 
> and install it from ports.
> 
> So in this case the commit that updated the port to 4.3.11 was on Mon 
> April 4 2005, so if you roll back the ports tree to April 1 you'll be 
> fine.
> 
> You'll need cvsup for this.
> 
> In your ports-supfile add the following line:
> 
> *default date=2005.04.01.00.00.00
> 
> If you have the current versions of gettext, libtool, m4, perl, and 
> expat installed you can simply roll back the lang directory with 
> cvsup, saving you from rolling back the entire tree by commenting out 
> ports-all, and uncommenting ports-base and ports-lang
> 
> Otherwise, if you want to install the versions of the dependancies 
> that were current at the time of php 4.3.10 you'll want to roll back 
> the entire tree.
> 
> After you run cvsup you can just portinstall it or 
> cd /usr/ports/lang/php4 && make install clean

All clear but when I go to install this particular version of PHP I am
(rightly) warned about its multiple known vulnerabilities. I read man
portinstall but don't think I have seen information how to temporarily
switch this security check off when installing a port.

Many thanks in advance!

Zbigniew Szalbot

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


RE: password failure- after mergmaster

2007-07-09 Thread Jean-Paul Natola


On Mon, Jul 09, 2007 at 01:29:44PM -0700, Chuck Swiger wrote:
> On Jul 9, 2007, at 1:25 PM, Peter Boosten wrote:
> >
> >Having read this I must admit that it's a complete mystery to me why
> >mergemaster would touch your password file at all...
> 
> Because sometimes new versions of the OS come with new built-in user  
> accounts, which need to be added to the existing passwd or groups  
> databases somehow?

Yes, exactly. Have to *merge* the changes into /etc/master.passwd rather
than brute force overwrite.

Notice the difference from my first post in this thread, the file which
was clobbered is /etc/master.passwd, not just /etc/passwd which is a
dummy 


I'M DONE now- now I cant even boot into safe or single user mode

It keeps asking me to enter full pathname of  shell or RETURN  for /bin/sh

I hit enter and I see the same message again , and again , and again and
again


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


Re: Patching with freebsd-update from 6.2-RELEASE-p4 to 6.2-RELEASE-p5

2007-07-09 Thread Manolis Kiagias
Stevan Tiefert wrote:
> Hello list,
>
> I wanted to update via freebsd-update from 6.2-RELEASE-p4 to
> 6.2-RELEASE-p5. But like you can see my system is after the update still
> p4!
>
> I have saved a script of my doing:
>
> Script started on Mon Jul  9 22:55:13 2007
> vagabund# freebsd-update fetch
> Looking up update.FreeBSD.org mirrors... 1 mirrors found.
> Fetching metadata signature from update1.FreeBSD.org... done.
> Fetching metadata index... done.
> Inspecting system... done.
> Preparing to download files... done.
>
> No updates needed to update system to 6.2-RELEASE-p5.
> vagabund# freebsd-update install
> No updates are available to install.
> Run '/usr/sbin/freebsd-update fetch' first.
> vagabund# uname -a
> FreeBSD vagabund.w33 6.2-RELEASE-p4 FreeBSD 6.2-RELEASE-p4 #0: Thu Apr
> 26 17:40:53 UTC 2007
> [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386
> vagabund# exit
> exit
>
> Script done on Mon Jul  9 22:55:45 2007
> $ 
>
>
> What is going wrong? Why he is not updating?
>
> With regards
> Stevan Tiefert
>
>   
It has updated. Recompile your kernel:

As root:

cd /usr/src
make buildkernel KERNCONF=GENERIC
make installkernel KERNCONF=GENERIC
reboot

uname -a will then show 6.2-RELEASE-p5
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: php 4.3.10, manual installation

2007-07-09 Thread Josh Paetzel
On Monday 09 July 2007, [EMAIL PROTECTED] wrote:
> Hello,
>
> > I would take a look at cvsweb.freebsd.org and find out when PHP
> > 4.3.10 was in ports, then roll back your ports tree to that date
> > with cvsup and install it from ports.
> >
> > So in this case the commit that updated the port to 4.3.11 was on
> > Mon April 4 2005, so if you roll back the ports tree to April 1
> > you'll be fine.
> >
> > You'll need cvsup for this.
> >
> > In your ports-supfile add the following line:
> >
> > *default date=2005.04.01.00.00.00
> >
> > If you have the current versions of gettext, libtool, m4, perl,
> > and expat installed you can simply roll back the lang directory
> > with cvsup, saving you from rolling back the entire tree by
> > commenting out ports-all, and uncommenting ports-base and
> > ports-lang
> >
> > Otherwise, if you want to install the versions of the
> > dependancies that were current at the time of php 4.3.10 you'll
> > want to roll back the entire tree.
> >
> > After you run cvsup you can just portinstall it or
> > cd /usr/ports/lang/php4 && make install clean
>
> All clear but when I go to install this particular version of PHP I
> am (rightly) warned about its multiple known vulnerabilities. I
> read man portinstall but don't think I have seen information how to
> temporarily switch this security check off when installing a port.
>
> Many thanks in advance!
>
> Zbigniew Szalbot
>

make -DDISABLE_VULNERABILITIES install

-- 
Thanks,

Josh Paetzel


pgpeG5D3QQpb7.pgp
Description: PGP signature


Re: password failure- after mergmaster

2007-07-09 Thread Chuck Swiger

On Jul 9, 2007, at 2:44 PM, Jean-Paul Natola wrote:

Because sometimes new versions of the OS come with new built-in user
accounts, which need to be added to the existing passwd or groups
databases somehow?


Yes, exactly. Have to *merge* the changes into /etc/master.passwd  
rather

than brute force overwrite.

Notice the difference from my first post in this thread, the file  
which

was clobbered is /etc/master.passwd, not just /etc/passwd which is a
dummy


I'M DONE now- now I cant even boot into safe or single user mode

It keeps asking me to enter full pathname of  shell or RETURN  for / 
bin/sh


I hit enter and I see the same message again , and again , and  
again and again


I have two thoughts for you:

One, FreeBSD should be a little easier to update, as the instructions  
for doing so are mildly complicated and are buried too far within the  
UPDATING document.


Two, you really should learn how to perform an update and/or recover  
from system problems if it doesn't boot by working on a test system  
first, and only making significant changes to a production system  
once you've gotten confident you know what you are doing.  Failing  
that, perhaps you ought to hire a sysadmin or consultant with decent  
BSD experience, and let them solve the issues so that you can focus  
on other things


--
-Chuck

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


install php-5.2.3 solved

2007-07-09 Thread Marc Muncke

Hi,

Yesterday I posted this :
I can not install php5.2.3 :

 make install
===>  Found saved configuration for php5-5.2.3
===>  Extracting for php5-5.2.3
=> MD5 Checksum OK for php-5.2.3.tar.bz2.
=> SHA256 Checksum OK for php-5.2.3.tar.bz2.
===>  Patching for php5-5.2.3
===>  Applying FreeBSD patches for php5-5.2.3
2 out of 2 hunks failed--saving rejects to ext/standard/dir.c.rej
=> Patch patch-ext_standard_dir.c failed to apply cleanly.
=> Patch(es) patch-TSRM_threads.m4 patch-Zend::zend.h patch-acinclude.m4 
patch-configure.in patch-ext_date_lib_timelib_structs.h 
patch-ext_standard_array.c patch-ext_standard_basic_functions.c applied 
cleanly.


I only configured the apache module.

Today I fixed it like this :

-> run cvsup
-> delete work folder
-> make install clean

Thank you for your interest

Marc

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


Re: php 4.3.10, manual installation

2007-07-09 Thread Zbigniew Szalbot

Hi there,

On Mon, 9 Jul 2007 16:54:16 -0500, Josh Paetzel <[EMAIL PROTECTED]> wrote:
> On Monday 09 July 2007, [EMAIL PROTECTED] wrote:
>> Hello,
>>
>> > I would take a look at cvsweb.freebsd.org and find out when PHP
>> > 4.3.10 was in ports, then roll back your ports tree to that date
>> > with cvsup and install it from ports.
>> >
>> > So in this case the commit that updated the port to 4.3.11 was on
>> > Mon April 4 2005, so if you roll back the ports tree to April 1
>> > you'll be fine.
>> >
>> > You'll need cvsup for this.
>> >
>> > In your ports-supfile add the following line:
>> >
>> > *default date=2005.04.01.00.00.00
>> >
>> > If you have the current versions of gettext, libtool, m4, perl,
>> > and expat installed you can simply roll back the lang directory
>> > with cvsup, saving you from rolling back the entire tree by
>> > commenting out ports-all, and uncommenting ports-base and
>> > ports-lang
>> >
>> > Otherwise, if you want to install the versions of the
>> > dependancies that were current at the time of php 4.3.10 you'll
>> > want to roll back the entire tree.
>> >
>> > After you run cvsup you can just portinstall it or
>> > cd /usr/ports/lang/php4 && make install clean
>>
>> All clear but when I go to install this particular version of PHP I
>> am (rightly) warned about its multiple known vulnerabilities. I
>> read man portinstall but don't think I have seen information how to
>> temporarily switch this security check off when installing a port.
>>
>> Many thanks in advance!
>>
>> Zbigniew Szalbot
>>
> 
> make -DDISABLE_VULNERABILITIES install

Thanks for your patience! However, when I try I get:

make -DDISABLE_VULNERABILITIES install clean
Dependency warning: used OpenSSL version contains known vulnerabilities
Please update or define either WITH_OPENSSL_BASE or WITH_OPENSSL_PORT
*** Error code 1

Stop in /usr/ports/lang/php4.

Now I did include WITH_OPENSSL_PORT=1 in pkgtools.conf for php4 but it does
not seem to take any effect. I also tried inserting
WITH_DISABLE_VULNERABILITIES=1 in this file but it did not help.

Thank you!

Zbigniew Szalbot

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


Re: Patching with freebsd-update from 6.2-RELEASE-p4 to 6.2-RELEASE-p5

2007-07-09 Thread [EMAIL PROTECTED]

On 09/07/07, Stevan Tiefert <[EMAIL PROTECTED]> wrote:

Hello list,

I wanted to update via freebsd-update from 6.2-RELEASE-p4 to
6.2-RELEASE-p5. But like you can see my system is after the update still
p4!

I have saved a script of my doing:

Script started on Mon Jul  9 22:55:13 2007
vagabund# freebsd-update fetch
Looking up update.FreeBSD.org mirrors... 1 mirrors found.
Fetching metadata signature from update1.FreeBSD.org... done.
Fetching metadata index... done.
Inspecting system... done.
Preparing to download files... done.

No updates needed to update system to 6.2-RELEASE-p5.
vagabund# freebsd-update install
No updates are available to install.
Run '/usr/sbin/freebsd-update fetch' first.
vagabund# uname -a
FreeBSD vagabund.w33 6.2-RELEASE-p4 FreeBSD 6.2-RELEASE-p4 #0: Thu Apr
26 17:40:53 UTC 2007
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386
vagabund# exit
exit

Script done on Mon Jul  9 22:55:45 2007
$


What is going wrong? Why he is not updating?


http://security.freebsd.org/advisories/FreeBSD-SA-07:04.file.asc

-p5 only affects one utility in userland, and not the kernel.
So the kernel at -p4 is itself ostensibly secure and doesn't
need to be updated.

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


Re: NTFS-3G: mount at boot

2007-07-09 Thread Novembre

On 7/8/07, Novembre <[EMAIL PROTECTED]> wrote:

Okay, here's an update:

Creating a symlink from /usr/local/bin/ntfs-3g to /sbin/mount_ntfs-3g
does not work (as posted before on the ntfs-3g forum message below).
I, then, added the following ntfsmount startup script to
/usr/local/etc/rc.d/:

--
#!/bin/sh
#
# PROVIDE: ntfsmount
# REQUIRE: fusefs

. /etc/rc.subr

name="ntfsmount"
rcvar=`set_rcvar`
command="ntfs-3g /dev/ad0s1 /mnt/windows && ntfs-3g /dev/ad0s1
/mnt/windows -o locale=en_US.UTF-8"

load_rc_config $name
run_rc_command "$1"
--

Then, chmod +x /usr/local/etc/rc.d/ntfsmount (to make it executable),
then added ntfsmount_enable="YES" to my /etc/rc.conf, then rebooted. I
did not see any error messages during boot, but the partition was not
mounted ('mount' returns nothing after logging in).
However, if I run 'ntfs-3g' again from the command prompt to mount the
windows partition, 'mount' now shows /mnt/windows THREE times, like
/dev/fuse1 on /mnt/windows (fusefs, local, noatime, synchronous)
/dev/fuse3 on /mnt/windows (fusefs, local, noatime, synchronous)
/dev/fuse5 on /mnt/windows (fusefs, local, noatime, synchronous)

and 'ls /dev/f*' returns
/dev/fuse0 /dev/fuse1 /dev/fuse2 /dev/fuse3 /dev/fuse4
/dev/fuse5

It seems that since the 'ntfs-3g' command ran twice in the ntfsmount
script, running 'ntfs-3g' again from the command prompt makes the
third mount point. But if its two runs in the startup script were
successful, why would 'mount' not show the mount points until I run it
again from the command prompt?

I even tried removing one of the 'ntfs-3g' commands in the ntfsmount
script, i.e.
--
command="ntfs-3g /dev/ad0s1 /mnt/windows -o locale=en_US.UTF-8"
--
Rebooting with this, still 'mount' shows nothing after logging in.
However, if I run 'ntfs-3g' from the command prompt now, I get TWO
/mnt/windows mount points (instead of three). So it seems the all the
runs in the script are successful and the partition is mounted, but
the mount point is not available until I run 'ntfs-3g' again from the
command prompt.

I am using
fusefs-kmod-0.3.0_5
fusefs-libs-2.6.4
fusefs-ntfs-1.417_2

Any ideas what's going on here?

Thanks :)




On 7/7/07, Novembre <[EMAIL PROTECTED]> wrote:
>
> I have the same problem. A little search got me to 
http://forum.ntfs-3g.org/viewtopic.php?t=292 where a solution is posted. It seems 
that using /etc/fstab to mount the NTFS partition at boot time is not working 
since the mount command is being executed before the 'fuse' kernel module is 
loaded. However, on my  6.2-RELEASE machine, I see the following message when 
booting:
>
> --
> Starting file system checks:
> /dev/ad0s2a: FILE SYSTEM CLEAN; SKIPPING CHECKS
> /dev/ad0s2d: FILE SYSTEM CLEAN; SKIPPING CHECKS
> Mounting local file systems:mount: exec mount_ntfs-3g not found in 
/sbin:/usr/sbin: No such file or directory
> .
> .
> .
> Starting fusefs.
> fude4bsd: version 0.3.0, FUSE ABI 7.8
> .
> .
> .
> Mounting late file systems:mount: exec mount_ntfs-3g not found in 
/sbin:/usr/sbin: No such file or directory
> --
>
> I'm assuming that this "late" mount (the last line above) is being done after 
loading the 'fuse' kernel module, so the OS should be able to mount the file system now, but 
it can't! It's looking for mount_ntfs-3g and that file does not exist.
> My /etc/fstab looks like this: /dev/ad0s1   /mnt/windows   ntfs-3g
   rw   0   0
> I also used the /etc/fstab entry suggested in NTFS-3G's own website ( http://www.ntfs-3g.org/  - 
scroll down to the end of the page), where "defaults" is being used instead of 
"rw", but that gave me this error:
>
> --
> swapon: adding /dev/ad0s2b as swap device
> fstab: /etc/fstab:6: Inappropriate file type or format
> Starting file system checks:
>  /dev/ad0s2a: FILE SYSTEM CLEAN; SKIPPING CHECKS
> fstab: /etc/fstab:6: Inappropriate file type or format
> fstab: /etc/fstab:6: Inappropriate file type or format
>  /dev/ad0s2d: FILE SYSTEM CLEAN; SKIPPING CHECKS
>  Mounting local file systems:fstab: /etc/fstab:6: Inappropriate file type or 
format
> Mounting NFS file systems:fstab: /etc/fstab:6: Inappropriate file type or 
format
> fstab: /etc/fstab:6: Inappropriate file type or format
> fstab: /etc/fstab:6: Inappropriate file type or format
> fstab: /etc/fstab:6: Inappropriate file type or format
> fstab: /etc/fstab:6: Inappropriate file type or format
>  .
>  .
>  .
>  Starting fusefs.
>  fude4bsd: version 0.3.0, FUSE ABI 7.8
>  .
>  .
>  .
>  Mounting late file systems:fstab: /etc/fstab:6: Inappropriate file type or 
format
> --
>
> Any ideas as to what's going on here?
>
> Thanks a lot
>
>




anybody? any success in auto-mounting NTFS partitions at boot?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: password failure- after mergmaster

2007-07-09 Thread [EMAIL PROTECTED]

On 09/07/07, Jean-Paul Natola <[EMAIL PROTECTED]> wrote:



On Mon, Jul 09, 2007 at 01:29:44PM -0700, Chuck Swiger wrote:
> On Jul 9, 2007, at 1:25 PM, Peter Boosten wrote:
> >
> >Having read this I must admit that it's a complete mystery to me why
> >mergemaster would touch your password file at all...
>
> Because sometimes new versions of the OS come with new built-in user
> accounts, which need to be added to the existing passwd or groups
> databases somehow?

Yes, exactly. Have to *merge* the changes into /etc/master.passwd rather
than brute force overwrite.

Notice the difference from my first post in this thread, the file which
was clobbered is /etc/master.passwd, not just /etc/passwd which is a
dummy


I'M DONE now- now I cant even boot into safe or single user mode

It keeps asking me to enter full pathname of  shell or RETURN  for /bin/sh

I hit enter and I see the same message again , and again , and again and
again


Try typing /rescue/sh

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


RE: password failure- after mergmaster

2007-07-09 Thread Jean-Paul Natola

On 09/07/07, Jean-Paul Natola <[EMAIL PROTECTED]> wrote:
>
>
> On Mon, Jul 09, 2007 at 01:29:44PM -0700, Chuck Swiger wrote:
> > On Jul 9, 2007, at 1:25 PM, Peter Boosten wrote:
> > >
> > >Having read this I must admit that it's a complete mystery to me why
> > >mergemaster would touch your password file at all...
> >
> > Because sometimes new versions of the OS come with new built-in user
> > accounts, which need to be added to the existing passwd or groups
> > databases somehow?
>
> Yes, exactly. Have to *merge* the changes into /etc/master.passwd rather
> than brute force overwrite.
>
> Notice the difference from my first post in this thread, the file which
> was clobbered is /etc/master.passwd, not just /etc/passwd which is a
> dummy
>
>
> I'M DONE now- now I cant even boot into safe or single user mode
>
> It keeps asking me to enter full pathname of  shell or RETURN  for /bin/sh
>
> I hit enter and I see the same message again , and again , and again and
> again

Try typing /rescue/sh

-- 
--

I'll try that in the am-  I am just about finished configuring a new server (
well a replacement  drive in the box)- since I have all my important info; 
Config files cf files etc.. saved, I should be done  pretty soon.

But I will definitely try your method just to satisfy my curiosity


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


Re: php 4.3.10, manual installation

2007-07-09 Thread Josh Paetzel
On Monday 09 July 2007, Zbigniew Szalbot wrote:
> Hi there,
>
> On Mon, 9 Jul 2007 16:54:16 -0500, Josh Paetzel <[EMAIL PROTECTED]> 
wrote:
> > On Monday 09 July 2007, [EMAIL PROTECTED] wrote:
> >> Hello,
> >>
> >> > I would take a look at cvsweb.freebsd.org and find out when
> >> > PHP 4.3.10 was in ports, then roll back your ports tree to
> >> > that date with cvsup and install it from ports.
> >> >
> >> > So in this case the commit that updated the port to 4.3.11 was
> >> > on Mon April 4 2005, so if you roll back the ports tree to
> >> > April 1 you'll be fine.
> >> >
> >> > You'll need cvsup for this.
> >> >
> >> > In your ports-supfile add the following line:
> >> >
> >> > *default date=2005.04.01.00.00.00
> >> >
> >> > If you have the current versions of gettext, libtool, m4,
> >> > perl, and expat installed you can simply roll back the lang
> >> > directory with cvsup, saving you from rolling back the entire
> >> > tree by commenting out ports-all, and uncommenting ports-base
> >> > and ports-lang
> >> >
> >> > Otherwise, if you want to install the versions of the
> >> > dependancies that were current at the time of php 4.3.10
> >> > you'll want to roll back the entire tree.
> >> >
> >> > After you run cvsup you can just portinstall it or
> >> > cd /usr/ports/lang/php4 && make install clean
> >>
> >> All clear but when I go to install this particular version of
> >> PHP I am (rightly) warned about its multiple known
> >> vulnerabilities. I read man portinstall but don't think I have
> >> seen information how to temporarily switch this security check
> >> off when installing a port.
> >>
> >> Many thanks in advance!
> >>
> >> Zbigniew Szalbot
> >
> > make -DDISABLE_VULNERABILITIES install
>
> Thanks for your patience! However, when I try I get:
>
> make -DDISABLE_VULNERABILITIES install clean
> Dependency warning: used OpenSSL version contains known
> vulnerabilities Please update or define either WITH_OPENSSL_BASE or
> WITH_OPENSSL_PORT *** Error code 1
>
> Stop in /usr/ports/lang/php4.
>
> Now I did include WITH_OPENSSL_PORT=1 in pkgtools.conf for php4 but
> it does not seem to take any effect. I also tried inserting
> WITH_DISABLE_VULNERABILITIES=1 in this file but it did not help.
>
> Thank you!
>
> Zbigniew Szalbot
>

Right, because pkgtools.conf isn't used by the ports treeso add 
in -DWITH_OPENSSL_PORT to the mix


-- 
Thanks,

Josh Paetzel


pgpa3sadv5P1H.pgp
Description: PGP signature


Re: php 4.3.10, manual installation

2007-07-09 Thread Zbigniew Szalbot

Hello again,

On Mon, 9 Jul 2007 17:57:32 -0500, Josh Paetzel <[EMAIL PROTECTED]> wrote:
>> make -DDISABLE_VULNERABILITIES install clean
>> Dependency warning: used OpenSSL version contains known
>> vulnerabilities Please update or define either WITH_OPENSSL_BASE or
>> WITH_OPENSSL_PORT *** Error code 1
>>
>> Stop in /usr/ports/lang/php4.
>>
>> Now I did include WITH_OPENSSL_PORT=1 in pkgtools.conf for php4 but
>> it does not seem to take any effect. I also tried inserting
>> WITH_DISABLE_VULNERABILITIES=1 in this file but it did not help.
>>
>> Thank you!
>>
>> Zbigniew Szalbot
>>
> 
> Right, because pkgtools.conf isn't used by the ports treeso add 
> in -DWITH_OPENSSL_PORT to the mix

Not much luck. The installation started but then came to a halt:

making links in engines...
making links in apps...
making links in test...
making links in tools...
generating dummy tests (if needed)...

Since you've disabled or enabled at least one algorithm, you need to do
the following before building:

make depend

Configured for BSD-x86-elf.
-e: not found
*** Error code 127

Stop in /usr/ports/security/openssl.
*** Error code 1

Stop in /usr/ports/lang/php4.

OK. I ran make depend and then repeated 
make -DDISABLE_VULNERABILITIES -DWITH_OPENSSL_PORT install clean

However, it stopped at the same location with the same error message. Time
to give up?

Thanks!


Zbigniew Szalbot



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


Re: vpnc on FreeBSD 6.2

2007-07-09 Thread Xihong Yin
Yes, I can also traceroute the vpn3000.

On Mon, 9 Jul 2007, Xihong Yin wrote:

> Yes. I can ping the ip of my vpn3000, and it is alive. I use ip address not 
> DNS name for the vpn3000. I'm not sure if I can traceroute. I'll give a try 
> today.
>
>
>
> On Mon, 9 Jul 2007, Jonathan Horne wrote:
>
> > On Monday 09 July 2007 11:16:33 Xihong Yin wrote:
> > > I did create the configuration file from the profile file of the Windows
> > > vpn client. And I know my group ID and password. But I got 'No response
> > > from target' error when I start vpnc. The Windows client works fine on the
> > > same machine.
> >
> > well, on your configuration file, do you have an ip address, or are you 
> > using
> > a DNS name of your vpn3000?  if DNS name, can you ping the address (ie, is
> > your /etc/resolv.conf straight?).
> >
> > can you ping and/or traceroute to the ip of your vpn3000?
> > --
> > Jonathan Horne
> > http://dfwlpiki.dfwlp.org
> > [EMAIL PROTECTED]
> > ___
> > freebsd-questions@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> >
>
> --
> Find out how you can get spam free email.
> http://www.bluebottle.com/tag/3
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>

--
Get a free email address with REAL anti-spam protection.
http://www.bluebottle.com/tag/1

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


Re: php 4.3.10, manual installation

2007-07-09 Thread Josh Paetzel
On Monday 09 July 2007, Zbigniew Szalbot wrote:
> Hello again,
>
> On Mon, 9 Jul 2007 17:57:32 -0500, Josh Paetzel <[EMAIL PROTECTED]> 
wrote:
> >> make -DDISABLE_VULNERABILITIES install clean
> >> Dependency warning: used OpenSSL version contains known
> >> vulnerabilities Please update or define either WITH_OPENSSL_BASE
> >> or WITH_OPENSSL_PORT *** Error code 1
> >>
> >> Stop in /usr/ports/lang/php4.
> >>
> >> Now I did include WITH_OPENSSL_PORT=1 in pkgtools.conf for php4
> >> but it does not seem to take any effect. I also tried inserting
> >> WITH_DISABLE_VULNERABILITIES=1 in this file but it did not help.
> >>
> >> Thank you!
> >>
> >> Zbigniew Szalbot
> >
> > Right, because pkgtools.conf isn't used by the ports treeso
> > add in -DWITH_OPENSSL_PORT to the mix
>
> Not much luck. The installation started but then came to a halt:
>
> making links in engines...
> making links in apps...
> making links in test...
> making links in tools...
> generating dummy tests (if needed)...
>
> Since you've disabled or enabled at least one algorithm, you need
> to do the following before building:
>
> make depend
>
> Configured for BSD-x86-elf.
> -e: not found
> *** Error code 127
>
> Stop in /usr/ports/security/openssl.
> *** Error code 1
>
> Stop in /usr/ports/lang/php4.
>
> OK. I ran make depend and then repeated
> make -DDISABLE_VULNERABILITIES -DWITH_OPENSSL_PORT install clean
>
> However, it stopped at the same location with the same error
> message. Time to give up?
>
> Thanks!
>
>
> Zbigniew Szalbot
>

Never give up, never surrender!

Try using the base openssl, it's the better choice in most cases 
anyways.  make -DDISABLE_VULNERABILITIES -DWITH_OPENSSL_BASE clean 
install clean




-- 
Thanks,

Josh Paetzel


pgpj7zmCz5ni4.pgp
Description: PGP signature


Re: Patching with freebsd-update from 6.2-RELEASE-p4 to 6.2-RELEASE-p5

2007-07-09 Thread Gerard
On July 09, 2007 at 04:59PM Stevan Tiefert wrote:


> What is going wrong? Why he is not updating?

You should check out these two URL's to get a better idea of what you
are attempting to do as well as how to accomplish it.

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cutting-edge.html

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html


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


Re: Installation woes with 6.2 release

2007-07-09 Thread Derek Ragona

At 04:20 PM 7/9/2007, Kurt Buff wrote:

On 7/9/07, Derek Ragona <[EMAIL PROTECTED]> wrote:


 At 03:43 PM 7/9/2007, Kurt Buff wrote:

I've got a machine with 2GB of RAM, onto which I can install Windows
 XP with no issues.

 However, FreeBSD 6.2 Release is giving me fits on this machine. If any
 of you have insight, I'd surely appreciate you sharing

 The motherboard is an Intel D645 GEBV2. I've tried a couple of
 different disk arrangements, with no success.

 I've installed an IDE WD 180GB drive, which the motherboard BIOS
 detects just fine. When I boot from disk 1 for the FreeBSD install, it
 detects no hard drive.

 I've put in an Addonics ADSA2 PCI SATA card, which sports the SiL
 1352A chipset, but the install blows up when installing to a 74GB
 Seagate drive - the kernel panics and it reboots while copying files
 to disk.

 Has anyone run into these problems? Google hasn't been particularly my
 friend on this one.

 I've tried reading the install docs on the CD, with no particular
 luck, but I could be missing something.
 Clearly you have a disk controller compatibility problem.  I do know the
Sil chips are terrible, and there is a long history of issues with these
chips and FreeBSD!

 Can you find a regular IDE drive to plug into that motherboard?

 -Derek


Plugging an IDE drive into the motherboard is the first thing I did -
that's the case above where FreeBSD didn't see *any* HD. That's the
one that really fries my brain, because the motherboard BIOS detects
it correctly, and XP installs to it just fine.


Any possibility the IDE master/slave jumper is not set right on that drive?

On some intel MB's it takes a reboot into setup so that setup see's the 
hard drive, then check that it has that hard drive in the boot order.  I 
know this seems a bit simple, but just trying to check all 
possibilities.  I've never seen a problem with a standard IDE drive 
installation.  After you had XP on the drive did you reformat the drive to 
clear it out?


-Derek

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

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


Re: php 4.3.10, manual installation

2007-07-09 Thread Mikhail Goriachev
Zbigniew Szalbot wrote:
> Hi there,
> 
> On Mon, 9 Jul 2007 16:54:16 -0500, Josh Paetzel <[EMAIL PROTECTED]> wrote:
>> On Monday 09 July 2007, [EMAIL PROTECTED] wrote:
>>> Hello,
>>>
 I would take a look at cvsweb.freebsd.org and find out when PHP
 4.3.10 was in ports, then roll back your ports tree to that date
 with cvsup and install it from ports.

 So in this case the commit that updated the port to 4.3.11 was on
 Mon April 4 2005, so if you roll back the ports tree to April 1
 you'll be fine.

 You'll need cvsup for this.

 In your ports-supfile add the following line:

 *default date=2005.04.01.00.00.00

 If you have the current versions of gettext, libtool, m4, perl,
 and expat installed you can simply roll back the lang directory
 with cvsup, saving you from rolling back the entire tree by
 commenting out ports-all, and uncommenting ports-base and
 ports-lang

 Otherwise, if you want to install the versions of the
 dependancies that were current at the time of php 4.3.10 you'll
 want to roll back the entire tree.

 After you run cvsup you can just portinstall it or
 cd /usr/ports/lang/php4 && make install clean
>>> All clear but when I go to install this particular version of PHP I
>>> am (rightly) warned about its multiple known vulnerabilities. I
>>> read man portinstall but don't think I have seen information how to
>>> temporarily switch this security check off when installing a port.
>>>
>>> Many thanks in advance!
>>>
>>> Zbigniew Szalbot
>>>
>> make -DDISABLE_VULNERABILITIES install
> 
> Thanks for your patience! However, when I try I get:
> 
> make -DDISABLE_VULNERABILITIES install clean
> Dependency warning: used OpenSSL version contains known vulnerabilities
> Please update or define either WITH_OPENSSL_BASE or WITH_OPENSSL_PORT
> *** Error code 1
> 
> Stop in /usr/ports/lang/php4.
> 
> Now I did include WITH_OPENSSL_PORT=1 in pkgtools.conf for php4 but it does
> not seem to take any effect. I also tried inserting
> WITH_DISABLE_VULNERABILITIES=1 in this file but it did not help.


# make DISABLE_VULNERABILITIES=YES install clean

# man ports


Regards,
Mikhail.

-- 
Mikhail Goriachev
Webanoide

Telephone: +61 (0)3 62252501
Mobile Phone: +61 (0)4 38255158
E-Mail: [EMAIL PROTECTED]
Web: www.webanoide.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Installation woes with 6.2 release

2007-07-09 Thread Kurt Buff

On 7/9/07, Derek Ragona <[EMAIL PROTECTED]> wrote:


 At 04:20 PM 7/9/2007, Kurt Buff wrote:

On 7/9/07, Derek Ragona <[EMAIL PROTECTED]> wrote:


  At 03:43 PM 7/9/2007, Kurt Buff wrote:

 I've got a machine with 2GB of RAM, onto which I can install Windows
  XP with no issues.

  However, FreeBSD 6.2 Release is giving me fits on this machine. If any
  of you have insight, I'd surely appreciate you sharing

  The motherboard is an Intel D645 GEBV2. I've tried a couple of
  different disk arrangements, with no success.

  I've installed an IDE WD 180GB drive, which the motherboard BIOS
  detects just fine. When I boot from disk 1 for the FreeBSD install, it
  detects no hard drive.

  I've put in an Addonics ADSA2 PCI SATA card, which sports the SiL
  1352A chipset, but the install blows up when installing to a 74GB
  Seagate drive - the kernel panics and it reboots while copying files
  to disk.

  Has anyone run into these problems? Google hasn't been particularly my
  friend on this one.

  I've tried reading the install docs on the CD, with no particular
  luck, but I could be missing something.
  Clearly you have a disk controller compatibility problem.  I do know the
 Sil chips are terrible, and there is a long history of issues with these
 chips and FreeBSD!

  Can you find a regular IDE drive to plug into that motherboard?

  -Derek
 Plugging an IDE drive into the motherboard is the first thing I did -
 that's the case above where FreeBSD didn't see *any* HD. That's the
 one that really fries my brain, because the motherboard BIOS detects
 it correctly, and XP installs to it just fine.
 Any possibility the IDE master/slave jumper is not set right on that drive?

 On some intel MB's it takes a reboot into setup so that setup see's the
hard drive, then check that it has that hard drive in the boot order.  I
know this seems a bit simple, but just trying to check all possibilities.
I've never seen a problem with a standard IDE drive installation.  After you
had XP on the drive did you reformat the drive to clear it out?

 -Derek


I think I'll go beat my lackey again.

He was supposed to remove the jumper, and didn't do it.

I took it off, and it's installing happily to the IDE drive.

I'm gonna bag the SATA for now.

Thanks for your help,

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


Re: Patching with freebsd-update from 6.2-RELEASE-p4 to 6.2-RELEASE-p5

2007-07-09 Thread Jay Chandler

Stevan Tiefert wrote:
 
What is going wrong? Why he is not updating?
  


Really dumb question-- have you tried rebooting to commit the uname -a 
display change?


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


Xorg 7.2 and FreeBSD 6.2-p5 VMWARE vmmouse problem

2007-07-09 Thread Webster, Andrew
Howdy,

 

I was successfully able to get Xorg upgraded to 7.2 by just installing them 
from scratch as opposed to trying to upgrading an existing system, BUT I’ve run 
into a problem…

 

While running VMWare Server 1.0.3 with FreeBSD 6.2-p5 and Xorg 7.2, the mouse 
pointer behaves very oddly.

The pointer appears in the wrong place on the screen for where the system 
actually thinks that it is.

I’m using the vmmouse driver part of the Xorg system, as the regular mouse 
driver doesn’t appear to work at all, unless some settings are amiss.

I really like the vmmouse drive because you can move the pointer in/out of the 
window as you do with regular windows guest OSes.

 

Has anyone experienced similar problems and/ or know of a fix for this?

 

Thanks!

--

Andrew

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


NFSv4 server

2007-07-09 Thread Fredrik Tolf
Hi all!

I've been running my home file server on Linux for quite a number of
years, but ever since I started running FreeBSD on my laptop, I've
been itching a bit to start looking into reinstalling the file server
with FreeBSD as well. There's just one show-stopper: There seems not
to be any Kerberized NFS server for FreeBSD.

Does anyone know if there's one in the works or just hidden from my
sight somewhere out there? I've noticed that FreeBSD's errno(3) man
page includes error codes that seem to be for authenticated NFS
access, but grepping through /usr/src for them yields no hits outside
of errno.h.

I'm just wondering if there are any plans.

Fredrik Tolf

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


Re: password failure- after mergmaster

2007-07-09 Thread Peter Boosten
David Kelly wrote:
> On Mon, Jul 09, 2007 at 01:29:44PM -0700, Chuck Swiger wrote:
>> On Jul 9, 2007, at 1:25 PM, Peter Boosten wrote:
>>> Having read this I must admit that it's a complete mystery to me why
>>> mergemaster would touch your password file at all...
>> Because sometimes new versions of the OS come with new built-in user  
>> accounts, which need to be added to the existing passwd or groups  
>> databases somehow?
> 
> Yes, exactly. Have to *merge* the changes into /etc/master.passwd rather
> than brute force overwrite.
> 

Thanks David, that's indeed my point: FreeBSD comes packed with tools,
among them are tools to create (or to delete) user accounts. Those tools
can easily be scripted.

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


KDM terminates unexpectedly

2007-07-09 Thread Malcolm Fitzgerald
I've just installed freeBSD v6.2 and installed the updated xorg from
sources. 

After kdm is called I see:

Jul 9 17:41:29 rock kdm-bin[817]: X server for display :0  terminated 
unexpectedly
Jul 9 17:41:29 rock kdm-bin: :0[821]: IO Error in XOpenDisplay
Jul 9 17:41:29 rock kdm-bin[817]: Unable to fire up local display :0; disabling

Any advice?

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


Re: Xorg 7.2 and FreeBSD 6.2-p5 VMWARE vmmouse problem

2007-07-09 Thread Norberto Meijome
On Mon, 9 Jul 2007 21:53:28 -0400
"Webster, Andrew" <[EMAIL PROTECTED]> wrote:

> While running VMWare Server 1.0.3 with FreeBSD 6.2-p5 and Xorg 7.2, the mouse 
> pointer behaves very oddly.
> 
> The pointer appears in the wrong place on the screen for where the system 
> actually thinks that it is.
> 
> I’m using the vmmouse driver part of the Xorg system, as the regular mouse 
> driver doesn’t appear to work at all, unless some settings are amiss.
> 
> I really like the vmmouse drive because you can move the pointer in/out of 
> the window as you do with regular windows guest OSes.

you >do< have the vmware client tools installed nad running in the VM, right?

_
{Beto|Norberto|Numard} Meijome

"Never offend people with style when you can offend them with substance."
  Sam Brown

I speak for myself, not my employer. Contents may be hot. Slippery when wet. 
Reading disclaimers makes you go blind. Writing them is worse. You have been 
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: KDM terminates unexpectedly

2007-07-09 Thread Norberto Meijome
On Tue, 10 Jul 2007 13:07:04 +1000
Malcolm Fitzgerald <[EMAIL PROTECTED]> wrote:

> I've just installed freeBSD v6.2 and installed the updated xorg from
> sources. 
> 
> After kdm is called I see:
> 
> Jul 9 17:41:29 rock kdm-bin[817]: X server for display :0  terminated 
> unexpectedly
> Jul 9 17:41:29 rock kdm-bin: :0[821]: IO Error in XOpenDisplay
> Jul 9 17:41:29 rock kdm-bin[817]: Unable to fire up local display :0; 
> disabling
> 
> Any advice?

any information @ the end of /var/log/Xorg.0.log ? 

_
{Beto|Norberto|Numard} Meijome

"Quality is never an accident, it is always the result of intelligent effort."
  John Ruskin  (1819-1900)

I speak for myself, not my employer. Contents may be hot. Slippery when wet. 
Reading disclaimers makes you go blind. Writing them is worse. You have been 
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Turn off server when shutdown

2007-07-09 Thread Ivan Carey

Hello,
I am using FreeBSD 6.2 Release
When I run shutdown on my server it stays on and says:
"The operating system has halted"
"Please press any key to reboot"

Is it possible to have the server turn off?

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


Re: Turn off server when shutdown

2007-07-09 Thread Peter Boosten


Ivan Carey wrote:
> Hello,
> I am using FreeBSD 6.2 Release
> When I run shutdown on my server it stays on and says:
> "The operating system has halted"
> "Please press any key to reboot"
> 
> Is it possible to have the server turn off?
> 

shutdown -p now

(-p = power down. Your BIOS must support ACPI IIRC).

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


Re: Turn off server when shutdown

2007-07-09 Thread Erik Trulsson
On Tue, Jul 10, 2007 at 03:01:44PM +1000, Ivan Carey wrote:
> Hello,
> I am using FreeBSD 6.2 Release
> When I run shutdown on my server it stays on and says:
> "The operating system has halted"
> "Please press any key to reboot"
> 
> Is it possible to have the server turn off?
> 

Yes, assuming the hardware supports it (which most modern hardware does.)
Just use 'shutdown -p' instead of plain 'shutdown'.





-- 

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


Re: Turn off server when shutdown

2007-07-09 Thread Olivier Nicole
>Is it possible to have the server turn off?

man shutdown?

 -p  The system is halted and the power is turned off (hardware sup-
 port required) at the specified time.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Turn off server when shutdown

2007-07-09 Thread Ivan Carey

Erik Trulsson wrote:

On Tue, Jul 10, 2007 at 03:01:44PM +1000, Ivan Carey wrote:
  

Hello,
I am using FreeBSD 6.2 Release
When I run shutdown on my server it stays on and says:
"The operating system has halted"
"Please press any key to reboot"

Is it possible to have the server turn off?




Yes, assuming the hardware supports it (which most modern hardware does.)
Just use 'shutdown -p' instead of plain 'shutdown'.





  
Is this function available via kdm also I am using an apc ups and 
running apcupsd do you know of a setting here?


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


RE: reboot in single user

2007-07-09 Thread Johan Hendriks


>I'm curious to know if there is a command to reboot into single user mode- *
>more importantly* if I do reboot in single user mode can I still SSH  in?

>My box is not physically near me and I'm upgrading 5.5 to 6.2 - so it this
>possible- or do I need to go get the box and attach a keyboard monitor and
>mouse to it?


>Thanks


>>Shutdown now goes into single user mode, but it will close SSH
>>!
>>Better is to manually shutdown al daemons through /usr/local/etc/rc.d and
>>/etc/rc.d to only have sshd running.
>>If you using natd do not stop it either, because it will disconnect you.>

>>Then you can  finnish the make world cycles.
>>That is the way I do it from a remote shell, it it only failed me once.

>>Else try on a spare machine install 5.5 and update it to 6.2 through a ssh
>>version, then you know what to expect.
>>Also install the main ports you have running on your remote 5.5 box and try
>>if they still work.


>How long will this take- as stopping  the daemons (spamd/clamd etcc..) will
>cause a halt in my incoming mail?

Weel it is only the make installworld and mergemaster part so I guess about a 
minut or 10

You can do the buildworld and buildkernel steps and let the machine do its work,
Then you can install the kernel do a mergemaster -p and then shutdown all 
services.

Then do the make installworld and mergemaster part.
Also if you go from 5.5 to 6.2 you can do make delete-old it will remove files 
that are not part of the base in 6.2
And after that make delete-old-libs (WARNING) this can mean you will need to 
recompile some ports that use the old 5 libs, like bash
If your shell is bash and you reboot the machine the possibility is that bash 
need an old 5.5 lib, so no access to your machine anymore.

Well again install 5.5 on a spare machine, install the ports you have running 
on the remote location (or create packages from the other machine) and do the 
cycle on that spare machine, this way no unexpected things should happen.











No virus found in this incoming message.
Checked by AVG Free Edition. 
Version: 7.5.476 / Virus Database: 269.10.2/891 - Release Date: 8-7-2007 18:32
 

No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.476 / Virus Database: 269.10.2/891 - Release Date: 8-7-2007 18:32
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Turn off server when shutdown

2007-07-09 Thread Ivan Carey

Ivan Carey wrote:

Erik Trulsson wrote:

On Tue, Jul 10, 2007 at 03:01:44PM +1000, Ivan Carey wrote:
 

Hello,
I am using FreeBSD 6.2 Release
When I run shutdown on my server it stays on and says:
"The operating system has halted"
"Please press any key to reboot"

Is it possible to have the server turn off?




Yes, assuming the hardware supports it (which most modern hardware 
does.)

Just use 'shutdown -p' instead of plain 'shutdown'.





  
Is this function available via kdm also I am using an apc ups and 
running apcupsd do you know of a setting here?


Thanks,
Ivan


Thanks to everyone, I have changed the kdm login manager to have 
/sbin/halt -p upon shutdown and modified the apcupsd apccontrol script 
to have the -p now option.


All is working as I would like.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"