Re: multiple postgresql servers in multiple jails?

2007-10-26 Thread Anton - Valqk
You can alternatively set the SEM* and SHMMAX in the loader.conf.
I have a server runing two pgs.

# cat /boot/loader.conf
kern.ipc.semmni=256
kern.ipc.semmns=512
kern.ipc.semmnu=256
kern.ipc.semmap=256

Oliver Fromme wrote:
 Oliver Peter wrote:
   Oliver Fromme wrote:
Oliver Peter wrote:
 Does anybody have a running system with more than one jail hosting
 more than one postgres server?

Yes, you must configure them to use different port numbers,
because the SysV IPC IDs are derived from the port number.
If you try to run both servers with the default port, you'll
get a conflict.  Configure different port numbers, and it
will work.
   
   Thanks for that hint.  After changing the port numbers for each
   instance to a different one, it works - but only at first glance.
   After making some test creates and inserts to all servers at the same
   time I receive the 'out of memory' messages again...
   Different UIDs, different ports, same error.

 Can you please give the output from ipcs -M and ipcs -p?

 The latter shows the process IDs of the creator (CPID) and
 last user (LPID) of shared memory resources.  You can look
 up the jails in which those processes are running, so to
 make sure that none of the resources was taken over by a
 different jail.

 The jps script could be useful:

 http://www.secnetix.de/~olli/scripts/jps

 By the way, ipcs -bm displays the shared memory segment
 sizes.

By the way, the PostgreSQL developers do _not_ recommend to
run multiple servers on the same machine, because of bad
efficiency.  It is much better (performance-wise) to run
all databases within the same server engine.  PostgreSQL
has all the authentication and permission features you need
to separate multiple databases within a single server, so
there is really no need to use multiple jails.
   
   Of course I understand that.  But I would like to setup a test server
   in a different jail beside my production jail/pgsql-server to be sure
   not to crash my production server.
   Performance does not matter (at this time in this specific case of
   course!).

 I see.  In that case it is probably OK.

I have these on a machine with a single PostgreSQL server,
as per recommendations of the developers:

options SHMMAXPGS=65536
options SEMMAP=1024
options SEMMNI=64
options SEMMNS=1024
options SEMUME=64
options SEMMNU=128
   
   Is this a good recommendation for a machine with only 1GB of RAM?

 In fact, the above lines are from a machine with 256 MB RAM.
 For 1 GB you can probably double the number of shared memory
 pages (SHMMAXPGS value).  The semaphore values (SEM*) should
 be sufficient in either case, I think.

 Best regards
Oliver

   


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

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


Re: Storage cluster with FreeBSD

2007-10-26 Thread Wojciech Puchar


I have this pet project, playing with the Lustre Cluster FS. Is there anything 
similar to this that would run with FreeBSD as the host? ( Clients supported 
would HAVE to be linux,freebsd, Win32, OSX, ideally over standard protocols 
with no need for special driver).

I seem to remember that ggate,  in the GEOM stack, allows for storage over 
different nodes, but reading about ggate i am not sure it provides what I'm 
after :

- storage over a number of nodes (few or large number).


ggate provides remote volume. simply.


- abstract view of the storage from the client's point of view ( 1 TB storage, 
doesnt matter how this is setup).

yes


- dynamic sizing : add servers, storage grows.


no. you may have more remote/virtual volumes,


- resilience to node loss.


no.

as every good unix tool, doesn't do everything, it does one thing just 
right, remote volumes for ggate.


use ggate with gmirror and gconcat :)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


IPSec SPD

2007-10-26 Thread Victor Sudakov
Colleagues, 

Suppose our remote office uses the 10.1.1.0/24 network, and the whole
company uses the 10.0.0.0/8 network.

How do we set up the SPD entries to encrypt traffic to the
headquarters and back?

spdadd 10.0.0.0/8 10.1.1.0/24
...
spdadd 10.1.1.0/24 10.0.0.0/8
...

is not a good idea, is it? 

Thanks in advance for any input.

-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
sip:[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


postfix-Dovecot-IMAP-Squirrel mail Problem

2007-10-26 Thread dhaneshk k


  Help please :I configured  testing postfix,dovecot-IMAP ,postfixadmin , 
maia-mailguard ,squirrelmail in a production box(freeBSD-6.2), few issues when 
I use squirrel mail.
  by using postfix admin I created virtual domains and mailboxes for the 
virtual domains , by using this I can log in to squirrel mail , but when I 
compose a mail  sending , its not going to any mailboxes that in any virtual 
domains that I created?
 why  this  ?


My LOG FILES showing  tail /var/log/maillog


Oct 26 15:59:38 sun dovecot: IMAP([EMAIL PROTECTED]): Disconnected: Logged out
Oct 26 15:59:39 sun dovecot: imap-login: Login: user=, method=PLAIN, 
rip=232.195.5.1, lip=232.129.195.5.1, TLS
Oct 26 15:59:39 sun dovecot: IMAP([EMAIL PROTECTED]): Disconnected: Logged out

another user I tried 

Oct 26 15:58:52 sun dovecot: imap-login: Login: user=, method=PLAIN, 
rip=232.195.5.1, lip=232.195.5.1, TLS
Oct 26 15:58:52 sun dovecot: IMAP([EMAIL PROTECTED]): Disconnected: Logged out
Oct 26 15:58:52 sun dovecot: imap-login: Login: user=, method=PLAIN, 
rip=232.195.5.1, lip=232.195.5.1, TLS
Oct 26 15:58:52 sun dovecot: IMAP([EMAIL PROTECTED]): Disconnected: Logged out
Oct 26 15:58:53 sun dovecot: imap-login: Login: user=, method=PLAIN, 
rip=232.195.5.1, lip=232.195.5.1, TLS
Oct 26 15:58:53 sun dovecot: IMAP([EMAIL PROTECTED]): Disconnected: Logged out


Q:2  How can I map the real users(normal users in this server box that I 
created using the useradd  command ) with squirrelmail so they can login to 
squirrelmail and send  receive mail  

Pls help me with your  suggestions 
_
Check out some new online services at Windows Live Ideas—so new they haven’t 
even been officially released yet.
http://www.msnspecials.in/windowslive/___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: What is the equivalent of Linux 'gettid' systemcall on FreeBSD?

2007-10-26 Thread Pietro Cerutti
Yuri wrote:
 Hi,
 
 I am porting some code to FreeBSD and need to know what todoinstead of Linux 
 gettid?

There isn't an equivalent in FreeBSD. gettid(2) is Linux-specific.
From the man page, if the thread is not part of a thread group created
by passing the flag CLONE_THREAD to clone(2) [yet another Linux-specific
system call] gettid(2) is equivalent to getpid(2).

However, if the application being ported uses clone(2), you'll first
want to decide for a threading library available on FreeBSD.

 
 Thanks,
 Yuri


-- 
Pietro Cerutti

PGP Public Key:
http://gahr.ch/pgp



signature.asc
Description: OpenPGP digital signature


Re: multiple postgresql servers in multiple jails?

2007-10-26 Thread Oliver Peter
On Thu, Oct 25, 2007 at 04:38:53PM +0200, Oliver Fromme wrote:
 Oliver Peter wrote:
   Oliver Fromme wrote:
Oliver Peter wrote:
 ...
 Can you please give the output from ipcs -M and ipcs -p?

Here you go:

% sudo ipcs -M
shminfo:
shmmax:134217728(max shared memory segment size)
shmmin:1(min shared memory segment size)
shmmni:  192(max number of shared memory identifiers)
shmseg:  128(max shared memory segments per process)
shmall:65536(max amount of shared memory in pages)


% sudo ipcs -p
Message Queues:
T   ID  KEY MODEOWNERGROUP   LSPID
LRPID

Shared Memory:
T   ID  KEY MODEOWNERGROUPCPID 
LPID
m65536  5432001 --rw---   70   70 1064 
1064
m   131073  5473001 --rw--- 1073   70 6293 
6293
m   131074  5472001 --rw--- 1072   70 6545 
6545
m   131075  5471001 --rw--- 1071   70 6797 
6797

Semaphores:
T   ID  KEY MODEOWNERGROUP
s65536  5432001 --rw---   70   70
s65537  5432002 --rw---   70   70
s65538  5432003 --rw---   70   70
s65539  5432004 --rw---   70   70
s65540  5432005 --rw---   70   70
s65541  5432006 --rw---   70   70
s65542  5432007 --rw---   70   70
s   131079  5473001 --rw--- 1073   70
s   131080  5473002 --rw--- 1073   70
s   131081  5473003 --rw--- 1073   70
s   131082  5473004 --rw--- 1073   70
s   131083  5473005 --rw--- 1073   70
s   131084  5473006 --rw--- 1073   70
s   131085  5473007 --rw--- 1073   70
s   131086  5472001 --rw--- 1072   70
s   131087  5471001 --rw--- 1071   70
s   131088  5471002 --rw--- 1071   70
s   131089  5471003 --rw--- 1071   70
s   131090  5471004 --rw--- 1071   70
s   131091  5471005 --rw--- 1071   70
s   131092  5471006 --rw--- 1071   70
s   131093  5471007 --rw--- 1071   70


% sudo ipcs -bm
Shared Memory:
T   ID  KEY MODEOWNERGROUP   SEGSZ
m65536  5432001 --rw---   70   70 38076416
m   131073  5473001 --rw--- 1073   70 38076416
m   131074  5472001 --rw--- 1072   70  1654784
m   131075  5471001 --rw--- 1071   70 38076416


% ./jps | grep postgres
 1  1064 70  /usr/local/bin/postgres -D /usr/local/pgsql/data
 1  1068 70  postgres: writer process(postgres)
 1  1069 70  postgres: stats collector process(postgres)
 5  6293 1073/usr/local/bin/postgres -D /usr/local/pgsql/data
 5  6295 1073postgres: writer process(postgres)
 5  6296 1073postgres: stats collector process(postgres)
 6  6545 1072/usr/local/bin/postgres -D /usr/local/pgsql/data
 6  6547 1072postgres: writer process(postgres)
 6  6548 1072postgres: stats collector process(postgres)
 7  6797 1071/usr/local/bin/postgres -D /usr/local/pgsql/data
 7  6799 1071postgres: writer process(postgres)
 7  6800 1071postgres: stats collector process(postgres)

 The jps script could be useful:
 
 http://www.secnetix.de/~olli/scripts/jps

Excellent stuff there :)

