Re: Hardware monitor needed

2007-06-21 Thread Martin Hudec

Hello,

Laszlo Nagy wrote:
This server is an X terminal server and the users connect to it with 'X 
-query ip'. Can I do something to reduce the load on the CPU? 
gnome-volume-manage uses 99% of the CPU, constantly -  why?

--Alex


You can try to trace them, what they are doing, what functions are 
called, etc. See man ktrace for details. Unfortunately I am unable to 
provide more help, as I do not know at this time, what is 
gnome-volume-manage..


kind regards,
Martin Hudec

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


Re: CVS release tag for current patched release

2007-05-06 Thread Martin Hudec

Jeffrey Goldberg wrote:
The short version of my question is whether the cvs tag RELENG_6_2 
refers to the latest on the 6.2 STABLE branch or the 6.2 RELEASE Branch.


RELENG_6 - actual -STABLE
RELENG_6_2 - actual -RELEASE-pX

-RELEASE are taken off -STABLE at predefined times, and as such we can 
say, that -RELEASE is snapshot from -STABLE at the date of new release. 
Development is being done in -STABLE.


So if you want to have current release with it's patchlevels as they 
are, use RELENG_6_2.


I wish to make some minor local modifications to my system running 6.2 
RELEASE p4.  So far, I've been maintaining my system using csup with a 
sup file based on


  /usr/share/examples/cvsup/standard-supfile

But my local changes get overwritten with each new update using csup.  I 
was advised earlier on this list to use cvs instead (which I thought 
csup did, but now I see that csup (and cvsup) will use checkout mode 
instead of CVS mode unless I'm on the bleeding edge.


Copy this file somewhere else, like /usr/local/etc and modify it as you 
need. Whole cvsup command would look like:


# cvsup -L 2 /usr/local/etc/stable-supfile

kind regards,
Martin

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


Re: upgrade

2007-04-29 Thread Martin Hudec

kalin mintchev wrote:

how painful is to upgrade srcs from 6 to 6.2? all backup and stuff?


If less prepared, then more painfull.

Backup everything. Get new sources. Check /usr/src/UPDATING for changes. 
Check /usr/src/sys/i386/conf/GENERIC (replace i386 by your arch) for 
changes against your custom kernel.


Good luck with upgrading.

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


Re: 6.2 custom kernel build HELP

2007-04-15 Thread Martin Hudec

Troy Kocher wrote:
/usr/src/sys/dev/usb/udbp.c:225: undefined reference to 
`ng_parse_int32_type'
udbp.o(.rodata+0x10):/usr/src/sys/dev/usb/udbp.c:227: undefined 
reference to `ng_parse_int32_type'
udbp.o(.rodata+0x24):/usr/src/sys/dev/usb/udbp.c:239: undefined 
reference to `ng_parse_struct_type'
udbp.o(.rodata+0x60):/usr/src/sys/dev/usb/udbp.c:250: undefined 
reference to `ng_parse_int32_type'

*** Error code 1

Stop in /usr/obj/usr/src/sys/SMP_TAOSCSI.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.


options NETGRAPH

is missing in your kernel config. man 4 netgraph for more information.

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


Re: Given this evidence, should I be worried that I may have been hacked

2007-04-14 Thread Martin Hudec

Jim Stapleton wrote:

I have DSA. I will change it to a nonstandard port, but I was
wondering what your oppinion on a good way to check if this is the
result of me being hacked, or just someone loosing interest.


If you are hacked, then something might or might not be going on your 
system (check for unusual stuff, like rise in number of processes, or 
disk usage, or network traffic, and think about it). You know how your 
system behave on day to day, do you?


Nevertheless generally speaking, 99.99% of these brute attempts to get 
ssh access is coming from various zombies, blindly trying out port 22, 
that's why the port change is usual advice. There are easier ways on how 
to get inside than just bruteforcing via login credentials wild 
guessing. For example take unsecured web server with some full-of-bugs 
content management system. Exploiting a vulnerability will allow someone 
(this time definitely not a zombie) to get into the system and go 
forward with any dark actions he/she might have in the mind.


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


Re: Server Load

2007-04-14 Thread Martin Hudec

Grant Peel wrote:

Last week I enabled DEFLATE in apache. I have since disabled it, due to it (I 
think), sotting the serever load sky high.
Since disableing it, the server load has not decreased by much, but I have 
narrowed it down to Apache (2.2) or mysqld that is shooting the load up.
The high server loads started last Monday morning, and continued all week.(up 
and down through the days and nights).

I was wondering if anyone knows of a way (or a utility) that can monitor apache 
and mysql at the domain level to help troublshoot where the root problem lies.

FreeBSD 6.2
Mysql 4.1.21
php 4.4.4


As for mysql, you can use databases/mytop for monitoring the performance 
of mysql database. Also you can use mysql logging options to check (like 
 log-slow-queries etc.).


As for apache, there is pretty ExtendedStatus option and server-status 
location (see httpd.conf). Also sysutils/apachetop for monitoring the 
performance of apache server.


Note that both utilities are not for unattended use.

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


Re: command to inentify the process that is listening in a port.

2007-04-09 Thread Martin Hudec

Siju George wrote:

How Do you actually Identify what process is listening on a TCP/IP port?
nmap does not usually give the right answer.
There should be some command that can be run on the local host for
identification right?


man lsof

5:35pm [amber] ~# lsof -i @localhost:123
COMMAND PID USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
ntpd552 root   10u  IPv4 0xc4c46000  0t0  UDP localhost:ntp

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


Re: advice on anti-spam tools

2007-04-08 Thread Martin Hudec

Angelin Lalev wrote:
My e-mail server is running the latest spamassassin with all of the blacklist enabled and etc. 
but I still receive over 20 spam messages a day (image spam mostly). 
The situation with other users may be worse.  That's why I was thinking about some tool that 
1. store incoming email
2. send request to the sender of the message, requiring to go to some address and enter the numbers (letters) 
from image

3. if the puzzle is solved in time (week or so) deliver the message, otherwise 
delete it.

Is there such tool(s) ?


As for image spam, it might be worthy to try out that mail/p5-FuzzyOcr 
as recommended by Kurt few days ago. I am considering to deploy it, as 
majority of the spam I am receiving is image one. Also check 
mail/spamass-rules_du_jour.


From my experience, simple setup of spamassassin, also feeding it with 
samples of 3800 spams and 3000 hams, and deployment of these rules du 
jour allowed me to get from (counted on per day basis) 314 spams to 8 
spams received to all of my 12 domains I have on my system, actually 
with two of those domains having some of their mail addresses spreaded 
widely on the net on various maillists etc. Data are statistical from 
January measurements, and though they might not be that much impressive 
in larger scale, they serve my purposes very well (getting to ~2.5% of 
the previous volume is quite fine for me). And one more thing, I do not 
have any greylisting at all, which would probably help the things even more.


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


Re: Installing Oracle Client 10g on FreeBSD

2006-10-16 Thread Martin Hudec

Hello,


Scott T. Hildreth wrote:

  I didn't either, but I am going to try. :-)

  Martin, how did you do this?


Well, as I've already had linux compatibility present in the system, 
I've installed instantclient for linux and built DBD::Oracle.


Currently I have it uninstalled as it is no longer needed for me, but I 
can try it and provide with instructions.


DBD::Oracle was being used by CMS system of my previous employer, and 
that CMS was based on native perl stuff, not linux perl stuff.



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


Re: Installing Oracle Client 10g on FreeBSD

2006-10-16 Thread Martin Hudec

Hello Vladimir,

Vladimir Terziev wrote:

I'll be very thankful if you provide working instructions how to 
intermix FreeBSD and Linux libraries.
Thanks in advance!


I sense bit of irony here, but I hope I just have wrong feeling :).
Mixing BSD and Linux libs? Well - what do you say on using native 
Firefox with linux flash plugin? Works too.


I will try to do it, and let's hope I'll be able to get oracle 
connection to test simple perl script as without it I am bit lost (I 
used only client stuff, not full oracle database).


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


Re: Installing Oracle Client 10g on FreeBSD

2006-10-15 Thread Martin Hudec

Hello,

Scott T. Hildreth wrote:
   He can't, DBD::Oracle uses oci underneath so he needs the Oracle client to get the shared 
   libraries.   Mike you also need to compile or install a linux perl and then install DBI  DBD::Oracle

   with the linux perl.  You could use DBD::Proxy instead of installing 
DBD::Oracle.  It installed
with DBI.  Type 'perldoc DBD::Proxy' to see the docs.  If you need help, you can email me 
   or join the [EMAIL PROTECTED]


Not fully correct - when I wanted to use DBD::Oracle, I did not need to 
install linux-perl - just instantclient (linux compatibility enabled) as 
Martinko mentioned. And it worked. And DBD::Oracle has been used with 
native perl.



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


Re: dovecot port not compiling with mysql support

2006-09-26 Thread Martin Hudec

Hello Eric,


Eric wrote:

i believe they just checked in an update to rc7 for dovecot with the fix
for high kqueue loads yesterday. Update your ports tree and you should
see it. The check in notes specifically mentioned the kqueue fix.


It's okay, but issue with compiling is reoccuring.


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


Re: dovecot port not compiling with mysql support [solved]

2006-09-26 Thread Martin Hudec

Hello all,


Martin Hudec wrote:

It's okay, but issue with compiling is reoccuring.


yesterday Martin Werner provided me with fix to this issue. Though it's 
a mysql issue in 5.0.x [1] , one can workaround it [2] when compiling 
dovecot with mysql support.


[1] http://bugs.mysql.com/bug.php?id=7
[2] http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/103691


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


dovecot port not compiling with mysql support

2006-09-25 Thread Martin Hudec

Hello all,


as I am experiencing serious performance degradation while using dovecot 
(extremely high cpu usage), I've tried to recompile it without kqueue 
support as it seems to be the root cause (this issue is being solved in 
dovecot maillist), but I am getting error while wanting to compile with 
MySQL support in driver-mysql.c (please see below for more information).


Is there someone experiencing the same issue? Or should I file pr?


thanks,
Martin Hudec


RELEVANT INFORMATION

1.) config options
MySQL support enabled, kqueue support disabled.

2.) output from make all
...
Making all in lib-sql
if cc -DHAVE_CONFIG_H -I. -I. -I../..  -I../../src/lib 
-I/usr/local/include/mysql  -I/usr/local/include  -std=gnu99 -O2 
-fno-strict-aliasing -pipe  -Wall -W -Wmissing-prototypes 
-Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 
-Wbad-function-cast -MT driver-mysql.o -MD -MP -MF 
.deps/driver-mysql.Tpo -c -o driver-mysql.o driver-mysql.c;  then mv 
-f .deps/driver-mysql.Tpo .deps/driver-mysql.Po; else rm -f 
.deps/driver-mysql.Tpo; exit 1; fi

driver-mysql.c: In function `driver_mysql_parse_connect_string':
driver-mysql.c:234: error: `ulong' undeclared (first use in this function)
driver-mysql.c:234: error: (Each undeclared identifier is reported only once
driver-mysql.c:234: error: for each function it appears in.)
driver-mysql.c:234: error: syntax error before numeric constant
*** Error code 1

Stop in /usr/ports/mail/dovecot/work/dovecot-1.0.rc7/src/lib-sql.
*** Error code 1

Stop in /usr/ports/mail/dovecot/work/dovecot-1.0.rc7/src.
*** Error code 1

Stop in /usr/ports/mail/dovecot/work/dovecot-1.0.rc7.
*** Error code 1

Stop in /usr/ports/mail/dovecot/work/dovecot-1.0.rc7.
*** Error code 1
...

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


Re: Restricting access to home directory

2006-09-24 Thread Martin Hudec

Hello Matt,

Matt Juszczak wrote:

Hi all,

I would like to give a user access to my box via some kind of FTP but 
restrict him to his home directory.


I have seen scponlyc, which supposedly can do this, but can't seem to 
get it working.


I have also read up on protftpd + ssl, and configuring it to lock users 
into their home directories.


What would all of you recommend as a viable secure solution to this?


First of all, scp (scponly) is not a FTP service. Nevertheless both 
options are just fine. Proftpd is able to jail users inside their dirs.


Settings required in proftpd.conf:

DefaultRoot ~ [group]

where ~ are their specified homedirs and group is optional (members of 
that group will be jailed to their homedirs, others will be able to 
browse everywhere, if group is not used, everybody using proftpd will be 
jailed).


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


Re: Zabbix Port

2006-09-23 Thread Martin Hudec

Hello David,


David Schulz wrote:
The /usr/ports/net-mgmt/zabbix Port consists out of two components, 
Server and Agent. I would like to install the Agent only, so it shouldnt 
need all these large dependencies such as mysql etc, but i cant figure 
out how to do that. I skimmed trough the Makefile, and it mentions 
things about ZABBIX_AGENT_ONLY , but i can figure out how to turn that 
knob. Can anyone tell me please?


usually reading Makefile in the port directory can reveal the knob. In 
this case just use:


make ZABBIX_AGENT_ONLY=yes install

or, as has been proposed by Norberto Meijome, -DZABBIX_AGENT_ONLY.

Also, if you use portupgrade, please add following to 
/usr/local/etc/pkgtools.conf MAKE_ARGS section:


'net/mgmt/zabbix' = 'ZABBIX_AGENT_ONLY=yes',

as portupgrade will need to know that you've used this knob in first 
install, so it would not install whole zabbix on the upgrade run.



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


Re: Zabbix Port

2006-09-23 Thread Martin Hudec

Hello Charles,


Charles Trevor wrote:
  If done this way portupgrade et al shouldnt revert to building the 
full package, which they seem to if you use a make flag to build the 
client portion only.


As to avoid this issue of portupgrade not knowing the make flags used 
during first install, there is /usr/local/etc/pkgtools.conf file with 
its MAKE_ARGS section, where you can define this and portupgrade will 
know the make flags to be used during upgrade process.



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


Re: Migrating from postfix to postfix

2006-09-07 Thread Martin Hudec

Hello,

Hair wrote:

Hello, the company I work for has decided to host web and mail internally
instead of paying a hosting company.  I have gotten freebsd set up and
postfix and squirrelmail up and running.  Is there a way to migrate saved
messages from the old server to the new one?  I tried simply stopping
postfix on both servers, copy /var/mail/username and restart postfix, but
the copied mail does not show up.  Thanks.


