Re: failed to create gmirror with the handbook instructions

2013-10-08 Thread Andy Zammy
Thanks very much. Please could I make a suggestion that this be included in
the handbook page?
On 8 Oct 2013 01:31, Warren Block wbl...@wonkity.com wrote:

 On Tue, 8 Oct 2013, Andy Zammy wrote:

  Hi,

 I used the second section of the handbook (20.4) to create a gmirror. In
 my
 particular setup I had a 1GB /, 6GB swap, 1GB /tmp and the rest of the 1TB
 drive was left for /usr

 I had to deviate from the handbook when it came to running the dump +
 restore commands, as the dump failed due to an issue with the journalling.
 To get around this problem, I dropped into single user mode, so I could
 remount root as read-only. The dump commands then worked. It specified in
 the handbook to restart the machine, and boot from ada1.

 It was at this point that I noticed something wasn't quite right. There
 was
 a spew of 'not found/no such file or directory' messages. These were all
 trying to reference libs and binaries that live in /usr.

 I boot into single user mode, and upon checking the other partitions, I
 notice that /tmp and /usr are empty, apart from a .snap file, and the
 restoresymtable file.

 Please could someone help me troubleshoot this problem? Let me know if you
 need any more info, and I'll post it up asap.


 dump does not work reliably on filesystems with SUJ enabled.  Turn off SUJ
 on the filesystems to be dumped by booting in single-user mode and running
   tunefs -j disable /dev/ada0whatever

 Do each filesystem, then use dump.

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


Re: failed to create gmirror with the handbook instructions

2013-10-08 Thread Andy Zammy
This is actually trickier than it first looked. First I got into single
user mode by supplying 'shutdown now', but the tunefs commands all failed
with the following:
#tunefs -j disable /dev/ada0s1a
Clearing journal flags from inode 4
tunefs: Failed to write journal inode: Operation not permitted
tunefs: soft updates journalling cleared but soft updates still set.
tunefs: remove .sujournal to reclaim space
tunefs: /dev/ada0s1a: failed to write superblock

I tried the dump command on the off-chance, and it failed with the original
errors. Is there anything you can recommend?

I then noticed you specified to boot into single user more, so I restarted
the machine, with only ada0 attached. Because the handbook wants me to use
the mirror/gm0sX devices, I swapped my fstab file back to the original. The
boot loader now only seems to recognise the mirror/gm0 nodes, the original
ada0sX are gone (though ada0 still shows up). I'm not sure if it's
acceptable to do the dump by booting the 1st hard drive using the
mirror/gm0, and then dump to the 2nd hard drive by mounting what will be
ada1sX. Is this okay to do?


On 8 October 2013 01:31, Warren Block wbl...@wonkity.com wrote:

 On Tue, 8 Oct 2013, Andy Zammy wrote:

  Hi,

 I used the second section of the handbook (20.4) to create a gmirror. In
 my
 particular setup I had a 1GB /, 6GB swap, 1GB /tmp and the rest of the 1TB
 drive was left for /usr

 I had to deviate from the handbook when it came to running the dump +
 restore commands, as the dump failed due to an issue with the journalling.
 To get around this problem, I dropped into single user mode, so I could
 remount root as read-only. The dump commands then worked. It specified in
 the handbook to restart the machine, and boot from ada1.

 It was at this point that I noticed something wasn't quite right. There
 was
 a spew of 'not found/no such file or directory' messages. These were all
 trying to reference libs and binaries that live in /usr.

 I boot into single user mode, and upon checking the other partitions, I
 notice that /tmp and /usr are empty, apart from a .snap file, and the
 restoresymtable file.

 Please could someone help me troubleshoot this problem? Let me know if you
 need any more info, and I'll post it up asap.


 dump does not work reliably on filesystems with SUJ enabled.  Turn off SUJ
 on the filesystems to be dumped by booting in single-user mode and running
   tunefs -j disable /dev/ada0whatever

 Do each filesystem, then use dump.

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


Re: failed to create gmirror with the handbook instructions

2013-10-08 Thread Andy Zammy
I
On 8 October 2013 01:31, Warren Block wbl...@wonkity.com wrote:

 On Tue, 8 Oct 2013, Andy Zammy wrote:

  Hi,

 I used the second section of the handbook (20.4) to create a gmirror. In
 my
 particular setup I had a 1GB /, 6GB swap, 1GB /tmp and the rest of the 1TB
 drive was left for /usr

 I had to deviate from the handbook when it came to running the dump +
 restore commands, as the dump failed due to an issue with the journalling.
 To get around this problem, I dropped into single user mode, so I could
 remount root as read-only. The dump commands then worked. It specified in
 the handbook to restart the machine, and boot from ada1.

 It was at this point that I noticed something wasn't quite right. There
 was
 a spew of 'not found/no such file or directory' messages. These were all
 trying to reference libs and binaries that live in /usr.

 I boot into single user mode, and upon checking the other partitions, I
 notice that /tmp and /usr are empty, apart from a .snap file, and the
 restoresymtable file.

 Please could someone help me troubleshoot this problem? Let me know if you
 need any more info, and I'll post it up asap.


 dump does not work reliably on filesystems with SUJ enabled.  Turn off SUJ
 on the filesystems to be dumped by booting in single-user mode and running
   tunefs -j disable /dev/ada0whatever

 Do each filesystem, then use dump.

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


Re: failed to create gmirror with the handbook instructions

2013-10-08 Thread Andy Zammy
# gpart show ada0s1
gpart: No such geom: ada0s1

By the way, this is after a restart of the machine.

There's nothing to back up, I'm installing a fresh os, so I just install on
one drive, plug the other in, and start following the handbook instructions
for this method. So the only thing in loader.conf is geom_mirror_load=YES.

I'll rephrase the question: given that the handbook originally wanted me to
dump from ada0s1 to the mounted mirror/gm0s1 (which was ada1 at the time),
and I cannot do this, would it be enough to dump from mirror/gm0s1 (which
is what ada0 is now mounted as), to ada1s1 (even though this *should* be
the other way around, it's equivalent as far as i can see, isn't it?)?


On 8 October 2013 22:59, Warren Block wbl...@wonkity.com wrote:

 On Tue, 8 Oct 2013, Andy Zammy wrote:

  This is actually trickier than it first looked. First I got into single
 user mode by supplying 'shutdown now', but the tunefs commands all failed
 with the following:
 #tunefs -j disable /dev/ada0s1a
 Clearing journal flags from inode 4
 tunefs: Failed to write journal inode: Operation not permitted
 tunefs: soft updates journalling cleared but soft updates still set.
 tunefs: remove .sujournal to reclaim space
 tunefs: /dev/ada0s1a: failed to write superblock

 I tried the dump command on the off-chance, and it failed with the
 original errors. Is there anything you can recommend?

 I then noticed you specified to boot into single user more, so I
 restarted the machine, with only ada0 attached. Because the handbook wants
 me to use the mirror/gm0sX devices, I swapped
 my fstab file back to the original. The boot loader now only seems to
 recognise the mirror/gm0 nodes, the original ada0sX are gone (though ada0
 still shows up).


 I don't know what would do that.  The device nodes on the original drive
 should be untouched until it is added back to the mirror.  What does
   gpart show ada0s1
 show?  Did you make a backup of the original drive first?  Is there an
 entry for vfs.root.mountfrom in /boot/loader.conf?

  I'm not sure if it's acceptable to do the dump by booting the 1st hard
 drive using the mirror/gm0, and then dump to the 2nd hard drive by mounting
 what will be ada1sX. Is this okay to do?


 Sorry, I don't quite understand the question.  The mirror will not be
 usable until a good copy of the original drive is made to it.

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


Re: failed to create gmirror with the handbook instructions

2013-10-08 Thread Andy Zammy
I tried creating the mirror before the install. As the drives are now
mirrored, the installer picked up on the face that there are two gm0 nodes
- one on each hard drive. I installed onto ada0's gm0 node.

After it reboots, the bootloader stops at the manual prompt. From what I
can see that's not dissapeared up the screen, it tried and failed to mount
from mirror/gm0s1a with error 19. I had to mount from ada0s1a in order for
the boot to get further, but as it's been installed to boot from gm0s1x, it
stops after it mounts /.

After having checked my partition setup many times at this point, I know
for a fact there's a rather large 500MB section free at the end of my hard
drives with this partition set up. Is there any reason I can't just install
as normal, do a 'gmirror label gm0 ada0', and then do a 'gmirror insert gm0
ada1', before changing my fstab to use mirror/gm0? I can't see why dumping
and restoring is necessary, it's just manually doing what gmirror is there
for in the first place. Correct me if I'm wrong :)


On 9 October 2013 00:11, Warren Block wbl...@wonkity.com wrote:

 On Tue, 8 Oct 2013, Andy Zammy wrote:

  # gpart show ada0s1
 gpart: No such geom: ada0s1

 By the way, this is after a restart of the machine.

 There's nothing to back up, I'm installing a fresh os, so I just install
 on one drive, plug the other in, and start following the handbook
 instructions for this method. So the only
 thing in loader.conf is geom_mirror_load=YES.

 I'll rephrase the question: given that the handbook originally wanted me
 to dump from ada0s1 to the mounted mirror/gm0s1 (which was ada1 at the
 time), and I cannot do this, would it be
 enough to dump from mirror/gm0s1 (which is what ada0 is now mounted as),
 to ada1s1 (even though this *should* be the other way around, it's
 equivalent as far as i can see, isn't it?)?


 There is not much point in dumping from the mirror to another drive. The
 dump/restore is how the single drive is copied to the mirror.

 On a fresh install, use the Shell mode of the installer to set up the
 mirror, then install directly to it.  There are some instructions on
 mountpoints in the bsdinstall man page.  This will avoid the lag of waiting
 for the second drive to sync.

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


failed to create gmirror with the handbook instructions

2013-10-07 Thread Andy Zammy
Hi,

I used the second section of the handbook (20.4) to create a gmirror. In my
particular setup I had a 1GB /, 6GB swap, 1GB /tmp and the rest of the 1TB
drive was left for /usr

I had to deviate from the handbook when it came to running the dump +
restore commands, as the dump failed due to an issue with the journalling.
To get around this problem, I dropped into single user mode, so I could
remount root as read-only. The dump commands then worked. It specified in
the handbook to restart the machine, and boot from ada1.

It was at this point that I noticed something wasn't quite right. There was
a spew of 'not found/no such file or directory' messages. These were all
trying to reference libs and binaries that live in /usr.

I boot into single user mode, and upon checking the other partitions, I
notice that /tmp and /usr are empty, apart from a .snap file, and the
restoresymtable file.

Please could someone help me troubleshoot this problem? Let me know if you
need any more info, and I'll post it up asap.

Kind Regards

Andy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


pppoe connection freezes

2013-07-18 Thread Andy Balholm
I have CenturyLink DSL, and I use the user-space ppp program in FreeBSD 9.1 to 
make the PPPoE connection. From time to time (every few days) the connection 
freezes up—no more data can be sent or received. No error shows up in ppp.log; 
all I can see there is that there are no more RecvEchoRequest and SendEchoReply 
entries after the connection freezes. If I send SIGINT to the ppp program, it 
reconnects just fine.

I talked to CenturyLink's tech support, and they said that one of the times 
that I had a problem, the connection was dropped on their end, but the others 
it was fine.

My ppp command line is
ppp -nat -ddial centurylink

My ppp.conf:

default:
 set log Phase Chat LCP IPCP CCP tun command
 disable ipv6cp

centurylink:
 set device PPPoE:rl0
 enable lqr
 set authname balholmand...@qwest.net
 set authkey 
 set dial
 set login
 add default HISADDR

Is there a setting I can add to ppp.conf to make it detect when the connection 
freezes? Or is there something else that I need to fix?

Andy Balholm
(509) 276-2065
a...@balholm.com

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


Help to secure my FreeBSD/Apache installation

2013-07-17 Thread Andy Wodfer
Hi everybody!

I'm running a server on FreeBSD 8.1 STABLE (apache 2.2.16, mysql 5.1.50,
php 5.3.3) and I server some websites from it, most of them using Joomla or
Wordpress CMS.

I recently had a security breach where someone used a hole in an older
Joomla version and was able to install a php script called webadmin.php.
From that the person was able to browse all folders and view all files -
and change them... not nice!

Apache runs using the www user (std installation) and all virtualhosts
share the same user, but are placed in different directories.

I need some help and pointers to what I can do to strengthen security and
to atleast prevent someone from writing to the filesystem and browse all
directories and files. (allthough joomla needs some folders to be chmod 777)

I'm thinking about installing apache2-mpm-itk or similare to jail each site
into its own directory and run each virtualhost as its own user. Is this a
good idea?

Thankful for answers and pointers!

All the best -
Andy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ffmpef 1.1

2013-01-15 Thread Andy Wodfer
On Tue, Jan 15, 2013 at 8:53 PM, Mark Felder f...@feld.me wrote:

 On Tue, 15 Jan 2013 13:47:49 -0600, Zyumbilev, Peter 
 pe...@aboutsupport.com wrote:

  Hi,

 Does anybody know if there soon be port of ffmpeg 1.1 to FreeBSD ?


 I assume multimedia/ffmpeg1 just needs an update


Hi,
You might consider compiling it from source instead since it often takes
some time for the ports to be up to date with the development of ffmpeg.

Here is how I did it a while back:

Download the latest ffmpeg from GIT.

Extract .tgz file

# cd ffmpeg-0.10
# bash
# export LIBRARY_PATH=/usr/local/lib
# export CPATH=/usr/local/include
# ./configure --enable-gpl --enable-nonfree --enable-shared
--enable-libdirac --enable-libfaac --enable-libschroedinger
--enable-libvorbis --enable-libtheora --enable-libvpx --enable-libx264
--enable-libxvid --cc=gcc47
#gmake
#gmake install
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: /tmp filesystem full

2012-08-24 Thread Andy Wodfer
Hi everybody!

Thanks for answering my questions and helping me out with this problem.

It's been fixed now and I managed to locate the problem with the find /
-type d | awk 'length  900' command.

What caused it was something that looked like a directory loop or at least
a very deep list of sub directories from two old backups of src + kernel
compilations that recently got moved to this server from another one
(accidentally and in a hurry due to disk failure on the other server). I
think I counted 12 full lines in my terminal window for the directory bash
path...

I deleted them and now it works great again. Thanks again for great help!

Best regards,
Andy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: /tmp filesystem full

2012-08-23 Thread Andy Wodfer
Can't seem to figure out the problem with MAXPATHLEN.

locate: integer out of +-MAXPATHLEN (1024): 1029


In my /etc/locate.rc I have pruned several directories (even the most
obvious) - still the locate DB exeeds well over 1GB before outputting this
error message.

I have moved the tmp dir for locate to /usr/tmp which works fine (changed
in locate script) and there is no problems with diskspace here.

the find awk command suggested earlier in this thread didn't give me a
better clue about what's happening.

Anyone have any other ideas what I can try to find out why locate fails?

Thanks!
Andy

On Thu, Aug 23, 2012 at 6:24 AM, Michael Sierchio ku...@tenebras.comwrote:

 On Wed, Aug 22, 2012 at 7:17 PM, RW rwmailli...@googlemail.com wrote:

   tmpfs and swap md devices don't actually need swap. I don't seen any
   advantage in your way of creating an md device for /tmp.

 Then you don't understand. ;-)  The advantage of my approach is
 avoiding a kernel panic when writing to the tmpfs when you haven't
 pre-allocated all the filesystem space at creation time.  If that
 happens to matter to you...
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org

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


Re: /tmp filesystem full

2012-08-23 Thread Andy Wodfer
Btw, is /etc/locate.rc being read at all?

/Andy

On Thu, Aug 23, 2012 at 11:04 AM, Andy Wodfer wod...@gmail.com wrote:

 Can't seem to figure out the problem with MAXPATHLEN.


 locate: integer out of +-MAXPATHLEN (1024): 1029


 In my /etc/locate.rc I have pruned several directories (even the most
 obvious) - still the locate DB exeeds well over 1GB before outputting this
 error message.

 I have moved the tmp dir for locate to /usr/tmp which works fine (changed
 in locate script) and there is no problems with diskspace here.

 the find awk command suggested earlier in this thread didn't give me a
 better clue about what's happening.

 Anyone have any other ideas what I can try to find out why locate fails?

 Thanks!
 Andy


 On Thu, Aug 23, 2012 at 6:24 AM, Michael Sierchio ku...@tenebras.comwrote:

 On Wed, Aug 22, 2012 at 7:17 PM, RW rwmailli...@googlemail.com wrote:

   tmpfs and swap md devices don't actually need swap. I don't seen any
   advantage in your way of creating an md device for /tmp.

 Then you don't understand. ;-)  The advantage of my approach is
 avoiding a kernel panic when writing to the tmpfs when you haven't
 pre-allocated all the filesystem space at creation time.  If that
 happens to matter to you...
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org



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


/tmp filesystem full

2012-08-22 Thread Andy Wodfer
Hi,
I have about 500MB in my /tmp and it seems to be too small when the
periodic LOCATE script runs every week.

What's the best way to increase the size of /tmp ? Could I simply remove it
and create a symbolic link ln -s to say /usr/tmp instead (where I have
several hundred GBs free)?

PS! This is on a live server and I would like to keep downtime and problems
to a minimum. :-)

Cheers,
Andy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: /tmp filesystem full

2012-08-22 Thread Andy Wodfer
Thanks to all for your input!

Editing /etc/periodic.rc seem to do the trick, but now I faced a different
problem which I've never seen before:

locate: integer out of +-MAXPATHLEN (1024): 1029


There are some directories that contains A LOT of small files I think. Need
to investigate.

Also thanks for the tip on omitting parts of the filesystem. Perhaps I need
to do that.

/Andreas


On Wed, Aug 22, 2012 at 1:56 PM, Michael Ross g...@ross.cx wrote:

 On Wed, 22 Aug 2012 12:59:13 +0200, Andy Wodfer wod...@gmail.com wrote:

  Hi,
 I have about 500MB in my /tmp and it seems to be too small when the
 periodic LOCATE script runs every week.

 What's the best way to increase the size of /tmp ? Could I simply remove
 it
 and create a symbolic link ln -s to say /usr/tmp instead (where I have
 several hundred GBs free)?

 PS! This is on a live server and I would like to keep downtime and
 problems
 to a minimum. :-)

 Cheers,
 Andy


 If it's just locate.updatedb filling it up temporarily,
 perhaps you can solve this by ommitting part of your filesystem from the
 locate index.

 See /etc/locate.rc


 Regards,

 Michael

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


Re: /tmp filesystem full

2012-08-22 Thread Andy Wodfer
How can I find which directories break the MAXPATHLEN variable?

or can I somehow run the periodic script in verbose mode to see the output?

/Andy