-- 
Oliver PETER, eMail: [EMAIL PROTECTED], ICQ# 113969174
Worker bees can leave.  Even drones can fly away.
 The Queen is their slave.


pgpydrXIvrEZl.pgp
Description: PGP signature


Re: multiple postgresql servers in multiple jails?

2007-10-26 Thread Oliver Peter
On Fri, Oct 26, 2007 at 11:30:57AM +0300, Anton - Valqk wrote:
 You can alternatively set the SEM* and SHMMAX in the loader.conf.
 I have a server runing two pgs.
 
 # cat /boot/loader.conf
 kern.ipc.semmni=256
 kern.ipc.semmns=512
 kern.ipc.semmnu=256
 kern.ipc.semmap=256

Thanks buddy.
Currently I try it with 4  :)  Is this a bad idea?

Do you have the servers running within seperated jails?

-- 
Oliver PETER, eMail: [EMAIL PROTECTED], ICQ# 113969174
Worker bees can leave.  Even drones can fly away.
 The Queen is their slave.


pgpRlnueruUgG.pgp
Description: PGP signature


Re: Storage cluster with FreeBSD

2007-10-26 Thread Norberto Meijome
On Fri, 26 Oct 2007 10:27:16 +0200 (CEST)
Wojciech Puchar [EMAIL PROTECTED] wrote:

 
  I have this pet project, playing with the Lustre Cluster FS. Is there 
  anything similar to this that would run with FreeBSD as the host? ( Clients 
  supported would HAVE to be linux,freebsd, Win32, OSX, ideally over standard 
  protocols with no need for special driver).
 
  I seem to remember that ggate,  in the GEOM stack, allows for storage over 
  different nodes, but reading about ggate i am not sure it provides what I'm 
  after :
 
  - storage over a number of nodes (few or large number).
 
 ggate provides remote volume. simply.

Right.

 
  - abstract view of the storage from the client's point of view ( 1 TB 
  storage, doesnt matter how this is setup).
 yes
 
  - dynamic sizing : add servers, storage grows.
 
 no. you may have more remote/virtual volumes,
 
  - resilience to node loss.
 
 no.
 
 as every good unix tool, doesn't do everything, it does one thing just 
 right, remote volumes for ggate.
 
 use ggate with gmirror and gconcat :)

cool, thanks for the pointers... I had a side note to review these in 
conjunction with ggate. So, is there any logical volume manager that works 
properly under 6.x or 7, ala LVM2 in Linux? ( I know of vinum, but the way I 
understand it is is pre-GEOM ).

thanks Wojciech! :)
B

_
{Beto|Norberto|Numard} Meijome

Contrary to popular belief, Unix is user friendly. It just happens to be very 
selective about who it decides to make friends with.

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: Storage cluster with FreeBSD

2007-10-26 Thread Norberto Meijome
On Fri, 26 Oct 2007 13:51:36 +0200 (CEST)
Wojciech Puchar [EMAIL PROTECTED] wrote:

  cool, thanks for the pointers... I had a side note to review these in 
  conjunction with ggate.  
 So, is there any logical volume manager that works properly under 6.x or 7, 
 ala LVM2 in Linux?
 
 there is gvinum, but i can't say it works right. it's quite easy to 
 crash, at least was for me.

so i've read...

 
 but - freebsd allows 7 partitions, but partitions can be recurrent - i 
 mean you can use bsdlabel on partitions and get things like ad0aa etc.
 
 i used this to make 30 partitions.

interesting...

 
 so it's manual LVM as then you can ggate, gmirror or gconcat or gstripe 
 with that partitions.

sorry, i don't see how this recursive formatting of partitions can be used as a
'manual lvm'... see below

 
 precise more clearly what you need. as always - simple solutions are best 
 solutions. and unix == simplicity.

indeed. Well, as I said in OP, similar to what Lustre offers. 

Let's see : what I am after is a way to hook up a few computers ( say, 6) with
a few  HD (say,  6 x 400 GB), and setup across the whole thing a RAID that
would let me :
 - keep running with no loss of data  in case of a disk or node failure (or
minimal in case of a node failure)

 - can be accessed by clients over standard network protocols (NFS, CIFS, etc)

 - the clients see volumes of x GB (maybe 1 of the total size, maybe 3 of
different sizes...doesn't matter)

All this until hear seems doable with FBSD + GEOM architecture. Now the tricky
ones :

 - scales linearly - if I add 90 storage hosts, the system doesnt get bogged
down with the management of the disks / stripe distributoin

 - I can add new hosts (from 6 to 10) and the new storage is available for the
cluster. If I had LVM, I could simply add the new disks to the physical group,
and then grow the logical volume... I don't see how 7.0's recursive
partitioning can help me here Can you please explain ? 

thanks!
B
_
{Beto|Norberto|Numard} Meijome

There are two kinds of stupid people. One kind says,'This is old and therefore
good'. The other kind says, 'This is new, and therefore better.'
 John Brunner, 'The Shockwave Rider'.

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]


Make Release Customization

2007-10-26 Thread Riaan Kruger
What is the best way to add new files into the CHROOT environment when doing
a make release?

I am trying to create my own distribution using the make release, from
release(7), mechanism.  The problem is, is that I wish to add files to the
CHROOT environment. These files are my own config files that I wish to
process with the *LOCAL**_**SCRIPT* script. I know there is a
*LOCAL**_**PATCHES
*option with which to patch in stuff into the CHROOT environment. However, I
wish to avoid the patching mechanism, because of many reasons (which I will
explain if you want me to :) )

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


Re: Mentor for C self study wanted

2007-10-26 Thread james

On Thu, 2007-10-25 at 23:19 +0200, Harald Schmalzbauer wrote:
 Am Donnerstag, 25. Oktober 2007 20:22:26 schrieb Aryeh M. Friedman:
   Absolutely.  (I just didn't mention it before because
   obviously Harald already has a beginner's book on the
   C programming language.)
 
  Herald does in fact have one that sucks (it does a terrible job on type
  sizes for example [doesn't mention that they may very on different
 
 Well, probably it's not that bad.
 
 First, thanks to all for your help.
 
 KR has been laying arround here for at least 2 years. I hated it.
 It instructs me to use functions like printf without explaining it, and the 
 examples are not really motivating. So every time I tried to write something 
 on my own I was stoped by the simple printf, for example.

YOU DARE NOT WORSHIP AT THE CHURCH OF KR

No, but seriously, it took me a good three years of picking up KR and
trying to get through the first chapter before I eventually started
seeing why it's referred to as *the* book.
 
 I'm sure it's a very good book as a reference, but it couldn't motivate me as 
 a real C beginner (not a bloody programming beginner though).
 
But if it doesn't work for you, that's okay :) It *is* a good reference,
though. There's annotation for the standard libraries in an appendix.

 So I bought two new books, the first, which I've started with, 
 is Markt+Technik, jetzt lerne ich C (ISBN-13 978-3-8272-4210-5).
 Indeed, it hasn't made clear that short and int are different, they just 
 explained short and long (and double long) and I thought short is a synonym 
 for int.
 But it explains in some short sentences the most important 
 behaviour/requirements for the functions we use. It still leaves me alone 
 when it comes to compilers, but after only three evenings so far I think that 
 I made real progress. Writing a simple practice just works :)
 And I already know that float x; x=10/3 is 3 not 3.. I can't remember 
 reading that in the KR in the first quarter of the book.
 I'm still quiet happy with it.
 
 The next book is O'Reillys C in a nutshell (ISBN 3-89721-344-3). I'll open it 
 if I have structs and pointers practiced...
 