Check for mbox support in your pop3/imap service as it seems to me that 
you use mbox as mailformat. Also check access rights, check 
configuration of pop3/imap service (whatever software you use for this, 
like Courier, Dovecot etc.).


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


Re: Restricted SFTP access to server for one user

2006-03-28 Thread Martin Hudec

Hello Ashley,

Ashley Moran wrote:
I don't want to install an FTP program, and we 
don't use password authentication for SSH, so I'm going to tell him to create 
a key pair and send us his public key.


Maybe for the client, it would be better to use also password based 
authentication, ask him - he is the client and he should define what he 
wants.


I can remove his login shell, but how do I restrict him to only view his home 
directory over SFTP?


I think that shells/scponly should have chroot ability for their users.


Cheers,
Martin

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


Re: server crashing/deadlocking

2006-03-27 Thread Martin Hudec

Hello Chris,

Chris wrote:

I also want to know by enabling console.log will it catch everything
that pops up on the screen and if no how do I do that?


In /etc/syslog.conf look for line with console.info, uncomment it, and 
HUP down the syslogd process, or issue restart to /etc/rc.d/syslogd


Martin

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


Re: Low network performance after upgrade from FreeBSD 4.8 to 6.0

2006-03-20 Thread Martin Hudec

Hello,

Bohuslav Plucinsky wrote:
I use the FreeBSD box as the firewall with NAT (ipfw + natd). 
When I've upgraded the box from 4.8-20030810-STABLE to 6.0-RELEASE
I've noticed a performance degradation. 
CPU states:  8.8% user,  0.0% nice, 59.6% system, 31.6% interrupt,  0.0% idle

  PID USERNAME  THR PRI NICE   SIZERES STATETIME   WCPU COMMAND
  229 root1 1050  1428K   904K RUN  0:35 40.82% natd
When I change the IP addresses on inside interface from private to public
and disable NAT, the throughput is again 80Mbps.


Is it possible to switch to pf (available on 6.x) and to set HZ to 1000?
Also you could try to switch on polling on those 3coms?

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


Re: System administration question

2006-03-18 Thread Martin Hudec

Hello,

Paul Schmehl wrote:
Is there a port or utility that allows you to monitor system stats by 
(either interactively or periodically) reading the various stat 
utilities (fstat, iostat, pstat or swapinfo, systat, top, vmstat, etc.) 
and sending a report to root that summarizes system condition?


I am using my own shell script to send mail reports about various 
conditions of system.


Also I am using stuff like nagios, munin to monitor my servers and to 
provide me with notifications in case of incidents.


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


Re: System administration question

2006-03-18 Thread Martin Hudec

Hello Paul,

Paul Schmehl wrote:
I thought about doing that as well, but I'm wondering if there is 
something that already exists.  (No sense in reinventing the wheel.)  
Also, feeding the info to a database so trending information would be 
available as well would probably be a nice feature.


Well I wasn't looking for it :) I reinvented it, because I needed to 
learn the shell a bit better than I knew at that time.


I hope that there are alternatives out there.. :).

The problem I have is I have one server running everything: list 
software (mailman), smtp (postfix), imap (courier-imapd), web 
(apache13/mod_ssl), webmail (squirrelmail), dns (bind9) and bulletin 
board software (ultimatebb).  The website gets over 5 million 
hits/month, so I don't want to add any more daemons, if I don't have to.


Something that spawns a short-term shell or process daily in the early 
morning hours would probably be the best solution.


I think you would like to continuously monitor your services, not just 
on those early morning hours. Continuous monitoring is nice thing.
Take munin as example, it has two ports, munin-main (as master doing all 
the work) and munin-node (small daemon listening on port 4949 - 
configurable - just providing information for munin-main on demand).


Also nagios could be (recommended) running its main part outside that 
one heavyused server.


Cheers,
Martin

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


Re: Best Way to Start an App at Boot Time?

2006-03-18 Thread Martin Hudec

Hello Chris,

Chris Maness wrote:
I like the rc.conf file idea that FreeBSD uses to start daemons.  I have 
a python script (i.e. denyhosts.py) that I would like to launch in a 
daemon mode at boot time.  How would I add this as an option for 
rc.conf, or is there a better more official way to do this?


Put it in /etc/rc.local perhaps?

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


Re: Best Way to Start an App at Boot Time?

2006-03-18 Thread Martin Hudec

Hello Robert,

robert wrote:

rc.local is not normally used with later versions of Freebsd - see man
rc.local. 


The script should tell you how to use it, but normally it should be
added to /usr/local/etc/rc.d and called from /etc/rc.conf with something
like denyhosts=YES.


Nice to know this :), thank you.

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


Re: Ask for your recommended system network monitoring system.

2006-03-15 Thread Martin Hudec

Hello,

Supote Leelasupphakorn wrote:

Hi all

  I'm currently run FreeBSD 4.11 on my box for a year
and very impress its performance. Now I'd like to monitor
disk space, system and network status of some servers at
work via web-based.

Any monitor tool you are using or recommended ?


There are many of 'em, for example I am using:

net-mgmt/nagios - http://www.nagios.org
sysutils/munin-main (server)- http://munin.projects.linpro.no/
sysutils/munin-node (remote agent)

Also I am going to look into zabbix (http://www.zabbix.org/) which is 
bit older in ports (net-mgmt/zabbix for main, net/zabbix-agent for 
remote agents), but you can try version from their webpage.


Also there is nice piece called monit (http://www.tildeslash.com/monit/) 
which can also proactively take some actions based on current status, so 
it can avoid few incidents.


Email notification and alerts are quite standard in all those examples.


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


Re: Setting fbsd up as a router?

2006-03-08 Thread Martin Hudec

Hello,

[EMAIL PROTECTED] wrote:
It is not 'BSD based [wish it was]  but rather than reinvent the wheel, 
I would strongly recommend you try out  IP-Cop http://ipcop.org/   A 
mere 20MB download gets you a CD ISO image that installs the whole Linux 
based firewall on a PC.  Up to 4 interfaces, web configuration, traffic 
statistics, snort, transparent squid proxy, DHCP, VPN,  just about 
anything you would probably want.


From FreeBSD area of specialized firewalls:
Based on 4.x/ipf,ipfw etc. there is m0n0wall (http://www.m0n0.ch/wall/).
Based on 6.x/pf etc. there is pfSense (http://www.pfsense.com).

From Linux area of specialized firewalls there is also Shurdix 
available (http://www.shurdix.org/).



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


Re: Help Please

2006-03-07 Thread Martin Hudec

Hello Marc,

Marc Ravenor wrote:

I work for a systems integrator based in the UK. I have a client that is
currently using FreeBSD version 4.11 and version 6. He currently wants
to use the software on an HP DL320 G4 server. The problem he is facing
at the moment is that when the software is loaded he is unable to see
the drives in the server.


What kind of software is he loading? Are we speaking about boot process 
of both versions of FreeBSD? What kind of hardware configuration 
(especially sata controllers or any disk controllers at all) does this 
g4 server have?


I am happily using FreeBSD 6 on DL380 G4 with HP Smart Array 6i (ciss 
driver).


Martin


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


Re: System Burn In

2006-02-28 Thread Martin Hudec

Hello,

Don O'Neil wrote:

What is the best way to 'burn in' or 'stress test' a new system w/ FreeBSD?
I'd like to stress test the CPU, Memory, Disk, etc.. To make sure the
hardware is 100% good before putting it in production.


You want to test hardware, not OS, so I would recommend you to use:
http://www.ultimatebootcd.com/

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


Re: Large imap server.

2006-02-07 Thread Martin Hudec

Hello,

Bill Campbell wrote:

On Tue, Feb 07, 2006, Albert Shih wrote:

I search some advice for large imap server.

For me large is : 1000 users with 1 Go mails for each users. And every
users check by imap/pop those mail every 2 or 3 minutes.

What's the «best» imap server ? Cyrus Imap or Courier-Imap ? (please this
is not a troll).


I prefer Courier-imap because it uses Maildir storage while Cyrus
uses something similar in that it stores each message in a file,
but Cyrus also maintains index files which can get corrupted.

We have several systems running courier-imap with 6000+ mailboxes
on a single server without problems.


Dovecot has also nice feature of proxying :) - see more:
http://wiki.dovecot.org/ImapProxy

Cheers,
Martin

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


Re: Program for restarting stopped/crashed daemons

2006-01-31 Thread Martin Hudec

Hello,

db wrote:

Hi all

I've been looking for a program to restart apache, postfix and my other server 
daemons when they stop/crash, but couldn't find a good one. I've read the 
sourcecode for sysutils/monit and sysutils/monitord but they seem to 
need /proc and insist on poll instead of using kqueue(2) and kevent(2). So 
before I start coding my own, can someone recommend a port or tell me why 
kevent(2) shouldn't be used for this?


And what is exactly wrong with /proc running?

I have had procfs turned off, but our content management application 
does need to have access to /proc, because in its management of 
processess (fastcgi app with custom management of cron processes of its 
own) it have not been able to manage them without it. We used 
alternative like p5-Proc-ProcessTable, but it did sometimes render our 
system unusable, userland unresponsive (although kernel was okey).


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


Re: Foreign language posts (was: Pooomooocyyyy ;()

2006-01-18 Thread Martin Hudec

Hello,

[EMAIL PROTECTED] wrote:

Wekk op n smehl da Kaffe, dood!
Effn ah kaint reed et, how dew ah no et
aint L kadeh plennen to rep muh guhrl?
bee jes lahk duh bestads ta yoose Politch!
 -LenZ-


C'est du Klingon ??



[EMAIL PROTECTED] :)

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


Re: New Logo

2005-11-03 Thread Martin Hudec
Hello,


On Tue, Nov 01, 2005 at 01:32:20PM -0700 or thereabouts, Chad Leigh -- 
Shire.Net LLC wrote:
 Even though I was in favor of a logo being made for FreeBSD (we can keep 
 beastie as a mascot), the winner is not what I would call a good 
 logo for the purposes for which logos are used...

  What about this avatar: http://www.coada.org/pic/stuff/freebsd.jpg

  ;)

-- 
Martin Hudec


   * 421 907 303 393
   * [EMAIL PROTECTED]
   * https://aeternal.net

Nothing travels faster than the speed of light with the possible 
exception of bad news, which obeys its own special laws.

   Douglas Adams, The Hitchhiker's Guide to the Galaxy


pgpQe6IU25LoI.pgp
Description: PGP signature


Re: Installing 2nd CPU on SMP board

2005-10-19 Thread martin hudec
Hello,

On Wed, Oct 19, 2005 at 03:44:46PM -0500 or thereabouts, Doug Poland wrote:
 I've inherited an SMP machine for which I've no documentation and don't
 have convenient access to the hardware itself.  The computer has a
 single Xeon 2.8GHz CPU and I'd like to purchase another CPU.  Question
 is, can I simply match another Xeon of the same speed and expect it to
 work?  If I need more info, will dmesg(8) tell me what I need to know?

  well best for you will be to find information about your current CPU
  which is in place, by using sysutils/dmidecode port which will tell
  you what kind of CPU (frequency, L2 cache etc.) you have.

have a nice day,
Martin

-- 
martin hudec


   * 421 907 303 393
   * [EMAIL PROTECTED]
   * http://www.aeternal.net

Nothing travels faster than the speed of light with the possible 
exception of bad news, which obeys its own special laws.

   Douglas Adams, The Hitchhiker's Guide to the Galaxy


pgp4ovhbXSbMK.pgp
Description: PGP signature


Re: Installing 2nd CPU on SMP board

2005-10-19 Thread martin hudec
Hello,

On Wed, Oct 19, 2005 at 06:26:54PM -0500 or thereabouts, Doug Poland wrote:
 Well, I have dmesg output and the output from dmidecode.  I may be dense
 but I don't see the sSpec number in the output.  Can it be derived from
 these data?

  Well I don't know anything at all about sSpec number, but these:

Family: Xeon
Manufacturer: Intel
ID: 34 0F 00 00 FF FB EB BF
Signature: Type 0, Family 15, Model 3, Stepping 4
Version: Intel(R) Xeon(TM) CPU 2.80GHz   
External Clock: 200 MHz
Max Speed: 2800 MHz
Current Speed: 2800 MHz

  should be enough for you to choose new CPU to pair with this one. Also
  look for L2 cache info (it is also in dmidecode output). Anyway your
  hardware partner should have data about server he delivered to you and
  which are you about to upgrade.. enough data to choose right CPU for
  you.. We have Fujitsu Siemens Primergy TX200 from Siemens and we just
  picked up the fone and called them that we want second CPU and RAM
  upgrade and that was all I had to do.

-- 
martin hudec


   * 421 907 303 393
   * [EMAIL PROTECTED]
   * http://www.aeternal.net

Nothing travels faster than the speed of light with the possible 
exception of bad news, which obeys its own special laws.

   Douglas Adams, The Hitchhiker's Guide to the Galaxy


pgpIZoWwCeYKH.pgp
Description: PGP signature


hw raid monitoring for ciss

2005-10-07 Thread martin hudec
Hello,

  is there anything like sysutils/asr-utils hardware raid diagnostics
  but not for asr devices but ciss devices (like those in HP Proliant
  DL380 G4)?

-- 
martin hudec


   * 421 907 303 393
   * [EMAIL PROTECTED]
   * http://www.aeternal.net

Nothing travels faster than the speed of light with the possible 
exception of bad news, which obeys its own special laws.

   Douglas Adams, The Hitchhiker's Guide to the Galaxy


pgpuRzkrbgr6z.pgp
Description: PGP signature


Re: run php from crontab

2005-10-06 Thread martin hudec
Hello,

On Fri, Oct 07, 2005 at 12:47:19AM +0200 or thereabouts, Janko Harej wrote:
 I would like to set crontab for executing php script. I've set up
 apache 1.3 with mod_php and mysql and egroupware. All works fine. The
 problem is that I can not find php on my disk. I've tried to install
 php4 package but the sistem tells me, that there is already mod_php
 installed.
 
 Can anybody help me? How can I set something like
 
 /5 * * * * apache /usr/bin/php -q
 /var/www/html/phpgwapi/cron/asyncservices.php default
 
 in my cron tab if I don't know where php preprocesor is. How can I
 figure out how apache is serving php pages?

  You need to have lang/php4 port installed first, because it conflicts
  with mod_php4*. Install www/mod_php4 after you have lang/php4 
  installed.

  Also read pkg-message.mod in lang/php4 for instructions how to enable
  php support in Apache. After then, go for lang/php4-extensions to
  install whatever php module your heart desires.

Cheers,

-- 
martin hudec


   * 421 907 303 393
   * [EMAIL PROTECTED]
   * http://www.aeternal.net

Nothing travels faster than the speed of light with the possible 
exception of bad news, which obeys its own special laws.

   Douglas Adams, The Hitchhiker's Guide to the Galaxy


pgp8HruqNe1hr.pgp
Description: PGP signature


Re: Which MySQL version best to use and with/without linux threads?

2005-09-30 Thread martin hudec
Hello,

On Fri, Sep 30, 2005 at 08:08:32PM +0400 or thereabouts, Andrew P. wrote:
 As for the MySQL version (branch) - the only
 difference you should care about is feature set.
 If you feel comfortable without triggers and
 stored procedures (their absence makes
 many professional MSSQL/Oracle/Postgres
 users frown upon MySQL) you shouldn't be
 looking at MySQL 5.0 for at least another
 half a year. As for 4.1/4.0 - you should probably
 stick to 4.0 on your mission-critical servers,
 but certainly try 4.1 on your production, but
 not so critical servers.

  4.1 has collations, ndb clustering.. I am currently deploying these
  features to our.. mission critical servers.. and I am playing with
  idea to use 5.0.13 for this - after very intensive testing of course
  :)..

  If one has no need for collations and clustering, then your advice to
  stay with 4.0 is good.. one might experience slight difficulties while
  migrating databases with utf8 data (length of keys etc.).

-- 
martin hudec


   * 421 907 303 393
   * [EMAIL PROTECTED]
   * http://www.aeternal.net

Nothing travels faster than the speed of light with the possible 
exception of bad news, which obeys its own special laws.

   Douglas Adams, The Hitchhiker's Guide to the Galaxy


pgpI5H4xSRbqP.pgp
Description: PGP signature


Re: Which MySQL version best to use and with/without linux threads?

2005-09-30 Thread martin hudec
Hello,

On Fri, Sep 30, 2005 at 09:25:37AM -0700 or thereabouts, Freddie Cash wrote:
 Scott Long and Kris Kenneway ran various benchmarks back in the early 
 5.x days comparing MySQL 4 compiled with LinuxThreads, libc_r, libkse 
 (the default threading library on 5.x and 6.x), and libthr.  In almost 
 all cases, libkse was just as faster or faster than LinuxThreads.

  I will try google for benchmarks of libkse vs linuxthreads (as my
  production servers are running happily on 6.0-BETA5), cause I has been
  driven into by my colleagues developers to use linuxthreads for mysql
  (we have multiprocessor systems and they say that linuxthreads perform
  better on MP systems than original FreeBSD stuff) - I must admitt that
  I have zero knowledge about threading in FreeBSD :/ so I didn't have
  any objections at all.

 MySQL 5.x hasn't even hit beta yet, you definitely don't want to be 
 using it on a production system.  :)

  MySQL 5.0.13 hit release candidate, see:
  http://www.mysql.com/news-and-events/news/article_959.html