On Wed, Aug 22, 2012 at 2:04 PM, Andy Wodfer wod...@gmail.com wrote:

 Thanks to all for your input!

 Editing /etc/periodic.rc seem to do the trick, but now I faced a different
 problem which I've never seen before:

 locate: integer out of +-MAXPATHLEN (1024): 1029


 There are some directories that contains A LOT of small files I think.
 Need to investigate.

 Also thanks for the tip on omitting parts of the filesystem. Perhaps I
 need to do that.

 /Andy



 On Wed, Aug 22, 2012 at 1:56 PM, Michael Ross g...@ross.cx wrote:

 On Wed, 22 Aug 2012 12:59:13 +0200, Andy Wodfer wod...@gmail.com wrote:

  Hi,
 I have about 500MB in my /tmp and it seems to be too small when the
 periodic LOCATE script runs every week.

 What's the best way to increase the size of /tmp ? Could I simply remove
 it
 and create a symbolic link ln -s to say /usr/tmp instead (where I have
 several hundred GBs free)?

 PS! This is on a live server and I would like to keep downtime and
 problems
 to a minimum. :-)

 Cheers,
 Andy


 If it's just locate.updatedb filling it up temporarily,
 perhaps you can solve this by ommitting part of your filesystem from the
 locate index.

 See /etc/locate.rc


 Regards,

 Michael



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


Re: mac powerpc ibook g3 blank screen on start up

2012-08-11 Thread Andy Recker
thanks for the help but there is no CD icon there is no anything to click
on my computer is very unresponsive let e know if u have any other ideas?

On Thu, Aug 9, 2012 at 12:50 AM, Jamie Paul Griffin ja...@kode5.net wrote:

 == Jeff Tipton wrote on Thu  9.Aug'12 at  8:36:12 +0300 ==

  On 08/09/2012 06:22, Andy Recker wrote:
  i installed the power PC version of free BSD and put it on my mac i
 book g3
  i was in the insulation process when i couldn't get it to work because
 of a
  few errors and i decided to turn it off and restart when i turned it
 back
  on it only booted to a blank white screen it has nothing on it and
 nothing
  is responsive i have tried to reboot the same CD i had the first thing
 and
  still just a blank screen what can i do to get BSD to work on my
 computer?
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org
  When you are trying to reboot into the installation CD, are you sure
  you have the right boot sequence selected (CD, not HDD)? I guess on
  your mac it might mean restarting, holding down the option key,
  choosing the CD icon and the arrow on the right side.
 
  -Jeff

 Yes, it's either the 'option' key or the 'C' key; can' recall which.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org

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


mac powerpc ibook g3 blank screen on start up

2012-08-08 Thread Andy Recker
i installed the power PC version of free BSD and put it on my mac i book g3
i was in the insulation process when i couldn't get it to work because of a
few errors and i decided to turn it off and restart when i turned it back
on it only booted to a blank white screen it has nothing on it and nothing
is responsive i have tried to reboot the same CD i had the first thing and
still just a blank screen what can i do to get BSD to work on my computer?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Support

2012-07-26 Thread Andy Recker
yes i booted from a cd the fist time and i almost had it installed but then
i turned my computer off because i was having some problems and i turned it
back on and it is un responsivr and showed only a white screen and thanks
for the help.

On Wed, Jul 25, 2012 at 9:41 AM, Lowell Gilbert 
freebsd-questions-lo...@be-well.ilk.org wrote:

 Andy reckingbal...@gmail.com writes:

  I was trying to install the free bsd to my mac computer its an ibook
  g3 with a 20gb hard dive i was using the powerpc version and it was
  working fine then i got to the part were you have to set up the hard
  drive i got some kind of err so i turned off my computer when i turned
  it back on it only boots to a white screen idk what to do please help

 Are you booting from a CD for the install?
 Does anything at all show up on the screen?

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


question

2012-07-23 Thread Andy Recker
do u answer questions about y computer aftwer trying to install your program
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Support

2012-07-23 Thread Andy
I was trying to install the free bsd to my mac computer  its an ibook g3 with a 
20gb hard dive i was using the powerpc version and it was working fine then i 
got to the part were you have to set up the hard drive i got some kind of err 
so i turned off my computer when i turned it back on it only boots to a white 
screen idk what to do please help___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Help compiling ffmpeg from source

2012-02-29 Thread Andy Wodfer
I'm on FreeBSD 8.2 STABLE (AMD64).

I need to install the latest ffmpeg 0.10, but it fails when compiling. I
must admit I very rarely do it this way. Normally all software is installed
from ports, but I couldn't find this version of ffmpeg there.

Heres what I do:

./configure
gmake

and the problem looks like this:

[snip]
/var/tmp//ccKzWhb0.s:26921: Error: `ff_h264_norm_shift(%r10d)' is not a
valid 64 bit base/index expression
/var/tmp//ccKzWhb0.s:26923: Error: `ff_h264_mlps_state+128(%edi)' is not a
valid 64 bit base/index expression
/var/tmp//ccKzWhb0.s:26931: Error: `-1(%r9d)' is not a valid 64 bit
base/index expression
/var/tmp//ccKzWhb0.s:26936: Error: `ff_h264_norm_shift(%ecx)' is not a
valid 64 bit base/index expression
/var/tmp//ccKzWhb0.s:27045: Error: `ff_h264_lps_range(%r9d,%r12d,2)' is not
a valid 64 bit base/index expression
/var/tmp//ccKzWhb0.s:27055: Error: `ff_h264_norm_shift(%r12d)' is not a
valid 64 bit base/index expression
/var/tmp//ccKzWhb0.s:27057: Error: `ff_h264_mlps_state+128(%r9d)' is not a
valid 64 bit base/index expression
/var/tmp//ccKzWhb0.s:27065: Error: `-1(%r11d)' is not a valid 64 bit
base/index expression
/var/tmp//ccKzWhb0.s:27070: Error: `ff_h264_norm_shift(%ecx)' is not a
valid 64 bit base/index expression
gmake: *** [libavcodec/h264_cabac.o] Error 1

Any idea what I can do to fix this?

Thanks!
Andy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Help compiling ffmpeg from source

2012-02-29 Thread Andy Wodfer
On Wed, Feb 29, 2012 at 2:50 PM, Da Rock 
freebsd-questi...@herveybayaustralia.com.au wrote:

 On 02/29/12 23:48, Andy Wodfer wrote:

 I'm on FreeBSD 8.2 STABLE (AMD64).

 I need to install the latest ffmpeg 0.10, but it fails when compiling. I
 must admit I very rarely do it this way. Normally all software is
 installed
 from ports, but I couldn't find this version of ffmpeg there.

 Heres what I do:

 ./configure
 gmake

 and the problem looks like this:

 [snip]
 /var/tmp//ccKzWhb0.s:26921: Error: `ff_h264_norm_shift(%r10d)' is not a
 valid 64 bit base/index expression
 /var/tmp//ccKzWhb0.s:26923: Error: `ff_h264_mlps_state+128(%edi)' is not a
 valid 64 bit base/index expression
 /var/tmp//ccKzWhb0.s:26931: Error: `-1(%r9d)' is not a valid 64 bit
 base/index expression
 /var/tmp//ccKzWhb0.s:26936: Error: `ff_h264_norm_shift(%ecx)' is not a
 valid 64 bit base/index expression
 /var/tmp//ccKzWhb0.s:27045: Error: `ff_h264_lps_range(%r9d,%r12d,**2)'
 is not
 a valid 64 bit base/index expression
 /var/tmp//ccKzWhb0.s:27055: Error: `ff_h264_norm_shift(%r12d)' is not a
 valid 64 bit base/index expression
 /var/tmp//ccKzWhb0.s:27057: Error: `ff_h264_mlps_state+128(%r9d)' is not a
 valid 64 bit base/index expression
 /var/tmp//ccKzWhb0.s:27065: Error: `-1(%r11d)' is not a valid 64 bit
 base/index expression
 /var/tmp//ccKzWhb0.s:27070: Error: `ff_h264_norm_shift(%ecx)' is not a
 valid 64 bit base/index expression
 gmake: *** [libavcodec/h264_cabac.o] Error 1

 Thats right, I remember this one- really simple but will get you every
 time! You need a newer gcc version (probably 4.6 will get you out of
 trouble if I remember correctly).

 The port already sets this, it will only bite when you're working solo.


Ok - thanks!

I'm currently doing this:
http://www.freebsd.org/doc/en/articles/custom-gcc/article.html

I will report back on how it goes. :-)

Cheers,
Andy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Help compiling ffmpeg from source

2012-02-29 Thread Andy Wodfer
On Wed, Feb 29, 2012 at 3:09 PM, Andy Wodfer wod...@gmail.com wrote:

 On Wed, Feb 29, 2012 at 2:50 PM, Da Rock 
 freebsd-questi...@herveybayaustralia.com.au wrote:

 On 02/29/12 23:48, Andy Wodfer wrote:

 I'm on FreeBSD 8.2 STABLE (AMD64).

 I need to install the latest ffmpeg 0.10, but it fails when compiling. I
 must admit I very rarely do it this way. Normally all software is
 installed
 from ports, but I couldn't find this version of ffmpeg there.

 Heres what I do:

 ./configure
 gmake

 and the problem looks like this:

 [snip]
 /var/tmp//ccKzWhb0.s:26921: Error: `ff_h264_norm_shift(%r10d)' is not a
 valid 64 bit base/index expression
 /var/tmp//ccKzWhb0.s:26923: Error: `ff_h264_mlps_state+128(%edi)' is not
 a
 valid 64 bit base/index expression
 /var/tmp//ccKzWhb0.s:26931: Error: `-1(%r9d)' is not a valid 64 bit
 base/index expression
 /var/tmp//ccKzWhb0.s:26936: Error: `ff_h264_norm_shift(%ecx)' is not a
 valid 64 bit base/index expression
 /var/tmp//ccKzWhb0.s:27045: Error: `ff_h264_lps_range(%r9d,%r12d,**2)'
 is not
 a valid 64 bit base/index expression
 /var/tmp//ccKzWhb0.s:27055: Error: `ff_h264_norm_shift(%r12d)' is not a
 valid 64 bit base/index expression
 /var/tmp//ccKzWhb0.s:27057: Error: `ff_h264_mlps_state+128(%r9d)' is not
 a
 valid 64 bit base/index expression
 /var/tmp//ccKzWhb0.s:27065: Error: `-1(%r11d)' is not a valid 64 bit
 base/index expression
 /var/tmp//ccKzWhb0.s:27070: Error: `ff_h264_norm_shift(%ecx)' is not a
 valid 64 bit base/index expression
 gmake: *** [libavcodec/h264_cabac.o] Error 1

 Thats right, I remember this one- really simple but will get you every
 time! You need a newer gcc version (probably 4.6 will get you out of
 trouble if I remember correctly).

 The port already sets this, it will only bite when you're working solo.


 Ok - thanks!

 I'm currently doing this:
 http://www.freebsd.org/doc/en/articles/custom-gcc/article.html

 I will report back on how it goes. :-)

 Cheers,
 Andy


So, I updated gmake to 3.82 from ports and installed gcc47 from ports. I
updated /etc/make.conf as described here:
http://www.freebsd.org/doc/en/articles/custom-gcc/article.html

However, I don't have a libmap file so I skipped this one and the other
ones below in the article.

Here's some outputs:

# gmake -v
GNU Make 3.82
Built for amd64-portbld-freebsd8.2
Copyright (C) 2010  Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html

This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

# gcc -v
Using built-in specs.
Target: amd64-undermydesk-freebsd
Configured with: FreeBSD/amd64 system compiler
Thread model: posix
gcc version 4.2.2 20070831 prerelease [FreeBSD]

How do I tell the system to use gcc47 instead of 4.2.2 (if that's what
causes the problems)?

Compiling ffmpeg from source still failes on the same line as in my orginal
post.

Thanks a lot for any pointers that will help me resolve this. :-)

All the best,
Andy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Help compiling ffmpeg from source

2012-02-29 Thread Andy Wodfer
On Wed, Feb 29, 2012 at 9:20 PM, Waitman Gobble gobble...@gmail.com wrote:


 On Feb 29, 2012 12:10 PM, Andy Wodfer wod...@gmail.com wrote:
 
  On Wed, Feb 29, 2012 at 3:09 PM, Andy Wodfer wod...@gmail.com wrote:
 
   On Wed, Feb 29, 2012 at 2:50 PM, Da Rock 
   freebsd-questi...@herveybayaustralia.com.au wrote:
  
   On 02/29/12 23:48, Andy Wodfer wrote:
  
   I'm on FreeBSD 8.2 STABLE (AMD64).
  
   I need to install the latest ffmpeg 0.10, but it fails when
 compiling. I
   must admit I very rarely do it this way. Normally all software is
   installed
   from ports, but I couldn't find this version of ffmpeg there.
  
   Heres what I do:
  
   ./configure
   gmake
  
   and the problem looks like this:
  
   [snip]
   /var/tmp//ccKzWhb0.s:26921: Error: `ff_h264_norm_shift(%r10d)' is
 not a
   valid 64 bit base/index expression
   /var/tmp//ccKzWhb0.s:26923: Error: `ff_h264_mlps_state+128(%edi)' is
 not
   a
   valid 64 bit base/index expression
   /var/tmp//ccKzWhb0.s:26931: Error: `-1(%r9d)' is not a valid 64 bit
   base/index expression
   /var/tmp//ccKzWhb0.s:26936: Error: `ff_h264_norm_shift(%ecx)' is not
 a
   valid 64 bit base/index expression
   /var/tmp//ccKzWhb0.s:27045: Error:
 `ff_h264_lps_range(%r9d,%r12d,**2)'

   is not
   a valid 64 bit base/index expression
   /var/tmp//ccKzWhb0.s:27055: Error: `ff_h264_norm_shift(%r12d)' is
 not a
   valid 64 bit base/index expression
   /var/tmp//ccKzWhb0.s:27057: Error: `ff_h264_mlps_state+128(%r9d)' is
 not
   a
   valid 64 bit base/index expression
   /var/tmp//ccKzWhb0.s:27065: Error: `-1(%r11d)' is not a valid 64 bit
   base/index expression
   /var/tmp//ccKzWhb0.s:27070: Error: `ff_h264_norm_shift(%ecx)' is not
 a
   valid 64 bit base/index expression
   gmake: *** [libavcodec/h264_cabac.o] Error 1
  
   Thats right, I remember this one- really simple but will get you every
   time! You need a newer gcc version (probably 4.6 will get you out of
   trouble if I remember correctly).
  
   The port already sets this, it will only bite when you're working
 solo.
  
  
   Ok - thanks!
  
   I'm currently doing this:
   http://www.freebsd.org/doc/en/articles/custom-gcc/article.html
  
   I will report back on how it goes. :-)
  
   Cheers,
   Andy
  
 
  So, I updated gmake to 3.82 from ports and installed gcc47 from ports. I
  updated /etc/make.conf as described here:
  http://www.freebsd.org/doc/en/articles/custom-gcc/article.html
 
  However, I don't have a libmap file so I skipped this one and the other
  ones below in the article.
 
  Here's some outputs:
 
  # gmake -v
  GNU Make 3.82
  Built for amd64-portbld-freebsd8.2
  Copyright (C) 2010  Free Software Foundation, Inc.
  License GPLv3+: GNU GPL version 3 or later 
 http://gnu.org/licenses/gpl.html
  
  This is free software: you are free to change and redistribute it.
  There is NO WARRANTY, to the extent permitted by law.
 
  # gcc -v
  Using built-in specs.
  Target: amd64-undermydesk-freebsd
  Configured with: FreeBSD/amd64 system compiler
  Thread model: posix
  gcc version 4.2.2 20070831 prerelease [FreeBSD]
 
  How do I tell the system to use gcc47 instead of 4.2.2 (if that's what
  causes the problems)?
 
  Compiling ffmpeg from source still failes on the same line as in my
 orginal
  post.
 
  Thanks a lot for any pointers that will help me resolve this. :-)
 
  All the best,
  Andy
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org

 is there a gcc47 or maybe a typo?

 should be
 # export CC=gcc46
 or
 # setenv CC gcc46

 if building from source

 --
 Waitman Gobble
 San Jose California USA


Yes, gcc47 was out a few days ago.

So, I'm making some progress.

I now export CC=gcc47

and by adding this ./configure --extra-cflags=-DBROKEN_RELOCATIONS (what
does this mean/do???)

I'm able to get past the h264 compile fail.

However, I now stop at vp5 with the following message:

CC  libavcodec/vp5.o
/var/tmp//ccmvakth.s: Assembler messages:
/var/tmp//ccmvakth.s:323: Error: `(%r8d,%eax)' is not a valid 64 bit
base/index expression
/var/tmp//ccmvakth.s:436: Error: `(%r8d,%eax)' is not a valid 64 bit
base/index expression
/var/tmp//ccmvakth.s:548: Error: `(%r8d,%eax)' is not a valid 64 bit
base/index expression
/var/tmp//ccmvakth.s:669: Error: `(%r8d,%eax)' is not a valid 64 bit
base/index expression
/var/tmp//ccmvakth.s:920: Error: `(%r8d,%eax)' is not a valid 64 bit
base/index expression
/var/tmp//ccmvakth.s:1136: Error: `(%r8d,%eax)' is not a valid 64 bit
base/index expression
/var/tmp//ccmvakth.s:1422: Error: `(%r8d,%eax)' is not a valid 64 bit
base/index expression
/var/tmp//ccmvakth.s:1531: Error: `(%r8d,%eax)' is not a valid 64 bit
base/index expression
/var/tmp//ccmvakth.s:1826: Error: `(%r8d,%eax)' is not a valid 64 bit
base/index expression
/var/tmp//ccmvakth.s:1923: Error: `(%esi,%edx

Re: Help compiling ffmpeg from source

2012-02-29 Thread Andy Wodfer
On Wed, Feb 29, 2012 at 9:46 PM, Waitman Gobble gobble...@gmail.com wrote:



 On Wed, Feb 29, 2012 at 12:37 PM, Andy Wodfer wod...@gmail.com wrote:

 On Wed, Feb 29, 2012 at 9:20 PM, Waitman Gobble gobble...@gmail.com
 wrote:

 
  On Feb 29, 2012 12:10 PM, Andy Wodfer wod...@gmail.com wrote:
  
   On Wed, Feb 29, 2012 at 3:09 PM, Andy Wodfer wod...@gmail.com
 wrote:
  
On Wed, Feb 29, 2012 at 2:50 PM, Da Rock 
freebsd-questi...@herveybayaustralia.com.au wrote:
   
On 02/29/12 23:48, Andy Wodfer wrote:
   
I'm on FreeBSD 8.2 STABLE (AMD64).
   
I need to install the latest ffmpeg 0.10, but it fails when
  compiling. I
must admit I very rarely do it this way. Normally all software is
installed
from ports, but I couldn't find this version of ffmpeg there.
   
Heres what I do:
   
./configure
gmake
   
and the problem looks like this:
   
[snip]
/var/tmp//ccKzWhb0.s:26921: Error: `ff_h264_norm_shift(%r10d)' is
  not a
valid 64 bit base/index expression
/var/tmp//ccKzWhb0.s:26923: Error: `ff_h264_mlps_state+128(%edi)'
 is
  not
a
valid 64 bit base/index expression
/var/tmp//ccKzWhb0.s:26931: Error: `-1(%r9d)' is not a valid 64
 bit
base/index expression
/var/tmp//ccKzWhb0.s:26936: Error: `ff_h264_norm_shift(%ecx)' is
 not
  a
valid 64 bit base/index expression
/var/tmp//ccKzWhb0.s:27045: Error:
  `ff_h264_lps_range(%r9d,%r12d,**2)'
 
is not
a valid 64 bit base/index expression
/var/tmp//ccKzWhb0.s:27055: Error: `ff_h264_norm_shift(%r12d)' is
  not a