If you've got the cash to spare, try out O'Reilly's Practical C
Programming. That book is very friendly, contains a tonne of great
examples, and a lot of on the spot quizzes. 

I was sold on it when I read the rear cover. It says something like:
KR teaches there are nine rules of precedence in C. We teach two: the
first is that addition comes before subtraction, the second is use
parentheses for everything else.

That kind of simplicity isn't something you see everywhere.

 And of course I'll replay the KR if I have some more basics.
 
 Thanks,
 
 -Harry
 
  machines])... since he is paying me a small amount to help him in detail
  I am going to recommend KR to him (with the caution is is meant for
  experienced programmers)
 
 
 

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


Re: Sendmail and SMTP AUTH, I need a hand [SOLVED]

2007-10-26 Thread Efren Bravo
Solved, thanks for your time


--- Steve Bertrand [EMAIL PROTECTED]
escribió:

  Hi,
 
 
  I tried to activate the SMTP AUTH in Sendmail
  following the steps of the man page
 

(http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/smtp-auth.
  html).
 
  Everythigns was ok, but...
 
 
  If on the client (Outlook Express or MS
 Outlook)
  is activated My server requires
 authentication the SMTP AUTH occurs
  and the mail is sent but if this option is
 disabled the mail is sent
  too.
 
 I can't really help on the config side of
 things, but:
 
 Are all of your clients under the domain you
 have listed in the access
 file?

 That essentially (AFAIR) means allow anyone
 sending from this domain
 to relay through me, no matter what, which
 (again AFAIR) means that
 any domain listed in that file can relay
 through you, even if I slap
 your domain into my mail client on my own IP
 address (please correct
 if wrong).
 
 If this is the case, remove the domain from
 access, and if it's in
 relaydomains, remove it from there too.
 
 After it's removed from access, do this:
 
 # cd /etc/mail
 # makemap hash access  access
 
 I don't think you have to restart sendmail, but
 I can't remember.
 
 You should be able to eliminate all entries
 from both files after AUTH
 is enabled (again, AFAIR. I haven't used
 sendmail other than for
 system messages for a long time).
 
 Steve
 
 ___
 freebsd-questions@freebsd.org mailing list

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



   

Sé un Mejor Amante del Cine 
¿Quieres saber cómo? ¡Deja que otras personas te ayuden!
http://advision.webevents.yahoo.com/reto/entretenimiento.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Windows SSH client?

2007-10-26 Thread Eric F Crist
It was a request by the boss.  He loves pico, and was getting cursor  
position from his current ssh client.  We've since convinced him to  
use nano -c, and use putty.


thanks for all the advice!

Eric


On Oct 25, 2007, at 5:11 PMOct 25, 2007, Predrag Punosevac wrote:


N.J. Thomas wrote:
* Eric F Crist [EMAIL PROTECTED] [2007-10-24 14:12:59  
-0500]:


I'm looking for a good, free, SSH client that has line/column  
numbers  at the bottom, similar to SecureCRT.




I'm curious as to why you need the line/column numbers displayed for
your terminal in an SSH client? That seems to me a completely  
unrelated

function. Most editors (Vi, Emacs, etc.) will give you that info, but
can you explain why need it as necessary component for an SSH client?

Thomas


I am also confused about your question as a previous sender. Do you  
have cygwin installed on your Windows machines?
You can use shell to ssh to a remote location like in Unix. The  
next thing that comes to my mind is PUTTY but I am not really sure
if you already dismissed it as inadequate. WinSCP is secure copy  
client (sftp) which is in Unix world part of ssh but as I said  
earlier if you have cygwin you can pretend that you are in the Unix  
environment. OpenSSH is a cygwin package!

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


-
Eric F Crist
Secure Computing Networks


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


Re: libXfont install problems from ports

2007-10-26 Thread james


 I'm having issues with six or seven ports installing. I've traced it
 back to two ports that are having issues, one of which is libXfont.

 The version I've got installed is:

 evolution# pkg_info -Ix libXfont
 libXfontcache-1.0.4 The Xfontcache library

 The version in ports is 1.3.1


 Here's my log:


 ===  Building for libXfont-1.3.1,1
 make  all-recursive
 Making all in src
 Making all in fontfile
 /bin/sh ../../libtool --tag=CC--mode=compile cc -DHAVE_CONFIG_H
 -I. -I../.. -I../../include/X11/fonts -I../../include
  -DFONT_ENCODINGS_DIRECTORY=\/usr/local/lib/X11/fonts
 /encodings/encodings.dir\ -Wall -Wpointer-arith
 -Wstrict-prototypes-Wmissing-prototypes -Wmissing-declarations
 -Wnested-externs -fno-strict-aliasing -O2 -fno-strict-aliasing -pipe
  -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/usr/local/include
 -MT fontencc.lo -MD -MP -MF .deps/fontencc.Tpo -c -o fontencc.lo
 fontencc.c
  cc -DHAVE_CONFIG_H -I. -I../.. -I../../include/X11/fonts
 -I../../include -DFONT_ENCODINGS_DIRECTORY=
 \/usr/local/lib/X11/fonts/encodings/encodings.dir\ -Wall
 -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes
 -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -O2
 -fno-strict-aliasing -pipe -D_BSD_SOURCE -DHAS_FCHOWN
 -DHAS_STICKY_DIR_BIT -I/usr/local/include -MT fontencc.lo -MD -MP
 -MF .deps/fontencc.Tpo -c fontencc.c  -fPIC -DPIC -o .libs/fontencc.o
 fontencc.c:34:31: X11/fonts/fontenc.h: No such file or directory
 In file included from fontencc.c:35:
 ../../include/X11/fonts/fontencc.h:32: error: syntax error before
 FontEncPtr
 ../../include/X11/fonts/fontencc.h:32: warning: function declaration
 isn't a prototype
 ../../include/X11/fonts/fontencc.h:33: error: syntax error before
 font_encoding_find
 ../../include/X11/fonts/fontencc.h:33: warning: type defaults to `int'
 in declaration of `font_encoding_find'
 ../../include/X11/fonts/fontencc.h:33: warning: data definition has no
 type or storage class
 ../../include/X11/fonts/fontencc.h:34: error: syntax error before
 FontEncPtr
 ../../include/X11/fonts/fontencc.h:34: warning: function declaration
 isn't a prototype
 fontencc.c: In function `font_encoding_from_xlfd':
 fontencc.c:42: warning: implicit declaration of function
 `FontEncFromXLFD'
 fontencc.c:42: warning: nested extern declaration of `FontEncFromXLFD'
 fontencc.c:42: warning: return makes pointer from integer without a
 cast
 fontencc.c: At top level:
 fontencc.c:46: error: syntax error before font_encoding_find
 fontencc.c:47: warning: return type defaults to `int'
 fontencc.c: In function `font_encoding_find':
 fontencc.c:48: warning: implicit declaration of function `FontEncFind'
 fontencc.c:48: warning: nested extern declaration of `FontEncFind'
 fontencc.c: At top level:
 fontencc.c:53: error: syntax error before FontEncPtr
 fontencc.c:54: warning: function declaration isn't a prototype
 fontencc.c: In function `font_encoding_recode':
 fontencc.c:55: error: `encoding' undeclared (first use in this
 function)
 fontencc.c:55: error: (Each undeclared identifier is reported only
 once
 fontencc.c:55: error: for each function it appears in.)
 fontencc.c:55: error: `mapping' undeclared (first use in this
 function)
 fontencc.c :59: warning: implicit declaration of function
 `FontEncRecode'
 fontencc.c:59: warning: nested extern declaration of `FontEncRecode'
 fontencc.c:59: error: `code' undeclared (first use in this function)
 fontencc.c: At top level:
 fontencc.c:64: error: syntax error before FontEncPtr
 fontencc.c:65: warning: function declaration isn't a prototype
 fontencc.c: In function `font_encoding_name':
 fontencc.c :66: error: `encoding' undeclared (first use in this
 function)
 fontencc.c:66: error: `mapping' undeclared (first use in this
 function)
 fontencc.c:70: warning: implicit declaration of function
 `FontEncName'
 fontencc.c:70: warning: nested extern declaration of `FontEncName'
 fontencc.c:70: error: `code' undeclared (first use in this function)
 fontencc.c:70: warning: return makes pointer from integer without a
 cast
 fontencc.c: In function `identifyEncodingFile':
 fontencc.c:76: warning: implicit declaration of function
 `FontEncIdentify'
 fontencc.c:76: warning: nested extern declaration of `FontEncIdentify'
 fontencc.c :76: warning: return makes pointer from integer without a
 cast
 *** Error code 1

 Stop
 in /usr/ports/x11-fonts/libXfont/work/libXfont-1.3.1/src/fontfile.
 *** Error code 1

 Stop in /usr/ports/x11-fonts/libXfont/work/libXfont- 1.3.1/src.
 *** Error code 1

 Stop in /usr/ports/x11-fonts/libXfont/work/libXfont-1.3.1.
 *** Error code 1

 Stop in /usr/ports/x11-fonts/libXfont/work/libXfont-1.3.1.
 *** Error code 1

 Stop in /usr/ports/x11-fonts/libXfont.



 Can anyone see what's going on?

 Thanks!

 James