-- 
martin hudec


   * 421 907 303 393
   * [EMAIL PROTECTED]
   * http://www.aeternal.net

Nothing travels faster than the speed of light with the possible 
exception of bad news, which obeys its own special laws.

   Douglas Adams, The Hitchhiker's Guide to the Galaxy


pgpuewAKi4aXT.pgp
Description: PGP signature


Re: Upgrading mysql 4.0 to 4.1

2005-09-22 Thread martin hudec
Hello,

On Thu, Sep 22, 2005 at 09:40:32AM +0200 or thereabouts, Erik Norgaard wrote:
 mysql client 4.1 cannot connect to server 4.0 (and AFAIK, nor can client 4.0 
 connect to server 4.1) which justifies the existence of 
 separate ports.

  Actually mysql 4.1 client is able to connect to mysql 4.0 server. I
  migrated our production servers to 4.1, with some databases still left
  in few 4.0, and applications are able to communicate with both
  versions via mysql 4.1 client.

  [amber] ~ mysql --version
  mysql  Ver 14.7 Distrib 4.1.13, for portbld-freebsd5.4 (i386) using
  4.3
  [amber] ~ 
  [amber] ~ 
  [amber] ~ 
  [amber] ~ mysql -u corwin -p -h 192.168.0.13 
  Enter password: 
  Welcome to the MySQL monitor.  Commands end with ; or \g.
  Your MySQL connection id is 44001 to server version: 4.0.25

  Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

  mysql 
  
-- 
martin hudec


   * 421 907 303 393
   * [EMAIL PROTECTED]
   * http://www.aeternal.net

Nothing travels faster than the speed of light with the possible 
exception of bad news, which obeys its own special laws.

   Douglas Adams, The Hitchhiker's Guide to the Galaxy


pgp4Fc1GOFViZ.pgp
Description: PGP signature


ACPI error messages in dmesg on 6.0-BETA5

2005-09-22 Thread martin hudec
Hello,

  I am getting strange errors in dmesg on one of our servers. Are these
  errors something critical, or there is no need to pay attention to
  them? Errors are those with looking up [] in namespace as shown
  below.

thank you,
Martin
  
FreeBSD 6.0-BETA5 #3: Thu Sep 22 09:31:10 CEST 2005
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SERVER2
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (3010.68-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0xf41  Stepping = 1
  
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,PB
E
  Features2=0x441dSSE3,RSVD2,MON,DS_CPL,CNTX-ID,b14
  Hyperthreading: 2 logical CPUs
real memory  = 1073414144 (1023 MB)
avail memory = 1041219584 (992 MB)
ACPI APIC Table: A M I  OEMAPIC 
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
ioapic0 Version 2.0 irqs 0-23 on motherboard
npx0: [FAST]
npx0: math processor on motherboard
npx0: INT 16 interface
acpi0: A M I OEMXSDT on motherboard
ACPI-0438: *** Error: Looking up [CHAF] in namespace, AE_NOT_FOUND
SearchNode 0xc232e780 StartNode 0xc232e780 ReturnNode 0
ACPI-0438: *** Error: Looking up [OC06] in namespace, AE_NOT_FOUND
SearchNode 0xc23335c0 StartNode 0xc23335c0 ReturnNode 0
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
acpi0: Power Button (fixed)
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR


-- 
martin hudec


   * 421 907 303 393
   * [EMAIL PROTECTED]
   * http://www.aeternal.net

Nothing travels faster than the speed of light with the possible 
exception of bad news, which obeys its own special laws.

   Douglas Adams, The Hitchhiker's Guide to the Galaxy


pgpZEJLHu41NU.pgp
Description: PGP signature


Re: portsnap segmentation fault

2005-09-17 Thread martin hudec
Hello,

On Sat, Sep 17, 2005 at 02:56:11PM -0600 or thereabouts, Pat Maddox wrote:
 When I run portsnap update, I get the following error after it
 extracts the files:
 Building new INDEX files... Segmentation fault (core dumped)
 
 This is occuring on three different machines, so I'm guessing it's a
 problem with portsnap, not my one machine. But they all have similar
 configurations, so it could be my setup, I don't know.
 
 Any ideas what's going on?

  You are probably correct in your guess.

  Colin Percival commited fix and update to portsnap (current version is
  0.9.5) today, which fixes make index coredumping when encounter a
  circular dependency is made.

  So upgrade your portsnap installation and I hope it will solve your
  problem.

Cheers,
Martin

-- 
martin hudec


   * 421 907 303 393
   * [EMAIL PROTECTED]
   * http://www.aeternal.net

Nothing travels faster than the speed of light with the possible 
exception of bad news, which obeys its own special laws.

   Douglas Adams, The Hitchhiker's Guide to the Galaxy


pgpJMzzh6uoAr.pgp
Description: PGP signature


Re: php extensions compile error - another compile bug?

2005-09-11 Thread martin hudec
Hello David,

On Sun, Sep 11, 2005 at 07:50:14AM -0700 or thereabouts, Vizion wrote:
 Seeing as I am in the process of trying to build a resource to help victims 
 of 
 the Katrina disaster your tone of  correspondence, and speed of engagement, 
 has the unfortunate effect of reminding me about FEMA.
 
 There are two bugs in the makefile and one other issue that causes problems, 
 so it is not surprising that some degree of traffic was generated. 
 
 Seeing as the two bugs appear to be in your php Makefile and that other 
 people 
 have helped me resolve them on the mailing lists, it is not surprising you 
 have received, not only the private email, but also the listmail which 
 tracked how others responded, while you sat back quietly. I even wondered 
 whether you were a victim of Katrina and were therefore unable to function 
 for that reason.

  Please try to be professional and try not to let emotions get rule
  over you. Reminders of Katrina all the time are imho absolutely
  irrelevant and I considered them to be purpose-made. I do have respect 
  for all the work that is being done during these hard times. So should
  you have respect on other hand on work and time of others, who are
  willing to give their time and resources to solve your problem. Maybe
  he was not sitting back quietly, maybe he was with his dying father in
  hospital. You don't know. So do not make wrong assumptions.

 When one is trying, against a background of some urgency, to solve bugs, and 
 there is no feed back from the first responder, then those who are 
 resourceful turn to the appropriate mailing lists. 

  Appropriate mailing lists are meaned by you to be every possible lists that
  contain php and/or freebsd in their name? For example: your mail with
  query around www/phpbb makefile in freebsd-hackers@ - what the heck
  has freebsd-hackers@ to do with this mail? Shouldn't be freebsd-ports
  more appropriate?

 If you feel like upset by the amount of traffic that you receive then you 
 might consider dropping some of the mail lits to which you subscribe, and use 
 the time you save to at least acknowledge requested bug reports and other 
 emails sent directly to you. In which case you would have had no reason to 
 have complained about the traffic and I might have had some chance of getting 
 a genuine and thoughtful response from you.

  This is absolutely arrogant of you to say that one should drop off
  from some maillists. This was not his problem but yours. You've
  spammed. And spammers usually are banned. If you are not able to solve
  it by yourself and if you are not able to respect others on these
  lists, then please do consider to outsource these task you are solving
  to other professional who will think before asking help from others.

  But as I am reading your mail from Thursday about Stupid working too
  late.. on [EMAIL PROTECTED] I would give you one advice: get some
  rest and sleep. You are working under too much stress to be able to
  handle it and you need to rest obviously. That is my feeling while
  reading your emails. Please do not feel offended. 

  I apologize to everyone for being too off-topic here.

good luck with your efforts,
Martin

-- 
martin hudec


   * 421 907 303 393
   * [EMAIL PROTECTED]
   * http://www.aeternal.net

Nothing travels faster than the speed of light with the possible 
exception of bad news, which obeys its own special laws.

   Douglas Adams, The Hitchhiker's Guide to the Galaxy


pgp0FjjeueIml.pgp
Description: PGP signature


Re: which mutt??

2005-09-10 Thread martin hudec
Hello,

On Sat, Sep 10, 2005 at 07:41:39PM +0200 or thereabouts, Erik Trulsson wrote:
  mutt-devel

 This is a development version of mutt.  Is newer and has more features than
 plain mail/mutt, but has possibly more bugs too.

  This one is good to use..

  mutt-ng
 
 This is a branch of mutt, that tries to incorporate various patches that are
 floating around.  What I wrote above about mail/mutt-devel applies here too,
 only more so.

  I have switched from mutt-devel to this baby.. it is pretty good, and
  it offers few things I was missing in mutt-devel, like imap headers
  caching etc.

  One can switch between mutt-devel and mutt-ng pretty easily.. there is
  also good script to convert .muttrc config file into .muttngrc.

  For more information go to http://mutt-ng.berlios.de/.

Cheers,
Martin

-- 
martin hudec


   * 421 907 303 393
   * [EMAIL PROTECTED]
   * http://www.aeternal.net

Nothing travels faster than the speed of light with the possible 
exception of bad news, which obeys its own special laws.

   Douglas Adams, The Hitchhiker's Guide to the Galaxy


pgpgi55wr9s5k.pgp
Description: PGP signature


Re: which mutt??

2005-09-10 Thread martin hudec
Hello,

On Sat, Sep 10, 2005 at 05:40:12PM -0500 or thereabouts, Dan Nelson wrote:
 Just build mutt-devel with WITH_MUTT_IMAP_HEADER_CACHE=yes (it's been
 an option since 2003).  Actually it'd be nice if those were converted
 to OPTIONS so people knew about them.

  frankly from what I have understood the situation, mutt-ng is being
  developed or used by people, who think that implementation of various
  patches into mutt-devel is too slow for them. I do think that all
  changes in mutt-ng will be sooner or later also implemented into
  mutt-devel. So it is not importnat which mutt one is using.. -devel or
  -ng :).

good night,

-- 
martin hudec


   * 421 907 303 393
   * [EMAIL PROTECTED]
   * http://www.aeternal.net

Nothing travels faster than the speed of light with the possible 
exception of bad news, which obeys its own special laws.

   Douglas Adams, The Hitchhiker's Guide to the Galaxy


pgpU2mg4wLBPT.pgp
Description: PGP signature


portsnap and updates using cron

2005-08-31 Thread martin hudec
Hello,


  I am using portsnap to update my ports tree like following:

  1. Calling portsnap cron from root's cron
  2. Updating ports tree using portsnap -I update from root's cron

  But it does not update anything by portsnap cron. In
  /usr/local/etc/portsnap.conf I have:

  WORKDIR=/usr/local/portsnap
  PORTSDIR=/usr/ports

  Files in WORKDIR are dated to Aug 25. So I assume calling portsnap
  cron results in failure (both with -f /usr/local/etc/portsnap.conf or
  without it).

  Can anyone advise me on this one please?

-- 
martin hudec


   * 421 907 303 393
   * [EMAIL PROTECTED]
   * http://www.aeternal.net

Nothing travels faster than the speed of light with the possible 
exception of bad news, which obeys its own special laws.

   Douglas Adams, The Hitchhiker's Guide to the Galaxy


pgpQH9kTlr4Vm.pgp
Description: PGP signature


Re: portsnap and updates using cron

2005-08-31 Thread martin hudec
Hello,

