SAMBA as Domain Controller on FreeBSD 6.1

2006-08-07 Thread James G. Corteciano
Hello everyone!

Good Day!

I am using FreeBSD 6.1/6.x version of Operating System. I plan to 
switch my existing PDC Win2k Advanced server to FreeBSD with the 
power of Samba. Anybody may I know of how would you setup SAMBA as 
PDC in FreeBSD 6.x? I know this is not good question for asking HOWTO 
but the good procedures and right samba configurations might lead me 
up during installation process.

I am hoping for your kind consideration and favorable response.

Great many thanks.

Regards,

James G. Corteciano




-- 
___
Get your free email from http://mymail.bsdmail.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: jdk15 on 6.0

2006-04-06 Thread james g.
After several failed attempts at the package route, this was  
certainly a welcome surprise:


http://www.freebsdfoundation.org/downloads/java.shtml

Thanks to everyone for their help and suggestions!

-james

On Apr 3, 2006, at 12:55 PM, james g. wrote:

Thanks everyone for the tips. I'm going to give the package route a  
shot, as the additional swap space just isn't cutting it.


Cheers,
James

On Apr 3, 2006, at 8:14 AM, Jon Brisbin wrote:


Anish Mistry wrote:


You could always just to do a make package on another machine  
with 6.0 and then just pkg_add on your older system.




This is what I did when I installed JDK 1.5 on our BSD boxes.

It sounds like, with so little physical RAM, that the JVM is only  
allocating a very small percentage of that to the JVM that starts  
up when the build gets bootstrapped. The jvmg probably needs to be  
manually set using an -Xms/-Xmx value that will give it enough  
room to work with.


To the JVM, swap space isn't the same as physical RAM. I have had  
problems running java applications that have to swap. With Java,  
physical RAM is crucial. If you could even put at least 512MB in  
that box just for the build, then take it out to run it, you would  
probably succeed. Barring that, you're next best bet is probably  
going to be building it on another box, then doing a pkg_add.


--

Thanks!