I've just tried to install xorg-libraries, and received the same error,
but with a little more information at the end:



Stop in /usr/ports/x11-fonts/libXfont/work/libXfont-1.3.1/src/fontfile.
*** Error 

Re: IPSec SPD

2007-10-26 Thread Brian A Seklecki (Mobile)
On Fri, 2007-10-26 at 16:55 +0700, Victor Sudakov wrote:
 Colleagues, 
 
 Suppose our remote office uses the 10.1.1.0/24 network, and the whole
 company uses the 10.0.0.0/8 network.
 
 How do we set up the SPD entries to encrypt traffic to the
 headquarters and back?
 

I do hub a spoke config just like this using OpenBSD and Cisco VPN3k
using /24s at the edge and /16s at the core.  All works well.  Better
than full mesh.

I just ran into a small bug with the new Ipsec stack in OpenBSD where I
had to have a null policy -- otherwise traffic with destination routes
for the locally connected /24 would accidentally be fwd'd across the
tunnel (because ipsec tunnel evaluation happens earlier in ip_output(),
which is non-standard)

~BAS

 spdadd 10.0.0.0/8 10.1.1.0/24
 ...
 spdadd 10.1.1.0/24 10.0.0.0/8
 ...
 
 is not a good idea, is it? 
 
 Thanks in advance for any input.
 

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


Re: boot manager oddity (two IDE drives, two o/s)

2007-10-26 Thread Mark Moellering
On Thursday 25 October 2007 8:38 am, William Bulley wrote:
 I have two IDE drives (ad0 and ad1) on a Dell system
 that is running Windows XP on ad0 and FreeBSD 6.2 on
 ad1.  Drive ad0 is 80 GB.  Drive ad1 is 250 GB.  When I
 installed FreeBSD onto ad1, I installed the FreeBSD boot
 manager onto both ad0 and ad1 disk drives.

 When the machine powers up from a cold start, I don't
 see the ad0 boot manager at all.  I see the ad1 boot
 manager.  It looks like this.

F1  FreeBSD

F5  Drive 0

 and FreeBSD boots just fine if I select F1.  I don't
 see the ad0 boot manager until I reboot FreeBSD and
 select F5 from the above menu.  Then I get this:

F1  ???
F2  DOS

F5  Drive 1

 Hitting F5 gives me the expected:

F1  FreeBSD

F5  Drive 0

 But, if I want to boot up Windows, I hit F2, and then
 Windows starts up.  If I shut down Windows (restart),
 then I again see this:

F1  ???
F2  DOS

F5  Drive 1

 But this time, when I hit F5 nothing happens!?!?!?!

 Here is the output of two boot0cfg(8) commands:

 freebsd% boot0cfg -v ad0
 #   flag start chs   type   end chs   offset size
 1   0x00  0:  1: 1   0xde  4:254:63   6380262
 2   0x00  5:  0: 1   0x07   1023:254:6380325156151800

 version=1.0  drive=0x80  mask=0xf  ticks=182
 options=nopacket,update,nosetdrv
 default_selection=F5 (Drive 1)

 freebsd% boot0cfg -v ad1
 #   flag start chs   type   end chs   offset size
 1   0x80  0:  1: 1   0xa5   1023:254:63   63524281212

 version=1.0  drive=0x81  mask=0xf  ticks=182
 options=nopacket,update,nosetdrv
 default_selection=F1 (Slice 1)

 What I want to know is am I doing something wrong, or, am I not
 doing enough to configure (using the boot0cfg(8) command) the
 two boot managers (one on each drive)?

 BTW, the ??? slice above is the Windows recovery (or diagnostic?)
 slice, I believe.

 I have looked in the Handbook to no avail.  Any ideas?  Help!

 Regards,

 web...

 --
 William Bulley Email: [EMAIL PROTECTED]

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


It is my experience that you don't want two boot managers.  Have just one, 
usually on drive 0, select the OS to bott and leave it at that.  I recently 
lost a FreBSD boot record that way.  

look in the handbook on restoring boot0 on your freebsd drive.  If you replace 
it with mbr, you will be left with just the boot manager on ad0 and save 
yourself a headache.   (The command is fdisk -B -b ad2 but you have to tell 
it to write a new partition table or you won't be able to boot into freebsd 
at all)

As an aside, I have a similar setup, except it is Win2k  Freebsd 6.2  I 
recently had similar issues and wound up having to replace the boot record on 
my FreeBsd disk.  

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


Qemu: mouse doesn't work

2007-10-26 Thread Michael Gerhards
Hello! 
 
I installed Qemu 0.9.0 with kqemu 1.3.0.p11 on FreeBSD 6.2 in order to
get Kanotix running under FreeBSD. 
  
Kanotix boots well under qemu (I use the ISO-image) - but after the KDE
desktop appears, my mouse doesn't work properly any more.  When I move
my mouse, the cursor sometimes moves a bit in the same direction,
sometimes it jumps to the other side of the Kanotix desktop - and every
few seconds the moving cursor disappears. But I can see some old
cursors that did not disappear as I moved my mouse. So I cannot work
with Kanotix under qemu at all because I don't really see where the
cursor is when I move my mouse. 

I already tried using -usbdevice tablet, I tried setting
SDL_VIDEO_X11_DGAMOUSE=0 and I even tried to use Qemu via vnc - nothing
solves my problem. 
 
Any ideas how I could get Kanotix working under Qemu? What might cause
the trouble in my case? Is this problem caused by Qemu or is it caused
by FreeBSD?

Many thanks in advance, 
  
Michael


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


Installing Security Advisories

2007-10-26 Thread Tino Engel
Dear all,

One probably very simple question:
I was trying to install actual FreeBSD patches as mentioned in Security 
Advisories.

I follow the instructions and always come to the same point:

1. I fetch the patch.
2. I execute $cd /usr/src
3. I execute $patch  /path/to/patch

Then the patch programm ask me which file to apply the patch at. The Security 
Advisory tells nothing about this.

So how can I find out, which file to tell 'patch' to patch?

Any help is kindly appreciated.

Best regards, Tino Engel

_
Neu: Internet Explorer 7 optimiert für MSN!
http://optimize.de.msn.com/default.aspx?mkt=de-de___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Ref: UK/9420X2/68

2007-10-26 Thread Electronic-uk-lottodraws
British National Lottery,
28 Tan Field Road,
Croydon,London.
Ref: UK/9420X2/68
Dear Winner,
Your email has won a  total £2,764,866 Pounds and  a consolation prize
of Dell pentium 4 laptop. Contact our claims office now;
Claims Official: Jasmine Jay ( Mrs.)
Email:[EMAIL PROTECTED]
Tel:+447.0457.28958 
With the following vital information:
Full Name:.
Full Address:
Nationality:
Age:
Sex:
Marital status.
tell number.
This email is being sent from The British National Lottery HQ.




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


Re: Installing Security Advisories

2007-10-26 Thread Brian A Seklecki (Mobile)

On Fri, 2007-10-26 at 17:42 +0100, Tino Engel wrote:
 So how can I find out, which file to tell 'patch' to patch?

Why don't you paste the full input / output dialog from your patch
attempt and we will point out where you're making a syntactical error.

Manual patching is not for the weak-at-shell.  Did you try to cvsup/csup
your source tree instead?

~BAS

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


The Complete FreeBSD: errata and addenda

2007-10-26 Thread Greg Lehey
The trouble with books is that you can't update them the way you can a web page
or any other online documentation.  The result is that most leading edge
computer books are out of date almost before they are printed.  Unfortunately,
The Complete FreeBSD, published by O'Reilly, is no exception.  Inevitably, a
number of bugs and changes have surfaced.

The Complete FreeBSD has been through a total of five editions, including its
predecessor Installing and Running FreeBSD.  Two of these have been reprinted
with corrections.  I maintain a series of errata pages.  Start at
http://www.lemis.com/errata-4.html to find out how to get the errata
information.

Note also that the book has now been released for free download in PDF
form.  Instead of downloading the changed pages, you may prefer to
download the entire book.  See http://www.lemis.com/grog/Documentation/CFBSD/ 
for more information.

Have you found a problem with the book, or maybe something confusing?
Please let me know: I'm no longer constantly updating it, but I may be
able to help

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


How to get best results from FreeBSD-questions

2007-10-26 Thread Greg Lehey

How to get the best results from FreeBSD questions.
===

Last update $Date: 2005/08/10 02:21:44 $

This is a regular posting to the FreeBSD questions mailing list.  If
you got it in answer to a message you sent, it means that the sender
thinks that at least one of the following things was wrong with your
message:

- You left out a subject line, or the subject line was not appropriate.
- You formatted it in such a way that it was difficult to read.
- You asked more than one unrelated question in one message.
- You sent out a message with an incorrect date, time or time zone.
- You sent out the same message more than once.
- You sent an 'unsubscribe' message to FreeBSD-questions.