On Wed, Aug 31, 2005 at 08:54:31AM -0500 or thereabouts, Kevin Kinsey wrote:
 Not sure.  Check the logs, etc.  If you're familiar with ktrace,
 kdump, etc., you could follow the program's progress if you
 find no log information.

  /var/log/cron reports me that cronjob was done. No I am not familiar
  with ktrace, kdump etc.
 
 How are you calling the program from cron(8)?  I'm sure that
 you are aware of cron's limited environment; one result of this
 is that you generally need to supply full pathnames to any command
 you want cron(8) to run for you.

  I am aware of cron's limited environment, but full paths are provided.

 Is cron sending you any mail about this job?

  None at all, although every cron is sending me reports.

  First, I tell my custom script (with environment set by PATH=) to call
  portsnap fetch  portsnap update, but he is unable to fetch anything
  at all, therefore I started to use portsnap cron and I hoped to be
  able to fetch it.


-- 
martin hudec


   * 421 907 303 393
   * [EMAIL PROTECTED]
   * http://www.aeternal.net

Nothing travels faster than the speed of light with the possible 
exception of bad news, which obeys its own special laws.

   Douglas Adams, The Hitchhiker's Guide to the Galaxy


pgpK6IoSBFXi9.pgp
Description: PGP signature


Re: portsnap and updates using cron

2005-08-31 Thread martin hudec
Hello,

On Thu, Sep 01, 2005 at 02:07:57AM +1000 or thereabouts, Norberto Meijome wrote:
 man ktrace
 man kdump
 
 in a nutshell: ktrace shows the kernel calls that a process is 
 executing. It creates a dump file which you can view with kdump. similar 
 (better actually) than strace and whatever other ?trace found in linux.

  Hmmm, thanks for info, this kstuff is really much much better than
  strace :). Never heard of that, but now I am pretty impressed. Thanks.

 then it seems it's a portsnap problem and not cron...get it working in 
 your normal shell first and then focus on automating it. (btw, what's 
 wrong with (cd /usr/ports/ ; make update)  , or a cvsup cmd line?)

  Portsnap is working pretty well in normal shell. I was using cvsup
  before portsnap, but now, as portsnap is being part of base system I
  am considering to switch to it on all our production servers. I am
  also going to give a try to make update in /usr/ports.

  Thank you!

-- 
martin hudec


   * 421 907 303 393
   * [EMAIL PROTECTED]
   * http://www.aeternal.net

Nothing travels faster than the speed of light with the possible 
exception of bad news, which obeys its own special laws.

   Douglas Adams, The Hitchhiker's Guide to the Galaxy


pgp3qkWTwLCVH.pgp
Description: PGP signature


Re: portsnap and updates using cron

2005-08-31 Thread martin hudec
Hello,

On Wed, Aug 31, 2005 at 11:28:03AM -0500 or thereabouts, Will Maier wrote:
 So what happens when you run:
 
 # /usr/local/sbin/portsnap fetch
 # /usr/local/sbin/portsnap update

  They are both running pretty well from command line.

 on the command line? Your portsnap.conf seems like it might be
 missing the GPG keyprint for the update distributor. I wonder what
 errors you get. Have you ever run `portsnap extract`?

  Here is full content of portsnap.conf located in /usr/local/etc/:

  # Defaults:
  WORKDIR=/usr/local/portsnap
  PORTSDIR=/usr/ports

  KEYPRINT=9b5feee6d69f170e3dd0a2c8e469ddbd64f13f978f2f3aede40c98633216c330
  URL=http://portsnap.daemonology.net

-- 
martin hudec


   * 421 907 303 393
   * [EMAIL PROTECTED]
   * http://www.aeternal.net

Nothing travels faster than the speed of light with the possible 
exception of bad news, which obeys its own special laws.

   Douglas Adams, The Hitchhiker's Guide to the Galaxy


pgpIIQuPz5tjG.pgp
Description: PGP signature


Re: How can i monitor my server?

2005-08-06 Thread martin hudec
Hello,

On Sat, Aug 06, 2005 at 12:46:19PM +0300 or thereabouts, Carstea Catalin wrote:
 It is possible to monitoring activity of freebsd -services ( apache, mysqld, 
 squid, named, postfix ) if it is down or up via internet with some scripts?
 
 I want to know if this services is running via internet ( web page - if it 
 is possible) .

  You can give a try to Nagios, which is complex monitoring system with
  mail/sms notifications, more info can be found at
  http://www.nagios.org, freebsd port is available at
  /usr/ports/net-mgmt/nagios and also you can give a try to Munin, which
  is another sweet monitoring tool with nice graphs, more info can be
  found at http://munin.sourceforge.net, freebsd port is available at
  /usr/ports/sysutils/munin-main.

-- 
martin hudec


   * 421 907 303 393
   * [EMAIL PROTECTED]
   * http://www.aeternal.net

Nothing travels faster than the speed of light with the possible 
exception of bad news, which obeys its own special laws.

   Douglas Adams, The Hitchhiker's Guide to the Galaxy


pgphjdfDybbFT.pgp
Description: PGP signature


Re: Problems with SASL2 and postfix on freebsd

2005-08-05 Thread martin hudec
Hello,

  if I may ask, my problem has something common with this.. See below..
  
On Fri, Aug 05, 2005 at 01:05:30PM +0200 or thereabouts, cell wrote:
 Trying 127.0.0.1...
 Connected to localhost.linux-win.org.
 Escape character is '^]'.
 220 gw-bsd.linux-win.org ESMTP Postfix 2.2.5 (FreeBSD)
 ehlo example.pl
 250-gw-bsd.linux-win.org
 250-PIPELINING
 250-SIZE 1000
 250-VRFY
 250-ETRN
 250-STARTTLS
 250 8BITMIME

  220 amber.aeternal.net ESMTP Postfix
  ehlo aeternal.net
  250-amber.aeternal.net
  250-PIPELINING
  250-SIZE 1024
  250-VRFY
  250-ETRN
  250-STARTTLS
  250-AUTH LOGIN PLAIN
  250-AUTH=LOGIN PLAIN
  250 8BITMIME

  So far so good, I am offering LOGIN and PLAIN..

 In /usr/local/lib/sasl2 i have that :
 
 pwcheck_method: saslauthd
 auxprop_plugin: sql
 sql_engine: mysql
 sql_hostnames: 127.0.0.1
 sql_user: maildb
 sql_passwd: *
 sql_database: maildb
 sql_select: select clear from users where id='[EMAIL PROTECTED]'

  I am getting following error:

  Aug  5 13:22:27 amber postfix/smtpd[18606]: sql_select option missing
  Aug  5 13:22:27 amber postfix/smtpd[18606]: auxpropfunc error no
  mechanism available

  I assume it is caused by configuration of my
  /usr/local/lib/sasl2/smtpd:

  pwcheck_method: authdaemond
  log_level: 3
  mech_list: PLAIN LOGIN
  authdaemond_path:/usr/local/var/spool/authdaemon/socket

  Maybe I need to setup sql_* stuff like above, but.. due to security
  reasons I do not have any clear (plaintext form of password) in my
  table, but md5 hashed password.

  Is there any way how to put into sql_select directive that I need
  to use md5? Or do I have to store also plaintext form of passwords? 

-- 
martin hudec


   * 421 907 303 393
   * [EMAIL PROTECTED]
   * http://www.aeternal.net

Nothing travels faster than the speed of light with the possible 
exception of bad news, which obeys its own special laws.

   Douglas Adams, The Hitchhiker's Guide to the Galaxy


pgp50inRCSRh1.pgp
Description: PGP signature


freebsd port of php-extension yats

2005-08-04 Thread martin hudec
Hello,

  yesterday I have been given task to upgrade one of my servers to
  actual versions of Apache2 and PHP4. All went fine.. just for few
  sites using YATS php-based template system (available at
  http://yats.sourceforge.net/). There is no such extension in ports and
  I am unable to build it from source and to integrate it into installed
  php. Make install process dies with message that he does not know how
  to make install.

  Can anyone point me in right direction please?

nice evening,
Martin

-- 
martin hudec


   * 421 907 303 393
   * [EMAIL PROTECTED]
   * http://www.aeternal.net

Nothing travels faster than the speed of light with the possible 
exception of bad news, which obeys its own special laws.

   Douglas Adams, The Hitchhiker's Guide to the Galaxy


pgpbBZOE90cTb.pgp
Description: PGP signature


Re: Problems with munin

2005-08-01 Thread martin hudec
Hello,

On Sun, Jul 31, 2005 at 06:19:42PM +0200 or thereabouts, cell wrote:
 Hello , i'm on freebsd 5.4 and i use munin-main-1.2.2  and munin-node-1.2.2 
 but i have a problem when i run munin.I have in log munin-graph.log that :
 
 Jul 31 18:13:18 - Unable to graph 
 /usr/local/var/munin/linux-win.org/gw-bsd.linux-win.org-vmstat-sleep-g.rrd: 
 Garbage ':' after command:
 Jul 31 18:13:18 - Unable to graph 
 /usr/local/var/munin/linux-win.org/gw-bsd.linux-win.org-vmstat-sleep-g.rrd: 
 Garbage ':' after command:
 COMMENT: Cur:
 Jul 31 18:13:18 - Unable to graph 
 /usr/local/var/munin/linux-win.org/gw-bsd.linux-win.org-vmstat-sleep-g.rrd: 
 Garbage ':' after command:
 COMMENT: Cur:
 Jul 31 18:13:18 - Unable to graph 
 /usr/local/var/munin/linux-win.org/gw-bsd.linux-win.org-vmstat-sleep-g.rrd: 
 Garbage ':' after command:
 COMMENT: Cur:
 Jul 31 18:13:18 - Unable to graph 
 /usr/local/var/munin/linux-win.org/gw-bsd.linux-win.org-vmstat-sleep-g.rrd: 
 Garbage ':' after command:
 
 I usr rrdtool-1.2.11 and i don't understand why i have this problem.Anyone 
 have an idea ?

  That is problem with munin which can be patched with attached patch.
  It seems to have problems with : characters. I hope that in 1.2.3
  version it will be fixed, in meanwhile you can patch it for yourself.

cheers,
Martin

-- 
martin hudec


   * 421 907 303 393
   * [EMAIL PROTECTED]
   * http://www.aeternal.net

Nothing travels faster than the speed of light with the possible 
exception of bad news, which obeys its own special laws.

   Douglas Adams, The Hitchhiker's Guide to the Galaxy
--- munin-graph.origThu Jul 28 12:10:22 2005
+++ munin-graph Thu Jul 28 12:27:03 2005
@@ -848,10 +848,10 @@
elsif ($global_headers == 1)
{
push (@rrd, COMMENT: . (  x $max_field_len));
-   push (@rrd, COMMENT: Cur:);
-   push (@rrd, COMMENT:Min:);
-   push (@rrd, COMMENT:Avg:);
-   push (@rrd, COMMENT:Max:  \\j);
+   push (@rrd, COMMENT: Cur\\:);
+   push (@rrd, COMMENT:Min\\:);
+   push (@rrd, COMMENT:Avg\\:);
+   push (@rrd, COMMENT:Max\\:  \\j);
$global_headers++;
}
 
@@ -924,13 +924,13 @@
}
else
{
-   push (@rrd, COMMENT: Cur:) unless $global_headers;
+   push (@rrd, COMMENT: Cur\\:) unless $global_headers;
push (@rrd, GPRINT:c$rrdname:LAST:%6.2lf . 
(munin_get_bool_val ($node-{client}-{$service}-{graph_scale}, 
yes)?%s:) . );
-   push (@rrd, COMMENT: Min:) unless $global_headers;
+   push (@rrd, COMMENT: Min\\:) unless $global_headers;
push (@rrd, GPRINT:i$rrdname:MIN:%6.2lf . (munin_get_bool_val 
($node-{client}-{$service}-{graph_scale}, 1)?%s:) . );
-   push (@rrd, COMMENT: Avg:) unless $global_headers;
+   push (@rrd, COMMENT: Avg\\:) unless $global_headers;
push (@rrd, GPRINT:g$rrdname:AVERAGE:%6.2lf . 
(munin_get_bool_val ($node-{client}-{$service}-{graph_scale}, 1)?%s:) . 
);
-   push (@rrd, COMMENT: Max:) unless $global_headers;
+   push (@rrd, COMMENT: Max\\:) unless $global_headers;
push (@rrd, GPRINT:a$rrdname:MAX:%6.2lf . (munin_get_bool_val 
($node-{client}-{$service}-{graph_scale}, 1)?%s:) . \\j);
push (@{$total_pos{'min'}}, i$rrdname);
push (@{$total_pos{'avg'}}, g$rrdname);
@@ -991,13 +991,13 @@

push (@rrd, CDEF:dpostotal=ipostotal,UN,ipostotal,UNKN,IF);
push (@rrd, LINE1:dpostotal#00: . 
$node-{client}-{$service}-{graph_total} . (  x ($max_field_len - length 
($node-{client}-{$service}-{graph_total}) + 1)));
-   push (@rrd, COMMENT: Cur:) unless $global_headers;
+   push (@rrd, COMMENT: Cur\\:) unless $global_headers;
push (@rrd, GPRINT:gpostotal:LAST:%6.2lf . (munin_get_bool_val 
($node-{client}-{$service}-{graph_scale}, 1)?%s:) . );
-   push (@rrd, COMMENT: Min:) unless $global_headers;
+   push (@rrd, COMMENT: Min\\:) unless $global_headers;
push (@rrd, GPRINT:ipostotal:MIN:%6.2lf . (munin_get_bool_val 
($node-{client}-{$service}-{graph_scale}, 1)?%s:) . );
-   push (@rrd, COMMENT: Avg:) unless $global_headers;
+   push (@rrd, COMMENT: Avg\\:) unless $global_headers;
push (@rrd, GPRINT:gpostotal:AVERAGE:%6.2lf . (munin_get_bool_val 
($node-{client}-{$service}-{graph_scale}, 1)?%s:) . );
-   push (@rrd, COMMENT: Max:) unless $global_headers;
+   push (@rrd, COMMENT: Max\\:) unless $global_headers;
push (@rrd, GPRINT:apostotal:MAX:%6.2lf . (munin_get_bool_val 
($node-{client}-{$service}-{graph_scale}, 1)?%s:) . \\j);
}
 
@@ -1010,7 +1010,8 @@
push @complete, @{get_header ($node, $config, $domain, $name, 
$service, $time)};
push @complete, @rrd

