New user - small file server questions and quick GUI question

2009-12-28 Thread Kaya Saman
Hi guys, first up I hope I am in the right place as my questions are of a generic nature about FreeBSD as I consider myself a new user not having much mileage with the OS as of yet! Secondly I just wanted to wish everyone a happy Christmas and New Year also since we are in that period :-)

Re: New user - small file server questions and quick GUI question

2009-12-28 Thread Kaya Saman
Running with no xorg.conf is fine, but you need to make sure dbus and hal are started at boot. Follow the handbook for best results. http://www.freebsd.org/doc/en/books/handbook/x-config.html I'm sure I started them as this doc is exactly what I followed.. I think if I recall correct

Re: New user - small file server questions and quick GUI question

2009-12-28 Thread Kaya Saman
I would say ufs2 easily wins, but remember this is the freebsd-questions list ;) There are some differences though, ufs2 uses softupdates, not journaling(journaling is available and easy to implement via gjournal). Softupdates I believe are a little faster than journaling, but it's drawba

Re: New user - small file server questions and quick GUI question

2009-12-28 Thread Kaya Saman
I can't speak to the rest, but WRT the GUI, I suspect you'll find it a lot easier if you install a Window Manager to handle a lot of this. I have found xfce4 to be a good one for me - gnome and kde were a bit much. Once I installed /usr/ports/x11-wm/xfce4 with a 'make config-recursive' then chos

Re: New user - small file server questions and quick GUI question

2009-12-28 Thread Kaya Saman
The most common cause is that either hald (sysutils/hal) or dbus (devel/dbus) isn't running. Xorg needs them both to detect mouse and keyboard. Add dbus_enable="YES" and hald_enable="YES" to rc.conf to get them to start automatically. We'll see what the issue actually is - as I mentione

Re: New user - small file server questions and quick GUI question

2009-12-28 Thread Kaya Saman
Kurt Buff wrote: On Mon, Dec 28, 2009 at 15:29, Kaya Saman wrote: I see I didn't completely read your original message. Indulge me a moment while I ramble here, and probably expose my ignorance... Xorg/X11 <> Gnome Gnome runs on Xorg: Xorg/Xfree runs X11 Xfree is now

Re: New user - small file server questions and quick GUI question

2009-12-28 Thread Kaya Saman
[...] add dbus_enable="YES" hald_enable="YES" to your /etc/rc.conf. That will most likely clear your problem. [...] I will give this a go soon :-) That's what I do with mine under FreeBSD, for both servers and workstations. Having both servers and workstations is cool as both of

Re: New user - small file server questions and quick GUI question

2009-12-29 Thread Kaya Saman
Alex de Kruijff wrote: On Mon, Dec 28, 2009 at 05:04:52PM -0600, Adam Vande More wrote: On Mon, Dec 28, 2009 at 4:42 PM, Kaya Saman wrote: Also if something goes wrong with the filesystem what are the tools to check the drive and repair errors as in Linux I use e2fsck followed by

Re: New user - small file server questions and quick GUI question

2009-12-29 Thread Kaya Saman
[...] What is not unusual is to symlink /home e.g: # ln -s /usr/home /home ditto for /tmp. i.e you remove all the stuff that uses up space from the root partition. So the only slices you need are /, /usr, /var and swap. How I'd slice up the disk: 2GB for / 2GB for swap 2GB for /var 34GB fo

Re: New user - small file server questions and quick GUI question

2009-12-29 Thread Kaya Saman
Many thanks again for all suggestions! :-) [...] For my desktop, with around 450 ports installed, I have the following lay-out; Filesystem SizeUsed Avail Capacity Mounted on /dev/ad4s1a484M 93M353M21%/ /dev/ad4s1g.eli373G168G175G49%/ho

Re: New user - small file server questions and quick GUI question

2009-12-29 Thread Kaya Saman
Roland: If you can afford it, and if your laptop has a USB port, buy one of those external harddisks. Plenty of room for music and movies... Also great for backups! Can't afford :-( I have many disks like that where I bought really cool enclosures and the drives separately but currently am

Re: New user - small file server questions and quick GUI question

2010-01-01 Thread Kaya Saman
Hi Roland, many thanks for the response!!! :-) I waited until I had a test server setup and at least now I do.. In fact I think from my usage perspective FreeBSD is not that difficult to understand!!! I now have a test machine setup which I built nano and Bind 9.6.1 from the ports colle

Re: New user - small file server questions and quick GUI question

2010-01-01 Thread Kaya Saman
Just to give a quick overview of what is being used currently: test# du -sch etc 1.7Metc 1.7Mtotal test# du -sch var 1.0Mvar 1.0Mtotal test# du -sch tmp 10Ktmp 10Ktotal test# du -sch usr 1.0Gusr 1.0Gtotal I think I could get away with 500MB for /var and /tmp and h