If you have done any of these things, there is a good chance that you
will get more than one copy of this message from different people.
Read on, and your next message will be more successful.

This document is also available on the web at
http://www.lemis.com/questions.html.

=

Contents:

I:Introduction
II:   How to unsubscribe from FreeBSD-questions
III:  Should I ask -questions or -hackers?
IV:   How to submit a question to FreeBSD-questions
V:How to answer a question to FreeBSD-questions

I: Introduction
===

This is a regular posting aimed to help both those seeking advice from
FreeBSD-questions (the newcomers), and also those who answer the
questions (the hackers).

   Note that the term hacker has nothing to do with breaking
   into other people's computers.  The correct term for the latter
   activity is cracker, but the popular press hasn't found out
   yet.  The FreeBSD hackers disapprove strongly of cracking
   security, and have nothing to do with it.

In the past, there has been some friction which stems from the
different viewpoints of the two groups.  The newcomers accused the
hackers of being arrogant, stuck-up, and unhelpful, while the hackers
accused the newcomers of being stupid, unable to read plain English,
and expecting everything to be handed to them on a silver platter.  Of
course, there's an element of truth in both these claims, but for the
most part these viewpoints come from a sense of frustration.

In this document, I'd like to do something to relieve this frustration
and help everybody get better results from FreeBSD-questions.  In the
following section, I recommend how to submit a question; after that,
we'll look at how to answer one.

II:  How to unsubscribe from FreeBSD-questions
==

When you subscribed to FreeBSD-questions, you got a welcome message
from [EMAIL PROTECTED]  In this message, amongst
other things, it told you how to unsubscribe.  Here's a typical
message:

  Welcome to the freebsd-questions@freebsd.org mailing list!

If you ever want to unsubscribe or change your options (eg, switch to
or from digest mode, change your password, etc.), visit your
subscription page at:

  http://lists.freebsd.org/mailman/options/freebsd-questions/[EMAIL PROTECTED]
  
(obviously, substitute your mail address for [EMAIL PROTECTED]).  You can
also make such adjustments via email by sending a message to:

  [EMAIL PROTECTED]
  
with the word 'help' in the subject or body (don't include the
quotes), and you will get back a message with instructions.

You must know your password to change your options (including
changing the password, itself) or to unsubscribe.
  
Normally, Mailman will remind you of your freebsd.org mailing list
passwords once every month, although you can disable this if you
prefer.  This reminder will also include instructions on how to
unsubscribe or change your account options.  There is also a button on
your options page that will email your current password to you.

  Here's the general information for the list you've
  subscribed to, in case you don't already have it:

  FREEBSD-QUESTIONS   User questions
  This is the mailing list for questions about FreeBSD.  You should not
  send how to questions to the technical lists unless you consider the
  question to be pretty technical.

Normally, unsubscribing is even simpler than the message suggests: you
don't need to specify your mail ID unless it is different from the one
which you specified when you subscribed.

If Majordomo replies and tells you (incorrectly) that you're not on
the list, this may mean one of two things:

  1.  You have changed your mail ID since you subscribed.  That's where
  keeping the original message from majordomo comes in handy.  For
  example, the sample message above shows my mail ID as
  [EMAIL PROTECTED]  Since then, I have changed it to
  [EMAIL PROTECTED]  If I were to try to remove [EMAIL PROTECTED] from
  the list, it would fail: I would have to specify the name with
  which I joined.

  2.  You're subscribed to a mailing list which is subscribed to
  

Re: Installing Security Advisories

2007-10-26 Thread Rob

Tino Engel wrote:

I was trying to install actual FreeBSD patches as mentioned in Security 
Advisories.
[[snip]]
Then the patch programm ask me which file to apply the patch at. The Security 
Advisory tells nothing about this.


Do you have the full source code installed on the system?  You may only have the kernel, which will 
have the sys directory under /usr/src and little else.  Full source on my 6.2 system 
has 19 directories under /usr/src, including /usr/src/usr.bin which has a good portion of the 
user land code.

I've done the patches quite a few times with no hitches.

 -Rob

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


Re: Qemu: mouse doesn't work

2007-10-26 Thread Reid Linnemann
Written by Michael Gerhards on 10/26/07 10:58
 Hello! 
  
 I installed Qemu 0.9.0 with kqemu 1.3.0.p11 on FreeBSD 6.2 in order to
 get Kanotix running under FreeBSD. 
   
 Kanotix boots well under qemu (I use the ISO-image) - but after the KDE
 desktop appears, my mouse doesn't work properly any more.  When I move
 my mouse, the cursor sometimes moves a bit in the same direction,
 sometimes it jumps to the other side of the Kanotix desktop - and every
 few seconds the moving cursor disappears. But I can see some old
 cursors that did not disappear as I moved my mouse. So I cannot work
 with Kanotix under qemu at all because I don't really see where the
 cursor is when I move my mouse. 
 
 I already tried using -usbdevice tablet, I tried setting
 SDL_VIDEO_X11_DGAMOUSE=0 and I even tried to use Qemu via vnc - nothing
 solves my problem. 
  
 Any ideas how I could get Kanotix working under Qemu? What might cause
 the trouble in my case? Is this problem caused by Qemu or is it caused
 by FreeBSD?
 
 Many thanks in advance, 
   
 Michael

You might try unloading kqemu, some systems don't do too well with the
kqemu accelerator.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Ref: UK/9420X2/68

2007-10-26 Thread Electronic-uk-lottodraws
British National Lottery,
28 Tan Field Road,
Croydon,London.
Ref: UK/9420X2/68
Dear Winner,
Your email has won a  total £2,764,866 Pounds and  a consolation prize
of Dell pentium 4 laptop. Contact our claims office now;
Claims Official: Jasmine Jay ( Mrs.)
Email:[EMAIL PROTECTED]
Tel:+447.0457.28958 
With the following vital information:
Full Name:.
Full Address:
Nationality:
Age:
Sex:
Marital status.
tell number.
This email is being sent from The British National Lottery HQ.




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


Re: Qemu: mouse doesn't work

2007-10-26 Thread Michael Gerhards
Reid Linnemann [EMAIL PROTECTED] wrote:
   
 Kanotix boots well under qemu (I use the ISO-image) - but after the KDE
 desktop appears, my mouse doesn't work properly any more.  When I move
 my mouse, the cursor sometimes moves a bit in the same direction,
 sometimes it jumps to the other side of the Kanotix desktop - and every
 few seconds the moving cursor disappears. But I can see some old
 cursors that did not disappear as I moved my mouse. So I cannot work
 with Kanotix under qemu at all because I don't really see where the
 cursor is when I move my mouse. 
 
 You might try unloading kqemu, some systems don't do too well with the
 kqemu accelerator.

Unfortunately, this doesn't help either.

Any more ideas? I have no idea what might go wrong... 

My hardware should be fast enough:
AMD Athlon(tm) 64 X2 Dual Core Processor 3800+, 2 GB RAM

So where is the problem?

Michael


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


Re: OpenLDAP 2.3/pam_ldap/nss_ldap: not working in FreeBSD 7.0-PRE!

2007-10-26 Thread O. Hartmann

Ulrich Spoerlein wrote:

On Sun, 21.10.2007 at 18:26:55 +0200, O. Hartmann wrote:
  
At this point it seems senseless to try out what's going wrong and I need 
some hints or tipps. I read about others successfully running OpenLDAP on 
FBSD 6 and 5, but no one seems running OpenLDAP based services on FBSD 7.



I do. It's working just fine ...
  


Good to hear, but it doesn't on mine ... :-(
  
P.S. If someone wants me to offer config details and/or log excerpts, please 
contact me.



Well, we/I would need your ldap.conf, nss_ldap.conf (should be a link to
ldap.conf) and slapd.conf, as well as pam.d stuff and nsswitch.conf.
Some actual error messages would be fine too.
  


All right, here I am. nss_ldap.conf and ldap.conf are located in 
/usr/local/etc and are identical (link). I copied all tags I use and 
deleted commented out tags:


host 192.168.2.210 (or 127.0.0.1 alternatively)
base dc=office,dc=de
# Filter to AND with uid=%s
pam_filter objectclass=posixAccount
# Specify a minium or maximum UID number allowed
pam_min_uid 1000
pam_max_uid 3
pam_passwordssha
nss_base_passwd ou=users,dc=office,dc=de?one
nss_base_shadow ou=users,dc=office,dc=de?one
nss_base_group  ou=group,dc=office,dc=de?one
pam_filter objectClass=posixAccount

The slapd.conf is this, comments roped:

include /usr/local/etc/openldap/schema/core.schema
include /usr/local/etc/openldap/schema/cosine.schema
include /usr/local/etc/openldap/schema/nis.schema
include /usr/local/etc/openldap/schema/inetorgperson.schema
# additional schema
include /usr/local/share/examples/samba/LDAP/samba.schema
pidfile /var/run/openldap/slapd.pid
argsfile/var/run/openldap/slapd.args
logfile /var/log/slapd.log
loglevel512
sizelimit   unlimited
allow   bind_v2
modulepath  /usr/local/libexec/openldap
moduleload  back_bdb
everse-lookup  off
access  to *
   by self write
   by users read
   by anonymous auth