Re: 100Mbit network performance - again

2005-07-27 Thread martin hudec
Hello,

On Wed, Jul 27, 2005 at 03:13:50AM +0400 or thereabouts, Andrew P. wrote:
 Erm, well 60+Mbytes is no wonder in a Gigabit environment (and it is
 too much of a wonder in a FastEthernet one), but I'm interested in
 getting 100Mbit hardware to work at full speed.

  If I take that your NE2000 $10 NIC's is what you call 100Mbit
  hardware, then.. would you mind if I ask: what do you expect more from
  such $10-harware other than just to flicker and to eat electric current?
  
  Use *real* 100Mbit hardware please :). BTW I have same performance
  with my sis900/rl8139 NIC's.

cheers,
Martin

-- 
martin hudec


   * 421 907 303 393
   * [EMAIL PROTECTED]
   * http://www.aeternal.net

Nothing travels faster than the speed of light with the possible 
exception of bad news, which obeys its own special laws.

   Douglas Adams, The Hitchhiker's Guide to the Galaxy


pgp9pBQSgPbRe.pgp
Description: PGP signature


Re: CDROM firewall

2005-06-27 Thread martin hudec
Hello,

On Mon, Jun 27, 2005 at 10:55:42AM +0200 or thereabouts, Frank Bonnet wrote:
 Hi
 
 I'm searching for a CDROM firewall package FreeBSD based
 I know there is several but I can't remember their names.

  It is called m0n0wall, it is based on FreeBSD 4.x.

  Go and grab it from:
  http://www.m0n0.ch/wall/


Cheers,
Martin

-- 
martin hudec


   * 421 907 303 393
   * [EMAIL PROTECTED]
   * http://www.aeternal.net

Nothing travels faster than the speed of light with the possible 
exception of bad news, which obeys its own special laws.

   Douglas Adams, The Hitchhiker's Guide to the Galaxy


pgpg25Omm85dP.pgp
Description: PGP signature


Re: keeping freebsd uptodate - doubt

2005-02-02 Thread martin hudec
Hello,

On Wed, Feb 02, 2005 at 05:19:36AM -0800 or thereabouts, saravanan ganapathy 
wrote:
 1) Install portupgrade
 2) Sync ports 
 
  Ports-supfile contains as 
 
 *default host=cvsup10.us.freebsd.org
 *default base=/var/db
 *default prefix=/usr
 *default release=cvs tag=.
 *default delete use-rel-suffix
 ports-all
 
 ( or should I change tag=RELENG_5_3 )

  This tag (RELENG_5_3) is for system cvsup not for ports cvsup. In case
  of system cvsup tag=. means to get 6.0-CURRENT. For ports cvsup (which
  is what I presume you want) tag=. is correct.

 3) portsdb -Uu
 4) portversion -v
 5) portupgrade -arR  { to upgrade from all the lower
 versions of applications )

  I would recommend you to use also -b switch in portupgrade (like
  -abrR) to preserve replaced version of software you are upgrading.


Cheers,

Martin


-- 
martin hudec


   * 421 907 303 393
   * [EMAIL PROTECTED]
   * http://www.aeternal.net

Nothing travels faster than the speed of light with the possible 
exception of bad news, which obeys its own special laws.

   Douglas Adams, The Hitchhiker's Guide to the Galaxy


pgpYIYKCctZtm.pgp
Description: PGP signature


Re: fast CGI

2005-01-20 Thread martin hudec
Hello,

On Thu, Jan 20, 2005 at 03:45:23AM -0800 or thereabouts, Jim Pazarena wrote:
 I have a .fcgi perl routine which has at the top of it:
 
   #!/usr/bin/perl
 
   use FCGI; # imports the library
 
 and when I attempt to execute this .fcgi, I get the following error
 message:
 
 Can't locate FCGI.pm in @INC (@INC contains: 

   Go for these:

   /usr/ports/www/mod_fastcgi
   /usr/ports/www/p5-FastCGI


Cheers,

Martin

-- 
martin hudec


   * 421 907 303 393
   * [EMAIL PROTECTED]
   * http://www.aeternal.net

Nothing travels faster than the speed of light with the possible 
exception of bad news, which obeys its own special laws.

   Douglas Adams, The Hitchhiker's Guide to the Galaxy


pgp4C9ZkMqp3y.pgp
Description: PGP signature


Re: Thank you!

2005-01-14 Thread martin hudec
Hello,

On Fri, Jan 14, 2005 at 12:13:04PM +0100 or thereabouts, Ramiro Aceves wrote:
 If you argue that, you do not know Linux well. When I speak about Linux, 
 I mean Debian or Gentoo. I do not think that they are chaothic or 
 intended for desktop. Debian put all the pieces together in one OS that 
 is in order and works nicely. Gentoo portage philosophy is similiar to 
 FreeBSD ports.

   Debian and Gentoo distributions are not chaotic, but I think that
   Gentoo is primarily oriented for desktop, although one can use it
   happily as server. Gentoo portage is inspired by ports :).

 So, why do we start always the war? The real war should be against the 
 Bill Gates OSes, instead of fighting among us. I have never heard a bad 
 word about FreeBSD on the Linux lists. 
  
  What is meaning of your words? I am missing the point. You are asking
  why is someone starting the war? And on other hand you say that we
  should fight against Microsoft OSes? This kind of hatred is in my
  humble opinion sign of inmaturity. It is really so hard to respect
  others? To respect their choices, reasons? Why? If one could invest
  his time he puts into hatred aimed towards Microsoft, if one could
  invest it to further promote/develop his OS of choice instead, then it
  would definitely be a better world for my servers and desktops to live
  in. Don't you think?

 I hate the following wars:
 BSD license  vs GPL license
 Linux vs xBSD
 GNOME vs KDE
 bash vs tcsh
 text apps vs X apps
 CUPS vs lpr

   I just add: Windows vs Linux/Unix.

 I think we should cooperate instead of fighting. Indeed, BSD code is on 
 Linux OSes, and GNU software is on FreeBSD ports.. etc...

   If you are really that nice, why are you inducing others to make war
   with Windows? :)


Cheers,

Martin

-- 
martin hudec


   * 421 907 303 393
   * [EMAIL PROTECTED]
   * http://www.aeternal.net

Nothing travels faster than the speed of light with the possible 
exception of bad news, which obeys its own special laws.

   Douglas Adams, The Hitchhiker's Guide to the Galaxy


pgpttN2k01kbt.pgp
Description: PGP signature


Re: Thank you!

2005-01-14 Thread martin hudec
On Fri, Jan 14, 2005 at 04:41:03AM -0800 or thereabouts, lord grinny wrote:
 Don't they?? Then what are all the law suits about?


   Simple, dear Watson. About human stupidity and greed.


Cheers,

Martin

-- 
martin hudec


   * 421 907 303 393
   * [EMAIL PROTECTED]
   * http://www.aeternal.net

Nothing travels faster than the speed of light with the possible 
exception of bad news, which obeys its own special laws.

   Douglas Adams, The Hitchhiker's Guide to the Galaxy


pgpZZv3ZscJuC.pgp
Description: PGP signature


Re: Thank you!

2005-01-13 Thread martin hudec
Hello,

On Thu, Jan 13, 2005 at 09:57:49AM -0800 or thereabouts, Boris Spirialitious 
wrote:
 I just wanted to thank you for making Freebsd 5.3 so badly. We changed
 to linux and our application runs so much faster its unbelievable. I report
 a small problem and they work hard to fix it. Not like freebsd do they 
 make fun of me or ask me to give them hardware. Its like a real product 
 this linux!

   Nice to hear that you've found for what you have been looking for :).
   Just three things:

   1.) Maybe you could try to fix that problem (if it was really small)
   by yourself. Maybe you could be more regardful to others and their
   time.

   2.) Looks like you gonna shit on linux when something larger will
   emerge, and it will, and there will be noone to help you. Maybe then
   you will revert back to Windows.

   3.) Don't forget to shut the lights and close the door after you
   leave.


Bon voyage,

Martin

-- 
martin hudec


   * 421 907 303 393
   * [EMAIL PROTECTED]
   * http://www.aeternal.net

Nothing travels faster than the speed of light with the possible 
exception of bad news, which obeys its own special laws.

   Douglas Adams, The Hitchhiker's Guide to the Galaxy


pgppQobNQmFEx.pgp
Description: PGP signature


Re: Free BSD

2005-01-06 Thread martin hudec
Hello,

On Thu, Jan 06, 2005 at 11:55:10AM -0500 or thereabouts, Louis LeBlanc wrote:
 
 Now that is by far the stupidest post I've seen in a good long time.
 


   If that is so, then why do you waste your time by responding to it?
   Such posts are better left ignored. :)


Cheers,

Martin

-- 
martin hudec


   * 421 907 303 393
   * [EMAIL PROTECTED]
   * http://www.aeternal.net

Nothing travels faster than the speed of light with the possible 
exception of bad news, which obeys its own special laws.

   Douglas Adams, The Hitchhiker's Guide to the Galaxy


pgpXBCLmbtncX.pgp
Description: PGP signature


Re: phpMyAdmin 2.6.1-rc1 cant create database

2004-12-21 Thread martin hudec
Hello,

On Tue, Dec 21, 2004 at 02:23:16PM + or thereabouts, Matthew Seaman wrote:
 I dont think that is the answer.  I forgot to add that root has all 
 privelegdes.
 
 Remember that MySQL counts root @ localhost as a different account 
 to root @ someotherhostname -- and the question is, which account 
 are you actually using via phpMyAdmin?
 


   Maybe you're right. I am experiencing this behavior while using MySQL
   4.0.22. On other databases using older 4.0.20 there are no
   differences between local super user and remote super user. I am
   using remote phpmyadmin user with ALL PRIVILEGES set to him and I am
   not able to create databases or reload mysql while accessing 4.0.22.
   Also I am experiencing that MySQL is no longer doing IP resolving, so
   I have to use IP address instead of hostname for authentication
   purposes (but this is okay, at least I am not depending on another
   service for resolving the IP).


Cheers,

Martin
 

-- 
martin hudec


   * 421 907 303 393
   * [EMAIL PROTECTED]
   * http://www.aeternal.net

Nothing travels faster than the speed of light with the possible 
exception of bad news, which obeys its own special laws.

   Douglas Adams, The Hitchhiker's Guide to the Galaxy


pgp3ysnIWr3wr.pgp
Description: PGP signature


bind+postfix+courier+sals+amavis+spamassian+pop3+mysql+apache+smtp-auth

2004-12-18 Thread martin hudec
Hello,

On Sat, Dec 18, 2004 at 09:38:52PM +0200 or thereabouts, tethys ocean wrote:
 
 I want to setup a mail server Freebsd 5.3 bind 9.0 (dnscahce)
 +mysql4.0+postfix2.2.20040829,2+courier+sasl  etc
 
 in the beginning of my installation I am taking such error message 
 
 courier-mysql-0.45.4 conflicts with installed pakages(s)
 postfix-2.2.20040829,2


you want probably to have complex mail solution, and you
would like to use mail/courier-imap port, right?

Standard mail/courier can be used as smtp server, so it is
obvious that it would conflict with your installed postfix (or
qmail, etc.). Look into Makefile for conflicting packages.


Cheers,

Martin


-- 
martin hudec


   * 421 907 303 393
   * [EMAIL PROTECTED]
   * http://www.aeternal.net

Nothing travels faster than the speed of light with the possible 
exception of bad news, which obeys its own special laws.

   Douglas Adams, The Hitchhiker's Guide to the Galaxy


pgpsICg8qIIfG.pgp
Description: PGP signature


bind+postfix+courier+sals+amavis+spamassian+pop3+mysql+apache+smtp-auth

2004-12-18 Thread martin hudec
Hello,

On Sat, Dec 18, 2004 at 10:10:22PM +0200 or thereabouts, tethys ocean wrote:
 
 I set that but I need pop3 because we have got a lots of virtual host 
 
 I must look for  pop3  competible with courier-imap isnt it?!
 

courier-imap is able to serve its maildirs (no, not mbox) using IMAP and
POP3, both with secure variants. You can use mysql as authentication
backend with sasl. I am using this solution with postfix as smtp
server (also with user and virtual data in mysql), amavisd (clamav + 
spamassassin) as spam/virus filter. I am just bit sad that openwebmail
is not working with maildirs, so I use horde/imp application instead
to provide webmail services.


Cheers,

Martin


-- 
martin hudec


   * 421 907 303 393
   * [EMAIL PROTECTED]
   * http://www.aeternal.net

Nothing travels faster than the speed of light with the possible 
exception of bad news, which obeys its own special laws.

   Douglas Adams, The Hitchhiker's Guide to the Galaxy


pgpaOGqdKLD0F.pgp
Description: PGP signature


LSI 1030 SCSI controller and FreeBSD 5.3

2004-12-17 Thread martin hudec
Hello,

I have read discussion in freebsd-scsi mailing list about LSI 1030 
controller giving poor performance in IM (RAID1) mode with mpt driver.

What is current status of mpt driver?

I'm considering to buy server equipped with LSI 53C1030 SCSI controller 
and I want to have disks in RAID1 mode, so I would be glad if I would
not run into same thing - poor performance.

Server is Fujitsu Siemens Primergy TX200F with Zerochannel 48MB RAID
controller combined with above mentioned controller.


cheers,

Martin

-- 
martin hudec


   * 421 907 303 393
   * [EMAIL PROTECTED]
   * http://www.aeternal.net

Nothing travels faster than the speed of light with the possible 
exception of bad news, which obeys its own special laws.

   Douglas Adams, The Hitchhiker's Guide to the Galaxy


pgpxWrcW1DFj6.pgp
Description: PGP signature


FreeBSD and FS Primergy TX150 S2

2004-12-10 Thread martin hudec
Hello,

I am considering to buy some servers Fujitsu Siemens Primergy
TX150 S2 and I am interested if anyone has experience with 
these servers. It is single P4 3GHz, 1GB RAM, 2x160GB SATA
disks and Promise FastTrak S150 TX4 controller.

I want to use 5.3-STABLE there.

I am mainly interested in that SATA RAID controller, if
it is well supported, or if you can recommend me anything
better.


thank you,

Martin


-- 
martin hudec


   * 421 907 303 393
   * [EMAIL PROTECTED]
   * http://www.aeternal.net