Compiled Xmms2 on FreeBSD 8 from ports but no output plugin?

2010-01-03 Thread Kaya Saman
Hi guys, I am trying to get xmms2 working on my server as I want to tie it into Icecast2 in order to stream music to my network. I'm having major problems with getting xmms2 to work though! This is output from /var/log/messages: Jan 3 20:16:55 test kernel: pid 1218 (xmms2-mdns-avahi), uid 5

Re: Tuning for very little RAM

2010-01-06 Thread Kaya Saman
[...] I don't think we want to hijack this thread or this forum and turn it into a debate over which window managers and apps are best. As I pointed out in my followup to my original reply, there's already a voluminous discussion on those topics. I think we should simply point interested reade

rc.d script not working for Xmms2 :-(

2010-01-08 Thread Kaya Saman
Hi guys, I'm just attempting to create a startup script for Xmms2 so that the service can autostart on boot! So far I have Google'd around and found very little, the most promising site was this: http://www.freebsd.org/doc/en/articles/rc-scripting/rcng-daemon.html which gives a script of t

Re: rc.d script not working for Xmms2 :-(

2010-01-08 Thread Kaya Saman
command is here: rd1# ls /usr/local/bin | grep xmms2 nyxmms2 xmms2 xmms2-et xmms2-find-avahi xmms2-launcher xmms2-mdns-avahi xmms2d So if I can't add the - does this mean that I have to create a link to xmms2-launcher with name xmms2launcher?? --K RW wrote: On Fri, 08 Jan 2010 12:23:40

Re: rc.d script not working for Xmms2 :-(

2010-01-08 Thread Kaya Saman
no just avoid using ${name} in the command. name is just a label used for creating unique variable names you can use in rc.conf, it doesn't have to match any binary. ___ Thanks we're getting closer but some thing's still hinky! rd1# /usr/local

Possible to run 2 instances of Bind DNS server in jails??

2010-01-10 Thread Kaya Saman
Hi, I'm just reading through a thread right now on a discussion or debate whether to ports Solaris Zones to FreeBSD. My main Google search criteria was basically that I wanted to know if FreeBSD had something similar. In this discussion it was mentioned that FreeBSD Jails where the sudo

Re: Possible to run 2 instances of Bind DNS server in jails??

2010-01-10 Thread Kaya Saman
Vince Hoffman wrote: The only bit I'm not certain on is dedicating a nic to a jail (more because I havent tried than because I believe it cant be done, I'd expect that the network stack virtualization in 8+ should allow this.) You can most definately run seperate instances of applications in j

Re: denying spam hosts ssh access - good idea?

2010-01-11 Thread Kaya Saman
David Southwell wrote: I'm thinking of denying ssh access to host from which I get brute force ssh attacks. HOwever, I see in /etc/hosts.allow: # Wrapping sshd(8) is not normally a good idea, but if you # need to do it, here's how #sshd : .evil.cracker.example.com : deny Why is it not a good i

Re: Endianness

2010-01-12 Thread Kaya Saman
David Kelly wrote: On Tue, Jan 12, 2010 at 12:51:00PM -0800, Rob Farmer wrote: I'm trying to create a port of an application which only works on little endian systems and I'm trying to figure out how to set ONLY_FOR_ARCHS. Wikipedia says PowerPC, Sparc, and IA64 are bi-endian and the OS choo

Integrating FreeBSD with MS Active Directory in order to be able to Authenticate Dovecot IMAP server

2012-05-23 Thread Kaya Saman
Hi, I'm attempting to authenticate Dovecot to Active Directory, however, I'm failing quite badly. So far I have gone through the FreeBSD handbook on Kerberos authentication: http://www.freebsd.org/doc/handbook/kerberos5.html Additionally I have been through the Dovecot config: http://wiki2.d

Re: Hardware compatability question

2012-05-31 Thread Kaya Saman
Hi, it's not really about the machines but more the hardware. FreeBSD is quite diverse in what it can run on so best bet check the HCL's off the www.freebsd.org website as that would give you the best idea! Otherwise just install and see what works and doesn't. FreeBSD is pretty comprehensive of

Re: Anyone using freebsd ZFS for large storage servers?

2012-05-31 Thread Kaya Saman
If this is any consellation I run a 36TB cluster using a self built server with a Promise DAS (VessJBOD 1840) using ZFS at home! to support my OpenSource projects and personal files. As for OS take your pick: NexentaStor, FreeBSD, Solaris 11 All capable, of course Solaris has latest version of Z

Re: Anyone using freebsd ZFS for large storage servers?

2012-05-31 Thread Kaya Saman
NAS at work though we already have a Dell R700 series server. For this setup however I will need to use an LSI HBA with both internal and external Mini-SAS ports. Instead of Promise we will use NetStor JBOD solutions as they work with 6Gbps drives and overall give better performance. > > Osc

Re: Anyone using freebsd ZFS for large storage servers?

2012-05-31 Thread Kaya Saman
On Thu, May 31, 2012 at 6:28 PM, Damien Fleuriot wrote: > As a side note and in case you were considering, I strongly advise against > Linux + fuse ZFS. > Yes I agree; as far as I understand ZFS in Linux is still in testing and in any case not part of the Linux kernel which means dramatic perfor

Re: Anyone using freebsd ZFS for large storage servers?

2012-06-01 Thread Kaya Saman
> > and definitely do not use it if you will not have regular backups of all > data, as in case of failures (yes they do happen) you will just have no > chance to repair it. > > There is NO fsck_zfs! And ZFS is promoted as it "doesn't need" it. > > Assuming that filesystem doesn't need offline file

Re: Anyone using freebsd ZFS for large storage servers?

2012-06-01 Thread Kaya Saman
> >> Additionally ZFS works directly at the block level of the HD meaning >> that it is slightly different to the 'normal' file systems in storing >> information and is also "self healing".. > > > doesn't other filesystem work on block level too? if no - then at what > level? > > It was my imp

Strange case of vanishing disk

2012-06-03 Thread Kaya Saman
Hi, this is a very strange issue but I guess will either be related to 2 things, PSU not being powerful enough or disk controller simply being crap. Here's what's going on. I have a little Chenbro 4 disk mini-ITX NAS server with 2x 2TB disks and 2x4TB disks as storage - all spread out over

Re: Strange case of vanishing disk

2012-06-03 Thread Kaya Saman
this is a very strange issue but I guess will either be related to 2 things, PSU not being powerful enough or disk controller simply being crap. Here's what's going on. I have a little Chenbro 4 disk mini-ITX NAS server with 2x 2TB disks and 2x4TB disks as storage - all spread out over 2 ZFS sto

Re: Strange case of vanishing disk

2012-06-04 Thread Kaya Saman
On 06/04/2012 04:42 AM, Zane C. B-H. wrote: On Mon, 04 Jun 2012 02:06:57 +0100 Kaya Saman wrote: Hi, this is a very strange issue but I guess will either be related to 2 things, PSU not being powerful enough or disk controller simply being crap. Here's what's going on. I hav

Re: Strange case of vanishing disk

2012-06-04 Thread Kaya Saman
On 06/04/2012 08:34 AM, Gary Aitken wrote: On 06/03/12 20:59, Kaya Saman wrote: this is a very strange issue but I guess will either be related to 2 things, PSU not being powerful enough or disk controller simply being crap. Here's what's going on. I have a little Chenbro 4 disk mi

Re: Strange case of vanishing disk

2012-06-04 Thread Kaya Saman
On 06/04/2012 08:34 AM, Gary Aitken wrote: On 06/03/12 20:59, Kaya Saman wrote: this is a very strange issue but I guess will either be related to 2 things, PSU not being powerful enough or disk controller simply being crap. Here's what's going on. I have a little Chenbro 4 disk mi

Re: Strange case of vanishing disk

2012-06-04 Thread Kaya Saman
On 06/04/2012 06:26 PM, Wojciech Puchar wrote: I just "offlined" the system and took a look at the BIOS. The hard disk controller was set to "ATA NATIVE", I attempted changing to AHCI and the system failed to boot thereafter. do you have ahci and ada drivers compiled in? Booting into my r

Re: Strange case of vanishing disk

2012-06-04 Thread Kaya Saman
On 06/05/2012 12:50 AM, Zane C. B-H. wrote: On Mon, 04 Jun 2012 12:20:13 +0100 Kaya Saman wrote: On 06/04/2012 04:42 AM, Zane C. B-H. wrote: On Mon, 04 Jun 2012 02:06:57 +0100 Kaya Saman wrote: I've just tried this and lost my whole system. My boot disk is not labeled to work

Re: Strange case of vanishing disk

2012-06-04 Thread Kaya Saman
On 06/05/2012 01:09 AM, Polytropon wrote: On Tue, 05 Jun 2012 01:03:59 +0100, Kaya Saman wrote: I had a small issue at the bootloader> prompt, my USB keyboard didn't work as in it seems the kernel modules weren't loaded in order for the keys to function. Not sure how to get r

Re: Is ZFS production ready?

2012-06-21 Thread Kaya Saman
Hi, I think it is stable enough on FreeBSD. Someone actually posted quite a similar thread not a while ago.. Here'e a quick summary: For my various OpenSource projects, I have deployed a 36TB file system which is fine and stable running 24/7. Additionally at home I use 4TB (2x 2TB) + 8TB (

Re: Is ZFS production ready?

2012-06-21 Thread Kaya Saman
[...] My one note to the above would be to advise against using it for swap - unless you have enough RAM to make sure you never swap. It doesn't do well in that role, in my experience. (Though that was under a slightly earlier version.) I remember on SXCE running on my test Sun E420r serv

Could someone help me with Dovecot AD integration PAM setup?

2012-06-22 Thread Kaya Saman
Hi, I'm trying to authenticate Dovecot to Active Directory using the SAMBA/Winbind method and so far my setup seems that everything is working apart from the Dovecot authentication which I believe I have traced to PAM. I can login using an AD account using: wbinfo -K # wbinfo -K Enter 's pass

Re: Omega Zip Drives on FreeBSD 8.*

2012-06-25 Thread Kaya Saman
On Mon, Jun 25, 2012 at 12:17 PM, Jakub Lach wrote: > In the next episode: > > Modern home video with Betamax and LaserDisc ;) > > -- > View this message in context: > http://freebsd.1045724.n5.nabble.com/Omega-Zip-Drives-on-FreeBSD-8-tp5721532p5721678.html > Sent from the freebsd-questions maili

Re: How to mirror the FreeBSD OS on two disks

2012-07-11 Thread Kaya Saman
On Wed, Jul 11, 2012 at 10:18 AM, miles kuo wrote: > Hi all, > > I have two SAS disks for the FreeBSD install. I want to install the freeBSD > on one disk and mirror to another disk. Just like the AIX Mirror. > > Any changes will sync between the two disks. And if one disk crashed or > disconnect

Is there a way to run FreeBSD ports through port 80?

2012-07-12 Thread Kaya Saman
Hi, I am trying to introduce FreeBSD into my office and it's been looked at with quite a bit of enthusiasm however, what makes it look bad is our companies 'security' policy to block FTP. At present they are running a whole bunch of CentOS based boxes and VM's which of course can be run through p

Re: Is there a way to run FreeBSD ports through port 80?

2012-07-12 Thread Kaya Saman
On Thu, Jul 12, 2012 at 5:33 PM, Devin Teske wrote: > > On Jul 12, 2012, at 9:23 AM, Kaya Saman wrote: > >> Hi, >> >> I am trying to introduce FreeBSD into my office and it's been looked >> at with quite a bit of enthusiasm however, what makes it look bad is

Re: Is there a way to run FreeBSD ports through port 80?

2012-07-12 Thread Kaya Saman
On Thu, Jul 12, 2012 at 5:47 PM, Mark Felder wrote: > On Thu, 12 Jul 2012 11:23:29 -0500, Kaya Saman wrote: > >> >> I would like to use ports specifically and not the pkg_add tool to get >> software. > > > Getting the ports tree with csup/cvsup wouldn't u

Re: Is there a way to run FreeBSD ports through port 80?

2012-07-12 Thread Kaya Saman
On Thu, Jul 12, 2012 at 6:15 PM, Devin Teske wrote: > > On Jul 12, 2012, at 9:42 AM, Kaya Saman wrote: > >> On Thu, Jul 12, 2012 at 5:33 PM, Devin Teske >> wrote: >>> >>> On Jul 12, 2012, at 9:23 AM, Kaya Saman wrote: >>> >>>> Hi, &

Re: Is there a way to run FreeBSD ports through port 80?

2012-07-12 Thread Kaya Saman
On Thu, Jul 12, 2012 at 6:41 PM, Wojciech Puchar wrote: >> I am trying to introduce FreeBSD into my office and it's been looked >> at with quite a bit of enthusiasm however, what makes it look bad is >> our companies 'security' policy to block FTP. > > > do you work FOR that company. Ask administr

Re: Is there a way to run FreeBSD ports through port 80?

2012-07-12 Thread Kaya Saman
On Thu, Jul 12, 2012 at 6:41 PM, Peter Vereshagin wrote: > Hello. > > 2012/07/12 13:19:56 -0400 Lowell Gilbert > => To Kaya Saman : > LG> URLs as well as FTP. For ones that aren't, (and assuming the rather > LG> silly security policies won't allow for an ex

Setting up a a route in FreeBSD with NAT issues

2011-03-11 Thread Kaya Saman
Hi all, I'm trying to setup a gateway between an internal network using Vbox test machines of which one is a FreeBSD router/gateway. Being familiar with Cisco I know how easy this is to do but I think that I'm struggling a bit with the syntax. My setup is as so: Damn Small Linux (virtual machin

Setting up a a route in FreeBSD with NAT issues

2011-03-11 Thread Kaya Saman
Ok I've managed to make some headway however it still isn't working properly: /etc/ipnat.rules #map em1 10.100.100.0/26 -> 0.0.0.0/32 portmap tcp/udp 1:65000 map em1 10.100.100.0/26 -> 0.0.0.0/32 map em1 10.100.100.0/26 -> 0.0.0.0/32 auto I then added this addition to the end of the /etc

Re: Setting up a a route in FreeBSD with NAT issues

2011-03-11 Thread Kaya Saman
26> -> 0/32 auto The trick was in fact to utilize the external interface within the NAT map file then direct the internal network via the 'gateway of last resort' - default route. The config can be easily adapted and modified from here if anyone is interested in doing somethi

Strange system lockups - kernel saying disk error

2011-06-03 Thread Kaya Saman
Hi, I have an ancient pre-HT PIV machine with <500MB RAM. The system has an extra PCI->SATA card installed so I can make use of modern high capacity drives. Everything was running fine until round about 2 days ago when the system started locking up on me? Current drive configuration for

Re: Strange system lockups - kernel saying disk error

2011-06-04 Thread Kaya Saman
Many thanks for the response! On 06/04/2011 02:00 AM, per...@pluto.rain.com wrote: Kaya Saman wrote: I have an ancient pre-HT PIV machine with<500MB RAM. ... Everything was running fine until round about 2 days ago when the system started locking up on me? ... is there anyway to fix

Re: Strange system lockups - kernel saying disk error

2011-06-04 Thread Kaya Saman
[...] Hmmm Hard drives do not like heat! Check the PSU voltages with a meter, for accuracy and ripple. Failing SMPS's can do all sorts of odd things. Capacitor problems. Been there done that. They can be changed for very low cost, other than your time. DaveB You might guess by know, I k

Re: Strange system lockups - kernel saying disk error

2011-06-05 Thread Kaya Saman
On 06/05/2011 03:48 AM, per...@pluto.rain.com wrote: Kaya Saman wrote: Did you apply any updates shortly before it started to fail? No updates! I did however, install unrar through ports. Intuitively, that seems unlikely to have triggered the problem. This doesn&#

Re: [direct] Re: Strange system lockups - kernel saying disk error

2011-06-05 Thread Kaya Saman
p messing with the blessed things! I have a sick Land Rover to fix too. Gearbox rear oil seal, also rear drive shaft UJ's. At least I can use big hammers on that sometimes... (Therapy!) Oh, the grass needs cutting, and I'm now also under instruction to change the bed, when the cat's

Re: Strange system lockups - kernel saying disk error

2011-06-06 Thread Kaya Saman
[...] PS: I don't suppose anyone knows a real good simple blow by blow total newby dialog, as to how to realiably and correctly create and setup Jails on FreeBSD 8.0? All the man pages I've found so far, are way over my head. Good "Reference" material admittedly, but no good as an instruction

Re: Sorry. Numpty alert! FreeBSD Jails... Help?

2011-06-07 Thread Kaya Saman
Hi guys, just as I've been helping out already I did actually have this lot in my Wiki: http://wiki.optiplex-networks.com/xwiki/bin/view/FreeBSD/Installing_FreeBSD [quote] Please take note however that the *Buildworld* environment needs to have *all sources* installed into the system in orde

Syslog server not logging remote machines to file?

2011-11-19 Thread Kaya Saman
Hi, I've got a really strange problem which seems to either be a bug with the syslog server service or perhaps because I'm running jails on my system. I can log my router syslog information but somehow the syslog server doesn't put the information into the designated file; which should b

Re: Syslog server not logging remote machines to file?

2011-11-19 Thread Kaya Saman
On 11/19/2011 05:21 PM, Robert Bonomi wrote: Kaya Saman wrote: Hi, I've got a really strange problem which seems to either be a bug with the syslog server service or perhaps because I'm running jails on my system. I can log my router syslog information but somehow the sys

Re: Syslog server not logging remote machines to file?

2011-11-19 Thread Kaya Saman
On 11/19/2011 06:52 PM, Robert Bonomi wrote: From kayasa...@gmail.com Sat Nov 19 09:33:08 2011 Date: Sat, 19 Nov 2011 17:31:50 +0200 From: Kaya Saman To: Robert Bonomi CC: freebsd-questions@freebsd.org Subject: Re: Syslog server not logging remote machines to file? On 11/19/2011 05:21 PM

Re: Syslog server not logging remote machines to file?

2011-11-19 Thread Kaya Saman
cvthname(192.168.1.1) validate: dgram from IP 192.168.1.1, port 59189, name router.domain; accepted in rule 0. logmsg: pri 275, flags 0, from cisco857w, msg 10048: 010035: Nov 19 10:33:48.037: %SYS-5-CONFIG_I: Configured from console by admin on vty0 (192.168.1.120) If we take the 'priority' of

Alternative to syslogd that actually writes external logs to files?

2011-11-28 Thread Kaya Saman
Hi, I would like to know if there's a syslog alternative out there that will actually write my network equipments' logs to files. After having major issues with syslogd and attempting a thorough debug of which I posted to this mailing list and wasn't able to fix even with more experienced pe

Re: Alternative to syslogd that actually writes external logs to files?

2011-11-28 Thread Kaya Saman
[...snip...] Properly configured, syslogd will log remotely. However something like sysutils/rsyslog may fit your requirements better. -- Adam Vande More Thanks for that. I have tested rsyslog which is backwards compatible with syslog but again something failed with that in order to write t

Re: Alternative to syslogd that actually writes external logs to files?

2011-11-28 Thread Kaya Saman
On 11/28/2011 08:58 PM, Damien Fleuriot wrote: On 11/28/11 7:09 PM, Kaya Saman wrote: [...snip...] Properly configured, syslogd will log remotely. However something like sysutils/rsyslog may fit your requirements better. -- Adam Vande More Thanks for that. I have tested rsyslog which is

Re: Alternative to syslogd that actually writes external logs to files?

2011-11-28 Thread Kaya Saman
On 11/29/2011 01:50 AM, Jon Radel wrote: On 11/28/11 6:42 PM, Kaya Saman wrote: However, when using tcpdump it shows that rsyslog is infact receiving information but still unfortunately not logging to file??? # tcpdump -tlnvv -i em0 port 514 tcpdump: listening on em0, link-type EN10MB

Re: Alternative to syslogd that actually writes external logs to files?

2011-11-28 Thread Kaya Saman
On 11/29/2011 03:13 AM, Adam Vande More wrote: On Mon, Nov 28, 2011 at 6:08 PM, Kaya Saman <mailto:kayasa...@gmail.com>> wrote: Yep! I don't actually run any rules on the firewall even though PF is enabled. it's just meant for fail2ban though. However, disabl

Re: Alternative to syslogd that actually writes external logs to files?

2011-11-28 Thread Kaya Saman
On 11/29/2011 04:18 AM, Fbsd8 wrote: Kaya Saman wrote: [...snip...] Properly configured, syslogd will log remotely. However something like sysutils/rsyslog may fit your requirements better. -- Adam Vande More Thanks for that. I have tested rsyslog which is backwards compatible with

Re: Alternative to syslogd that actually writes external logs to files?

2011-11-29 Thread Kaya Saman
On 11/29/2011 12:29 PM, Matthew Seaman wrote: On 29/11/2011 01:28, Kaya Saman wrote: As you know rsyslog works over udp and telnet is a tcp protocol so I enabled tcp on port 514 within rsyslog and telnet'ed from my router to the syslog server. Use netcat to test UDP connectivity -- it

Having problems running shell script from crontab

2012-01-07 Thread Kaya Saman
Hi, I wrote a shell script to detect if the port of tomcat was in use or not then restart if the port wasn't online; due to tomcat segfaulting as my system hasn't got enough memory for it. This is the shell script: #!/usr/local/bin/bash ntstat=`netstat -ap tcp | grep 8180 | sed -n '1p'` po

Re: Having problems running shell script from crontab

2012-01-07 Thread Kaya Saman
On 01/07/2012 03:05 PM, Yuri Pankov wrote: On Sat, Jan 07, 2012 at 02:21:51PM +0200, Kaya Saman wrote: Hi, I wrote a shell script to detect if the port of tomcat was in use or not then restart if the port wasn't online; due to tomcat segfaulting as my system hasn't got enough mem

Re: Having problems running shell script from crontab

2012-01-07 Thread Kaya Saman
On 01/07/2012 03:22 PM, RW wrote: On Sat, 07 Jan 2012 14:21:51 +0200 Kaya Saman wrote: The strange thing is that if I run this script manually /root/java_restart/java_restart.sh it works fine and does what it's supposed to do. The commonest reason for scripts that that work from a ter

Re: Having problems running shell script from crontab

2012-01-07 Thread Kaya Saman
On 01/07/2012 03:57 PM, RW wrote: On Sat, 07 Jan 2012 15:37:49 +0200 Kaya Saman wrote: n terms of paths this is what I'm doing: I'm in a FreeBSD jail logged in by - #jexec tcsh which gets me in as root. Crontab is being run as root so paths should be the same no? PATH is set at

Re: Having problems running shell script from crontab

2012-01-07 Thread Kaya Saman
On 01/07/2012 04:30 PM, Matthew Seaman wrote: On 07/01/2012 13:57, RW wrote: On Sat, 07 Jan 2012 15:37:49 +0200 Kaya Saman wrote: n terms of paths this is what I'm doing: I'm in a FreeBSD jail logged in by - #jexec tcsh which gets me in as root. Crontab is being run as root so pa

FreeBSD 9 on Lenovo X200 what works?

2012-01-25 Thread Kaya Saman
Hi, I discovered this thread: http://forums.freebsd.org/showthread.php?t=25539 and am wondering what will and won't work on my Lenovo X220 I'm currently in the process in deciding between FreeBSD 9 and Fedora 15/16. I love FreeBSD on servers but unfortunately I haven't had much luck with

Re: FreeBSD 9 on Lenovo X200 what works?

2012-01-26 Thread Kaya Saman
On 01/26/2012 01:57 AM, Da Rock wrote: Despite having similar hardware, you're only real best bet is to "suck it and see". Try installing and seeing what you can get to work (dmesg, pciconf -lv, usbconfig, kldload modules, questions here, etc). I've had mixed success with laptops (they're just

FTP server for install link broken?

2012-01-27 Thread Kaya Saman
Hi, am currently trying to install FreeBSD 9 on my Lenovo X220 and noticed that the link on this page in the FreeBSD Handbook is broken: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-pre.html with link provided here: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/ISO-IM

Re: FTP server for install link broken?

2012-01-27 Thread Kaya Saman
On 01/27/2012 04:16 PM, Warren Block wrote: On Fri, 27 Jan 2012, Kaya Saman wrote: am currently trying to install FreeBSD 9 on my Lenovo X220 and noticed that the link on this page in the FreeBSD Handbook is broken: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-pre.html

Re: FTP server for install link broken?

2012-01-27 Thread Kaya Saman
On 01/27/2012 07:22 PM, Warren Block wrote: On Fri, 27 Jan 2012, Kaya Saman wrote: On 01/27/2012 04:16 PM, Warren Block wrote: On Fri, 27 Jan 2012, Kaya Saman wrote: am currently trying to install FreeBSD 9 on my Lenovo X220 and noticed that the link on this page in the FreeBSD Handbook is

Dual Booting Linux with FreeBSD 9.0 - Grub in MBR

2012-01-27 Thread Kaya Saman
Hi, am just wondering if anyone has successfully managed to boot FreeBSD 9.0 and Linux. I run Fedora 16 x64 with Grub installed in my MBR. FBSD9 installed as the new disk scheme GPT. I think (I manually partitioned as my disk is quite crowded). Anyway I found this: http://lists.freebs

Re: Dual Booting Linux with FreeBSD 9.0 - Grub in MBR

2012-01-28 Thread Kaya Saman
On 01/28/2012 08:54 AM, Bas Smeelen wrote: On Fri, 27 Jan 2012 21:32:10 + Kaya Saman wrote: Hi, am just wondering if anyone has successfully managed to boot FreeBSD 9.0 and Linux. I run Fedora 16 x64 with Grub installed in my MBR. FBSD9 installed as the new disk scheme GPT. I think

RIP routing protocol implementation is FreeBSD?

2012-01-30 Thread Kaya Saman
Hi there, does anyone know if there's an implementation of the RIP version 2 routing protocol in FreeBSD??? I would like to use it to exchange routes with my Cisco 857W router as the BSD machine will provide routing for a virtual test network in VBox. I did check out the handbook for the

Re: RIP routing protocol implementation is FreeBSD?

2012-01-30 Thread Kaya Saman
On 01/30/2012 06:47 PM, Michael Sierchio wrote: On Mon, Jan 30, 2012 at 10:33 AM, Kaya Saman wrote: Hi there, does anyone know if there's an implementation of the RIP version 2 routing protocol in FreeBSD??? man routed The routed utility is a daemon invoked at boot time to manag

Re: RIP routing protocol implementation is FreeBSD?

2012-01-30 Thread Kaya Saman
On 01/30/2012 06:53 PM, Eric Masson wrote: Kaya Saman writes: Hi, does anyone know if there's an implementation of the RIP version 2 routing protocol in FreeBSD??? man 8 routed I did check out the handbook for the enable_routerd="YES" I'd try routed_enable = "YES

Re: RIP routing protocol implementation is FreeBSD?

2012-01-30 Thread Kaya Saman
On 01/30/2012 07:11 PM, Eric Masson wrote: Eric Masson writes: Sorry, Followup to myself. I'd try routed_enable = "YES" instead. router_enable = "YES" as Michael stated in another post. Regards Éric Masson The generic syntax of rc.conf is like so (using mine as example): zfs_enable="YE

Re: RIP routing protocol implementation is FreeBSD?

2012-01-30 Thread Kaya Saman
I'd try routed_enable = "YES" instead. Regards Éric Masson I have now setup a virtual instance of FreeBSD and another machine running Bind9 on OpenBSD. I can tell that the system is receiving RIP updates as netstat -r shows the routes advertised by my router however, it seems that RIP

Unknown IP address shows FreeBSD server MAC in arp cache

2013-04-24 Thread Kaya Saman
Hi, I'm experiencing a weird problem and I have no idea where to begin with this one! Basically what's happening is that I did a host scan from my NetBSD box running Cacti in order to 'Auto Discover' machines on my network; a php script on the Cacti server added an IP address xxx.xxx.1.52. Seei

Fwd: Unknown IP address shows FreeBSD server MAC in arp cache

2013-04-24 Thread Kaya Saman
-- Original Message Subject:Unknown IP address shows FreeBSD server MAC in arp cache Date: Thu, 25 Apr 2013 02:52:21 +0100 From: Kaya Saman To: freebsd-questions@freebsd.org Hi, I'm experiencing a weird problem and I have no idea where to begin with this one! Basical

Mother board compatibility and CF card usage as main storage device for small DNS server

2010-09-30 Thread Kaya Saman
Hi, I'm planning on using FreeBSD 8.0 x64 RELEASE edition for a small primary/secondary DNS server setup. The system will run Bind9 and have some zone files and views for the few people I host for. I am considering using a dual Atom system board with 2GB RAM and for storage was thinking of

Re: Mother board compatibility and CF card usage as main storage device for small DNS server

2010-09-30 Thread Kaya Saman
Thanks very much Brian: On 30/09/2010 17:02, Brian A. Seklecki (CFI NOC) wrote: On 9/30/2010 4:11 AM, Kaya Saman wrote: I mean for a DNS server (all be it a small one) is it wise to use compact flash as storage?? For our GSLB DNS Slaves, we boot embedded/low power (or even VMs these days

Re: Mother board compatibility and CF card usage as main storage device for small DNS server

2010-09-30 Thread Kaya Saman
On 30/09/2010 17:54, Brent Bloxam wrote: Kaya Saman wrote: From what you mention it sounds like a bad idea as the system disk will have many R/W's going through it it seems as /tmp and Swap get written to all the time. You can skip swap altogether and use MFS (memory filesystem)

Re: Mother board compatibility and CF card usage as main storage device for small DNS server

2010-10-01 Thread Kaya Saman
Many thanks for the responses! On 01/10/2010 02:52, Paul Wootton wrote: On 09/30/10 14:54, Kaya Saman wrote: On 30/09/2010 17:54, Brent Bloxam wrote: Kaya Saman wrote: From what you mention it sounds like a bad idea as the system disk will have many R/W's going through it it seems as

syslogd not writing to file?

2010-12-05 Thread Kaya Saman
Hi, I've got a weird problem that might be a bug with the 64bit RELEASE edition of FreeBSD 8.0. The issue is this: I provisioned 2 servers on two separate networks; one a 32bit system and the other a 64bit in order to log information coming from Cisco network equipment. The 32bit build work

Re: Is there a way to run FreeBSD ports through port 80?

2012-07-12 Thread Kaya Saman
On 07/12/2012 07:54 PM, Peter Vereshagin wrote: Hello. Why don't you use a portsnap? it's over http... 2012/07/12 19:01:15 +0100 Kaya Saman => To Peter Vereshagin : KS> I will check it out however and see if that method is best, however KS> CVSup would be the best way for

Re: Is there a way to run FreeBSD ports through port 80?

2012-07-12 Thread Kaya Saman
On 07/12/2012 08:13 PM, kpn...@pobox.com wrote: On Thu, Jul 12, 2012 at 06:44:56PM +0100, Kaya Saman wrote: I do infact work for this company and additionally I am one of the administrators of the company. The information comes straight down from the IT director who will **not** change his

Re: Is there a way to run FreeBSD ports through port 80?

2012-07-12 Thread Kaya Saman
On 07/12/2012 09:46 PM, Matthew Seaman wrote: On 12/07/2012 21:26, Kaya Saman wrote: My issues start coming into play when building the actual port itself. Ie. fetching the distfile, as you suggested above. As soon as I start running portmaster -a or a 'make install clean' on cer

FreeBSD in finance sector

2012-09-07 Thread Kaya Saman
Hi, Does anyone know of any financial firms or banks that run FreeBSD? I have been instructed to research this for the firm I work at as I am trying to get the senior management to switch over from Linux as our current network is in shambles. Thanks for any responses. Regards, Kaya _

Re: FreeBSD in finance sector

2012-09-07 Thread Kaya Saman
On 09/07/2012 07:17 PM, Polytropon wrote: On Fri, 07 Sep 2012 18:55:49 +0100, Kaya Saman wrote: Hi, Does anyone know of any financial firms or banks that run FreeBSD? I have been instructed to research this for the firm I work at as I am trying to get the senior management to switch over from

Crontab not working??

2010-01-13 Thread Kaya Saman
Hi, I installed logwatch from ports only it didn't install a crontab for me like Linux or Solaris does so I ended up attempting to copy my Linux crontab into FreeBSD. It didn't work so I tried to cut down areas which I suspected might not work and ended up with the syntax below for root: c

Re: Crontab not working??

2010-01-13 Thread Kaya Saman
Thanks, I inputted the data as you suggested so now I will wait until the time specified to see if it ran or not! Regards, Kaya Chuck Swiger wrote: Hi-- On Jan 13, 2010, at 4:20 PM, Kaya Saman wrote: It didn't work so I tried to cut down areas which I suspected might not work and

  1   2   >