databasebdb
suffix  dc=office,dc=de
rootdn  cn=admin,dc=office,dc=de
rootpw
directory   /data/openldap-data/nuggad/

index   objectClass eq,pres
index   uid,memberUid   pres,eq,sub
index   ou,cn,mail,surname,givennameeq,pres,sub
index   uidNumber,gidNumber,loginShell  eq,pres
index   nisMapName,nisMapEntry  eq,pres,sub

NSCD is up and running, my nsswitch.conf looks like this:

group: cache ldap[ unavail=continue notfound=continue ] files
passwd: cache ldap [ unavail=continue notfound=continue ] files
#group_compat: nis
hosts: compat
networks: files
#passwd_compat: nis
shells: files
services: compat
services_compat: nis
protocols: files
rpc: files

And I changed some lines in /etc/pam.d/sshd,login,system,other like this 
*commented out due to system gets stuck forever when enab;ed 
nss_ldap/pam_ldap):


system:
#
# $FreeBSD: src/etc/pam.d/system,v 1.1 2003/06/14 12:35:05 des Exp $
#
# System-wide defaults
#

# auth
authsufficient  pam_opie.so no_warn 
no_fake_prompts

authrequisite   pam_opieaccess.so   no_warn allow_local
#auth   sufficient  pam_krb5.so no_warn 
try_first_pass
#auth   sufficient  /usr/local/lib/pam_ldap.so no_warn 
try_first_pass
authsufficient  pam_ssh.so  no_warn 
try_first_pass
authrequiredpam_unix.so no_warn 
try_first_pass nullok


# account
#accountrequiredpam_krb5.so
account requiredpam_login_access.so
#accountsufficient  /usr/local/lib/pam_ldap.so
account requiredpam_unix.so

# session
#sessionoptionalpam_ssh.so
session requiredpam_lastlog.so  no_fail

# password
#password   sufficient  pam_krb5.so no_warn 
try_first_pass
#password   sufficient  /usr/local/lib/pam_ldap.so no_warn 
use_authtok
passwordrequiredpam_unix.so no_warn 
try_first_pass


sshd:

#
# $FreeBSD: src/etc/pam.d/sshd,v 1.16 2007/06/10 18:57:20 yar Exp $
#
# PAM configuration for the sshd service
#

# auth
#auth   sufficient  pam_opie.so no_warn 
no_fake_prompts

#auth   requisite   pam_opieaccess.so   no_warn allow_local
#auth   sufficient  pam_krb5.so no_warn 
try_first_pass
authsufficient  /usr/local/lib/pam_ldap.so no_warn 
try_first_pass
authsufficient  pam_ssh.so  no_warn 
try_first_pass
authrequiredpam_unix.so no_warn 
try_first_pass


# account
account requiredpam_nologin.so
#accountrequiredpam_krb5.so
account requiredpam_login_access.so
account sufficient  /usr/local/lib/pam_ldap.so
account   

Re: OpenLDAP 2.3/pam_ldap/nss_ldap: not working in FreeBSD 7.0-PRE!

2007-10-26 Thread Alexandre Biancalana
On 10/26/07, O. Hartmann [EMAIL PROTECTED] wrote:
 Ulrich Spoerlein wrote:
  On Sun, 21.10.2007 at 18:26:55 +0200, O. Hartmann wrote:
 
  At this point it seems senseless to try out what's going wrong and I need
  some hints or tipps. I read about others successfully running OpenLDAP on
  FBSD 6 and 5, but no one seems running OpenLDAP based services on FBSD 7.

I've this running since 6.x and have just installed this yesterday in
a 7-BETA machine

This that you can try:

 - Do not use nscd (the samba documentation recomend this)
 - Do not the changes in steps, testing betwing each change

What's ldapsearch says ???

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


Re: postfix-Dovecot-IMAP-Squirrel mail Problem

2007-10-26 Thread Jay Chandler

dhaneshk k wrote:


  Help please :I configured  testing postfix,dovecot-IMAP ,postfixadmin , 
maia-mailguard ,squirrelmail in a production box(freeBSD-6.2), few issues when I 
use squirrel mail.
  by using postfix admin I created virtual domains and mailboxes for the virtual 
domains , by using this I can log in to squirrel mail , but when I compose a mail 
 sending , its not going to any mailboxes that in any virtual domains that I 
created?
 why  this  ?


My LOG FILES showing  tail /var/log/maillog


Oct 26 15:59:38 sun dovecot: IMAP([EMAIL PROTECTED]): Disconnected: Logged out
Oct 26 15:59:39 sun dovecot: imap-login: Login: user=, method=PLAIN, 
rip=232.195.5.1, lip=232.129.195.5.1, TLS
Oct 26 15:59:39 sun dovecot: IMAP([EMAIL PROTECTED]): Disconnected: Logged out

another user I tried 


Oct 26 15:58:52 sun dovecot: imap-login: Login: user=, method=PLAIN, 
rip=232.195.5.1, lip=232.195.5.1, TLS
Oct 26 15:58:52 sun dovecot: IMAP([EMAIL PROTECTED]): Disconnected: Logged out
Oct 26 15:58:52 sun dovecot: imap-login: Login: user=, method=PLAIN, 
rip=232.195.5.1, lip=232.195.5.1, TLS
Oct 26 15:58:52 sun dovecot: IMAP([EMAIL PROTECTED]): Disconnected: Logged out
Oct 26 15:58:53 sun dovecot: imap-login: Login: user=, method=PLAIN, 
rip=232.195.5.1, lip=232.195.5.1, TLS
Oct 26 15:58:53 sun dovecot: IMAP([EMAIL PROTECTED]): Disconnected: Logged out


Q:2  How can I map the real users(normal users in this server box that I created using the useradd  command ) with squirrelmail so they can login to squirrelmail and send  receive mail  

Pls help me with your  suggestions 
_

Check out some new online services at Windows Live Ideas—so new they haven’t 
even been officially released yet.
http://www.msnspecials.in/windowslive/___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Postfix needs to be built with support for VDA compiled in.  Once you're 
using virtual delivery, local accounts no longer can receive mail, it's 
all virtualized.


I've done this myself with Courier instead of Dovecot; feel free to 
query off-list if you need configuration file samples.



--
Jay Chandler / KB1JWQ
Living Legend / Systems Exorcist
Today's Excuse: network packets travelling uphill (use a carrier pigeon)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: OpenLDAP 2.3/pam_ldap/nss_ldap: not working in FreeBSD 7.0-PRE!

2007-10-26 Thread O. Hartmann

Alexandre Biancalana wrote:

On 10/26/07, O. Hartmann [EMAIL PROTECTED] wrote:
  

Ulrich Spoerlein wrote:


On Sun, 21.10.2007 at 18:26:55 +0200, O. Hartmann wrote:

  

At this point it seems senseless to try out what's going wrong and I need
some hints or tipps. I read about others successfully running OpenLDAP on
FBSD 6 and 5, but no one seems running OpenLDAP based services on FBSD 7.



I've this running since 6.x and have just installed this yesterday in
a 7-BETA machine

This that you can try:

 - Do not use nscd (the samba documentation recomend this)
 - Do not the changes in steps, testing betwing each change

What's ldapsearch says ???

Att,
  
playing with ldapsearch gets results as expected. Doing ldapsearch witch 
-D and dn of the admin results in the whole DIT as expected, accessing 
the DIT with uid=user,ou=users,dc=... the same. Accessing LDAP server 
from client via LUMA (tool) is also ok.

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


RE: boot loader

2007-10-26 Thread Thomas Ching
Thanks Doug for your help. I am cc'ing freebsd-questions and I will drop
freebsd-hackers from the next email on.

A few things:
1. it's not a requirement, but I'd like to keep the current partitions
(therefore dual boot) just in case anything goes wrong.
2. can you point me to more readings regarding how I might perform the
following:  However in order to set the new slice bootable you'd have
to then use the disk editor
3. I guess what you are saying is that if I go with the upgrade path
release 4-5-6, I can do in place upgrade over network.

Again appreciate your help.

Thomas 