Nothing travels faster than the speed of light with the possible 
exception of bad news, which obeys its own special laws.

   Douglas Adams, The Hitchhiker's Guide to the Galaxy


pgpkJP5RGAZzs.pgp
Description: PGP signature


Re: FreeBSD and FS Primergy TX150 S2

2004-12-10 Thread martin hudec
Hello,

On Fri, Dec 10, 2004 at 10:34:06AM +0100 or thereabouts, Joerg Pulz wrote:
 Hi,
 
 i have such a system. It was running previous FreeBSD-5.x versions and is 
 now running FreeBSD 5.3-RELEASE-p2.
 There were no problems to get everything working. The SATA controller 
 works out of GENERIC.
 

Thank you very much :).


Cheers,

Martin

-- 
martin hudec


   * 421 907 303 393
   * [EMAIL PROTECTED]
   * http://www.aeternal.net

Nothing travels faster than the speed of light with the possible 
exception of bad news, which obeys its own special laws.

   Douglas Adams, The Hitchhiker's Guide to the Galaxy


pgpGDi6NHdYKf.pgp
Description: PGP signature


Re: mouse wheel

2004-12-09 Thread martin hudec
Hello,

On Thu, Dec 09, 2004 at 05:32:07PM +0100 or thereabouts, dusan  wrote:
 hi there. can somebody tell me the best way how to configure mouse wheel 
 on freebsd ?? thx alt

never heard about mouse wheel in console environment, never
needed to use it. But if your question is pointed out for
X environment then you need to add to your XFree86/Xorg config
located at /etc/X11 following line:

Option ZAxisMapping 4 5

in section named InputDevice with Identifier like 'Mouse'.


Cheers,

Martin


-- 
martin hudec


   * 421 907 303 393
   * [EMAIL PROTECTED]
   * http://www.aeternal.net

Nothing travels faster than the speed of light with the possible 
exception of bad news, which obeys its own special laws.

   Douglas Adams, The Hitchhiker's Guide to the Galaxy


pgpR90ruEloAZ.pgp
Description: PGP signature


failing disk on vinum raid1?

2004-12-06 Thread martin hudec
Hello,


today I ran into some problems with my disk..

This is relevant info from /var/log/messages:

Dec  6 16:11:53 office syslogd: kernel boot file is /boot/kernel/kernel
Dec  6 16:11:53 office kernel: 
Dec  6 16:11:53 office kernel: 
Dec  6 16:11:53 office kernel: Fatal trap 12: page fault while in kernel mode
Dec  6 16:11:53 office kernel: fault virtual address= 0x3c
Dec  6 16:11:53 office kernel: fault code   = supervisor read, page 
not present
Dec  6 16:11:53 office kernel: instruction pointer  = 0x8:0xc04a85dc
Dec  6 16:11:53 office kernel: stack pointer= 0x10:0xddd998a4
Dec  6 16:11:53 office kernel: frame pointer= 0x10:0xddd99974
Dec  6 16:11:53 office kernel: code segment = base 0x0, limit 
0xf, type 0x1b
Dec  6 16:11:53 office kernel: = DPL 0, pres 1, def32 1, gran 1
Dec  6 16:11:53 office kernel: processor eflags = interrupt enabled, resume, 
IOPL = 0
Dec  6 16:11:53 office kernel: current process  = 50456 (ssh)
Dec  6 16:11:53 office kernel: trap number  = 12
Dec  6 16:11:53 office kernel: panic: page fault
Dec  6 16:11:53 office kernel: 
Dec  6 16:11:53 office kernel: syncing disks, buffers remaining... 3841 3841 
panic: free locked buf
Dec  6 16:11:53 office kernel: Uptime: 12d7h26m16s
Dec  6 16:11:53 office kernel: 3841 3841 3841 3841 3841 3841 3841 3841 3841 
3841 3841 3841 ad0: WARNING - WRITE_DMA interrupt was seen but ti
meout fired LBA=8388799
Dec  6 16:11:53 office kernel: 3841 3841 3841 3841 3841 3841 ad0: WARNING - 
WRITE_DMA interrupt was seen but timeout fired LBA=8388799
Dec  6 16:11:53 office kernel: 
Dec  6 16:11:53 office kernel: giving up on 2108 buffers
Dec  6 16:11:53 office kernel: Uptime: 12d7h26m32s
Dec  6 16:11:53 office kernel: ad0: WARNING - WRITE_DMA interrupt was seen but 
taskqueue stalled LBA=8388799
Dec  6 16:11:53 office kernel: ad1: WARNING - WRITE_DMA interrupt was seen but 
timeout fired LBA=109142664
Dec  6 16:11:53 office kernel: ad1: WARNING - WRITE_DMA interrupt was seen but 
timeout fired LBA=109142664
Dec  6 16:11:53 office kernel: ad1: WARNING - WRITE_DMA interrupt was seen but 
taskqueue stalled LBA=109142664
Dec  6 16:11:53 office kernel: Shutting down ACPI
Dec  6 16:11:53 office kernel: stray irq9
Dec  6 16:11:53 office kernel: Automatic reboot in 15 seconds - press a key on 
the console to abort
Dec  6 16:11:53 office kernel: Rebooting...


System is 5.2.1-RELEASE-p11, with vinum raid1 configured as:

drive drive1 device /dev/ad1s1d
drive drive2 device /dev/ad2s1d
 volume datamain setupstate
  plex org concat
sd length 58500m drive drive1
  plex org concat
sd length 58500m drive drive2

ad0 is 30G WD Caviar disk (WD300BB) at ata0-master (UDMA100),
ad1 is 120G WD Caviar disk (WD1200JB) at ata0-slave (UDMA100) and
ad2 is 60G Maxtor disk (Maxtor 6Y060L0) at ata1-master (UDMA100).

Controller is Intel ICH2 UDMA100.

Does this mean that one of my disks is failing (ad1)?


Cheers,

Martin


-- 
martin hudec


   * 421 907 303 393
   * [EMAIL PROTECTED]
   * http://www.aeternal.net

Nothing travels faster than the speed of light with the possible 
exception of bad news, which obeys its own special laws.

   Douglas Adams, The Hitchhiker's Guide to the Galaxy


pgpJwYjWILBaT.pgp
Description: PGP signature


Re: KDE, FreeBSD fish

2004-12-06 Thread martin hudec
Hello,

On Tue, Dec 07, 2004 at 02:26:09PM +1030 or thereabouts, Adam Smith wrote:
 And that's why I like fish -- cos it doesn't need anything special running
 to connect to a remote host! :)

You like fish? Even with that nasty bug in KDE which makes any kind
of work with files with size lower than 1024 bytes impossible? That
applies also to sftp as I've heard. And as it seems there is noone in
KDE team to fix this bug (possibly kio stuff), guys across the river
in Gentoo Linux distro have decided to take matters into their hands
and at least they have been able to fix sftp kio problem with such
files. Maybe this is indication that sftp is more useful than fish.


Cheers,

Martin

-- 
martin hudec


   * 421 907 303 393
   * [EMAIL PROTECTED]
   * http://www.aeternal.net

Nothing travels faster than the speed of light with the possible 
exception of bad news, which obeys its own special laws.

   Douglas Adams, The Hitchhiker's Guide to the Galaxy


pgp1N6PrBGX3L.pgp
Description: PGP signature


Re: Passing options to configure / compiler

2004-11-21 Thread Martin Hudec
Hello,

On Sun, Nov 21, 2004 at 01:06:05PM + or thereabouts, Vittorio wrote:
 I couldn't find in the docs how to pass options to the configure script.
 
 For instance, I'm compiling postgresql under FreeBSD 5.3 stable.
 After 'cd /usr/ports/databases/postgresql7' and ' make' a list of 
 configure options is shown; among them I'm interested in WITH_TESTS 
 but I do not know how  to pass this option to the compiler (or to 
 configure).

For example: 

# make WITH_TESTS=yes install clean

List of possible options is obtainable through reading the Makefile.


Cheers,

Martin

-- 
martin hudec


   * 421 907 303 393
   * [EMAIL PROTECTED]
   * http://www.aeternal.net

Nothing travels faster than the speed of light with the possible 
exception of bad news, which obeys its own special laws.

   Douglas Adams, The Hitchhiker's Guide to the Galaxy


pgpqbnucmzaY3.pgp
Description: PGP signature


Re: Passing options to configure / compiler

2004-11-21 Thread Martin Hudec
Hello,

On Sun, Nov 21, 2004 at 05:40:01PM +0100 or thereabouts, Remko Lodder wrote:
 Vittorio wrote:
 I couldn't find in the docs how to pass options to the configure script.
 
 
 if you want to use WITH_TESTS for example you need to add
 
 make WITH_TESTS=yes install clean (or something similiar)
 
 when portupgrade'ing that you should do
 
 portupgrade -M 'WITH_TESTS=yes' postgresql
 (or again; something similiar)
 
 Hope that helps!

It would be nice for him to set options pkgtools.conf, which
can be usually found in /usr/local/etc. 

For example:
I want links to be compiled without X11 support, so I set in section
named MAKE_ARGS following:

'www/links' = 'WITHOUT_X11=yes',

so this compilation option will be reflected next time he uses
portupgrade utility. Otherwise portupgrade will ignore previous
compilation options. Or at least I don't know how to tell portupgrade
which options did I use to compile the port :).


Cheers,

Martin

-- 
martin hudec


   * 421 907 303 393
   * [EMAIL PROTECTED]
   * http://www.aeternal.net

Nothing travels faster than the speed of light with the possible 
exception of bad news, which obeys its own special laws.

   Douglas Adams, The Hitchhiker's Guide to the Galaxy


pgpcpLvoMsmEm.pgp
Description: PGP signature


Re: List of unofficial 5.3 make.conf options

2004-11-18 Thread Martin Hudec
Hello,

On Thu, Nov 18, 2004 at 10:10:30AM -0500 or thereabouts, Gerard Samuel wrote:
 Is there a list of *unofficial* make.conf options saved somewhere?
 For example, WITHOUT_X11=yes isn't listed in 
 /usr/share/examples/etc/make.conf,
 and the option seems to work on a box, that I don't want X11 pieces built.
 Thanks

There is probably no such list available, because make options
are highly individual things :).

I am used to manually set make options during first compilation,
and then put them into MAKE_ARGS of /usr/local/etc/pkgtools.conf, so they
will be reflected in next upgrade of port. Also by this way I have nice
list of port = options in one file.


Cheers,

Martin

-- 
martin hudec


   * 421 907 303 393
   * [EMAIL PROTECTED]
   * http://www.aeternal.net

Nothing travels faster than the speed of light with the possible 
exception of bad news, which obeys its own special laws.

   Douglas Adams, The Hitchhiker's Guide to the Galaxy


pgpNMcjcKCTZ7.pgp
Description: PGP signature


Re: Req: Good virtual mail server howto

2004-11-18 Thread Martin Hudec
Hello Chris,

On Thu, Nov 18, 2004 at 07:07:40PM + or thereabouts, Chris Smith wrote:
 
 Has anyone got any good resources for configuring a virtual pop3/imap
 server under FreeBSD 5.x?  I need to host mail for more than one domain
 and do not wish to give users system accounts.

Go for http://high5.net/howto/, where you can find decent mail solution.


Cheers,

Martin

-- 
martin hudec


   * 421 907 303 393
   * [EMAIL PROTECTED]
   * http://www.aeternal.net

Nothing travels faster than the speed of light with the possible 
exception of bad news, which obeys its own special laws.

   Douglas Adams, The Hitchhiker's Guide to the Galaxy


pgp20aTUJpKna.pgp
Description: PGP signature


FreeBSD support of 3Com 3C2000-T NIC

2004-10-31 Thread Martin Hudec
Hello,

is 3Com gigabit 3C2000-T nic supported in FreeBSD4/5? If not, which gigabit 
nic can you recommend to use?

thank you.

-- 
martin hudec


   * 421 907 303 393
   * [EMAIL PROTECTED]
   * http://www.aeternal.net

Nothing travels faster than the speed of light with the possible 
exception of bad news, which obeys its own special laws.

   Douglas Adams, The Hitchhiker's Guide to the Galaxy


pgpQvmuQc7PY5.pgp
Description: PGP signature


Re: KDE 3.3 upgrade and Sound

2004-10-07 Thread Martin Hudec
On Thursday 07 October 2004 04:17, Alex de Kruijff wrote:
 On Thu, Oct 07, 2004 at 04:14:49AM +0200, Alex de Kruijff wrote:
  On Wed, Oct 06, 2004 at 06:06:37PM -0500, Ned Harrison wrote:
   I'm running FreeBSD 5.2.1 and upgraded from KDE 3.1 to 3.3. 
   After completing the upgrade, I found that I did not have any
   system sounds. Following the instuctions in the UPDATING file in
   /usr/ports, I removed the knotifyrc file.  After logging out and
   back into KDE, I now have system sounds but applications like
   XMMS and KsCD will not produce sounds, yet they access the the CD
   drive and will list files correctly.
  
   I have also upgraded from XFree86 to xorg.
  
   What additional information that I could provide could help on
   this matter?  Or am I just overlooking something in the
   Kcontrols?
  
   Any suggestions would be appreciated.
 
  Start KMix and change the volume levels.

 For some unknow reason the volume has bin set to 0% by default in the
 3.3.0.

Hello,

 same problem with me. I have installed fresh kde 3.3 with all packages 
but I do not have any sound output at all. I did remove knotifyrc file, 
but I still cannot hear anything from xmms, mplayer etc. I also have 
changed kmix volume levels.

pleiades# cat /dev/sndstat
FreeBSD Audio Driver (newpcm)
Installed devices:
pcm0: VIA VT8235 at io 0xe400 irq 10 (5p/1r/0v channels duplex 
default)

I have arts installed too:
pleiades# pkg_info | grep arts
arts-1.3.0,1
artswrapper-1.2.1
kdemultimedia-mpeglib_artsplug-3.3.0
kdemultimedia-xine_artsplugin-3.3.0


 Cheers,

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


Re: KDE 3.3 upgrade and Sound

2004-10-07 Thread Martin Hudec
On Thursday 07 October 2004 14:27, Alex de Kruijff wrote:
 Hi,

 On Thu, Oct 07, 2004 at 09:26:32AM +0200, Martin Hudec wrote:
   same problem with me. I have installed fresh kde 3.3 with all
  packages but I do not have any sound output at all.

 Do you have sound (playing a mp3 with mplayer) before you start KDE
 at the console?