valid 64 bit base/index expression
/var/tmp//ccKzWhb0.s:27057: Error: `ff_h264_mlps_state+128(%r9d)'
 is
  not
a
valid 64 bit base/index expression
/var/tmp//ccKzWhb0.s:27065: Error: `-1(%r11d)' is not a valid 64
 bit
base/index expression
/var/tmp//ccKzWhb0.s:27070: Error: `ff_h264_norm_shift(%ecx)' is
 not
  a
valid 64 bit base/index expression
gmake: *** [libavcodec/h264_cabac.o] Error 1
   
Thats right, I remember this one- really simple but will get you
 every
time! You need a newer gcc version (probably 4.6 will get you out
 of
trouble if I remember correctly).
   
The port already sets this, it will only bite when you're working
  solo.
   
   
Ok - thanks!
   
I'm currently doing this:
http://www.freebsd.org/doc/en/articles/custom-gcc/article.html
   
I will report back on how it goes. :-)
   
Cheers,
Andy
   
  
   So, I updated gmake to 3.82 from ports and installed gcc47 from
 ports. I
   updated /etc/make.conf as described here:
   http://www.freebsd.org/doc/en/articles/custom-gcc/article.html
  
   However, I don't have a libmap file so I skipped this one and the
 other
   ones below in the article.
  
   Here's some outputs:
  
   # gmake -v
   GNU Make 3.82
   Built for amd64-portbld-freebsd8.2
   Copyright (C) 2010  Free Software Foundation, Inc.
   License GPLv3+: GNU GPL version 3 or later 
  http://gnu.org/licenses/gpl.html
   
   This is free software: you are free to change and redistribute it.
   There is NO WARRANTY, to the extent permitted by law.
  
   # gcc -v
   Using built-in specs.
   Target: amd64-undermydesk-freebsd
   Configured with: FreeBSD/amd64 system compiler
   Thread model: posix
   gcc version 4.2.2 20070831 prerelease [FreeBSD]
  
   How do I tell the system to use gcc47 instead of 4.2.2 (if that's what
   causes the problems)?
  
   Compiling ffmpeg from source still failes on the same line as in my
  orginal
   post.
  
   Thanks a lot for any pointers that will help me resolve this. :-)
  
   All the best,
   Andy
   ___
   freebsd-questions@freebsd.org mailing list
   http://lists.freebsd.org/mailman/listinfo/freebsd-questions
   To unsubscribe, send any mail to 
  freebsd-questions-unsubscr...@freebsd.org
 
  is there a gcc47 or maybe a typo?
 
  should be
  # export CC=gcc46
  or
  # setenv CC gcc46
 
  if building from source
 
  --
  Waitman Gobble
  San Jose California USA
 

 Yes, gcc47 was out a few days ago.

 So, I'm making some progress.

 I now export CC=gcc47

 and by adding this ./configure --extra-cflags=-DBROKEN_RELOCATIONS (what
 does this mean/do???)

 I'm able to get past the h264 compile fail.

 However, I now stop at vp5 with the following message:

 CC  libavcodec/vp5.o
 /var/tmp//ccmvakth.s: Assembler messages:
 /var/tmp//ccmvakth.s:323: Error: `(%r8d,%eax)' is not a valid 64 bit
 base/index expression
 /var/tmp//ccmvakth.s:436: Error: `(%r8d,%eax)' is not a valid 64 bit
 base/index expression
 /var/tmp//ccmvakth.s:548: Error: `(%r8d,%eax)' is not a valid 64 bit
 base/index expression
 /var/tmp//ccmvakth.s:669: Error: `(%r8d,%eax)' is not a valid 64 bit
 base/index expression
 /var/tmp//ccmvakth.s:920: Error: `(%r8d,%eax)' is not a valid 64 bit
 base/index expression
 /var/tmp//ccmvakth.s:1136: Error: `(%r8d,%eax)' is not a valid 64 bit
 base/index expression
 /var/tmp

Help! Drive failing in zpool

2012-02-16 Thread Andy Wodfer
I have a drive failing and it's a member of a zpool. Since I don't deal
with these things every day I thought I ask for some help... :-)

I've already ordered a new drive which will arrive shortly, but I was
wondering if someone could guide me through the process of taking out a
drive of the pool and replacing it with a new one and keep all the data
intact?

Ie.

- put drive in offline mode
- remove drive
- insert new drive
- whatever needs to set it up
- add it to the zpool
run

Btw, rebooting this server is not a problem if needed.

Here are some system details btw:

FreeBSD 8.2-STABLE #2: Fri Jun 17 21:00:35 CEST 2011
root@server:/usr/obj/usr/src/sys/SERVER
amd64

ad1: FAILURE - READ_DMA48 status=51READY,DSC,ERROR
error=40UNCORRECTABLE LBA=281451125
ad1: FAILURE - READ_DMA48 status=51READY,DSC,ERROR
error=40UNCORRECTABLE LBA=281453348
ad1: FAILURE - READ_DMA48 status=51READY,DSC,ERROR
error=40UNCORRECTABLE LBA=288837128

# zpool status -v
  pool: files
 state: ONLINE
 scan: scrub repaired 33.8M in 3h24m with 0 errors on Wed Feb 15 12:30:27
2012
config:

NAMESTATE READ WRITE CKSUM
files   ONLINE   0 0 0
  raidz1-0  ONLINE   0 0 0
ad0 ONLINE   0 0 0
ad1 ONLINE   0 0 0
ad2 ONLINE   0 0 0
ad3 ONLINE   0 0 0

errors: No known data errors

Thanks for any help!!!

Best regards,
Andy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Help! Can't delete files ...

2011-10-19 Thread Andy Wodfer
A client has uploaded several files through a CMS and these files contain
Norwegian letters (I think). Æ Ø and Å.

I need to delete about 20 files, but I can't do it through the CMS nor by
command line on this FreeBSD 8.1 STABLE server. There's something with the
character encoding/keyboard or server setup I think.

Please advice.

This is what a file looks like when I ls:

28b Kjoepesenter n?ringsg?rdeier.docx

ls | more:

28b Kjoepesenter n91ringsg86rdeier.docx

If I try:

# rm 28b Kjoepesenter n91ringsg86rdeier.docx
Ambiguous input redirect

...

Thanks!
Andy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Help! Can't delete files ...

2011-10-19 Thread Andy Wodfer
On Wed, Oct 19, 2011 at 9:04 PM, Robert Bonomi bon...@mail.r-bonomi.comwrote:

 A) learn to use wildcards.


I know how to use wildcards, but I forgot to tell in my first email that
there are 4 files that have almost the same filenames, so I couldn't do it
this way.


 B) learn to use the '-i' option to rm
 C) learn to use 'echo' to 'test' filename expansions.


Thanks! Very useful info.

For your 'problem' files, put a  '?' in  anywhere there is a space or a
 'strange character'.  Check what happens using echo, then use 'rm -i', so
 you make sure that you delete *only* the particular file you intend to.

 e.g. for the specific file you cited above try:

   echo 28b?Kjoepesenter?n?ringsg?rdeier.docx

 *ASSUMING* that that shows;
   28b Kjoepesenter n91ringsg86rdeier.docx

 then try:
   rm -i 28b?Kjoepesenter?n?ringsg?rdeier.docx

 Assuming that  it asks yout about deleting the full file name, type a 'y'.

 Repeat for each 'problem' file.


Thanks a lot! That did it! :-)

Cheers,
Andy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Dynamic Window Manager install with patch(es)

2011-09-21 Thread Andy Zammy
Hi all,

First time poster to the lists!

Using dwm, loving the minimalism and it's forcing me to learn stuff the hard
way which is all good. But I can't seem to figure out how to apply a patch
to it.

According to the instructions listed here: http://dwm.suckless.org/patches/ I
figured I'm to use the tarball method as that's how ports fetches dwm. I
tried applying the method to /usr/ports/x11-wm/dwm/work/dwm-5.9 but it
didn't work (malformed patch).

I've used ubuntu for about a year but for all intents and purposes I'm still
a beginner with UNIX-like, and I've never used patch or diff before. But, I
remembered that these are ports and wonder if these patches would work on
FreeBSD source? Would I have to apply the patch to the tarball while it's in
distfiles before it gets 'ported' to freebsd? Or am I talking crazy?

Any help would be appreciated.

andy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Going STABLE in 64bit

2011-06-17 Thread Andy Wodfer
On Thu, Jun 16, 2011 at 6:00 PM, Mike Tancsa m...@sentex.net wrote:

 On 6/16/2011 11:49 AM, Andy Wodfer wrote:
  Hi, I'm running 8.2 REL. Are there any specific things to be aware of
 when compiling kernel and making world in 64bit? Required kernel modules
 etc?

 I sometimes forget that the kernel config is in
  cd /usr/src/sys/amd64/conf/
 and not
  cd /usr/src/sys/i386/conf/

 ... so I will be editing the wrong kernel config file, rebuilding, and
 not understanding why the changes are not reflected in my kernel as
 loaded.  But other than that and a little longer build times, all is
 pretty much the same

 Just to be clear, you have an existing 64bit 8.2 system you are just
 updating to stable right ?


Thanks for your email Mike!

Yes, my system is currently running in 64bit.

/Andreas
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Going STABLE in 64bit

2011-06-16 Thread Andy Wodfer
Hi, I'm running 8.2 REL. Are there any specific things to be aware of when 
compiling kernel and making world in 64bit? Required kernel modules etc?

I've only done this in 32bit.

Thanks!
Andreas

---
Mvh/Rgds,
Andreas Wideroe andr...@wideroe.net

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


Urgent: Under attack - need tcpdrop help

2011-05-24 Thread Andy Wodfer
Hi,
One of my FreeBSD servers is currently being attacked (DDOS) and I'm
blocking IP addresses in my firewall. However, there are a large number of
hung tcp connections and I want them gone.

Can anyone help me with a script (command line) that can read a netstat -n
and tcpdrop all IP addresses that has more than 10 connections or a more
manual command where I can input an IP and it will drop all connections from
that IP regardless of port?

Thanks in advance!

Shell scripting isn't what I'm best at unfortunatly ...

Andy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Urgent: Under attack - need tcpdrop help

2011-05-24 Thread Andy Wodfer
Thanks!
That would work on all my servers except this one .. which runs 6.3 STABLE
(due to some old services requiring old software).

Any other suggestions?

Thanks!

Andy


On Tue, May 24, 2011 at 10:42 PM, Greg Larkin glar...@freebsd.org wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 On 5/24/11 4:29 PM, Andy Wodfer wrote:
  Hi,
  One of my FreeBSD servers is currently being attacked (DDOS) and I'm
  blocking IP addresses in my firewall. However, there are a large number
 of
  hung tcp connections and I want them gone.
 
  Can anyone help me with a script (command line) that can read a netstat
 -n
  and tcpdrop all IP addresses that has more than 10 connections or a more
  manual command where I can input an IP and it will drop all connections
 from
  that IP regardless of port?
 
  Thanks in advance!
 
  Shell scripting isn't what I'm best at unfortunatly ...
 
  Andy

 Hi Andy,

 This will drop all connections to/from IP address 192.168.22.22:

 tcpdrop -l -a | grep 192.168.22.22 | sh

 Just substitute your desired IP address, and that will do the trick.

 Good luck,
 Greg
 - --
 Greg Larkin

 http://www.FreeBSD.org/   - The Power To Serve
 http://www.sourcehosting.net/ - Ready. Set. Code.
 http://twitter.com/cpucycle/  - Follow you, follow me
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.11 (Darwin)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

 iEYEARECAAYFAk3cGC8ACgkQ0sRouByUApBlvACfaOneJdIQGiNNo2FYbKJx3EI8
 w58AniK6ZolieHscRFWleR1CoofAtGe8
 =03TM
 -END PGP SIGNATURE-

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


Re: Urgent: Under attack - need tcpdrop help

2011-05-24 Thread Andy Wodfer
Thanks a lot! That was very helpful!

Things have calmed down now.

However, I was surprised to see how quick the tcp connections came back in
netstat. Have to take a closer look at my firewall I guess.

Cheers!
Andy

On Tue, May 24, 2011 at 11:00 PM, Greg Larkin glar...@freebsd.org wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 On 5/24/11 4:48 PM, Andy Wodfer wrote:
  Thanks!
  That would work on all my servers except this one .. which runs 6.3
 STABLE
  (due to some old services requiring old software).
 
  Any other suggestions?
 
  Thanks!
 
  Andy
 

 Ok, here goes:

 netstat -an | grep ^tcp | grep -v LISTEN | awk '{ print $5 }' | egrep -v
 '^(172\.16|192\.168|127\.0)' | cut -f1-4 -d\. | awk '{ a[$1]++ } END {
 for (i in a) { if (a[i]  10) { print i; } } }' | xargs -n1 -I % sh -c
 'sockstat -c | grep %' | awk '{ print $6   $7 }' | sed -e 's/:/ /g' -e
 's/^/tcpdrop /'

 Paste that all on one line, and it should print (but not execute!)
 tcpdrop commands for IPs that have more than 10 connections to your
 server.  The commands will work on 6.x and later versions of the OS,
 since it doesn't use tcpdrop -l -a.

 If you like the output and want to actually run the tcpdrop commands,
 add | sh to the end of the pipeline.

 YMMV, because I didn't actually execute the commands. I just printed the
 tcpdrop commands, and they looked good.

 Good luck,
 Greg

 
  On Tue, May 24, 2011 at 10:42 PM, Greg Larkin glar...@freebsd.org
 wrote:
 
  On 5/24/11 4:29 PM, Andy Wodfer wrote:
  Hi,
  One of my FreeBSD servers is currently being attacked (DDOS) and I'm
  blocking IP addresses in my firewall. However, there are a large
 number
  of
  hung tcp connections and I want them gone.
 
  Can anyone help me with a script (command line) that can read a
 netstat
  -n
  and tcpdrop all IP addresses that has more than 10 connections or a
 more
  manual command where I can input an IP and it will drop all
 connections
  from
  that IP regardless of port?
 
  Thanks in advance!
 
  Shell scripting isn't what I'm best at unfortunatly ...
 
  Andy
 
  Hi Andy,
 
  This will drop all connections to/from IP address 192.168.22.22:
 
  tcpdrop -l -a | grep 192.168.22.22 | sh
 
  Just substitute your desired IP address, and that will do the trick.
 
  Good luck,
  Greg
 
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org

 - --
 Greg Larkin

 http://www.FreeBSD.org/   - The Power To Serve
 http://www.sourcehosting.net/ - Ready. Set. Code.
 http://twitter.com/cpucycle/  - Follow you, follow me
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.11 (Darwin)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

 iEYEARECAAYFAk3cHIkACgkQ0sRouByUApDFdQCgtAPatfLnJP7/r2d/OBhy/P9T
 VJsAn3mWXgqG4GTa9GzuUuH2pDm4JPbz
 =27Nl
 -END PGP SIGNATURE-

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


Installing .bin file?