-Original Message-
From: Doug Barton [mailto:[EMAIL PROTECTED] 
Sent: Friday, October 26, 2007 1:47 PM
To: Thomas Ching
Cc: [EMAIL PROTECTED]
Subject: Re: boot loader

FYI, for future reference this question is really more appropriate for 
[EMAIL PROTECTED]

On Fri, 26 Oct 2007, Thomas Ching wrote:

 Hi, I am trying to do the following with existing systems running 4.5.
 I'd really appreciate if anyone has any hints, pointers, opinions, or
 even just you should talk to this other group for me.

 1.Existing system: FreeBSD 4.5 based with FreeBSD boot loader
 (boot0) in MBR

You're not planning to dual-boot anything, right? Just boot and run one 
operating system?

 2.I am trying to install a new software based on either FreeBSD
 6.2 or later, or LINUX with the following restrictions:

   a.  No console access
   b.  No media access other than serial port, Ethernet,
 existing HD with 4.5 installed (i.e. NO CD/DVD, floppy, USBetc)

 3.The hard drive (1) has enough empty space (currently not
 partitioned/used) so I can create a new slice to put the new
OS/software
 in and boot from the new OS, but I am not sure how I can achieve that.

You definitely can't use any of the standard installation methods
without 
console access. You also can't dual boot without console access.

 1.Is it possible for me to boot of FreeBSD 4.5 and run an
 installation over Ethernet/ftp?

No.

 2.Is it possible for me to tar up a FreeBSD 6.2 partition, put
 onto the 4.5 disk (new partition) then sysinstall (or something like
 that) to make the system boot from the new partition?

You could theoretically install onto a local system, tar it up, then 
unpack it in the unused partition on your remote machine, yes. However
in 
order to set the new slice bootable you'd have to then use the disk 
editor, and if you get even one thing the tiniest bit wrong, you've 
bricked it.

If I were in your position I'd do this with make world, but that's going

to take a long time because you'll first have to update to the 
latest RELENG_4, then 5-stable, then 6-stable (at least) and then if you

don't want to have to do this again for a while I'd update to 7.0 when
it 
is released.

The other alternative is to bribe someone who is local to do the 
installation for you, which all things considered would probably be
easier 
all around.

hope this helps,

Doug

-- 

 This .signature sanitized for your protection

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


RE: boot loader

2007-10-26 Thread Doug Barton

On Fri, 26 Oct 2007, Thomas Ching wrote:


Thanks Doug for your help. I am cc'ing freebsd-questions and I will drop
freebsd-hackers from the next email on.


Cool, thanks.


A few things:
1. it's not a requirement, but I'd like to keep the current partitions
(therefore dual boot) just in case anything goes wrong.


You can't dual boot without a console. Even if you could, as I said 
previously you're running the (non-trivial) risk of bricking your system.



3. I guess what you are saying is that if I go with the upgrade path
release 4-5-6, I can do in place upgrade over network.


Yes. This isn't trivial either, but it's a moderately well tested upgrade 
path.


hth,

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


Re: OpenLDAP 2.3/pam_ldap/nss_ldap: not working in FreeBSD 7.0-PRE!

2007-10-26 Thread Alexandre Biancalana
On 10/26/07, O. Hartmann [EMAIL PROTECTED] wrote:
 playing with ldapsearch gets results as expected. Doing ldapsearch witch
 -D and dn of the admin results in the whole DIT as expected, accessing
 the DIT with uid=user,ou=users,dc=... the same. Accessing LDAP server
 from client via LUMA (tool) is also ok.

Try to change the nss_base_passwd line from:

nss_base_passwd ou=users,dc=office,dc=de?one

to

nss_base_passwd ou=users,dc=office,dc=de?sub
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Installing Security Advisories

2007-10-26 Thread Tino Engel
Dear ~BAS,

Thank you very much for your quick response.
Here is what I did, as far as I can see exactly according to Security Advisory 
http://security.freebsd.org/advisories/FreeBSD-SA-07:08.openssl.asc.

shell

%fetch http://security.FreeBSD.org/patches/SA-07:08/openssl.patch
openssl.patch 100% of 1051  B 6887 kBps
%fetch http://security.FreeBSD.org/patches/SA-07:08/openssl.patch.asc
openssl.patch.asc 100% of  187  B 1325 kBps
%pgp openssl.patch
Pretty Good Privacy(tm) Version 6.5.8
Internal development version only - not for general release.
(c) 1999 Network Associates Inc.

Export of this software may be restricted by the U.S. government.

File 'openssl.patch.asc' has signature, but with no text.
Text is assumed to be in file 'openssl.patch'.
Good signature from user FreeBSD Security Officer [EMAIL PROTECTED].
Signature made 2007/10/03 21:48 GMT

WARNING:  Because this public key is not certified with a trusted
signature, it is not known with high confidence that this public key
actually belongs to: FreeBSD Security Officer [EMAIL PROTECTED].
%cd /usr/src
%patch  /root/openssl.patch
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--
|Index: crypto/openssl/ssl/ssl_lib.c
|===
|RCS file: /home/ncvs/src/crypto/openssl/ssl/ssl_lib.c,v
|retrieving revision 1.1.1.12.2.1
|diff -u -d -r1.1.1.12.2.1 ssl_lib.c
|--- crypto/openssl/ssl/ssl_lib.c   28 Sep 2006 13:02:36 -  
1.1.1.12.2.1
|+++ crypto/openssl/ssl/ssl_lib.c   3 Oct 2007 17:01:24 -
--
File to patch:  

/shell

Now it comes up to the point where 'patch' is asking me which file to patch.
The security advisory tells nothing about this as far as I can see.

Actually I did not try cvsup/csup. One of the big advantages of FreeBSD is to 
me the easy Packages-System in sysinstall. Performance of KDE with all details 
is outstanding, so I see no need to compile the whole system from source. But 
maybe I will for the sake of it being cool...

And I striktly refuse to be weak-at-shell :-)