Nope :).


 If not then:
 Is the whole system freshly installed?
 Did you do the clues out of the handbook? (www.freebsd.org/handbook/)

Yup :) I was using fluxbox and x.org before I installed KDE, and 
everything was working nicely :).

  I did remove knotifyrc file,

 I didn't have to do remove it. I can send you my knotifyrc to you as
 a replacement if you like. (tell me where it lives)

~/.kde/share/config/

  but I still cannot hear anything from xmms, mplayer etc. I also
  have changed kmix volume levels.

 I didn't have any other trouble with sound updating from 3.2 to 3.3,
 so I don't think this is 3.3 only.

Hmmm.. I wasn't upgrading, I made fresh install of KDE 3.3.

But thank you :).. I ran kmix again (without any success at all), but 
small icon of kmix appeared in taskbar and it said Volume at 0% (even 
when I set 100%), so I opened it and set it at 100% again.. and it 
worked..

Thank you.. It was probably my fault at some point..

Cheers,

 Martin

-- 
martin hudec


   * 421 907 303 393
   * [EMAIL PROTECTED]
   * http://www.aeternal.net


pgpgQI2CN1adQ.pgp
Description: PGP signature


Re: Installing ports with OPTIONS

2004-09-10 Thread Martin Hudec
On Fri, Sep 10, 2004 at 03:09:04PM +0100 or thereabouts, Matthew Seaman wrote:
 
 # make -DWITH_MYSQL
 
 and you should certainly see mysql mentioned during the configuration
 and compilation steps.

For myself I am using make WITH_MYSQL=yes (all install clean).
It is working. I do also put that option to /usr/local/etc/pkgtools.conf
in MAKE_ARGS section like:

'www/firefox' = 'WITH_SMB=yes WITH_OPTIMIZED_CFLAGS=yes',

By this portupgrade will be able to use options used at
first time installation.


Cheers,

Martin

-- 
Martin Hudec| corwin at aeternal.net
| corwin at web.markiza.sk
http://www.aeternal.net | cell +421 907 303 393



pgpygXnnnh6F2.pgp
Description: PGP signature


Re: Update Databases from Webserver

2004-09-07 Thread Martin Hudec
On Mon, Sep 06, 2004 at 10:55:42PM -0600 or thereabouts, FreeBSD Mail Lists wrote:
 Richard,
 Thanks for your reply.  I thought there was something terribly wrong 
 with that logic.  So I thought I would ask in this mail list since 
 people have been great here in the past about everything else I 
 wanted to know.
 Are there any security lists in relation to ecommerce that you 
 would recommend?  So I can stop annoying everyone else here.  
 I just don't want to make anymore mistakes than I have to 
 starting down this road.

Stop talking like that. You are not annoying anyone in here.
You asked the question, you got the replies. Richard wrote nice
email. But it would be much better and less painful for you, if
you could run your credit card transactions using services of
your Bank, or maybe by some kind of well know and trustworthy
billing system. Why should you have dreamless nights? Credit card
info is very *very* sensitive information. So ask yourself, do
you really need to have all the stress or can you leave it to
your bank/billing partner (although for small fee)? And mainly,
are you well known to your customers, even to those which are
new? Because if I am about to give someone my credit card info
I will not trust to e-commerce application provider, but to well
known bank or such.


Cheers,

Martin Hudec

 
 -Original message-
 From: Richard Lynch [EMAIL PROTECTED]
 Date: Mon,  6 Sep 2004 17:22:54 -0600
 To: FreeBSD Mail Lists [EMAIL PROTECTED]
 Subject: Re: Update Databases from Webserver
 
  FreeBSD Mail Lists wrote:
   I would like to see how other people are updating backend databases
   (postgresql on FreeBSD, internal network) from a webserver (apache,php on
   FreeBSD, dmz network) through a firewall.  Pretty much what I am trying to
   learn is how to take private information (credit card numbers, etc.) and
   write it to a backend database without leaving any huge holes for hacking.
Should this be done or am I barking up the wrong tree, should there be an
   intermediary step?  I have been trying to find information books/web that
   gives a real nuts and bolts way of trying to do this stuff and am not
   having a lot of luck.  Any pointers books or sites would be appreciated.
  
  The most common answer is Don't do that
  
  99.9% of e-commerce sites have absolutely no business storing credit
  card numbers on any hardware they own.
  
  They should simply run the transaction through their Merchant Account
  (bank)  computer using a secure connection, and the software provided by
  their Merchant Account (bank).
  
  If you need a recurring charge, you can run your charge through the
  Merchant Account as a recurring charge (whoda thunk it?) and the
  Merchant Account software will give you back a unique transaction # to
  refer to if you ever need to cancel THAT particular recurring charge.  You
  would store only that transaction number, and *NOT* the customer's credit
  card charge.
  
  In the unlikely event that you really *ARE* in the 0.01% of servers
  that needs to store credit card info...  Well, it's kinda scare that
  you're asking here, rather than a security mailing list, but here is *ONE*
  solution that may be worth considering.
  
  I am posting to the list so that others can tell us just how inadequate
  this is.
  
  You should also be aware that by no means am I an expert -- I am simply
  describing what has been described to me as the right way (tm) to do
  this.
  
  My information may be out of date.  (It's been awhile.)
  
  I chose to let the Merchant Account (bank) worry about keeping credit card
  numbers safe, rather than do all of the following.
  
  You probably should too.
  
  Depending on the current interpretation of existing laws, you, the web
  developer, may or may not be held responsible for *ANY* damages that
  result from your work -- no matter how faultless you may be in reality. 
  We're talking legalities here, not reality.
  
  Did I mention that you really shouldn't be doing this at all?  Good.
  
  
  
  First, your servers *MUST* be in a physically secure location, with access
  limited to *ONLY* people you really really really trust.
  
  No software in the world will do you any damn good if a not-so-honest
  person can waltz in and play around with the hardware!
  
  If you *CANNOT* guarantee that the hardware in question can *ONLY* be
  accessed by trusted individuals, than you should stop reading right here
  and now.
  
  This rules out shared servers, co-location (IMHO), and almost all
  corporate servers, which need too many people of limited trust value to be
  able to access them to keep them up.
  
  Next, you need a SECOND server which will be used to hold credit card
  info, and that second computer will *NOT* be connected to the Internet
  (directly)
  
  You put an extra NIC in your web-server, and run a cross-over cable to the
  SECOND server, the extra one, which will hold the credit card

Mozilla linuxpluginwrapper with flash7 (Was: Re: Mozilla linuxpluginwrapper)

2004-09-07 Thread Martin Hudec
Hello,

is there any way how to get linux-flashplugin7 working
with Mozilla (native Firefox)? Linuxpluginwrapper uses 
linux-flashplugin6, but how can I use linux-flashplugin7
instead of it?

Cheers,

Martin

-- 
Martin Hudec| corwin at aeternal.net
| corwin at web.markiza.sk
http://www.aeternal.net | cell +421 907 303 393



pgpNxPgWzi1a9.pgp
Description: PGP signature


Re: High Availability Solution

2004-08-24 Thread Martin Hudec
On Tue, Aug 24, 2004 at 03:41:41PM +0300 or thereabouts, Joseph Begumisa wrote:
 
 Does anyone know of a high availability solution that works on freebsd?  I 
 have two freebsd servers and would like to have them operate in a way that 
 if one fails, the second kicks in.

And what about this one named SG Cluster?

http://www.freebsd.org.hk/html/sgcluster/

I am going to look into it in next few days.


-- 
Martin Hudec| corwin at aeternal.net
| corwin at web.markiza.sk
http://www.aeternal.net | cell +421 907 303 393



pgpI0uONWwx0R.pgp
Description: PGP signature


Re: IMAP Prefrence

2004-08-11 Thread Martin Hudec
On Wed, Aug 11, 2004 at 11:45:09AM -0700 or thereabouts, Joshua Lewis wrote:
 
 Does Postfix have built in IMAP support or do I have to use a third party.
 If I have to use a third party are there any suggestions?
 

Postfix does not have any kind of IMAP support.
My suggestion is to use Courier Imap.
I have it running with user authentication against
mysql database for some time now.

Nice howto:
http://www.high5.net/howto


Cheers,

Martin

-- 
Martin Hudec| corwin at aeternal.net
| corwin at web.markiza.sk
http://www.aeternal.net | cell +421 907 303 393



pgpWaki2LloDy.pgp
Description: PGP signature


postfix, saslauthd, pam_mysql - wrong username is being send

2004-07-30 Thread Martin Hudec
Hello,

I have postfix set up using saslauthd to authenticate against
mysql database with pam_mysql. Usernames are stored in
database like [EMAIL PROTECTED] (username with @ and domain
is used because I have multiple domains virtualhosted there).
But I am unable to authenticate because I am not getting
whole username sent. I am getting just username, not
whole [EMAIL PROTECTED]). Can anyone help and tell me how to
get whole username to select from database please?

In pam.conf:
smtpd auth required pam_mysql.so user=postfix passwd=** db=postfix table=mailbox 
usercolumn=username passwdcolumn=password crypt=1
smtp auth required pam_mysql.so user=postfix passwd=** db=postfix table=mailbox 
usercolumn=username passwdcolumn=password crypt=1

In smtpd.conf:
pwcheck_method: saslauthd
mech_list: plain login

In auth.log:
Jul 30 11:46:02 amber postfix/smtpd[58005]: sql_select option missing
Jul 30 11:46:02 amber postfix/smtpd[58005]: auxpropfunc error no mechanism available 
Jul 30 11:46:40 amber saslauthd[57854]: pam_mysql: select returned more than one result
Jul 30 11:46:40 amber saslauthd[57854]: do_auth : auth failure: [user=taker] 
[service=smtp] [realm=aeternal.net] [mech=pam] [reason=PAM auth error]

NOTE: sql_select option missing and auxpropfunc error are there maybe
because I miss some things in smtpd.conf. Correct?

In maillog:
Jul 30 11:46:40 amber postfix/smtpd[58005]: connect from unknown[192.168.0.39]
Jul 30 11:46:40 amber postfix/smtpd[58005]: setting up TLS connection from 
unknown[192.168.0.39]
Jul 30 11:46:40 amber postfix/smtpd[58005]: TLS connection established from 
unknown[192.168.0.39]: TLSv1 with cipher RC4-MD5 (128/128 bits)
Jul 30 11:46:40 amber postfix/smtpd[58005]: warning: SASL authentication failure: 
Password verification failed
Jul 30 11:46:40 amber postfix/smtpd[58005]: warning: unknown[192.168.0.39]: SASL PLAIN 
authentication failed
Jul 30 11:46:40 amber postfix/smtpd[58005]: lost connection after AUTH from 
unknown[192.168.0.39]
Jul 30 11:46:40 amber postfix/smtpd[58005]: disconnect from unknown[192.168.0.39]

In mysql.log:
040730 11:46:40 240 Connect [EMAIL PROTECTED] on postfix
240 Init DB postfix
240 Query   SELECT password FROM mailbox WHERE username='taker'
240 Quit



Thank you,

Martin

-- 
Martin Hudec| corwin at aeternal.net
| corwin at web.markiza.sk
http://www.aeternal.net | cell +421 907 303 393



pgpMF1ZvZkvks.pgp
Description: PGP signature


Re: postfix, saslauthd, pam_mysql - wrong username is being send

2004-07-30 Thread Martin Hudec
Hello,

just few moments after my posting, I have solved it by running
saslauthd with -r :). Now I have possible conflict in
password (sent password is crypted maybe and stored is in
md5).



-- 
Martin Hudec| corwin at aeternal.net
| corwin at web.markiza.sk
http://www.aeternal.net | cell +421 907 303 393



pgpkz938dUqTd.pgp
Description: PGP signature


Re: Courier-imap + Postfix problem

2004-07-29 Thread Martin Hudec
On Tue, Jul 20, 2004 at 06:16:37PM -0700 or thereabouts, Brent Wiese wrote:
 Sorry, I missed this question and have been away from the list for a bit.
 Hopefully you figured this out by now, but just in case, I've answered
 below.