2011-05-12 Thread Andy Wodfer
On one of my old servers I'm running FreeBSD 6.3 and I'm having some disk
problems. The raid card is a Promise TX4310 and I'd like to install Webpam
(
http://firstweb.promise.com/support/download/download2_eng.asp?productId=136category=utilityos=100go=GO)
to swap + rebuild two broken disks and to have an overview via a webgui.

So, I download *WebPAM for
FreeBSD*http://firstweb.promise.com/upload/Support/Utility/freebsd_Webpam.rar,
unrar it and find a .bin file inside.

How do I install a .bin file on FreeBSD? I'm used to makefiles etc.

Thanks for any help!

Best,
Andy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


X-Authentication-Warning (FreeBSD 8.1 STABLE)

2011-02-25 Thread Andy Wodfer
Hi,
A client is sending out a newsletter and I'm trying to set the FreeBSD
server user (www) to be trusted so that I don't get this warning in the
message header:

X-Authentication-Warning: host.domain.net: www set sender to
post@domain.netusing -f

I assume this is to be set in the sendmail.cf file (Twww), but on my FreeBSD
8.1 STABLE I have both a sendmail.cf and a freebsd.cf aswell as a
freebsd.submit.cf. I haven't played around with sendmail for a couple of
years, but I also seem to remember that you don't just edit the .cf file,
but infact edit the mc file and compile, install and restart?

Can someone please guide me through here?

PS! I'm the only login user on this system, but are there security issues
related to this that I should be concerned with?

Thanks!
Andy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ZFS-only booting on FreeBSD

2011-02-19 Thread Andy Tornquist
P0r c qpppqppqpqapprfpprkkqroikiujpou























Q

R

F


Rf







On 2/18/11, Daniel Staal dst...@usa.net wrote:

 I've been reading over the ZFS-only-boot instructions linked here:
 http://wiki.freebsd.org/ZFS (and further linked from there) and have one
 worry:

 Let's say I install a FreeBSD system using a ZFS-only filesystem into a
 box with hotswapable hard drives, configured with some redundancy.  Time
 passes, one of the drives fails, and it is replaced and rebuilt using the
 ZFS tools.  (Possibly on auto, or possibly by just doing a 'zpool
 replace'.)

 Is that box still bootable?  (It's still running, but could it *boot*?)

 Extend further: If *all* the original drives are replaced (not at the same
 time, obviously) and rebuilt/resilvered using the ZFS utilities, is the
 box still bootable?

 If not, what's the minimum needed to support booting from another disk,
 and using the ZFS filesystem for everything else?

 Daniel T. Staal

 ---
 This email copyright the author.  Unless otherwise noted, you
 are expressly allowed to retransmit, quote, or otherwise use
 the contents for non-commercial purposes.  This copyright will
 expire 5 years after the author's death, or in 30 years,
 whichever is longer, unless such a period is in excess of
 local copyright law.
 ---

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


-- 
Sent from my mobile device
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


How to forward old root mails to an external email address?

2011-02-19 Thread Andy Wodfer
Hi all!

I'm running FreeBSD 8.0 Release on this particular server and I have a
rather large root mailbox under /var/mail/root.

I have set up an alias under /etc/aliases for new emails, but I need to
forward all the old emails in this mailbox to an external email address.

How can I do that?

Thanks for your help!
Andreas
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: How to forward old root mails to an external email address?

2011-02-19 Thread Andy Wodfer
On Sat, Feb 19, 2011 at 10:24 PM, Daniel Staal dst...@usa.net wrote:

 --As of February 19, 2011 9:33:26 PM +0100, Andy Wodfer is alleged to have
 said:

  'm running FreeBSD 8.0 Release on this particular server and I have a
 rather large root mailbox under /var/mail/root.

 I have set up an alias under /etc/aliases for new emails, but I need to
 forward all the old emails in this mailbox to an external email address.

 How can I do that?


 --As for the rest, it is mine.

 Easiest way I know of is to set up a procmail rule to forward everything to
 the external address, then feed the old mailbox to procmail via formail.

 = .procmailrc:
 :0
 ! n...@example.com

   Command line:
 cat /var/mail/root | formail -s procmail


Hi Daniel and thanks for your reply!

I already tried something similare, but I keep getting command not found for
formail. I was hoping there was a way of doing this without installing
additional software - just use what comes with a default FreeBSD
installation.

Cheers,
Andreas
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: How to forward old root mails to an external email address?

2011-02-19 Thread Andy Wodfer
On Sat, Feb 19, 2011 at 11:14 PM, RW rwmailli...@googlemail.com wrote:

 On Sat, 19 Feb 2011 22:39:59 +0100
 Andy Wodfer wod...@gmail.com wrote:

  I already tried something similare, but I keep getting command not
  found for formail. I was hoping there was a way of doing this without
  installing additional software - just use what comes with a default
  FreeBSD installation.

 formail is installed as part of the procmail package. Check for typos
 and that PATH is set correctly.


Cool. Procmail is now installed, but the procmail.rc file, should that be
placed under root's home folder ie /root/procmail.rc or another user? I
assume root since Daniel's command doesn't specify any users?

That would mean I'm logged in as root, run the command, formail sends all
mails to procmail which sees the alias in procmail rc and sends the mails
out? Correct?

Cheers,
Andreas
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Timing out SAMBA authentication

2011-02-16 Thread Andy Hiscock
Hi.

I am connecting to a Samba server from a mac running OSX 10.6.6 on my LAN and 
up 
until about a month ago it has been running smoothly.  The sever is appearing 
in 
Finder but when connecting I get asked my username and password.  After 
entering 
my details I get Connecting for about 5-10 seconds before the shares are 
presented, then I am able to mount and work with the shares.  Interestingly if 
I 
don't mot the share quickly the mac reports the share is no longer available?

This evening I have been doing some diagnosis to see whats happening, I opened 
a 
terminal session on the samba server and to connect to the share using;

smbclient localhost\\[share]

I get asked the password, after 20 seconds the connection fails with the error:

Receiving SMB: Server stopped responding
session setup failed: Call timed out: server did not respond after 2 
milliseconds

I'm assuming this is why there is a delay in mounting the share though my Mac. 
 Im pretty sure I haven't changed anything.  I have googled the web and the 
only 
constructive thing I have come across so far is the encrypt password entry in 
smb.conf.   I tried this but made no difference.

smb.conf:

[global]
netbios name=Leopard
workgroup=WORKGROUP
security = user
load printers = no
log file = /var/log/samba.log
max logsize = 50
time server = yes
read raw = yes
write raw = yes
socket options = TCP_NODELAY IPTOS_LOWDELAY
wins support = yes
local master =  yes
domain master = yes
os level = 65

[homes]
read only=no
guest ok=no
browsable=no

[share]
path=/usr/home/share
read only=no
guest ok=no
force group = share
security mask = 0660
force security mode = 660
directory security mask = 0770
force directory security mode = 0770

Any advise would be appreciated especially if someone has resolved this.

Thanks



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


Re: more dns weirdness

2010-12-09 Thread Andy Tornquist
Have you tried a different server to query?


On 12/9/10, Paul Macdonald p...@ifdnrg.com wrote:

 still debugging dns issues that are no doubt to do with wider issues:

 someone here might know who to tell?

 #whois amazon.com

 Whois Server Version 2.0

 Domain names in the .com and .net domains can now be registered
 with many different competing registrars. Go to http://www.internic.net
 for detailed information.

 AMAZON.COM.Z.GET.LAID.AT.WWW.SWINGINGCOMMUNITY.COM
 AMAZON.COM.MORE.INFO.AT.WWW.BEYONDWHOIS.COM
 AMAZON.COM.IS.N0T.AS.1337.AS.WWW.GULLI.COM
 AMAZON.COM.BLACKSWANSBOOKS.COM
 AMAZON.COM


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


-- 
Sent from my mobile device
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD and large harddrives

2010-11-19 Thread Andy Wodfer
Thanks a lot to all who responded to my post.

I have learned lots here. Too bad I have to find another use for my 4 x 2TB
green WDC drives I have laying around. Anyways - they'll probably end up as
a temp/work drive on a few Windows stations.

Btw. will these drive work better in a ZFS pool/tank (not connected to a
raid card)? I have noticed on my FreeNAS server that you can group several
drives together into one large ZFS drive.

So my conclusion is so far: I'm going to go for the 64bit version of FreeBSD
and use ZFS (mainly due to error correction), but perhaps UFS for the OS. I
will use a Raid controller (probably the RocketRaid 2640x1 which I have
here, but may also consider getting a new 3ware card with battery backup),
get the largest Raid Edition drives (need to order them) and use a separate
Raid 1 for the OS (or worst case simply a SATA connector on the motherboard
and backup this often) and a Raid 5 for the file storage area.

Again - thanks a lot for all your help! Very appreciated!

Best regards,
Andy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD and large harddrives

2010-11-19 Thread Andy Wodfer
On Fri, Nov 19, 2010 at 9:30 AM, Peter fb...@peterk.org wrote:

 I tend to stay away from raid cards.  With ZFS pools all you need is ZFS
 and any OS [easily move drives around servers], vs. raid cards have to be
 the same if moving/replacing/card fails.

 With 'ZFS: do not give it all your HDD'
 [ http://www.freebsddiary.org/zfs-with-gpart.php ]
 You don't even need to have drives that are exactly the same.

 Completely not tied to any hardware


Wow! I'm learning more and more and I'm really beginning to like ZFS!

Question: What happens if 1 drive out of say 4 fails in a pool? And what
about hotswapping a (faulty) drive? Is this still possible with ZFS? Can I
actually replace a Raid 5 setup with a ZFS settup and have the same data
security if drives fail?'

Cheers,
Andy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


FreeBSD and large harddrives

2010-11-18 Thread Andy Wodfer
Hi,
I'm going to build a server that's intended to store uncompressed videofiles
(where 1 hour film equals about 500GB). I plan on using Western Digital 2TB
or 3TB SATA harddrives.  Total storage in version 1 of this server will
probably be 8-12 TB. Harddrive speed is not so important so a 5400rpm drive
would be OK. Seems like the green line of WD harddrives use both 5400rpm and
7200rpm. I will use RAID 5.

The processor will be a 64bit capable Intel processor and I plan on using a
Highpoint Rocketraid or 3ware Raid controller.

So now my questions:

1. Which FreeBSD version should I install? (it must support large drives).
I'm currently using the standard FreeBSD 8.1 (STABLE) on several servers,
but this is a 32bit version, right? I suppose I need a 64bit version when I
use large harddrives?

2. I know that the 3ware Raid controller supports larger drives than 2TB (or
was it 1TB?). The Highpoint controller I'm not so sure of, but I've had good
experience with these on a few Windows servers and on one FreeBSD server. My
setup would be to use the entire disk for both operating system and
filestorage (in version 1). How can I create this huge partition/slice? I
don't think the installer (atleast on the standard FreeBSD version) supports
these large drives?

Thanks for your help. I might have follow-up questions as my project make
progress.

Best,
Andy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD and large harddrives

2010-11-18 Thread Andy Wodfer
 [snip]

  1. Which FreeBSD version should I install? (it must support large
 drives).
  I'm currently using the standard FreeBSD 8.1 (STABLE) on several servers,
  but this is a 32bit version, right? I suppose I need a 64bit version when
 I
  use large harddrives?

 Freebsd has been 64 bit for a long time. It supports multiple
 architectures. You want amd64 (yes, even on an intel 64bit)


Thanks! I didn't know I could use amd64 on Intel servers. Then my next
questions will be: How about the ports collection - does the 64bit version
have most of the ports? I need ffmpeg, php, apache, mysql, imagemagick,
ghostscript, exiftools and a few more small ones.


 
  2. I know that the 3ware Raid controller supports larger drives than 2TB
 (or
  was it 1TB?). The Highpoint controller I'm not so sure of, but I've had
 good
  experience with these on a few Windows servers and on one FreeBSD server.
 My
  setup would be to use the entire disk for both operating system and
  filestorage (in version 1). How can I create this huge partition/slice? I
  don't think the installer (atleast on the standard FreeBSD version)
 supports
  these large drives?
 

 You can use vinum or ZFS.

Excellent. I'm using ZFS on a FreeNAS installation. Is ZFS still considered
experimental on FreeBSD or is it now production ready? What tool or command
is used to partition/format/create a large ZFS drive?

Thanks and best regards,
Andy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Undefined symbol php_pcre_exec

2010-10-29 Thread Andy Wodfer
Hi FreeBSD-Questions-readers,
This question is not exactly FreeBSD, but since I'm running FreeBSD 8.0
RELEASE on this server I was hoping this community would be able to give me
some help.

I'm trying to install the latest version (3.8.2144) of ResourceSpace (
http://www.resourcespace.org/ - open source digital assets management)  on a
FreeBSD 8.0 server running the latetst version of Apache 2.2.16, PHP5.3.3
and mysql 5.1.45.

On the first installation html page (/pages/setup.php) I fill inn all the
fields (database user, name, host and path to binaries etc) and click Begin
installation. This is as far as I get.

In Firefox I get a download window asking me to save or open setup.php, in
Safari I get an error message and in IE I get IE cannot display this page
error.

So I begin to dig... Tried several databases/user/passwords, with or without
paths to binaries, but still the same problem. So I check my http error log
and I notice that every time I click Begin installation I get a line with
this in my logfile:

My http error log shows this line every time I click Begin installation:
/libexec/ld-elf.so.1: /usr/local/lib/php/20090626/filter.so: Undefined
symbol php_pcre_exec

So I thought maybe my PHP installation is broken or I have missed some
modules. Tried reinstalling (with make rmconfig first), I even installed all
modules and did the same with Apache - several times. Problem still there.

So I start search for an answer and a Google search comes up with a
reference to /usr/ports/UPDATING where it says something like php_pcre is
from version 5.x now a part of the php core and can't be installed alone as
an
additional package to PHP. Could this have anything to do with my problems?

I'm running out of ideas here and I was hoping someone could help me out or
give me some pointers..

Thanks a lot!

Best regards,
Andy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Undefined symbol php_pcre_exec

2010-10-29 Thread Andy Wodfer
On Fri, Oct 29, 2010 at 8:17 PM, Armin Pirkovitsch ar...@frozen-zone.orgwrote:

 I'd try
 `pkg_info -W /usr/local/lib/php/20090626/filter.so`
 to determine which port is responsible for that file - however it sounds
 imho quiet old. (I'd say it comes from security/php5-filter)

 My guess would be that it is a leftover from some older not properly
 removed library/program which now causes problems.


You were right!!! Thanks a lot!!!

I had version 5.3.2 on my system and the latest version in my ports was
5.3.3. An upgrade too care of the problem. Now I'm heading forward to fight
new problems (or challenges if you like)! ;-)

Thanks again and best regards,

Andy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Resin 3.1.9, Apache 2.2.16 and mod_caucho?

2010-10-20 Thread Andy Wodfer
Got mod_caucho.so installed. The makefile only refers to Apache 20 while I am 
running 22. I changed the path in the Makefile to /usr/ports/www/apache22 and 
the compile arg to yes and it installed fine. Will test now.

Cheers,
Andy

---
Mvh/Rgds,
Andreas Wideroe andr...@wideroe.net


Den 14. okt. 2010 kl. 21:20 skrev Andy Wodfer wod...@gmail.com:

 On Thu, Oct 14, 2010 at 7:56 PM, Michael Powell nightre...@hotmail.com 
 wrote:
 Christer Solskogen wrote:
 
 [snip]
   Both Apache (port 80) and Resin3.1 (port 8080) runs fine alone.
  
 
  You probably have that module already installed. It comes with
  www/resin3 according to the Makefile.
 
 
  Don't think so. locate (updated) and find only shows these:
 
  ./tmp/caucho
  ./usr/local/resin3/webapps/resin-doc/WEB-INF/classes/com/caucho
  ./usr/local/resin3/webapps/resin-doc/WEB-INF/xsl/caucho
  ./usr/local/resin3/webapps/resin-doc/examples/amber-basic/WEB-
 INF/classes/com/caucho
 
 
  You might need to have apache[2|22] installed first.
 
 
 
 You do need Apache installed first as apxs is used to build the mod_caucho
 module. Install Apache by the ports system as you normally would. See the
 'Compiling mod_caucho.so' section here:
 
 http://www.caucho.com/resin-3.1/doc/install-apache.xtp
 
 If the configure script doesn't/can't find apxs automagically use the CLI
 switch and provide it with the location. It should be able to find it.
 
 Then config resin.conf and httpd.conf accordingly.
 
 Thanks Mike!
 
 Will try that and report back.
 
 Cheers,
 Andy 
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Resin 3.1.9, Apache 2.2.16 and mod_caucho?

2010-10-14 Thread Andy Wodfer
Hi,
I'm trying to install Resin together with Apache and according to all
documentation I can find I'm supposed to compile the mod_caucho and include
this in the Apache httpd.conf,  but I can't find any reference to mod_caucho
in my ports, system or compile options.

Is the documentation outdated or can anyone give me some pointers as to how
I can make requests to Java sites go through Apache (using virtual hosts)?
Ie. http://caucho.com/resin-3.1/doc/install-apache.xtp

Both Apache (port 80) and Resin3.1 (port 8080) runs fine alone.

uname -a
FreeBSD domain.domain.net 8.0-RELEASE-p4 FreeBSD 8.0-RELEASE-p4 #0: Mon Jul
12 20:22:27 UTC 2010
r...@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC
i386

Cheers,
Andreas
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Resin 3.1.9, Apache 2.2.16 and mod_caucho?

2010-10-14 Thread Andy Wodfer
On Thu, Oct 14, 2010 at 1:06 PM, Christer Solskogen 
christer.solsko...@gmail.com wrote:

 On Thu, Oct 14, 2010 at 10:16 AM, Andy Wodfer wod...@gmail.com wrote:
  Hi,
  I'm trying to install Resin together with Apache and according to all
  documentation I can find I'm supposed to compile the mod_caucho and
 include
  this in the Apache httpd.conf,  but I can't find any reference to
 mod_caucho
  in my ports, system or compile options.
 
  Is the documentation outdated or can anyone give me some pointers as to
 how
  I can make requests to Java sites go through Apache (using virtual
 hosts)?
  Ie. http://caucho.com/resin-3.1/doc/install-apache.xtp
 
  Both Apache (port 80) and Resin3.1 (port 8080) runs fine alone.
 

 You probably have that module already installed. It comes with
 www/resin3 according to the Makefile.


Don't think so. locate (updated) and find only shows these:

./tmp/caucho
./usr/local/resin3/webapps/resin-doc/WEB-INF/classes/com/caucho
./usr/local/resin3/webapps/resin-doc/WEB-INF/xsl/caucho
./usr/local/resin3/webapps/resin-doc/examples/amber-basic/WEB-INF/classes/com/caucho

/Andy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Resin 3.1.9, Apache 2.2.16 and mod_caucho?

2010-10-14 Thread Andy Wodfer
On Thu, Oct 14, 2010 at 6:11 PM, Christer Solskogen 
christer.solsko...@gmail.com wrote:

   Both Apache (port 80) and Resin3.1 (port 8080) runs fine alone.


 You might need to have apache[2|22] installed first.


Apache was installed first.

/Andy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: [SOLVED] Trouble enabling GD in php/apache

2010-09-26 Thread Andy Wodfer
On Fri, Sep 24, 2010 at 1:52 PM, Andy Wodfer wod...@gmail.com wrote:

 I'm running FreeBSD 8.0 RELEASE.

 I can't get GD enabled. I have installed latestes php5 from ports aswell as
 php5-extensions and enabled GD on the option screen:

 cd /usr/ports/lang/php5
 make deinstall
 make clean
 make rmconfig
 make install clean

 cd /usr/ports/lang/php5-extensions
 make deinstall
 make clean
 make rmconfig
 make install clean

 I'm running the latest Apache 2.2.x version and GD 2.0.35.

 I'm currently doing a portupgrade -a to see if that helps, but I think not.

 What's the correct way of getting GD to work on Ie. a webshop (opencart)?

 Thanks for all help!

 Cheers,
 Andy


I solved my problem by manually deleting /usr/local/lib/php/20090626/gd.so
and reinstalling the php5-extensions.

/Andreas
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Trouble enabling GD in php/apache

2010-09-24 Thread Andy Wodfer
I'm running FreeBSD 8.0 RELEASE.

I can't get GD enabled. I have installed latestes php5 from ports aswell as
php5-extensions and enabled GD on the option screen:

cd /usr/ports/lang/php5
make deinstall
make clean
make rmconfig
make install clean

cd /usr/ports/lang/php5-extensions
make deinstall
make clean
make rmconfig
make install clean

I'm running the latest Apache 2.2.x version and GD 2.0.35.

I'm currently doing a portupgrade -a to see if that helps, but I think not.

What's the correct way of getting GD to work on Ie. a webshop (opencart)?

Thanks for all help!

Cheers,
Andy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Problem adding 1TB SATA disk to system

2010-09-24 Thread Andy Wodfer
On Sun, Sep 19, 2010 at 6:13 PM, freebsd-questions 
freebsd-questions@freebsd.org wrote:

 Dear Sir/Madam,

 Your email was unable reach the intended person that you were sending it
 to.
 For more information on our business please click on the following link:
 Click here for our website http://www.xpbargains.net
 We look forward to your continued business in the future.

 Regards,
 Webmaster

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


Re: Problem adding 1TB SATA disk to system

2010-09-24 Thread Andy Wodfer
On Thu, Sep 16, 2010 at 6:17 PM, Michael Powell nightre...@hotmail.comwrote:

 Andy Wodfer wrote:

  I'm running FreeBSD 8.0 release (will upgrade to 8.1 STABLE tonight).
  However, I'm having big problems adding a new harddrive to the system. I
  want a separate 1TB SATA installed to recover backup files on, but when I
  add it I only get error messages:
 
  dmesg:
 
  ad2: 953869MB WDC WD1000FYPS-01ZKB0 02.01B01 at ata1-master SATA300
  GEOM: ad2: corrupt or invalid GPT detected.
  GEOM: ad2: GPT rejected -- may not be recoverable.
  GEOM: ufsid/4c80e66f50f43e15: corrupt or invalid GPT detected.
  GEOM: ufsid/4c80e66f50f43e15: GPT rejected -- may not be recoverable.
 
  I've tried label and fdisk, but I can't get it to work.
 
 [snip]

 I do not believe you can utilize fdisk and label for this. Since it appears
 there may be a possibility of a garbage MBR present this will wipe it:

 Boot a LiveFS CD, then at a root prompt do:

 sysctl kern.geom.debugflags=16  and:

 dd if=/dev/zero of=/dev/adx oseek=1 bs=512 count=1

 where x equals your drive number. This will zero out any old MBR.

 You will need to set this up with gpart instead of fdisk. More details in
 man gpart and possibly glabel. The devil is in the details, but this may be
 enough to get you pointed down the road.


I couldn't get it to work. My solution was to remove the 1TB drive and
install 2x500GB drives in a small RAID instead. Made life so much easier.
:-)

Cheers,
Andy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Trouble enabling GD in php/apache

2010-09-24 Thread Andy Wodfer

 [snip]
 I had to install a new server and was surprised the extensions never
 loaded. However I knew from other installations that for example the gd
 extension should be in extensions.ini - I looked in there and it was
 absent. So what I had to do is to search for it. Before I did that, I
 had to run locate.updatedb as root. This showed gd.so to be in
 /usr/local/ports/graphics/php5-gd/work/php-5.3.3/ext/gd/modules/gd.so

 I copied that into /usr/local/lib/php/20090626/ and edited
 /usr/local/etc/php/extensions.ini with a line of extension=gd.so

 I had to do this with everything selected in php5-extensions, and then
 restart the webserver.


Hi John,
thanks for your input. In my case both extension.ini (gd.so line) and gd.so
in the /usr/local/lib/php/20090626 are present.

Any other ideas?

cheers,
Andy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Trouble enabling GD in php/apache

2010-09-24 Thread Andy Wodfer
_SERVER[SERVER_NAME]test.domain.no
_SERVER[SERVER_ADDR]IP.IP.IP.IP
_SERVER[SERVER_PORT]80
_SERVER[REMOTE_ADDR]91.149.50.4
_SERVER[DOCUMENT_ROOT]/usr/local/www/virtual/domain.no/test
_SERVER[SERVER_ADMIN]andr...@domain.no
_SERVER[SCRIPT_FILENAME]/usr/local/www/virtual/domain.no/test/test.php
_SERVER[REMOTE_PORT]1057
_SERVER[GATEWAY_INTERFACE]CGI/1.1
_SERVER[SERVER_PROTOCOL]HTTP/1.1
_SERVER[REQUEST_METHOD]GET
_SERVER[QUERY_STRING]no value
_SERVER[REQUEST_URI]/test.php
_SERVER[SCRIPT_NAME]/test.php
_SERVER[PHP_SELF]/test.php
_SERVER[REQUEST_TIME]1285349597

PHP License

This program is free software; you can redistribute it and/or modify it
under the terms of the PHP License as published by the PHP Group and
included in the distribution in the file: LICENSE

This program is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.

If you did not receive a copy of the PHP license, or have any questions
about PHP licensing, please contact lice...@php.net.


/Andy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Problem adding 1TB SATA disk to system

2010-09-16 Thread Andy Wodfer
Hi all,

I'm running FreeBSD 8.0 release (will upgrade to 8.1 STABLE tonight).
However, I'm having big problems adding a new harddrive to the system. I
want a separate 1TB SATA installed to recover backup files on, but when I
add it I only get error messages:

dmesg:

ad2: 953869MB WDC WD1000FYPS-01ZKB0 02.01B01 at ata1-master SATA300
GEOM: ad2: corrupt or invalid GPT detected.
GEOM: ad2: GPT rejected -- may not be recoverable.
GEOM: ufsid/4c80e66f50f43e15: corrupt or invalid GPT detected.
GEOM: ufsid/4c80e66f50f43e15: GPT rejected -- may not be recoverable.

I've tried label and fdisk, but I can't get it to work.

Fdisk:

WARNING:  It is safe to use a geometry of 1938021/16/63 for ad2 on │
│ computers with modern BIOS versions.  If this disk is
to be used   │
│ on an old machine it is recommended that it does not
have more │
│ than 65535 cylinders, more than 255 heads, or more
than│
│ 63 sectors per
track.  │

││
│ Would you like to keep using the current geometry?

Yes ... but it doesn't work. The computer hardware was bought new about 7
months ago and the mainboard is an intel server board.


Can someone help me get this disk up and running (if possible?)?

Thanks!

Best regards,
Andy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Lingua franca file system Linux-NetBSD-FreeBSD?

2010-08-25 Thread Andy Ruhl
2010/8/25 Thomas Mueller mueller6...@bellsouth.net:
 From Andy Ruhl acr...@gmail.com:

 I thought UDF was supposed to be the solution to all of this. A friend
 of mine had a USB external hard disk formatted with UDF and it worked
 fine with both Linux and Windows. I think it's not as common for
 formatting magnetic disk based filesystems as it probably should be
 though. It's mostly used for DVDs.

 I've heard of UDF, recognized it as a file system for DVDs, can't find it 
 specifically on my system but find two DVD-related packages.

 /var/log/packages/dvd+rw-tools-7.1-i486-1
 /var/log/packages/libdvdread-4.1.3-i486-1

$ uname
NetBSD
$ which newfs_udf
/sbin/newfs_udf

http://en.wikipedia.org/wiki/UDF_File_System

It appears that NetBSD, Mac OSX, Linux (later 2.6) and Windows (later
versions) support it the best. FreeBSD and OpenBSD, AIX and Solaris
claim some level of support for it as well.

Unless you're using FAT32 or a network CIFS, it appears to be the best
supported filesystem to me, given that you are using the proper
version of UDF.

I'm guessing a Windows partition layout would be most compatible as
well on a magnetic disk. Also note that UDF claims to be able to write
and rewrite files directly to RW optical media.

I've never used it much in practice though.

Andy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: BSD logo

2010-07-27 Thread Andy Balholm
Chad Perrin wrote:
 Andy Balholm wrote:
 although the UNIX term daemon is not satanic in origin, some aspects
 of Beastie's appearance are obviously derived from traditional
 depictions of the Devil. 
 
 Really?  Are you sure they weren't derived from something else -- perhaps
 a source in common for the traditional depictions of the devil?  There
 may be a common source for both, rather than one being the source of the
 other.  Correlation does not imply causation.  Did you ask the original
 Beastie artist for confirmation that he was consciously emulating images
 of the Christian devil, or did you just jump to a conclusion like the OP?

I jumped to a conclusion, but I'll stand by it until someone shows me the 
ancient common source. I don't recall anything that looks much like Beastie in 
Greek art.

When someone in the modern western culture decides to draw a daemon and it 
comes out looking like a demon, the most plausible explanation is that he was 
influenced—consciously or unconsciously—by this culture's traditional way of 
depicting demons. In fact, not being influenced by that tradition would take a 
conscious effort. So I find that far more likely than an obscure common source.

Note that I am not attributing the resemblance to any fiendish motives. I 
expect the artist just found the pun too good to pass up. I'll CC him in case 
he wants to comment on his sources, since you think he should be asked.

Andy Balholm
(509) 276-2065
a...@balholm.com

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


Re: BSD logo

2010-07-27 Thread Andy Balholm

On Jul 27, 2010, at 9:02 AM, Kruppa, Peter Ulrich wrote:

 Am 27.07.2010 17:23, schrieb Andy Balholm:
 Chad Perrin wrote:
   
 Andy Balholm wrote:
 
 although the UNIX term daemon is not satanic in origin, some aspects
 of Beastie's appearance are obviously derived from traditional
 depictions of the Devil.
   
 Really?  Are you sure they weren't derived from something else -- perhaps
 a source in common for the traditional depictions of the devil?  There
 may be a common source for both, rather than one being the source of the
 other.  Correlation does not imply causation.  Did you ask the original
 Beastie artist for confirmation that he was consciously emulating images
 of the Christian devil, or did you just jump to a conclusion like the OP?
 
 I jumped to a conclusion, but I'll stand by it until someone shows me the 
 ancient common source. I don't recall anything that looks much like Beastie 
 in Greek art.
   
 Perhaps there are some ancient depictions/sculptures of the greek god Pan 
 (god of the shepherds) around? Pan partially resembles a goat.

The BSD daemon doesn't look like a goat (or Pan) at all. Maybe he has cloven 
hooves inside those tennis shoes; I don't know. But Pan could certainly have 
had some influence on how the Devil was traditionally drawn.

My point wasn't that there is no earlier source that traditional depictions of 
the Devil draw on. They aren't based on anything in the Bible, so it seems 
quite likely that there is. I was just saying that the BSD daemon is not 
derived from that ancient source _independently_; its immediate source is 
almost certainly the traditional depictions of demons.

Andy Balholm
(509) 276-2065
a...@balholm.com

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


Re: BSD logo

2010-07-26 Thread Andy Balholm
David Brodbeck wrote: 
 It also hasn't escaped my notice that the original poster has never come back 
 to this thread; I suspect we've been trolled, folks.

That's possible. It's also possible that, after reading the responses to his 
inquiry, the original poster decided that his question had been adequately 
answered, his concerns were justified, and he should use a different operating 
system. If so, I can hardly blame him, even though I personally feel that 
boycotting BSD because of its mascot doesn't fit very well with the apostle 
Paul's advice to the Corinthian Christians that it was OK for them to buy from 
butchers who sacrifice to daemons (my own translation of δαιμονίοις θύει in 
1 Corinthians 10:20).

The original post looks to me like an expression of sincere concern about BSD's 
image, not an accusation of satanism or an attempt to start an argument. I 
wouldn't call his concern ignorant either: although the UNIX term daemon is 
not satanic in origin, some aspects of Beastie's appearance are obviously 
derived from traditional depictions of the Devil. 

Andy Balholm
(509) 276-2065
a...@balholm.com

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


Re: 'file' Command Giving False Positives

2010-07-03 Thread Andy Balholm
One thing I noticed about the file command's output might be useful:

For the file in question, it says MS-DOS executable (built-in)

For real Windows programs, it gives more information. One that I tried said 
PE32 executable for MS Windows (GUI) Intel 80386 32-bit. I remember that some 
others have said COFF instead of PE32. So maybe you could just assume that 
unless the file command is able to figure out what _kind_ of executable the 
file is, it's a false positive. It depends how likely you are to run into a 
really ancient DOS program (which would probably just get the generic 
description).___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


X not responding

2010-06-22 Thread Andy Balholm
I am having a problem with Xorg under FreeBSD 8.0 RELEASE and 8.1 RC1:

When I type startx, the X server starts, and some xterm windows open, but it 
will not respond to keyboard or mouse input. The mouse pointer won't move, and 
the only keyboard input that does anything is CTRL-ALT-F1 etc. to switch 
virtual terminals.

If I install FreeBSD 7.1, which installs Xorg straight from the installation 
CD, it works fine. Under version 8, I've tried installing from ports and 
packages, and I get this problem.

When I first had this problem, I was running it under VirtualBox, so I thought 
maybe it was because VirtualBox's FreeBSD support is incomplete. But now I've 
tried it on real PC hardware, and I have the same problem.

Obviously some people must be running X under FreeBSD 8, so I must be doing 
something wrong in my installation or configuration, but I can't guess what it 
is.

Andy Balholm
(509) 276-2065
a...@balholm.com

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


Re: X not responding

2010-06-22 Thread Andy Balholm
Thanks. That fixed it. I guess I should have read the handbook more.

Andy Balholm
(509) 276-2065
a...@balholm.com

On Jun 22, 2010, at 12:46 PM, Warren Block wrote:

 On Tue, 22 Jun 2010, Andy Balholm wrote:
 
 I am having a problem with Xorg under FreeBSD 8.0 RELEASE and 8.1 RC1:
 
 When I type startx, the X server starts, and some xterm windows open, but it 
 will not respond to keyboard or mouse input. The mouse pointer won't move, 
 and the only keyboard input that does anything is CTRL-ALT-F1 etc. to switch 
 virtual terminals.
 
 Enable dbus and hal in rc.conf as shown here:
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html
 
 If you want to use X without hal for input device detection, add
 Option AutoAddDevices Off to the ServerLayout section.  Do not set the 
 AllowEmptyInput option, it is unnecessary and problematic.  Or you can 
 configure the xorg-server port without hal.
 

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


WFRG Personal Use Policy

2010-06-08 Thread Andy Gallo
Personal Use Program

Here's how it works...

WFRG loves wood flooring. We develop many unique wood flooring products, 
several of which have become our personal favorites. We are so excited about 
these favorites that we would like to share them with you. And what better way 
to do so than to offer them to you for your personal use at discounted prices? 

Here's how our Personal Use program works: 

Note: This program is available only to Registered WFRG Design Professionals. 

Personal use means flooring that is going to be installed into the residence in 
which you live; it is NOT flooring being installed anywhere else or being 
resold. At the time of order we will ask that you attest to this and also 
request that you e-mail us a photo of the installation once completed. 
Itrsquo;s a great way to share our excitement!


Click here for FREE Architectural Folder



Dear design professional,
If you are receiving this email, then you are on the Wood Floor Resource 
Group's mailing list.
We know that for some, mailing list is a bad word that implies spam, junk 
mail, and other inconveniences.
We consider having your name on our list a privilege which we will work to 
preserve by not abusing it!
While we seek to educate and inform, lest anyone forget, we are in the business 
of selling wood flooring!  If you have a need for wood flooring for your 
projects, please visit our website at www.woodfloorrg.com or simply pick up the 
phone and call us at 609.589.3100 x149.


Just a few Personal Use Flooring Products discounted below $2.00 Square Foot:

Bubinga 

Afrormosia

Shedua










Click here for complete list





More Flooring Available 
-Handscraped 

-Prefinished Solids

-FSC Exotic engineered

-Recycled Domestic engineered

Click here for complete list


Sent By:
Wood Floor Resource Group 
115 Twinbridge Drive
Pennsauken NJ  08110 
USA

To view as a web page press on or copy this link into your browsers address bar 
https://www.SwiftPage3.com/speasapage.aspx?X=2V0WBIJIHVFHUH3K000SX6

If you prefer not to receive future e-mails of this type, please copy to your 
browser or press on this link
 
http://www.SwiftPage3.com/SpeSupIt.aspx?X=2V0WBIJIHVFHUH3K000SX6Addr=freebsd-questions~~2freebsd.org;
 to unsubscribe.

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


WFRG Personal Use Policy

2010-06-08 Thread Andy Gallo
Personal Use Program

Here's how it works...

WFRG loves wood flooring. We develop many unique wood flooring products, 
several of which have become our personal favorites. We are so excited about 
these favorites that we would like to share them with you. And what better way 
to do so than to offer them to you for your personal use at discounted prices? 

Here's how our Personal Use program works: 

Note: This program is available only to Registered WFRG Design Professionals. 

Personal use means flooring that is going to be installed into the residence in 
which you live; it is NOT flooring being installed anywhere else or being 
resold. At the time of order we will ask that you attest to this and also 
request that you e-mail us a photo of the installation once completed. 
Itrsquo;s a great way to share our excitement!


Click here for FREE Architectural Folder



Dear design professional,
If you are receiving this email, then you are on the Wood Floor Resource 
Group's mailing list.
We know that for some, mailing list is a bad word that implies spam, junk 
mail, and other inconveniences.
We consider having your name on our list a privilege which we will work to 
preserve by not abusing it!
While we seek to educate and inform, lest anyone forget, we are in the business 
of selling wood flooring!  If you have a need for wood flooring for your 
projects, please visit our website at www.woodfloorrg.com or simply pick up the 
phone and call us at 609.589.3100 x149.


Just a few Personal Use Flooring Products discounted below $2.00 Square Foot:

Bubinga 

Afrormosia

Shedua










Click here for complete list





More Flooring Available 
-Handscraped 

-Prefinished Solids

-FSC Exotic engineered

-Recycled Domestic engineered

Click here for complete list


Sent By:
Wood Floor Resource Group 
115 Twinbridge Drive
Pennsauken NJ  08110 
USA

To view as a web page press on or copy this link into your browsers address bar 
https://www.SwiftPage3.com/speasapage.aspx?X=2V0WBIJIHVFHUH3K00W4WA

If you prefer not to receive future e-mails of this type, please copy to your 
browser or press on this link
 
http://www.SwiftPage3.com/SpeSupIt.aspx?X=2V0WBIJIHVFHUH3K00W4WAAddr=questions~~2freebsd.org;
 to unsubscribe.

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


UPGRADE TO RELEASE 8.0-P3/SAMBA HELP REQUIRED

2010-06-03 Thread Andy Hiscock
After being advised to upgrade after a freebsd-update I have successfully 
upgraded from 7.2 to 8.0-p3. OK but have come across a major problem for me.

OK time for a BIG rant this has been going on for 2 days (very sorry)

After the install of the new kernel Samba isn't working.   I TTL's onto the 
server and tried a testparm but the error messages suggest I have dependancies 
missing?! - surely this should be taken into account when upgrading versions - 
Major schoolboy error on FreeBSD when Linux can do this basic task seamlessly!

OK I try sysinstall and find SAMBA isn't marked as installed.  I select samba 
for install but when installing SAMBA get a error code -1 (WTF is that all 
about REALLY USEFUL error message mate!)

Looked on google and keeps referring to PORTS being installed.  Tried the 
examples of how to install SAMBA but get loads of failed command line 
instructions - Doesn't say anything about installing PORTS during initial 
installation.  So I guess you can say I don't have Ports installed - why 
isn't this done automatically if its absolutely so critical for the OS to 
function right?  Error messages that mean nothing to the every day user.   
Apparently I am meant to have something called PORTS installed before I've even 
setup the server.  Im really beginning to lose my rag with this OS.  Is it 
meant for gurus only?

So what am I meant to do now.  Now I have XXX GB of data I cant access though 
SAMBA prior to the install?



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


Re: UPGRADE TO RELEASE 8.0-P3/SAMBA HELP REQUIRED

2010-06-03 Thread Andy Hiscock
Again Ports?   What is that about...  I've run the server and upgraded from 
7.0-7,2 with no problem or need to change any config files before.  Its 
upgraded with no problem before.

How do I install Ports?  How do I reinstall Samba without getting a error -1 
in sysinstall?




From: David Allen the.real.david.al...@gmail.com
To: Andy Hiscock andyjhisc...@yahoo.com
Cc: freebsd-questions@freebsd.org
Sent: Thu, 3 June, 2010 21:15:55
Subject: Re: UPGRADE TO RELEASE 8.0-P3/SAMBA HELP REQUIRED

On 6/3/10, Andy Hiscock andyjhisc...@yahoo.com wrote:
 After being advised to upgrade after a freebsd-update I have successfully
 upgraded from 7.2 to 8.0-p3. OK but have come across a major problem for me.

 OK time for a BIG rant this has been going on for 2 days (very sorry)

 After the install of the new kernel Samba isn't working.   I TTL's onto the
 server and tried a testparm but the error messages suggest I have
 dependancies missing?! - surely this should be taken into account when
 upgrading versions - Major schoolboy error on FreeBSD when Linux can do this
 basic task seamlessly!

[snip rest of useless rant]

Never come across this myself til now, but it seems there's a problem
in ports that touches Samba.  Probably related to your Samba install
complaining. From a ports tree updated just a while ago:

bash3-3.2.51 Dependency: gettext-0.17_1
gettext-0.17_1 Information for gettext-0.17_1:
lynx-2.8.7.1_1,1 Dependency: gettext-0.18_1
mutt-devel-1.5.20_5 Dependency: gettext-0.18_1
popt-1.14_1 Dependency: gettext-0.18_1
samba34-3.4.5_1 Dependency: gettext-0.18_1
wget-1.12_1 Dependency: gettext-0.18_1

I guess it's a choice between bash working, or everything else working.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org




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


Re: UPGRADE TO RELEASE 8.0-P3/SAMBA HELP REQUIRED

2010-06-03 Thread Andy Hiscock
Why during the upgrade process the inspecting system shouldnt be able to find 
and identify and prepair everything that needs to be upgraded and reconfigured 
accordingly.  Surely thats what Inspecting system is meant to be doing.  No 
matter if it is FreeBSD 1.0 or the prior version to the upgrade




From: Andy Hiscock andyjhisc...@yahoo.com
To: David Allen the.real.david.al...@gmail.com
Cc: freebsd-questions@freebsd.org
Sent: Thu, 3 June, 2010 21:21:29
Subject: Re: UPGRADE TO RELEASE 8.0-P3/SAMBA HELP REQUIRED

Again Ports?   What is that about...  I've run the server and upgraded from 
7.0-7,2 with no problem or need to change any config files before.  Its 
upgraded with no problem before.

How do I install Ports?  How do I reinstall Samba without getting a error -1 
in sysinstall?




From: David Allen the.real.david.al...@gmail.com
To: Andy Hiscock andyjhisc...@yahoo.com
Cc: freebsd-questions@freebsd.org
Sent: Thu, 3 June, 2010 21:15:55
Subject: Re: UPGRADE TO RELEASE 8.0-P3/SAMBA HELP REQUIRED

On 6/3/10, Andy Hiscock andyjhisc...@yahoo.com wrote:
 After being advised to upgrade after a freebsd-update I have successfully
 upgraded from 7.2 to 8.0-p3. OK but have come across a major problem for me.

 OK time for a BIG rant this has been going on for 2 days (very sorry)

 After the install of the new kernel Samba isn't working.   I TTL's onto the
 server and tried a testparm but the error messages suggest I have
 dependancies missing?! - surely this should be taken into account when
 upgrading versions - Major schoolboy error on FreeBSD when Linux can do this
 basic task seamlessly!

[snip rest of useless rant]

Never come across this myself til now, but it seems there's a problem
in ports that touches Samba.  Probably related to your Samba install
complaining. From a ports tree updated just a while ago:

bash3-3.2.51 Dependency: gettext-0.17_1
gettext-0.17_1 Information for gettext-0.17_1:
lynx-2.8.7.1_1,1 Dependency: gettext-0.18_1
mutt-devel-1.5.20_5 Dependency: gettext-0.18_1
popt-1.14_1 Dependency: gettext-0.18_1
samba34-3.4.5_1 Dependency: gettext-0.18_1
wget-1.12_1 Dependency: gettext-0.18_1

I guess it's a choice between bash working, or everything else working.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org




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




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


Re: UPGRADE TO RELEASE 8.0-P3/SAMBA HELP REQUIRED

2010-06-03 Thread Andy Hiscock
ok so then running testparm i'm getting

leopard# testparm
/libexec/ld-elf.so.1: Shared object libcrypt.so.4 not found, required by 
testparm
leopard# 





From: Polytropon free...@edvax.de
To: Andy Hiscock andyjhisc...@yahoo.com
Cc: freebsd-questions@freebsd.org
Sent: Thu, 3 June, 2010 21:27:33
Subject: Re: UPGRADE TO RELEASE 8.0-P3/SAMBA HELP REQUIRED

Re-including the list...

On Thu, 3 Jun 2010 20:14:03 + (GMT), Andy Hiscock andyjhisc...@yahoo.com 
wrote:
 Right how can I uninstall back to 7.2?

Well... I have to admit that I've never done that. Basically,
it should be possible if you install the sources of 7.2 (e. g.
from the CD) to overwrite /usr/src. Then you basically do what
the Handbook says about upgrading from source, or, to quote
from /usr/src/Makefile (worth reading its beginning):

#  1.  `cd /usr/src'   (or to the directory containing your source tree).
#  2.  `make buildworld'
#  3.  `make buildkernel KERNCONF=YOUR_KERNEL_HERE' (default is GENERIC).
#  4.  `make installkernel KERNCONF=YOUR_KERNEL_HERE'   (default is GENERIC).
#   [steps 3.  4. can be combined by using the kernel target]
#  5.  `reboot'(in single user mode: boot -s from the loader prompt).
#  6.  `mergemaster -p'
#  7.  `make installworld'
#  8.  `make delete-old'
#  9.  `mergemaster' (you may wish to use -U or -ai).
# 10.  `reboot'
# 11.  `make delete-old-libs' (in case no 3rd party program uses them anymore)

This should then give you the 7.2 version of FreeBSD back - removing
everything that freebsd-update might have updated.



I am not sure if you can use freebsd-update for this task (but I
don't see why it should not be possible); in this case, refer to
man freebsd-update, especially the -r parameter (new release).



Maybe a third possibility is to install FreeBSD 7.2 from the
CD (I just assume you installed from CD or have the CD there),
without any formatting, just overwriting. But this may be
problematic - MAY, I'm not sure.



Sorry, I'm really lacking experience in downgrading a system, as
I have never done this, so I sadly can't be more specific. Maybe
somebody on-list can be more precise (that's why I took the freedom
to re-include the list, hope that's okay).



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...




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


Re: UPGRADE TO RELEASE 8.0-P3/SAMBA HELP REQUIRED

2010-06-03 Thread Andy Hiscock
Anyone want to log on to my server and investigate/correct?




From: Andy Hiscock andyjhisc...@yahoo.com
To: freebsd-questions@freebsd.org
Sent: Thu, 3 June, 2010 21:29:28
Subject: Re: UPGRADE TO RELEASE 8.0-P3/SAMBA HELP REQUIRED

Why during the upgrade process the inspecting system shouldnt be able to find 
and identify and prepair everything that needs to be upgraded and reconfigured 
accordingly.  Surely thats what Inspecting system is meant to be doing.  No 
matter if it is FreeBSD 1.0 or the prior version to the upgrade




From: Andy Hiscock andyjhisc...@yahoo.com
To: David Allen the.real.david.al...@gmail.com
Cc: freebsd-questions@freebsd.org
Sent: Thu, 3 June, 2010 21:21:29
Subject: Re: UPGRADE TO RELEASE 8.0-P3/SAMBA HELP REQUIRED

Again Ports?   What is that about...  I've run the server and upgraded from 
7.0-7,2 with no problem or need to change any config files before.  Its 
upgraded with no problem before.

How do I install Ports?  How do I reinstall Samba without getting a error -1 
in sysinstall?




From: David Allen the.real.david.al...@gmail.com
To: Andy Hiscock andyjhisc...@yahoo.com
Cc: freebsd-questions@freebsd.org
Sent: Thu, 3 June, 2010 21:15:55
Subject: Re: UPGRADE TO RELEASE 8.0-P3/SAMBA HELP REQUIRED

On 6/3/10, Andy Hiscock andyjhisc...@yahoo.com wrote:
 After being advised to upgrade after a freebsd-update I have successfully
 upgraded from 7.2 to 8.0-p3. OK but have come across a major problem for me.

 OK time for a BIG rant this has been going on for 2 days (very sorry)

 After the install of the new kernel Samba isn't working.   I TTL's onto the
 server and tried a testparm but the error messages suggest I have
 dependancies missing?! - surely this should be taken into account when
 upgrading versions - Major schoolboy error on FreeBSD when Linux can do this
 basic task seamlessly!

[snip rest of useless rant]

Never come across this myself til now, but it seems there's a problem
in ports that touches Samba.  Probably related to your Samba install
complaining. From a ports tree updated just a while ago:

bash3-3.2.51 Dependency: gettext-0.17_1
gettext-0.17_1 Information for gettext-0.17_1:
lynx-2.8.7.1_1,1 Dependency: gettext-0.18_1
mutt-devel-1.5.20_5 Dependency: gettext-0.18_1
popt-1.14_1 Dependency: gettext-0.18_1
samba34-3.4.5_1 Dependency: gettext-0.18_1
wget-1.12_1 Dependency: gettext-0.18_1

I guess it's a choice between bash working, or everything else working.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org




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




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




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


Re: UPGRADE TO RELEASE 8.0-P3/SAMBA HELP REQUIRED

2010-06-03 Thread Andy Hiscock
LOL - now stuck in and endless loop of:

 Message ─┐
  │Unable to get packages/INDEX file from selected media.   

This is like a poorly written shareware app!
  Really getting pissd here!




From: Andy Hiscock andyjhisc...@yahoo.com
To: freebsd-questions@freebsd.org
Sent: Thu, 3 June, 2010 21:43:41
Subject: Re: UPGRADE TO RELEASE 8.0-P3/SAMBA HELP REQUIRED

Anyone want to log on to my server and investigate/correct?




From: Andy Hiscock andyjhisc...@yahoo.com
To: freebsd-questions@freebsd.org
Sent: Thu, 3 June, 2010 21:29:28
Subject: Re: UPGRADE TO RELEASE 8.0-P3/SAMBA HELP REQUIRED

Why during the upgrade process the inspecting system shouldnt be able to find 
and identify and prepair everything that needs to be upgraded and reconfigured 
accordingly.  Surely thats what Inspecting system is meant to be doing.  No 
matter if it is FreeBSD 1.0 or the prior version to the upgrade




From: Andy Hiscock andyjhisc...@yahoo.com
To: David Allen the.real.david.al...@gmail.com
Cc: freebsd-questions@freebsd.org
Sent: Thu, 3 June, 2010 21:21:29
Subject: Re: UPGRADE TO RELEASE 8.0-P3/SAMBA HELP REQUIRED

Again Ports?   What is that about...  I've run the server and upgraded from 
7.0-7,2 with no problem or need to change any config files before.  Its 
upgraded with no problem before.

How do I install Ports?  How do I reinstall Samba without getting a error -1 
in sysinstall?




From: David Allen the.real.david.al...@gmail.com
To: Andy Hiscock andyjhisc...@yahoo.com
Cc: freebsd-questions@freebsd.org
Sent: Thu, 3 June, 2010 21:15:55
Subject: Re: UPGRADE TO RELEASE 8.0-P3/SAMBA HELP REQUIRED

On 6/3/10, Andy Hiscock andyjhisc...@yahoo.com wrote:
 After being advised to upgrade after a freebsd-update I have successfully
 upgraded from 7.2 to 8.0-p3. OK but have come across a major problem for me.

 OK time for a BIG rant this has been going on for 2 days (very sorry)

 After the install of the new kernel Samba isn't working.   I TTL's onto the
 server and tried a testparm but the error messages suggest I have
 dependancies missing?! - surely this should be taken into account when
 upgrading versions - Major schoolboy error on FreeBSD when Linux can do this
 basic task seamlessly!

[snip rest of useless rant]

Never come across this myself til now, but it seems there's a problem
in ports that touches Samba.  Probably related to your Samba install
complaining. From a ports tree updated just a while ago:

bash3-3.2.51 Dependency: gettext-0.17_1
gettext-0.17_1 Information for gettext-0.17_1:
lynx-2.8.7.1_1,1 Dependency: gettext-0.18_1
mutt-devel-1.5.20_5 Dependency: gettext-0.18_1
popt-1.14_1 Dependency: gettext-0.18_1
samba34-3.4.5_1 Dependency: gettext-0.18_1
wget-1.12_1 Dependency: gettext-0.18_1

I guess it's a choice between bash working, or everything else working.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org




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




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




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




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


Re: [#24536008] Re: UPGRADE TO RELEASE 8.0-P3/SAMBA HELP REQUIRED

2010-06-03 Thread Andy Hiscock
Ah seems like FTP as well as Samba is blocked after the upgrade   

I have ran FreeBSD 7 to 7.2 using the freebsd upgrade process painless in the 
past, however.. 

Have followed the instructions for upgrade 7.2 to 8.0-P3 from the FreeBSD 
website.  As I am not a FreeBSD guru all I can say is the update process is NOT 
a smooth process as per EVERY OTHER O/S in the open source market.  I 
appreciate the support you have given but whatever you suggest just doesn't 
work.

I am very angered being lead in to believing freebsd-update will be the able to 
update your OS - this isn't the case.  Does FreeBSD want to be a fanatics 
only OS?  No other OS's seems to have no such problems updating.   I have even 
offered access to my server to sort out the problem but no one has offered.   I 
just get cut/copy emails in reply that doesn't work.  After 5 years of painless 
usage perhaps I ought to look at another better support OS?




From: freebsd-questions@freebsd.org freebsd-questions@freebsd.org
To: Andy Hiscock andyjhisc...@yahoo.com
Sent: Thu, 3 June, 2010 22:02:05
Subject: [#24536008] Re: UPGRADE TO RELEASE 8.0-P3/SAMBA HELP REQUIRED

Hello,

This is an automated response to inform you that your question has been entered 
into our system, and will be reviewed shortly. Your ticket has been submitted 
into the General Support department.

We will respond to you as soon as possible.

==
Please keep this information, and use it when refering to your ticket:

Ticket subject: Re: UPGRADE TO RELEASE 8.0-P3/SAMBA HELP REQUIRED 
Ticket number: 24536008
Ticket link: https://secure.mpcustomer.com/ticket.php?ticket=24536008
Ticket body: LOL - now stuck in and endless loop of:

Message ─┐
  │Unable to get packages/INDEX file from selected media.  

This is like a poorly written shareware app!
  Really getting pissd here!




From: Andy Hiscock andyjhisc...@yahoo.com
To: freebsd-questions@freebsd.org
Sent: Thu, 3 June, 2010 21:43:41
Subject: Re: UPGRADE TO RELEASE 8.0-P3/SAMBA HELP REQUIRED

Anyone want to log on to my server and investigate/correct?




From: Andy Hiscock andyjhisc...@yahoo.com
To: freebsd-questions@freebsd.org
Sent: Thu, 3 June, 2010 21:29:28
Subject: Re: UPGRADE TO RELEASE 8.0-P3/SAMBA HELP REQUIRED

Why during the upgrade process the inspecting system shouldnt be able to find 
and identify and prepair everything that needs to be upgraded and reconfigured 
accordingly.  Surely thats what Inspecting system is meant to be doing.  No 
matter if it is FreeBSD 1.0 or the prior version to the upgrade




From: Andy Hiscock andyjhisc...@yahoo.com
To: David Allen the.real.david.al...@gmail.com
Cc: freebsd-questions@freebsd.org
Sent: Thu, 3 June, 2010 21:21:29
Subject: Re: UPGRADE TO RELEASE 8.0-P3/SAMBA HELP REQUIRED

Again Ports?   What is that about...  I've run the server and upgraded from 
7.0-7,2 with no problem or need to change any config files before.  Its 
upgraded with no problem before.

How do I install Ports?  How do I reinstall Samba without getting a error -1 
in sysinstall?




From: David Allen the.real.david.al...@gmail.com
To: Andy Hiscock andyjhisc...@yahoo.com
Cc: freebsd-questions@freebsd.org
Sent: Thu, 3 June, 2010 21:15:55
Subject: Re: UPGRADE TO RELEASE 8.0-P3/SAMBA HELP REQUIRED

On 6/3/10, Andy Hiscock andyjhisc...@yahoo.com wrote:
 After being advised to upgrade after a freebsd-update I have successfully
 upgraded from 7.2 to 8.0-p3. OK but have come across a major problem for me.

 OK time for a BIG rant this has been going on for 2 days (very sorry)

 After the install of the new kernel Samba isn't working.   I TTL's onto the
 server and tried a testparm but the error messages suggest I have
 dependancies missing?! - surely this should be taken into account when
 upgrading versions - Major schoolboy error on FreeBSD when Linux can do this
 basic task seamlessly!

[snip rest of useless rant]

Never come across this myself til now, but it seems there's a problem
in ports that touches Samba.  Probably related to your Samba install
complaining. From a ports tree updated just a while ago:

bash3-3.2.51 Dependency: gettext-0.17_1
gettext-0.17_1 Information for gettext-0.17_1:
lynx-2.8.7.1_1,1 Dependency: gettext-0.18_1
mutt-devel-1.5.20_5 Dependency: gettext-0.18_1
popt-1.14_1 Dependency: gettext-0.18_1
samba34-3.4.5_1 Dependency: gettext-0.18_1
wget-1.12_1 Dependency: gettext-0.18_1

I guess it's a choice between bash working, or everything else working.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org




___
freebsd-questions@freebsd.org mailing list
http

Why doesn't this startup script run?

2010-05-12 Thread Andy Dills

I'm working on integrating p0f with amavisd-new, and the command I need 
to run at startup is a little unwieldy:

p0f -l 'tcp dst port 25' 21 | /usr/local/bin/p0f-analyzer.pl 2345 

At first, I tried putting that in /etc/rc.local. No luck, don't know why 
it doesn't run. Ok, I tell myself, rc.local is a dinosaur anyway, take a 
second and make a simple rc.d script.

So, I made /usr/local/etc/rc.d/p0fd containing:

---

#!/bin/sh
#

. /etc/rc.subr

name=p0f
rcvar=`set_rcvar`

command=/usr/local/bin/p0f
command_args=-l 'tcp dst port 25' 21 | /usr/local/bin/p0f-analyzer.pl 2345 
pidfile=/var/run/$name.pid

# read configuration and set defaults
load_rc_config $name
: ${p0f_enable=NO}

run_rc_command $1

---

If I run /usr/local/etc/rc.d/p0fd start it fires right up. However, it 
still continues to refuse to run on boot.

Any suggestions?

(yes, it's executable, and yes I have p0f_enable=YES in rc.conf)

Thanks,
Andy

---
Andy Dills
Xecunet, Inc.
www.xecu.net
301-682-9972
---
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Why doesn't this startup script run?

2010-05-12 Thread Andy Dills
On Thu, 13 May 2010, Yuri Pankov wrote:

 On Wed, May 12, 2010 at 04:20:12PM -0400, Andy Dills wrote:
  
  I'm working on integrating p0f with amavisd-new, and the command I need 
  to run at startup is a little unwieldy:
  
  p0f -l 'tcp dst port 25' 21 | /usr/local/bin/p0f-analyzer.pl 2345 
  
  At first, I tried putting that in /etc/rc.local. No luck, don't know why 
  it doesn't run. Ok, I tell myself, rc.local is a dinosaur anyway, take a 
  second and make a simple rc.d script.
  
  So, I made /usr/local/etc/rc.d/p0fd containing:
  
  ---
  
  #!/bin/sh
  #
 
 Quoting rc(8):
 Each script should contain rcorder(8) keywords, especially an appropriate
 “PROVIDE” entry, and if necessary “REQUIRE” and “BEFORE” keywords.

Thanks for the reply.

I added this to the script (and renamed it p0f instead of p0fd):

# PROVIDE: p0f
# REQUIRE: LOGIN
# BEFORE:  securelevel
# KEYWORD: shutdown

It did not change the result, it still fails to start on boot, and still 
works if I call /usr/local/etc/rc.d/p0f start once I login to the box 
after it boots. Any other suggestions?

I have to assume it has something to do with either the redirection of 
stdout and stderr to a script that is then backgrounded? If I do something 
that doesn't involve all of that, it starts fine on boot.

How do I correct this? Earlier attempts went as far as to make a script to 
start the process, and then call the script from /etc/rc.local. I even 
tried doing a /usr/local/etc/rc.d/p0f start in /etc/rc.local. Nothing 
works until I go in and run the startup script by hand.

Thanks,
Andy

---
Andy Dills
Xecunet, Inc.
www.xecu.net
301-682-9972
---___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Re: Hardware RAID controller questions - 3Ware vs RocketRaid

2010-03-19 Thread Andy Wodfer
Thanks for all your feedback.

The problem occurs in the RAID controller BIOS (before we even boot or get
to the OS install).

Thanks to John for confirming these cards do work above 2TB. I will look
into upgrading the firmware (on these brand new cards). Perhaps it's just
the current firmware that can't handle 2TB harddrives x 3 in RAID.

Cheers,
Andreas
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Hardware RAID controller questions - 3Ware vs RocketRaid

2010-03-18 Thread Andy Wodfer
Hi,
We're setting up two backup servers where each server will have about 4TB of
harddrives (for now) connected (4x1TB and 8x500GB drives). Last night we ran
into trouble with the 3ware controllers we have (9650SE-8LPML) because we
couldn't create a larger RAID5 than 1.99TB.

We are going to use FreeBSD 8.0 and Bacula, but first we obviously need to
create a working RAID.

My questions are:

- Are HighPoint RocketRaid controllers a good alternative to 3ware
controllers? Are RocketRaid controllers true hardware RAID?

- What should we look for in a RAID controller spec to see that it has
support for larger than 2TB RAIDs?

I've been looking at these:
http://www.highpoint-tech.com/USA_new/series_rr2300.htm
http://www.highpoint-tech.com/USA_new/series_rr3500.htm

Any FreeBSD recommendations? Or perhaps for another 3ware controller?

We're using SATAII drives.

Thanks for your help!

Best regards,
Andreas
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Hardware RAID controller questions - 3Ware vs RocketRaid

2010-03-18 Thread Andy Wodfer
On Thu, Mar 18, 2010 at 10:30 AM, Matthew Law m...@webcontracts.co.ukwrote:


 Is ZFS not an option?


I'm afraid ZFS is not an option for this customer. I use ZFS on other system
and it works great, but here the requirement is RAID5, hotswap, hotspare and
so on.

Cheers,
Andreas
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


8.0-RELEASE Hanging on boot-up/Harvesting

2010-01-19 Thread Andy Hiscock
Thought Id give Version 8.0-RELEASE A go on a server Im building for someone.   
All went well except when it comes to boot-up.   Works though the config until 
it gets to some sort of networking routine/initiating.  The line said something 
about Harvesting ppp/Ethernet?

Has anyone come across this problem/is there a work around?  I've tried turning 
things like power management and Loading BIOS default settings.

Machine Im using it on is an Celeron 800 - Old but tends to be reliable ;)

Sorry I haven't got the error exact error.

Andy



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


Re: Extreme filesystem performance decrese going from FreeBSD4 to FreeBSD7

2009-05-13 Thread Andy Dills


On Wed, 13 May 2009, Tijl Coosemans wrote:

 I believe there was a performance regression in 7.1 for SCSI disks. I
 don't know if the amr driver was affected but the issues should be
 resolved in FreeBSD 7.2 so you might want to give that a try.

http://www.nabble.com/HEADS-UP:-Major-CAM-performance-regression-td21994181.html

Indeed, that appears to be the source of the issue.

Thanks very much.

Andy

---
Andy Dills
Xecunet, Inc.
www.xecu.net
301-682-9972
---
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Extreme filesystem performance decrese going from FreeBSD4 to FreeBSD7

2009-05-12 Thread Andy Dills

A customer of a customer needed to expand the size of the filesystem on a 
webserver they run, and since it was still running 4.11, they decided to 
go ahead and upgrade to 7.1. 

Unfortunately, they have seen the performance decrease significantly. Now, 
under 7.1, numerous perl processes will queue up (from their web 
applications), the load average will be in the 40s to 90s, and according 
to top they perl scripts are commonly in the ufs state, which I assume 
means stuck waiting for read or write responses.

I have also experienced pretty abysmal read performance from the array, 
using dd...we're talking sub 1MBps. So, my assumption is that something is 
wrong on the filesystem layer. 

When I look at the CPU utilization in top, I see that 80-90% is constantly 
used by system.

However, when I look at iostat, I see very low numbers for the raid, in 
fact across the board. 

It's a Dell server with a Perc4/Di RAID controller, which uses the amr 
driver. They upgraded to larger, 15k rpm ultra 320 disks (from smaller 15k 
rpm ultra 320 disks). They made a backup of their web root, which is a 
seperate partition, using dump to a temporary drive, then swapped in the 
new disks, installed FreeBSD 7.1, and restored their webroot to a 
partition on the new array.

Does anybody have any insight into what could be going on here?

dmesg is below.

Thanks!
Andy

Copyright (c) 1992-2009 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 7.1-RELEASE #0: Thu Jan  1 14:37:25 UTC 2009
r...@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) Xeon(TM) CPU 3.06GHz (3056.81-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0xf29  Stepping = 9
  
Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
  Features2=0x4400CNXT-ID,xTPR
  Logical CPUs per core: 2
real memory  = 4160552960 (3967 MB)
avail memory = 4069429248 (3880 MB)
ACPI APIC Table: DELL   PE2600  
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
 cpu2 (AP): APIC ID:  6
 cpu3 (AP): APIC ID:  7
ioapic0: Changing APIC ID to 8
ioapic1: Changing APIC ID to 9
ioapic2: Changing APIC ID to 10
ioapic3: Changing APIC ID to 11
ioapic4: Changing APIC ID to 12
ioapic0 Version 2.0 irqs 0-23 on motherboard
ioapic1 Version 2.0 irqs 24-47 on motherboard
ioapic2 Version 2.0 irqs 72-95 on motherboard
ioapic3 Version 2.0 irqs 120-143 on motherboard
ioapic4 Version 2.0 irqs 144-167 on motherboard
kbd1 at kbdmux0
ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
acpi0: DELL PE2600 on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0x808-0x80b on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
pcib1: ACPI PCI-PCI bridge at device 2.0 on pci0
pci1: ACPI PCI bus on pcib1
pcib2: ACPI PCI-PCI bridge at device 29.0 on pci1
pci2: ACPI PCI bus on pcib2
pcib3: ACPI PCI-PCI bridge at device 31.0 on pci1
pci3: ACPI PCI bus on pcib3
em0: Intel(R) PRO/1000 Network Connection 6.9.6 port 0xece0-0xecff mem 
0xfe8e-0xfe8f,0xfe8c-0xfe8d irq 28 at device 1.0 on pci3
em0: [FILTER]
em0: Ethernet address: 00:0f:1f:69:e3:7d
pcib4: ACPI PCI-PCI bridge at device 3.0 on pci0
pci4: ACPI PCI bus on pcib4
pcib5: ACPI PCI-PCI bridge at device 29.0 on pci4
pci5: ACPI PCI bus on pcib5
pcib6: ACPI PCI-PCI bridge at device 31.0 on pci4
pci6: ACPI PCI bus on pcib6
pcib7: ACPI PCI-PCI bridge at device 4.0 on pci0
pci7: ACPI PCI bus on pcib7
pcib8: ACPI PCI-PCI bridge at device 29.0 on pci7
pci8: ACPI PCI bus on pcib8
amr0: LSILogic MegaRAID 1.53 mem 0xfebf-0xfebf irq 120 at device 
8.0 on pci8
amr0: [ITHREAD]
amr0: delete logical drives supported by controller
amr0: LSILogic PERC 4/Di Firmware 2.48, BIOS 1.06, 128MB RAM
pcib9: ACPI PCI-PCI bridge at device 31.0 on pci7
pci10: ACPI PCI bus on pcib9
uhci0: Intel 82801CA/CAM (ICH3) USB controller USB-A port 0xcce0-0xccff 
irq 16 at device 29.0 on pci0
uhci0: [GIANT-LOCKED]
uhci0: [ITHREAD]
usb0: Intel 82801CA/CAM (ICH3) USB controller USB-A on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb0
uhub0: 2 ports with 2 removable, self powered
pcib10: ACPI PCI-PCI bridge at device 30.0 on pci0
pci11: ACPI PCI bus on pcib10
vgapci0: VGA-compatible display port 0xdc00-0xdcff mem 
0xfc00-0xfcff,0xfdeff000-0xfdef at device 4.0 on pci11
isab0: PCI-ISA bridge at device 31.0 on pci0
isa0: ISA bus on isab0
atapci0: Intel ICH3 UDMA100 controller port 
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xfc00-0xfc0f at device 31.1 on pci0
ata0: ATA channel 0

Re: freebsd-update on FreeBSD 6.x

2009-04-23 Thread Andy Smith

Quoting Manolis Kiagias son...@otenet.gr:



A quick visit to http://update.freebsd.org does not show this directory
- although this maybe intentional. I suggest you try the server change
and if you connect but still fail to get the key, then go on and hack
the script. I don't have a 6.1 machine around, but freebsd-update is
just a sh script and you should be able to find what's going on.  There
is nothing hardcoded in it, at least in the version distributed with
7.x. In fact I would try running the 7.x version on this system.



Hi Manolis,

  thanks for the reply! I have simply copied over the freebsd-update  
script from a 7.0 machine and it seems to work fine just as on the 7.0  
machine. I have run a fetch without making any changes to the conf  
file, I haven't applied the updates as yet as its a production server  
and I'll need to schedule down time and work out a fall back plan if  
anything goes bad when doing an install.

Thanks again!

Andy.


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


freebsd-update on FreeBSD 6.x

2009-04-22 Thread Andy Smith

Hi,

  when running freebsd-update fetch on FreeBSD 6.x I get the error:

Fetching public key...
fetch: http://update.freebsd.org/i386/6.1/pub.key: No address record
Error fetching updates


I've previously had a search around and compared the config file with  
that present by default on FreeBSD 7.x (which works without any  
hacking etc) but I never did work out what is wrong or what should be  
in a good config file. For one thing the directory its looking in for  
the pub.key seems to be hardcoded as /i386/6.1/ or at least that  
path is not present in my conf file, perhaps its possible to add an  
additional line to the conf file to modify this... Can anyone point me  
in the right direction?


thanks in advance, Andy.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Umask and Samba

2009-04-14 Thread Andy Hiscock
Hi there.

Having problems with create mask in samba since changing my umask in 
/etc/login.conf to 007.

I have created a share folder in /usr/homes with mod 770.  Accessing and 
writing/creating files/directories via ftp is as expected (-rw-rw) but when 
copying a file via samba I get a real mix of permissions, after many hours of 
playing with the create mask value in smb.conf I get typically:

-rw-r--r--
-rw-r-rw--
etc

Ideally I would like to create mask to be set to generate -rw-rw.  Is 
there a way of working what the value should be?

Find below a copy of my share section of smb.conf;

[share]
path=/usr/home/share
read only=no
guest ok=no
create mask=0330

Thanks in advance.




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


Re: PATH used by www user

2009-01-19 Thread Andy Smith

Hi Frank,

  thanks for your responce, the PATH isn't set within the perl script  
with ENV (and the script is identical on both systems). I've already  
asked the question on the perl mailing list and came to the conclusion  
the difference was something at the UNIX level on FreeBSD. There are  
various ways I can easily work around it, but it just seemed so basic  
I wanted to know how it was being set :S


thanks, Andy.

Quoting Frank Shute fr...@shute.org.uk:



User www doesn't have a shell, profile  hence PATH.

I don't know how your path is being set but it depends on perl  how
your script looks.

Look at Env(3)  the other perldocs.

If you want to do it quick, call traceroute with the path in your
scripts e.g:

system /usr/sbin/traceroute $some_host;

There's probably a perl module with a traceroute in it but I'm
afraid I don't know it offhand.




This message was sent using IMP, the Internet Messaging Program.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: PATH used by www user

2009-01-19 Thread Andy Smith

Hi Frank,

  thanks a lot for looking into it. Yes one server is an older  
FreeBSD 6.1, the other 7.0 so they certainly aren't identical servers.  
But they do have same version of apache (2.2.9) and same version of  
the perl script, and as far as I can tell same config for default PATH  
etc. I had a look and there doesnt appear to be anything setting the  
path in the apache conifg, perhaps it could be a compiled in default  
path?!

I'll ask the apache experts and see if they can help,

thanks again, Andy.

Quoting Frank Shute fr...@shute.org.uk:



Hi Andy,

I had to look at the Camel book  although it isn't explicit, it seems
like the script inherits the environment of the calling process i.e
Apache in this case. Apache sets the environment with SetEnv (or at
least 1.3 does, I don't run 2*) as it can't inherit one from user www
since it doesn't have one. So have you had a look at httpd.conf and
.htaccess on each machine?

BTW, one machine uses an old PATH with /usr/X11R6/bin in it. That
disappeared some time ago. That may or may not be a clue.

In short, I think this is probably an Apache question  you might have
more informative answers from there.

Sorry I can't be more helpful but quite a few Apache people run
FreeBSD and they're likely to be more help than I am.





This message was sent using IMP, the Internet Messaging Program.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


PATH used by www user

2009-01-18 Thread Andy Smith

Hi,

  I'm trying to work out why the PATH is different for the www user  
on two different FreeBSD servers. The problem being that on one it  
cant find the traceroute binary (via a perl script hosted on apache  
2.2). The www user on both is the FreeBSD default, so has no home  
directory on either. The /etc/profile is the same on both servers,  
also the login.conf have the same path value set and there are no  
/etc/bash files. But still on one server the path is  
/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin  
and on the other only /bin:/usr/bin.


Can someone tell me where the path may be being set that I havent looked?

thanks, Andy.


This message was sent using IMP, the Internet Messaging Program.

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


Re: Help! locate.code /tmp: filesystem full

2009-01-15 Thread Andy Wodfer
On Wed, Jan 14, 2009 at 8:27 PM, Glen Barber glen.j.bar...@gmail.comwrote:

 On Wed, Jan 14, 2009 at 1:34 PM, Andy Wodfer wod...@gmail.com wrote:
  Hi,
  I'm getting an error message every week and I can't seem to understand
 why
  nor manage to fix it. Here it is:
 

 [snip]

 
  # df -h
  Filesystem SizeUsed   Avail Capacity  Mounted on
  /dev/ar0s1a989M 53M857M 6%/
  devfs  1.0K1.0K  0B   100%/dev
  /dev/ar0s1g 48G8.5G 36G19%/backup
  /dev/ar0s1d989M 44K910M 0%/tmp
  /dev/ar0s1f387G168G189G47%/usr
  /dev/ar0s1e7.7G398M6.7G 5%/var
 
  As you see there's 910MB free space in /tmp. Should be plenty to run the
  weekly locate script?
 

 Have you recently had disk failures?  When was your last `fsck' ?

 What is the output of `du -h /tmp' ?

 To rule out if 910M is not enough, you could `mv' /tmp to /tmp.bak and
 do a hard link pointing a new /tmp somewhere with more space, for
 example /usr/faketmp.

 I don't know how this will affect fstab or mount, however.


Thanks for your replies.

The requested outputs are:

# df -i /tmp
Filesystem  1K-blocks Used  Avail Capacity iused  ifree %iused  Mounted on
/dev/ar0s1d   1012974  134 931804 0% 119 1411910%   /tmp

# du -h /tmp
2.0K/tmp/.snap
2.0K/tmp/.XIM-unix
2.0K/tmp/ssh-fc3AdQjUmT
2.0K/tmp/.X11-unix
2.0K/tmp/.ICE-unix
2.0K/tmp/.font-unix
134K/tmp

I have never done a fsck. Didn't really know of this command. I'm running it
now and will post the result when it's finished.

I have had one diskproblem a few months ago. This was the output of that:

ad6: WARNING - SETFEATURES SET TRANSFER MODE taskqueue timeout - completing
request directly
ad6: WARNING - SETFEATURES SET TRANSFER MODE taskqueue timeout - completing
request directly
ad6: WARNING - SETFEATURES ENABLE RCACHE taskqueue timeout - completing
request directly
ad6: WARNING - SETFEATURES ENABLE WCACHE taskqueue timeout - completing
request directly
ad6: WARNING - SET_MULTI taskqueue timeout - completing request directly
ad6: TIMEOUT - READ_DMA retrying (1 retry left) LBA=52327168
ad6: FAILURE - SMART status=51READY,DSC,ERROR error=4ABORTED
ad4: FAILURE - SMART status=51READY,DSC,ERROR error=4ABORTED
ad8: FAILURE - SMART status=51READY,DSC,ERROR error=4ABORTED

Haven't had any trouble since and the server is still running on the same
disks and with the same RAID setup. The server has been up for almost 200
days now. Ofcoure I'm worried that one or more disks are having trouble.

Look forward to your replies. Thanks!

Andy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Help! locate.code /tmp: filesystem full

2009-01-15 Thread Andy Wodfer
On Wed, Jan 14, 2009 at 7:34 PM, Andy Wodfer wod...@gmail.com wrote:

 Hi,
 I'm getting an error message every week and I can't seem to understand why
 nor manage to fix it. Here it is:

 #dmesg
 [snip]
 pid 54753 (locate.code), uid 65534 inumber 23557 on /tmp: filesystem full

 # df -h
 Filesystem SizeUsed   Avail Capacity  Mounted on
 /dev/ar0s1a989M 53M857M 6%/
 devfs  1.0K1.0K  0B   100%/dev
 /dev/ar0s1g 48G8.5G 36G19%/backup
 /dev/ar0s1d989M 44K910M 0%/tmp
 /dev/ar0s1f387G168G189G47%/usr
 /dev/ar0s1e7.7G398M6.7G 5%/var

 As you see there's 910MB free space in /tmp. Should be plenty to run the
 weekly locate script?

 # uname -a
 FreeBSD host.domain.com 6.3-PRERELEASE FreeBSD 6.3-PRERELEASE #5: Sat Jan
 12 03:20:02 CET 2008 r...@host.domain.com:/usr/obj/usr/src/sys/MYOWN
 i386

 Does anyone have a suggestion what I can do to fix this problem?

 Thanks a lot!

 Best,
 Andy


Here's the output of fsck (this was a new command to me):

# fsck
** /dev/ar0s1a (NO WRITE)
** Last Mounted on /
** Root file system
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Cyl groups
1565 files, 27379 used, 479108 free (1204 frags, 59738 blocks, 0.2%
fragmentation)
** /dev/ar0s1g (NO WRITE)
** Last Mounted on /backup
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Cyl groups
873 files, 4467162 used, 20921355 free (891 frags, 2615058 blocks, 0.0%
fragmentation)
** /dev/ar0s1d (NO WRITE)
** Last Mounted on /tmp
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Cyl groups
119 files, 67 used, 506420 free (28 frags, 63299 blocks, 0.0% fragmentation)
** /dev/ar0s1f (NO WRITE)
** Last Mounted on /usr
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
UNALLOCATED  I=7961594  OWNER=www MODE=100620
SIZE=69292 MTIME=Jan 15 21:06 2009
FILE=/local/www/[removed]/data/scripts/forum/cache/sql_021151d1a377d62dbfaa89a4d1acc716.php

UNEXPECTED SOFT UPDATE INCONSISTENCY

REMOVE? no

UNALLOCATED  I=7961584  OWNER=www MODE=100620
SIZE=4784 MTIME=Jan 15 21:06 2009
FILE=/local/www/[removed]/data/scripts/forum/cache/data_search_results_c34cf621be1e424bde185cb6b71bf55f.php

UNEXPECTED SOFT UPDATE INCONSISTENCY

REMOVE? no

UNALLOCATED  I=7961588  OWNER=www MODE=100620
SIZE=317 MTIME=Jan 15 21:06 2009
FILE=/local/www/[removed]/data/scripts/forum/cache/sql_de3e82ec3f05e04f8caecf9cecb70fe5.php

UNEXPECTED SOFT UPDATE INCONSISTENCY

REMOVE? no

UNALLOCATED  I=7961590  OWNER=www MODE=100620
SIZE=343 MTIME=Jan 15 21:06 2009
FILE=/local/www/[removed]/data/scripts/forum/cache/sql_45386e120e999630d18124e757c15cd5.php

UNEXPECTED SOFT UPDATE INCONSISTENCY

REMOVE? no

UNALLOCATED  I=7961593  OWNER=www MODE=100620
SIZE=155 MTIME=Jan 15 21:06 2009
FILE=/local/www/[removed]/data/scripts/forum/cache/data_search_results_a770f781f984926682ad24b828d1568c.php

UNEXPECTED SOFT UPDATE INCONSISTENCY

REMOVE? no

UNALLOCATED  I=7961595  OWNER=www MODE=100620
SIZE=317 MTIME=Jan 15 21:07 2009
FILE=/local/www/[removed]/data/scripts/forum/cache/sql_f60c9f27d5a394bc6e9a70185d29ccf2.php

UNEXPECTED SOFT UPDATE INCONSISTENCY

REMOVE? no

UNALLOCATED  I=7961597  OWNER=www MODE=100620
SIZE=223 MTIME=Jan 15 21:07 2009
FILE=/local/www/[removed]/data/scripts/forum/cache/data_search_results_99f04705815fd4978b0d47911d8b44ad.php

UNEXPECTED SOFT UPDATE INCONSISTENCY

REMOVE? no

UNALLOCATED  I=7961599  OWNER=www MODE=100620
SIZE=343 MTIME=Jan 15 21:08 2009
FILE=/local/www/[removed]/data/scripts/forum/cache/sql_46c003bc334cf0386554f73d8bb37688.php

UNEXPECTED SOFT UPDATE INCONSISTENCY

REMOVE? no

UNALLOCATED  I=7961600  OWNER=www MODE=100620
SIZE=343 MTIME=Jan 15 21:09 2009
FILE=/local/www/[removed]/data/scripts/forum/cache/sql_0c5aeb430c03186f1c1cd9c56cd3320c.php

UNEXPECTED SOFT UPDATE INCONSISTENCY

REMOVE? no

UNALLOCATED  I=7961601  OWNER=www MODE=100620
SIZE=317 MTIME=Jan 15 21:09 2009
FILE=/local/www/[removed]/data/scripts/forum/cache/sql_1bbabc64d41b06401b3f49122429cfb8.php

UNEXPECTED SOFT UPDATE INCONSISTENCY

REMOVE? no

UNALLOCATED  I=7961602  OWNER=www MODE=100620
SIZE=241 MTIME=Jan 15 21:09 2009
FILE=/local/www/[removed]/data/scripts/forum/cache/data_search_results_708ac649d78e7e8f4912da48dbb2f0d3.php

UNEXPECTED SOFT UPDATE INCONSISTENCY

REMOVE? no

UNALLOCATED  I=10086553  OWNER=www MODE=100660
SIZE=5572 MTIME=Jan 15 21:09 2009
FILE=/local/www/[removed]/data/scripts/forum/images/avatars/upload/f3bd348b1ce8f9503d1d63b34905349d_3218.jpg

UNEXPECTED SOFT UPDATE INCONSISTENCY

REMOVE? no




** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
UNREF FILE  I=7961486  OWNER=www MODE=100620
SIZE=316 MTIME=Jan 15

Help! locate.code /tmp: filesystem full

2009-01-14 Thread Andy Wodfer
Hi,
I'm getting an error message every week and I can't seem to understand why
nor manage to fix it. Here it is:

#dmesg
[snip]
pid 54753 (locate.code), uid 65534 inumber 23557 on /tmp: filesystem full

# df -h
Filesystem SizeUsed   Avail Capacity  Mounted on
/dev/ar0s1a989M 53M857M 6%/
devfs  1.0K1.0K  0B   100%/dev
/dev/ar0s1g 48G8.5G 36G19%/backup
/dev/ar0s1d989M 44K910M 0%/tmp
/dev/ar0s1f387G168G189G47%/usr
/dev/ar0s1e7.7G398M6.7G 5%/var

As you see there's 910MB free space in /tmp. Should be plenty to run the
weekly locate script?

# uname -a
FreeBSD host.domain.com 6.3-PRERELEASE FreeBSD 6.3-PRERELEASE #5: Sat Jan 12
03:20:02 CET 2008 r...@host.domain.com:/usr/obj/usr/src/sys/MYOWN  i386

Does anyone have a suggestion what I can do to fix this problem?

Thanks a lot!

Best,
Andy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Nagios Jail

2008-12-18 Thread Andy Greenwood
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Albert Shih wrote:
 Hi all.

 I'm trying to install a nagios server in a jail.

 I've a problem with check_ping.

 [r...@]# /usr/local/libexec/nagios/check_ping -H some_host -w
3000.0,80% -c 5000.0,100% -p 5
 CRITICAL - You need more args!!!
 Could not open pipe:

 So I think it's become the «ping problem». So I put

 sysctl -w security.jail.allow_raw_sockets=1

 in the host-jail-server.

 In the jail I can make a ping but the nagios check_ping don't work.

 Anyone have succefully install a nagios server in a jail ?

 Regards.
I'm not exactly sure how I did it, but I remember having to change
something from the defaults when I built the net-mgmt/nagios-plugins
port because the check_ping command wasn't working right. I'd suggest
going back and re-making that port to see if you get any error messages.

I want to say that it wasn't finding the ping binary, but I don't think
that's what it was.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAklKW8gACgkQEStKVA82Z+0C8ACfX5tAleQZJwkyd4/B6PCyieKj
98IAoKOKSYqguLuecO828//KN8eHWsv1
=CaW0
-END PGP SIGNATURE-

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


Re: How to find files that are eating up disk space

2008-12-17 Thread Andy Greenwood
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

John Almberg wrote:
 Here is another newbie question that is driving me crazy, but is
probably a laughable situation to an experienced admin...

 I've got a smallish server that is suddenly out of disk space in the
'/' partition.

 Probably some log files have gotten out of hand. I am going to start
looking for the culprits by hand... basically inspecting sub
directories, but there must be a better way!

 Is there a command line tool that will help me figure out where the
problem is?

 Even better, is there a way to proactively monitor the file system, so
I can fix problems before I start getting 'out of disk space' errors?

 Any hints, much appreciated.


John,

try man du. It will give you file sizes of all the files in a directory
tree, which you can then pass to sort and head to pull out the biggest
offenders, like this

# cd /
# du | sort -rn | head -10

for monitoring my system, I use tripwire, but that might be a bit much
just for watching disk usage. Try putting a df -h in your periodic
scripts to have the output of that command mailed to you each day.
 -- John

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

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAklJOE0ACgkQEStKVA82Z+1tNgCdHSAYcm5A6sTjbjjHmzL3ynS2
C+0Anim0sf0yIz/l7TVNtdA5a5JbM+Jz
=xetm
-END PGP SIGNATURE-

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


Re: bsdlabel partiton c error message on new install

2008-10-19 Thread Andy Smith

   Hi Jerry,
 ok thanks for the answer, its not very good news for me ;( as Ive
   already done alot of config and installed alot of apps, but anyway
   thats my problem now!
   cheers Andy!

   - Original Message 
   From: Jerry McAllister [EMAIL PROTECTED]
   To: andys [EMAIL PROTECTED]
   Cc: freebsd-questions@freebsd.org
   Subject: Re: bsdlabel partiton c error message on new install
   Date: 17/10/08 18:11
   On Fri, Oct 17, 2008 at 02:13:45PM +0200, andys wrote:
Hi,
   
on a newly installed FreeBSD 7.0 system on a dell 1950 server I see
   the
following error from bsdlabel. Is there any known issues with this
   or is
the only reasonable explanation that I have managed to mess it up
   without
even knowing? :P And should I manually change the partition c to fix
   the
prob? Is this safe to do?
   
bsdlabel -A /dev/da0s1
# /dev/da0s1:
type: SCSI
disk: da0s1
label:
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 17750
sectors/unit: 285155328
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0 # milliseconds
track-to-track seek: 0 # milliseconds
drivedata: 0
   
8 partitions:
# size offset fstype [fsize bsize bps/cpg]
a: 20971520 0 4.2BSD 2048 16384 28552
b: 20971520 75497472 swap
c: 285153687 0 unused 0 0 # raw part, don't
edit
d: 20971520 20971520 4.2BSD 2048 16384 28552
e: 20971520 41943040 4.2BSD 2048 16384 28552
f: 12582912 62914560 4.2BSD 2048 16384 28552
bsdlabel: partition c doesn't cover the whole unit!
bsdlabel: An incorrect partition c may cause problems for standard
   system
utilities
   
thanks for any advice, Im not really confident with the FreeBSD disk
management as I havent used it much,
   If you were using sysinstall, I am not sure how this would come up.
   Do you have more than one slice on the disk - that which MS refers
   to as a 'primary partition'? Something you might do to create a
   'dual boot' machine.
   Are you in the position where you can just wipe it and do a
   reinstall? I wouldn't just move or resize the c partition after
   the fact.
   The c partition should be equal to the size of the slice it is in.
   That should just be true after the fdisk part of the operation unless
   there is something wrong with the size or alignment of the slice
   itself. And, in that case, I would expect it to have complained
   way back in the sysinstall-fdisk part of the process.
   So, I would start over if I could.
   Just some pictorial perspective to make it easier (I hope) to
   visualize.
   Whole device
   
   | slice 1 : FreeBSD Slice 2 : slice 3 : Slice 4 |
   | : : : |
   | :- partition c -: : |
   |Some MS thing : ' ' ' ' : Some Linux : Extra |
   | :pa' pb ' pd ' pe ' pn: thing : slice |
   | : ' ' ' ' : : |
   | : ' ' ' ' : : |
   -
   A device (whole disk) can have up to 4 slices labeled 1..4.
   Each slice can be of different types.
   MS calls slices 'primary partitions'.
   Each FreeBSD type slice can be divided in to 8 (really 7) partitions
   that are labeled a..h. But, c must be used to define the whole slice.
   Slices are created by fdisk. Fdisk also writes the device's MBR.
   Partitions are created by bsdlabel (disk label in early versions of
   FreeBSD)
   bsdlabel also writes the slice's boot block.
   It is possible to leave empty space in the whole disk that is not
   allocated to any slice or within any given slice that is not allocated
   to any partition. The total of a..h not counting c, plus any non-
   allocated space, must add up to c.
   It is possible to create what someone has dubbed a 'dangerously
   dedicated'
   disk and just not create slices, but just use bsdlabel to divide the
   whole disk in to FreeBSD partitions a-h. The c partition must still
   refer to the whole space available for FreeBSD partitioning.
   I think it is also possible to just newfs the disk without using
   either fdisk or bsdlabel and create one filesystem without slices
   or partitions. I haven't tried it.
   Both fdisk and bsdlabel are supposed to keep track of the sizes
   correctly, automatically. That is why I suggest starting over.
   If you use sysinstall, it calls fdisk and bsdlabel for you and you
   don't have to do it separately unless you want to look and see
   what it did.
   jerry
   
thanks Andy.
___
[EMAIL PROTECTED] mailing list
[2]http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
   [EMAIL PROTECTED]

   
   Message sent using UK Grid Webmail 2.7.9

References

   1. mailto:freebsd-questions@freebsd.org
   2. http

Netprint perl script from Handbook doesn't work

2008-09-24 Thread Andy Kosela
The netprint perl script provided in the Handbook (9.4.3.2) is not
working.. or am I missing something:

plotinus:~ cat new.txt | lp.sh
Can't contact 10.10.21.12: Address family not supported by protocol
family at /usr/local/libexec/netprint line 21.

plotinus: cat /usr/local/libexec/netprint
#!/usr/bin/perl
#
#  netprint - Text filter for printer attached to network
#  Installed in /usr/local/libexec/netprint
#
$#ARGV eq 1 || die Usage: $0 printer-hostname port-number;

$printer_host = $ARGV[0];
$printer_port = $ARGV[1];

require 'sys/socket.ph';

($ignore, $ignore, $protocol) = getprotobyname('tcp');
($ignore, $ignore, $ignore, $ignore, $address)
   = gethostbyname($printer_host);

$sockaddr = pack('S n a4 x8', AF_INET, $printer_port, $address);

socket(PRINTER, PF_INET, SOCK_STREAM, $protocol)
   || die Can't create TCP/IP stream socket: $!;
connect(PRINTER, $sockaddr) || die Can't contact $printer_host: $!;
while (STDIN) { print PRINTER; }
exit 0;

System is 7.0-RELEASE, I got to say it was working on 6.2-RELEASE

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


Re: Netprint perl script from Handbook doesn't work

2008-09-24 Thread Andy Kosela
On Wed, Sep 24, 2008 at 5:12 PM, Dan Nelson [EMAIL PROTECTED] wrote:
 In the last episode (Sep 24), Andy Kosela said:
 The netprint perl script provided in the Handbook (9.4.3.2) is not
 working.. or am I missing something:

 plotinus:~ cat new.txt | lp.sh
 Can't contact 10.10.21.12: Address family not supported by protocol family 
 at /usr/local/libexec/netprint line 21.

 Can you telnet to that ip address (telnet 10.10.21.12 9100, or
 whatever port you're using)?


Yes, no problem with that (standard HP JetDirect 9100 port). The very
same script *IS* working on 6.2-RELEASE. Perl versions on 6.x and 7
seems to be the same: 5.8.8

perl -V on 6.2-RELEASE:
 config_args='-sde -Dprefix=/usr/local
-Darchlib=/usr/local/lib/perl5/5.8.8/mach
-Dprivlib=/usr/local/lib/perl5/5.8.8
-Dman3dir=/usr/local/lib/perl5/5.8.8/perl/man/man3
-Dman1dir=/usr/local/man/man1
-Dsitearch=/usr/local/lib/perl5/site_perl/5.8.8/mach
-Dsitelib=/usr/local/lib/perl5/site_perl/5.8.8
-Dscriptdir=/usr/local/bin
-Dsiteman3dir=/usr/local/lib/perl5/5.8.8/man/man3
-Dsiteman1dir=/usr/local/man/man1 -Ui_malloc -Ui_iconv
-Uinstallusrbinperl -Dcc=cc -Duseshrplib
-Dccflags=-DAPPLLIB_EXP=/usr/local/lib/perl5/5.8.8/BSDPAN
-Doptimize=-O2 -fno-strict-aliasing -pipe  -Ud_dosuid -Ui_gdbm
-Dusethreads=n -Dusemymalloc=y -Duse64bitint'

perl -V on 7.0-RELEASE:
 config_args='-sde -Dprefix=/usr/local
-Darchlib=/usr/local/lib/perl5/5.8.8/mach
-Dprivlib=/usr/local/lib/perl5/5.8.8
-Dman3dir=/usr/local/lib/perl5/5.8.8/perl/man/man3
-Dman1dir=/usr/local/man/man1
-Dsitearch=/usr/local/lib/perl5/site_perl/5.8.8/mach
-Dsitelib=/usr/local/lib/perl5/site_perl/5.8.8
-Dscriptdir=/usr/local/bin
-Dsiteman3dir=/usr/local/lib/perl5/5.8.8/man/man3
-Dsiteman1dir=/usr/local/man/man1 -Ui_malloc -Ui_iconv
-Uinstallusrbinperl -Dcc=cc -Duseshrplib
-Dccflags=-DAPPLLIB_EXP=/usr/local/lib/perl5/5.8.8/BSDPAN
-Doptimize=-O2 -fno-strict-aliasing -pipe  -Ud_dosuid -Ui_gdbm
-Dusethreads=n -Dusemymalloc=y -Duse64bitint'

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


[ask] adding new processor

2008-09-09 Thread andy-ch

I would like to add a new processor on my FreeBSD 7-RELEASE.

Now it's 1 x Intel Xeon E5410, and I would like to add another 1 x  
Intel Xeon E5410, so there will be 2 x Intel Xeon E5410 (8-Core Total)


Do I need to recompile the kernel and/or daemons inside (ex: Apache,  
PHP, MySQL, EXIM, etc...) ?


Or the operating system (including it's daemons) will reflect to work  
with both processors once the system booted ?


Thank you for your kind help, and I hope to hear a good response from  
you soon.


--
Best Regards,
Andy Chandra
IndoForum GMod Team
[EMAIL PROTECTED]
http://www.indoforum.org
Indonesian Online Community

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


Re: [kde-freebsd] KDE4 libssl conflicts

2008-08-12 Thread Andy Fawcett
On Tuesday 12 August 2008 12:43:37 Warren Liddell wrote:
  You've got a mix of older and newer library versions, which makes
  me think that you are trying to do a partial upgrade of your ports
  after upgrading the FreeBSD base system to a newer version.  You
  really need to rebuild all ports when doing that, or else you'll
  run into issues.
 
  However, the specific problem you mention should have been resolved
  by this change here:
 
 http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/126410
 
  ...so please double-check that your ports tree has been updated to
  get this fix.
 
  Regards,

 I did recently upgrade my base system from 6.3-STABLE to 7.0-STABLE,
 however, i just re-ran a csup and ran portupgrade an tried a re-build
 of KDE4 with the same error output.

You need to clean out the 6.3 versions of various libs/binaries.

See the delete-old and delete-old-libs targets on /usr/src/Makefile


-- 
Andy Fawcett | [EMAIL PROTECTED]
 | [EMAIL PROTECTED]
In an open world without walls and fences,  | [EMAIL PROTECTED]
  we wouldn't need Windows and Gates.  -- anon  | [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: Mail Heading to dead.letter

2008-07-30 Thread Andy Christianson
Sendmail is running  DNS is working. See the following output:

[EMAIL PROTECTED] /home/andy]# /etc/rc.d/sendmail status
sendmail_submit is running as pid 71703.
sendmail_clientmqueue is running as pid 675.
[EMAIL PROTECTED] /home/andy]# ping gmail.com
PING gmail.com (64.233.161.83): 56 data bytes
64 bytes from 64.233.161.83: icmp_seq=0 ttl=239 time=19.943 ms
64 bytes from 64.233.161.83: icmp_seq=1 ttl=239 time=22.096 ms
64 bytes from 64.233.161.83: icmp_seq=2 ttl=239 time=22.568 ms
64 bytes from 64.233.161.83: icmp_seq=3 ttl=239 time=19.368 ms
^C
--- gmail.com ping statistics ---
4 packets transmitted, 4 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 19.368/20.994/22.568/1.364 ms
[EMAIL PROTECTED] /home/andy]# mail [EMAIL PROTECTED]
Subject: Test
This is a test!!
EOT
[EMAIL PROTECTED] /home/andy]# exit
exit
[EMAIL PROTECTED] ~]$ mail [EMAIL PROTECTED]
Subject: Another test!!
Test sent from a normal user
EOT
[EMAIL PROTECTED] ~]$ /home/andy/dead.letter... Saved message in
/home/andy/dead.letter


On Wed, Jul 30, 2008 at 3:32 AM, Ruben de Groot [EMAIL PROTECTED] wrote:


 Check if sendmail is running and your DNS is working.

 regards,
 Ruben

 On Tue, Jul 29, 2008 at 09:26:50PM -0400, Andy Christianson typed:
  Whenever I send any email from my normal user account, it goes straight
 to
  dead.letter, even if I attempt to mail a local user. When I try to send
 mail
  as root, it simply does not send. I have a very basic, updated FreeBSD
 7.0
  installation. Mail has not worked since I installed 7.0 about 42 days
 ago. I
  am able to ping internet addresses as well as well as resolve domain
 names.
 
  At the very least, can someone point me in the correct direction to start
  debugging this? I have read relevant sections in the FreeBSD handbook as
  well as sendmail manpages, etc.
 
  Thanks in advance for any help!
 
  -Andy
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to 
 [EMAIL PROTECTED]

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


  1   2   3   4   5   6   >