Best regards, Tino Engel

 Subject: Re: Installing Security Advisories
 From: [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 CC: freebsd-questions@freebsd.org
 Date: Fri, 26 Oct 2007 13:07:47 -0400
 
 
 On Fri, 2007-10-26 at 17:42 +0100, Tino Engel wrote:
  So how can I find out, which file to tell 'patch' to patch?
 
 Why don't you paste the full input / output dialog from your patch
 attempt and we will point out where you're making a syntactical error.
 
 Manual patching is not for the weak-at-shell.  Did you try to cvsup/csup
 your source tree instead?
 
 ~BAS
 

_
Eva sagt: „Kennst du schon den Adressimport für den Messenger?“
http://messenger.live.de/ersteschritte_adressimport.html___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: OpenLDAP 2.3/pam_ldap/nss_ldap: not working in FreeBSD 7.0-PRE!

2007-10-26 Thread O. Hartmann

Alexandre Biancalana wrote:

On 10/26/07, O. Hartmann [EMAIL PROTECTED] wrote:
  

playing with ldapsearch gets results as expected. Doing ldapsearch witch
-D and dn of the admin results in the whole DIT as expected, accessing
the DIT with uid=user,ou=users,dc=... the same. Accessing LDAP server
from client via LUMA (tool) is also ok.



Try to change the nss_base_passwd line from:

nss_base_passwd ou=users,dc=office,dc=de?one

to

nss_base_passwd ou=users,dc=office,dc=de?sub
  

... no difference ...


slapd won't start when ldap is first entry in nsswitch.conf and gets not 
searched when last. maybe there is a problem with the nss_ldap library?

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


DVD distribution

2007-10-26 Thread Michel Ali
Hi,

 

I’m an IT manager.

I am just wondering why you do not have a DVD distribution. [I know about
workarounds]

Could you do something about that, it would be really helpful and handy?

 

Thanks a lot.

 

Michel Ali

 


 

 

*

Avant d'imprimer cet e-mail, merci de penser à notre environnement


Before printing this mail, please consider our environment.


Antés de imprimir este correo, por favor, piense en nuestro medio ambiente.



 

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


Re: DVD distribution

2007-10-26 Thread Rob

Michel Ali wrote:

I’m an IT manager.
I am just wondering why you do not have a DVD distribution. [I know about
workarounds]
Could you do something about that, it would be really helpful and handy?


http://www.freebsdmall.com/cgi-bin/fm/bsddvd6.2?id=HUDYpRtbmv_pc=22

But all the necessary stuff fits on one cheap CD, and is a reasonable 
sized download.  So I doubt many people bother with the DVD


  -rob

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


trouble building perlmagick

2007-10-26 Thread Noah

Hi there,

not quite sure how to circumvent this issue?  please help?

cd PerlMagick  /usr/local/bin/perl5.8.8 Makefile.PL
Cannot load ExtUtils::MakeMaker: Can't locate ExtUtils/MakeMaker.pm in
@INC (@INC contains: /usr/local/lib/perl5/site_perl/5.8.8/mach
/usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl
/usr/local/lib/perl5/5.8.8/mach /usr/local/lib/perl5/5.8.8 .) at (eval
1) line 1.
BEGIN failed--compilation aborted at
/usr/local/lib/perl5/5.8.8/BSDPAN/ExtUtils/MakeMaker.pm line 17.
Compilation failed in require at Makefile.PL line 15.
BEGIN failed--compilation aborted at Makefile.PL line 15.
*** Error code 2
1 error
*** Error code 2

Stop in /usr/ports/graphics/ImageMagick.
*** Error code 1

Stop in /usr/ports/graphics/ImageMagick.


cheers,

Noah

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


phpinfo(); not working

2007-10-26 Thread Tipper
I have FreeBSD-6.2 and I'm having trouble setting up apache, mysql and 
php for my business. I can't get  phpinfo(); to display. If I run php 
-i, I get several pages of information which means php is working.  Out 
of three different types of php, php-html isn't operating.  My browser 
is where I do 100 percent of my work. Both PHP CLI and PHP CGI seem to 
work. If it can't display phpinfo();, it won't run my custom designed 
php software.  I did successfully install it a few years ago with 
FreeBSD-4.8 and older versions of PHP.  The install disk for FreeBSD-4.8 
became defective and I had to re-order.  They only had FreeBSD-6.2. This 
where the trouble starts.


The 'install file' from www.php.net says:

  In case of setting up the server and PHP on your own, you have two
  choices for the method of connecting PHP to the server. For many
  servers PHP has a direct module interface (also called SAPI). These
  servers include Apache, Microsoft Internet Information Server, Netscape
  and iPlanet servers. Many other servers have support for ISAPI, the
  Microsoft module interface (OmniHTTPd for example).


Reading the above, I think my 'sapi module' wasn't installed.
Using the 'find program', I ran sapi, SAPI. isapi, nsapi, ISAPI and 
NSAPI.  I received a responce for isapi,
sapi and nsapi. 'sapi' was located at '/port/php-4.4/sapi'.  Both isapi 
and nsapi are located under sapi. But 'sapi' was just a directory,  I 
was expecting to find some sort of program.


For apache, mysql and php, I have all the files. When installing php, it 
automatically updates httpd.conf.  I always double check to make sure.  
/usr/local/libexec/apache has about 35 modules including 'libphp4.so'.  
The main php file is located in /usr/local/bin/php.  Using telnet, it 
confirms php is working.


I did several re-installs of FreeBSD and different combinations of 
apache, mysql and php.  If I use FreeBSDs apache-1.3 and mysql-5.1 and 
php4 from www.php.net it will work, but only once.  I tried to improve 
it, but couldn't.  How many times can I reboot to make one order?  This 
is version I'm working on.


Questions:
 - does the 'sapi module' have a different name, so I can find it with 
the 'find program'?

 - if the 'sapi module' is missing, how do I replace it?

uname -a: Freebsd localhost 6.2-RELEASE FreeBSD 6.2-RELEASE  #0: Friday 
Ost 5 15:08:51 UTC root@:/usr/src/sys/compile/HAP i386


Thanks in advance,
tipper

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


Re: phpinfo(); not working

2007-10-26 Thread Paul A. Procacci

Tipper wrote:
I have FreeBSD-6.2 and I'm having trouble setting up apache, mysql and 
php for my business. I can't get  phpinfo(); to display. If I run php 
-i, I get several pages of information which means php is working.  
This only means you have the php binary installed, and that's it.  It's 
unrelated to the apache module.


cd into /usr/ports/lang/php4 or /usr/ports/lang/php5

Do a 'make config'.  Ensure that the WITH_APACHE item is checked.

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


Portupgrade used to be fun!!!

2007-10-26 Thread E. J. Cerejo
Not anymore!  Every time I cvsup my ports tree and I see all of those 
ports that need to be updated my belly aches and that's because 
portupgrade doesn't work the way it used to work.  It is not fun any 
more!  Always an issue, either a port conflicts with another port or it 
fails all together.  I have forgotten the last time I updated my ports 
without any issues.  Today scrollkeeper is conflicting with rarian, they 
install files on the same directory.  Go figure.  Those were the days 
when it used to work.

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


evil idea

2007-10-26 Thread Aryeh M. Friedman
I am running amd64 8-CURRENT and there are a few i386 only ports that I
absolutely must have installed and at the same time since I have 4 GB of
RAM all kinds of bizarreness is created if I downgrade to i386.   So
here is the idea:   use qemu to create a virtual version of my machine
(with less then 2GB or RAM) and install i386 8-CURRENT on it (I want to
use -CURRENT for all my installs)

Any thing I should watch out for here (I know I need to use NFS or
something like it to share files between the host and guest OS's)

-- 
Aryeh M. Friedman
FloSoft Systems
Developer, not Business, Friendly
http://www.flosoft-systems.com

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


Re: Portupgrade used to be fun!!!

2007-10-26 Thread P.U.Kruppa

On Sat, 27 Oct 2007, E. J. Cerejo wrote:

Not anymore!  Every time I cvsup my ports tree and I see all of those ports 
that need to be updated my belly aches and that's because portupgrade doesn't 
work the way it used to work.  It is not fun any more!  Always an issue, 
either a port conflicts with another port or it fails all together.  I have 
forgotten the last time I updated my ports without any issues.  Today 
scrollkeeper is conflicting with rarian, they install files on the same 
directory.

Did you have a look at /usr/ports/UPDATING ?
(I guess you have got a problem with the latest gnome.)

Regards,

Uli.



Go figure.  Those were the days when it used to work.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]





Peter Ulrich Kruppa
Wuppertal
Germany

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


Re: Portupgrade used to be fun!!!

2007-10-26 Thread Aryeh M. Friedman
P.U.Kruppa wrote:
 On Sat, 27 Oct 2007, E. J. Cerejo wrote:

 Not anymore!  Every time I cvsup my ports tree and I see all of those
 ports that need to be updated my belly aches and that's because
 portupgrade doesn't work the way it used to work.  It is not fun any
 more!  Always an issue, either a port conflicts with another port or
 it fails all together.  I have forgotten the last time I updated my
 ports without any issues.  Today scrollkeeper is conflicting with
 rarian, they install files on the same directory.
 Did you have a look at /usr/ports/UPDATING ?
 (I guess you have got a problem with the latest gnome.) 

From my experience I think anyone upgrading on 8-CURRENT (and from
reports perhaps 7-) will have the same issue

-- 
Aryeh M. Friedman
FloSoft Systems
Developer, not Business, Friendly
http://www.flosoft-systems.com

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


Re: Portupgrade used to be fun!!!

2007-10-26 Thread Pablo Mora
On 10/27/07, E. J. Cerejo [EMAIL PROTECTED] wrote:
 Not anymore!  Every time I cvsup my ports tree and I see all of those
 ports that need to be updated my belly aches and that's because
 portupgrade doesn't work the way it used to work.  It is not fun any
 more!  Always an issue, either a port conflicts with another port or it
 fails all together.  I have forgotten the last time I updated my ports
 without any issues.  Today scrollkeeper is conflicting with rarian, they
 install files on the same directory.  Go figure.  Those were the days
 when it used to work.


From /usrp/ports/UPDATING:

20071024:
  AFFECTS: All GNOME users and ports depend on gnomehier
  AUTHOR: [EMAIL PROTECTED]

  GNOME has been updated to 2.20.1. All ports that depend on gnomehier have
  had their DATADIR moved from share/gnome/ to share/ (e.g.
  ${LOCALBASE}/share/gnome/ to ${LOCALBASE}/share/).
  This puts the FreeBSD GNOME ports more in line with the default
  GNOME installation hierarchy. To find the specific directories that
  have changed, see misc/gnomehier/files/dirlist. To upgrade your
  installed ports, you will need to use either sysutils/portupgrade or
  sysutils/portmaster.

Portupgrade users:
# pkgdb -Ff
# portupgrade -f -o textproc/rarian textproc/scrollkeeper
# portupgrade -a

Portmaster users:
# portmaster -o textproc/rarian textproc/scrollkeeper
# portmaster -a

  If some of icons, applets, themes or other customized items have
  disappered from your desktop in this upgrade, you will need to
  remove and re-add these items to make them appear again due to the
  DATADIR change.

-- 

PGP KeyID: 0xC730A079
Key fingerprint = F626 3C47 02F5 E43C 6620  8A1B E7A8 533B C730 A079
gpg --keyserver pgp.mit.edu --recv-keys C730A079


  ASCII Ribbon Campaign
  Against HTML e-mail  Microsoft Attachments
FreeBSD Since 4.x  unixbsd.blogspot.com maintainer

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


evil idea

2007-10-26 Thread Astrodog
-- Forwarded message --
From: Astrodog [EMAIL PROTECTED]
Date: Oct 26, 2007 11:34 PM
Subject: Re: evil idea
To: Aryeh M. Friedman [EMAIL PROTECTED]


On 10/26/07, Aryeh M. Friedman [EMAIL PROTECTED] wrote:
 I am running amd64 8-CURRENT and there are a few i386 only ports that I
 absolutely must have installed and at the same time since I have 4 GB of
 RAM all kinds of bizarreness is created if I downgrade to i386.   So
 here is the idea:   use qemu to create a virtual version of my machine
 (with less then 2GB or RAM) and install i386 8-CURRENT on it (I want to
 use -CURRENT for all my installs)

 Any thing I should watch out for here (I know I need to use NFS or
 something like it to share files between the host and guest OS's)


There's actually a known system that will work for this. You can use
your existing swap partition, as an extra root partition, installing
there, then booting to that, then rebuild/install to your original
partition. Its the same basic idea as the method for updating from
4.x-7.x, and should be on the lists. (Note to docs, might be worth
putting it somewhere.)

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