So was I :(.


  All i got to do now, it seems, is start portmap and fam on
  system boot. I know portmap_enable=YES in rc.conf does
  the trick, but what about starting fam?
 
 Look in /usr/local/etc/rc.d
 
 There will likely be several startup scripts in there for other services.
 Use one as a skeleton to start up fam. Likely, if you installed fam from
 ports, there will already be a startup script in that directory, it'll just
 need to be renamed. Many ports will put the scripts there with a -sample
 extension. Check to make sure that file looks in the right places for your
 daemon and if so, rename it to remove the -sample and it'll start up on
 boot.

There is no such script in ../etc/rc.d. All you have to do is to start
portmap (in rc.conf), and then edit your /etc/inetd.conf and add there:

sgi_fam/1-2 stream rpc/tcp wait root /usr/local/bin/fam fam

and then killall -HUP inetd.

This one should do the trick.


Cheers,

Martin

-- 
Martin Hudec| corwin at aeternal.net
| corwin at web.markiza.sk
http://www.aeternal.net | cell +421 907 303 393



pgpnxMVDTXYv5.pgp
Description: PGP signature


Re: pop3s server?

2004-07-12 Thread Martin Hudec
On Mon, Jul 12, 2004 at 08:25:00PM -0500 or thereabouts, Eric Crist wrote:

 Is there a how-to you followed to get this working?  I followed one at 
 http://bio.fsu.edu/sysalex/freebsd-mail-server_v2.htm and I can't get Kmail 
 to authenticate via TLS/SSL.  I ran an nmap scan, and 110 and 995 are both 
 listed as open now, so I think I set qpopper up correctly, but I'm not 
 certain.


Just add to the first line of your qpopper.conf following:

set tracefile = /tmp/qpopper.trace

It will create a log file for qpopper in your /tmp directory.
There you will be able to see what is going on.


Cheers,

Martin


-- 
Martin Hudec| corwin at aeternal.net
| corwin at web.markiza.sk
http://www.aeternal.net | cell +421 907 303 393



pgpWsHeYIPlnJ.pgp
Description: PGP signature


Re: driver cant find it :(

2004-07-09 Thread Martin Hudec
Hello Christiaan,

Broadcom BCM4401 cards are supported in 5.2.1 FreeBSD by bfe driver.

For more information please visit:

http://www.freebsd.org/cgi/man.cgi?query=bfesektion=4manpath=FreeBSD+5.2.1-RELEASE

And perhaps you would like to use 5.2.1 system instead of 5.0 if you
have a chance.


On Fri, Jul 09, 2004 at 01:09:43PM +0200 or thereabouts, Christiaan Arp (HotMail) 
wrote:
 hallo,
 i need a Broadcom BCM4401 driver for freebsd i386 5.0 cant find it plz help
 me :(
 thnx in advanced Christiaan

-- 
Martin Hudec| corwin at aeternal.net
| corwin at web.markiza.sk
http://www.aeternal.net | cell +421 907 303 393



pgpHH3PWJw3Nw.pgp
Description: PGP signature


Re: Net::LibIDN

2004-06-09 Thread Martin Hudec
Hello,
Odhiambo Washington wrote:
  CPAN.pm: Going to build T/TH/THOR/Net-LibIDN-0.07.tar.gz
/usr/bin/ld: cannot find -lidn
This module requires GNU Libidn, which could not be found.
What am I gonna do? ;-))
and did you try this one to install as prerequisite for Net-LibIDN?
amber# make search name=libidn
Port:   libidn-0.4.6
Path:   /usr/ports/devel/libidn
Info:   Internationalized Domain Names command line tool
Maint:  [EMAIL PROTECTED]
Index:  devel
B-deps: expat-1.95.7 gengetopt-2.11 gettext-0.13.1_1 libgnugetopt-1.2 
libiconv-1.9.1_3 libtool-1.3.5_2
R-deps: expat-1.95.7 gettext-0.13.1_1 libgnugetopt-1.2 libiconv-1.9.1_3

And perhaps then try to install your wanted perl module from ports 
instead of CPAN:

Port:   p5-Net-LibIDN-0.07_1
Path:   /usr/ports/devel/p5-Net-LibIDN
Info:   This module provides access to the libidn library
Maint:  [EMAIL PROTECTED]
Index:  devel perl5
B-deps: expat-1.95.7 gettext-0.13.1_1 libgnugetopt-1.2 libiconv-1.9.1_3 
libidn-0.4.6
R-deps: expat-1.95.7 gettext-0.13.1_1 libgnugetopt-1.2 libiconv-1.9.1_3 
libidn-0.4.6

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


Re: How to make a screenshot?

2004-06-04 Thread Martin Hudec
Hello,
Andrew L. Gould wrote:
How can I make a screenshot of what's on my monitor?  (I searched the
archives unsuccessfully for screenshot.)
	Or what about ImageMagick? :) and its import utility? Maybe it is big 
weapon for something so small.. but ImageMagick is imho very useful 
piece of software to do some image manipulation stuff..

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


Re: jdk14

2004-04-22 Thread Martin Hudec
Hello Radu,

and do you have linux_enable=YES set in /etc/rc.conf?


Cheers,

Martin


On Thu, Apr 22, 2004 at 04:13:27PM +0300 or thereabouts, Radu MOLNAR wrote:
 I have problems installing jdk14 from the ports. I searched for the error
 and i found that i have to have linuxprocfs mounted so i did that:
 linprocfs on /usr/compat/linux/proc (linprocfs, local)
 
 I also have installed linux_base package:
 linux_base-7.1_7The base set of packages needed in Linux mode
 
 Do i have to do something else to get this to compile?

-- 
Martin Hudec| corwin at aeternal.net
| corwin at web.markiza.sk
http://www.aeternal.net | cell +421 907 303 393

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


Re: False positives from chkrootkit? or hacked test server?

2004-04-15 Thread Martin Hudec
Hello,

thanks for the info :), that explains why my 4.9-STABLE was not infected
and 4.10-BETA shows false positives..
But I am still bit unsure why my 5.2.1-RELEASE-p4 (not mentioning one false
positive) stops while checking lkm..


Cheers,

Martin

On Thu, Apr 15, 2004 at 08:29:17AM +0100 or thereabouts, Matthew Seaman wrote:
 In a word: yes.  This was something that was quite a popular question
 on this list some months back around the time of one of the earlier
 5.x releases.  I don't remember anyone mentioning this in the context
 of 4.9 or earlier systems, but that could just be my memory failing.
 
http://lists.freebsd.org/pipermail/freebsd-security/2003-August/000755.html
 
 For the rest of the traffic look at:
 

 http://www.google.co.uk/search?hl=enie=UTF-8oe=UTF-8safe=offq=site%3Alists.freebsd.org+chkrootkit+chfn+INFECTEDbtnG=Searchmeta=
 
 (Nb. chkrootkit has since been fixed to work correctly under 5.x)
 
 However see this:
 
 http://lists.freebsd.org/pipermail/freebsd-ports/2004-April/011362.html
 

-- 
Martin Hudec| corwin at aeternal.net
| corwin at web.markiza.sk
http://www.aeternal.net | cell +421 907 303 393

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


Re: installing perl module Net::Netmask

2004-04-15 Thread Martin Hudec
Hello,

or if you don't want to install it from ports for any reason,
you can use:

# perl -MCPAN -e shell
answer various configuration questions
cpan install Net::Netmask
after installation is complete, type quit
cpan quit


Cheers,

Martin


On Thu, Apr 15, 2004 at 04:39:50PM -0400 or thereabouts, JJB wrote:
 Freebsd 4.9 is delivered with perl all ready installed.
 Just how do I go about installing  module Net::Netmask into 
 the existing Perl software?

-- 
Martin Hudec| corwin at aeternal.net
| corwin at web.markiza.sk
http://www.aeternal.net | cell +421 907 303 393

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


Re: False positives from chkrootkit? or hacked test server?

2004-04-14 Thread Martin Hudec
Hello all,

On Wed, Apr 14, 2004 at 02:11:34PM -0700 or thereabouts, Mike wrote:
 Jeff Maxwell wrote:
 
 upgrade your ports. The chkrootkit that ships with 4.9 gives false 
 positives
 


I'm using chrootkit from fresh ports update (v4.3). Results are as:

System 1 on 4.9-STABLE:
nothing found

System 2 on 4.10-BETA:
chfn, chsh, date infected

System 3 on 5.2.1-RELEASE-p4:
date infected, stops (freezes) at checking 'lkm'

strace shows:
wait4(-1, Process 610 attached - interrupt to quit

Systems are behind two firewalls, with only ssh allowed (5.x) or
ftp, ssh, smtp, www, pop3 and https allowed (4.x).


-- 
Martin Hudec| corwin at aeternal.net
| corwin at web.markiza.sk
http://www.aeternal.net | cell +421 907 303 393

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


Re: Sound problems..

2004-04-12 Thread Martin Hudec
Hello,

it would be nice, if you could paste here your dmesg output..
But looks like your mainboard is from the same supplier like mine k7s5al
(ECS Group), so i think all you need is to add device pcm to your kernel 
configuration.

STEP BY STEP GUIDE:

1. cd to /usr/src/sys/i386/conf
2. copy GENERIC file to MYKERNEL (give it any name you like)
3. edit it (don't remove anything unless you know what you're doing), just
add there line:

device pcm

You will tweak your kernel later, good start for information is handbook and
its kernel part at 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html.

4. cd to /usr/src
5. type: make buildkernel KERNCONF=MYKERNEL (or any name you gave it)
6. if all is okay, type: make installkernel KERNCONF=MYKERNEL
7. reboot

After this you should see in your dmesg lines like:

pcm0: SiS 7012 port 0xd800-0xd83f,0xdc00-0xdcff irq 11 at device 2.7 on pci0
pcm0: Realtek ALC100 AC97 Codec


Cheers,

Martin



On Sun, Apr 11, 2004 at 09:26:38PM -0700 or thereabouts, J Mc. wrote:
 i have no sound, and i think its du to my sound card, which is on board 
 my mobo. im not sure what type card it is, and not sure how to fix this 
 problem. this is the mobo tho
 
 http://www.ecsusa.com/products/k7som.html
 
 any help would be great, but if you can STEP-BY-STEP would be GREAT. 
 im a bsd/unix/linux newb, but i want to learn and this will help i 
 think :)

-- 
Martin Hudec| corwin at aeternal.net
| corwin at web.markiza.sk
http://www.aeternal.net | cell +421 907 303 393

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


WRITE_DMA failure during install of 5.2.1-RELEASE

2004-04-10 Thread Martin Hudec
Hello,

I am seeing following error during instalation of base system
to / as:

ad0: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=2305439
ad0: FAILURE - WRITE_DMA status=51 READY,DSC,ERROR error=84 
ICRC,ABORTED LBA=2305439

System being installed is: FreeBSD 5.2.1-RELEASE

Hardware is: Athlon XP2200+, 256MB DDR333 RAM, 80GB Samsung harddrive,
ASRock K7S8XE mainboard (SiS748 chipset) with SAMSUNG DVD-ROM.

Can anyone tell me what's wrong?

Cheers,

Martin

-- 
=--
:
:. kind regards
:.. Martin Hudec
:.:
:.: :m: +421.907.303393
:.: :@: [EMAIL PROTECTED]
:.: :w: http://www.aeternal.net

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


Re: Portupgrade problem

2004-04-10 Thread Martin Hudec
You're welcome :).


Cheers,

Martin

On Sat, Apr 10, 2004 at 04:51:10PM +0200 or thereabouts, Andreas Davour wrote:
 
 I wanted to send my heartfelt thanks to all who chimed in with helpful
 suggestions on my portupgrade problem.
 
 I have now learned that ports-all is proably the best option for a
 ports-supfile, and I'll have to look into the issue about a refuse file
 instead when I want to limit the selection.
 
 I have also learnt the importance of running 'portsdb -Uu' after
 upgrading.
 
 Now I think I know how to do these things and after another upgrade I
 think I'm ready to at least do the cvsup part using cron.
 
 Once again, many thanks!

-- 
=--
:
:. kind regards
:.. Martin Hudec
:.:
:.: :m: +421.907.303393
:.: :@: [EMAIL PROTECTED]
:.: :w: http://www.aeternal.net

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


Re: WRITE_DMA failure during install of 5.2.1-RELEASE

2004-04-10 Thread Martin Hudec
Hello Chuck,

well I tried hutils diagnostics utility from samsung site, which
showed up errors (both during selftest or low level format), then I took the
hard drive and put it into another computer, where I was able to run both 
diagnostics and low lever format successfully without any errors.
I took also Western Digital drive and put it into failing computer,
again it was new drive and I went to same errors during diagnostics from
WD utilities..

So I assume that something on mainboard (probably disk controller) is
failing so I will make a complaint to supplier of hardware :)


Thank you..


Cheers,

Martin


On Sat, Apr 10, 2004 at 03:12:37PM -0400 or thereabouts, Chuck Swiger wrote:
 Looks like the hard drive is failing.  You ought to try running a 
 diagnostic scan on it (look for a utility from the vendor's website)...

-- 
=--
:
:. kind regards
:.. Martin Hudec
:.:
:.: :m: +421.907.303393
:.: :@: [EMAIL PROTECTED]
:.: :w: http://www.aeternal.net

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


Re: Bandwidth tracking/monitoring on Freebsd

2004-04-10 Thread Martin Hudec
Hello,

There is MRTG (/usr/ports/net-mgmt/mrtg) for constant monitoring
of inbound/outbound traffic, data are also available in graph format.
Or you can try ntop (/usr/ports/net/ntop). Or you can write your own script
analyzing data from ipfw counting :). I use mrtg and ntop for monitoring
of my bandwith, and management is satisfied with both. There are more tools,
maybe others might point you to them.


Cheers,

Martin

On Sat, Apr 10, 2004 at 04:20:21PM -0400 or thereabouts, Dragoncrest wrote:
 Hi all.  Got a question.  I got a box on my network that I'd like to be
 able to track bandwidth usage on.  Just to see how much traffic is
 passing through it in a one month period and daily over a 24 hour
 period.  Is there some kind of application I can use to log total bytes
 sent and total bytes recieved?  I don't need to know specifically WHAT
 was sent, but rather HOW MUCH of it was sent.  IE 6 gigs inbound
 traffic, 2 gigs outbound traffic.  It's running Freebsd 4.9 right now. 
 What is the easiest way to do this short of setting up IPFW and doing a
 kernel compile and all that nasty stuff.  Any suggestions will be welcome.

-- 
Martin Hudec| corwin at aeternal.net
| corwin at web.markiza.sk
http://www.aeternal.net | cell +421 907 303 393

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


Re: Portupgrade problem

2004-04-09 Thread Martin Hudec
Hello,

I am using portupgrade -airR for a long long time without any signs
of trouble :), just for few days I am observing a message from portaudit
regarding of upgrading my Midnight Commander that due to bug in mc (as do
portaudit say) there will be no upgrade :). I thought that that bug was
fixed in 4.6.0_9 version, but portaudit still complains..


Cheers,


Martin

On Fri, Apr 09, 2004 at 12:12:47PM -0700 or thereabouts, Kent Stewart wrote:
 The question at this point is what you updated and the order. If you 
 were starting out clean, a portupgrade -rR glib would have done most of 
 this but I wouldn't bet money. I eventually did a -rf glib to get 
 things built cleanly.

-- 
=--
:
:. kind regards
:.. Martin Hudec
:.:
:.: :m: +421.907.303393
:.: :@: [EMAIL PROTECTED]
:.: :w: http://www.aeternal.net

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


Re: Portupgrade problem

2004-04-09 Thread Martin Hudec
Hi Andreas,

don't you really have atk in /usr/ports/accessibility/atk directory?
Perhaps look into ports-supfile.. do you have there ports-all enabled?

cheers,


Martin

On Fri, Apr 09, 2004 at 08:55:04PM +0200 or thereabouts, Andreas Davour wrote:
 And it is correct in that there *is* no accessibility/atk port in my new
 cvsup'ed ports tree. But why is it then telling me it needs it!?
 
 Can I get the atk ports from somewhere? Is it really needed? Why has it
 dissapeared and why is it still mentioned as a dependency then?

-- 
=--
:
:. kind regards
:.. Martin Hudec
:.:
:.: :m: +421.907.303393
:.: :@: [EMAIL PROTECTED]
:.: :w: http://www.aeternal.net

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


  1   2   >