Jon Brisbin
Webmaster
NPC International, Inc.

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


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions- 
[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: jdk15 on 6.0

2006-04-03 Thread james g.
Thanks everyone for the tips. I'm going to give the package route a  
shot, as the additional swap space just isn't cutting it.


Cheers,
James

On Apr 3, 2006, at 8:14 AM, Jon Brisbin wrote:


Anish Mistry wrote:


You could always just to do a make package on another machine  
with 6.0 and then just pkg_add on your older system.




This is what I did when I installed JDK 1.5 on our BSD boxes.

It sounds like, with so little physical RAM, that the JVM is only  
allocating a very small percentage of that to the JVM that starts  
up when the build gets bootstrapped. The jvmg probably needs to be  
manually set using an -Xms/-Xmx value that will give it enough room  
to work with.


To the JVM, swap space isn't the same as physical RAM. I have had  
problems running java applications that have to swap. With Java,  
physical RAM is crucial. If you could even put at least 512MB in  
that box just for the build, then take it out to run it, you would  
probably succeed. Barring that, you're next best bet is probably  
going to be building it on another box, then doing a pkg_add.


--

Thanks!

Jon Brisbin
Webmaster
NPC International, Inc.

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


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


jdk15 on 6.0

2006-04-02 Thread james g.

FreeBSD Land:

I've seen this question asked on this very list, and once or twice on  
the web, but have yet to find a solution.


I'm attempting to compile jdk15 on an older machine, and at first  
attempted it on a 4.11 install. The failures there encouraged me to  
finally upgrade the machine to 6.0.


So now, I have a fully patched, fresh 6.0 installation. The machine  
has 128MB physical ram, and I doubled the default swap space. When I  
continued to run into memory errors while attempting to compile the  
jdk, I added an additional swap file of 512MB. Even with all this  
additional swap space, I'm getting the following compilation error  
every time:


`/usr/ports/java/jdk15/work/control/build/bsd-i586/hotspot-i586/tmp/ 
bsd_i486_compiler2/jvmg'
gmake[3]: Entering directory `/usr/ports/java/jdk15/work/control/ 
build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/jvmg'

Compiling ../generated/adfiles/ad_i486.cpp
virtual memory exhausted: Cannot allocate memory
gmake[3]: *** [ad_i486.o] Error 1
gmake[3]: Leaving directory `/usr/ports/java/jdk15/work/control/build/ 
bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/jvmg'

gmake[2]: *** [the_vm] Error 2
gmake[2]: Leaving directory `/usr/ports/java/jdk15/work/control/build/ 
bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/jvmg'

gmake[1]: *** [jvmg] Error 2
gmake[1]: Leaving directory `/usr/ports/java/jdk15/work/control/build/ 
bsd-i586/hotspot-i586/tmp'

gmake: *** [jvmg] Error 2
*** Error code 2

Stop in /usr/ports/java/jdk15.


Does jdk15 really require more swapspace? I don't making the  
additional swap file larger, but pushing 1GB of swap already is  
leading me to believe there is another cause.


Any help is greatly appreciated, as I'd really like to get jdk15  
installed and running on this specific machine, despite it's age.


Cheers,
James

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


Re: jdk15 on 6.0

2006-04-02 Thread james g.


On Apr 2, 2006, at 11:41 AM, Andrew Pantyukhin wrote:


On 4/2/06, james g. [EMAIL PROTECTED] wrote:

FreeBSD Land:

I've seen this question asked on this very list, and once or twice on
the web, but have yet to find a solution.

I'm attempting to compile jdk15 on an older machine, and at first
attempted it on a 4.11 install. The failures there encouraged me to
finally upgrade the machine to 6.0.

So now, I have a fully patched, fresh 6.0 installation. The machine
has 128MB physical ram, and I doubled the default swap space. When I
continued to run into memory errors while attempting to compile the
jdk, I added an additional swap file of 512MB. Even with all this
additional swap space, I'm getting the following compilation error
every time:

`/usr/ports/java/jdk15/work/control/build/bsd-i586/hotspot-i586/tmp/
bsd_i486_compiler2/jvmg'
gmake[3]: Entering directory `/usr/ports/java/jdk15/work/control/
build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/jvmg'
Compiling ../generated/adfiles/ad_i486.cpp
virtual memory exhausted: Cannot allocate memory
gmake[3]: *** [ad_i486.o] Error 1
gmake[3]: Leaving directory `/usr/ports/java/jdk15/work/control/ 
build/

bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/jvmg'
gmake[2]: *** [the_vm] Error 2
gmake[2]: Leaving directory `/usr/ports/java/jdk15/work/control/ 
build/

bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/jvmg'
gmake[1]: *** [jvmg] Error 2
gmake[1]: Leaving directory `/usr/ports/java/jdk15/work/control/ 
build/

bsd-i586/hotspot-i586/tmp'
gmake: *** [jvmg] Error 2
*** Error code 2

Stop in /usr/ports/java/jdk15.


Does jdk15 really require more swapspace? I don't making the
additional swap file larger, but pushing 1GB of swap already is
leading me to believe there is another cause.

Any help is greatly appreciated, as I'd really like to get jdk15
installed and running on this specific machine, despite it's age.

Cheers,
James



AFAICT yes, it is possible that 1Gb (try 2Gb to be sure) swap
will solve it. I can start trying to imagine how long it would take
to compile jdk15, though. And even if you do succeed, an
average java application can take about 100Mb of RAM
right from the start. So you should really choose between a
newer box and a sensible programming language.


Thanks for the tip. I upped the additional swapfile size to 2GB and  
tried again, with the same results.


Granted I understand that expecting so much from this little machine  
is really pushing it, it will eventually just be running a small java- 
based server, that unfortunately requires jdk15. I wouldn't ever  
choose it on purpose.


With a total swap size of roughly 2.5GB still generating failures, is  
this a lost cause, or should I be looking for additional solutions?


Cheers,
James

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


php4-xml port

2005-06-10 Thread james g.

Greetings,

I'm having a bit of trouble getting the php4-xml port upgraded/ 
installed. Using the php4-extensions meta port, with xml support  
turned on, once it makes it to the php4-xml port install, it fails  
when looking for an expat item:


--

cc -shared  xml.lo  -Wl,--rpath -Wl,/usr/local/lib/.libs -Wl,--rpath - 
Wl,/usr/local/lib  -L/usr/local/lib /usr/local/lib/.libs/ 
libexpat.so   -Wl,-soname -Wl,xml.so -o ./.libs/xml.so


cc: /usr/local/lib/.libs/libexpat.so: No such file or directory
*** Error code 1

Stop in /usr/ports/textproc/php4-xml/work/php-4.3.11/ext/xml.
*** Error code 1

Stop in /usr/ports/textproc/php4-xml.
*** Error code 1

Stop in /usr/ports/lang/php4-extensions.

--

libexpat.so is in /usr/local/lib, but the .libs on that path looks  
bizarre. Any thoughts?


Cheers,
James

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


Re: php4-xml port

2005-06-10 Thread james g.
Thanks for all the quick responses! The symlink got the port to  
install for now, until the patch lands. I had done a quick search of  
the ports list before posting, but should have been searching for  
expat information rather than the php4-xml port.


Thanks again!
-J

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


Apache13/suexec

2003-03-18 Thread james g.
How does one compile apache, with suexec support, from ports?  I need 
it on one of my client machines, but can't seem to find anything 
specific on the proper arguments to give during the:
make install clean
command. I'd rather not have to install it by hand, defeating the 
beauty of ports!

Cheers,
James
To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message