Re: trussing a non existing file causes misbehavior

2006-11-16 Thread Oleg Dambaev

Nikos Vassiliadis wrote:

Hello,

In my 6.2-PRERELEASE(one month old approximately) truss gets stuck exiting
when trying to truss a non existing file. I think the problem is not in truss 
itself.
But I have not the skills to find it. So, will a build with updated sources 
help?
Is there anybody else with the same problem?

nik:0:~$ truss /nothing
truss: execvp /nothing: No such file or directory
load: 1.04  cmd: truss 70662 [exithold] 0.00u 0.00s 0% 700k

Thanks in advance, Nikos
  

Never seen any dumbest thing.
Re-read truss(1) man page and find out what truss must do.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How to connects to Linux machine via null-modem cable and cu command?

2006-10-11 Thread Oleg Dambaev

Daniel O'Connor wrote:

On Wednesday 11 October 2006 13:15, Sun Zongjun-E5739C wrote:
 
  

I run the command on device running FreeBSD 6.1

Test# cu -l /dev/cuad0
Connected

There is no response on the FreeBSD except the "Connected" string.  Such
string can occur even there is no cable available.

What happens to cu command on FreeBSD?



Two questions
1) Is cuad0 the correct port? Have you tried cuad1?
2) What baud rate are you using? (the -s flag)

  


Good way to try *first*:
0. man stty
1. use tip instead cu


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


Re: jail: socket unavaible

2006-09-20 Thread Oleg Dambaev

[EMAIL PROTECTED] wrote:

hi list

I'm tring to make apache work inside a jail (6.1)
apachctl start gives following errors

no listening sockets available, shutting down

here's some sysctl values on my host

security.jail.allow_raw_sockets: 1
security.jail.enforce_statfs: 2
security.jail.set_hostname_allowed: 1
security.jail.socket_unixiproute_only: 1
security.jail.sysvipc_allowed: 0
security.jail.chflags_allowed: 0

thanks for your helps

regards



I have
# sysctl -a | grep 'security.jail'
security.jail.set_hostname_allowed: 1
security.jail.socket_unixiproute_only: 1
security.jail.sysvipc_allowed: 0
security.jail.enforce_statfs: 2
security.jail.allow_raw_sockets: 1
security.jail.chflags_allowed: 0
security.jail.jailed: 0


Works fine. Maybe there's another reason?
What netstat -an inside a jail says?
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: mod_php4 unavaible

2006-09-18 Thread Oleg Dambaev

[EMAIL PROTECTED] wrote:

hi list

I've updated php4 this morning, and my web site using lost php module. 
the php4 is unavailble on my system. /usr/ports/www/mod_php4 has been 
removed, and I don't know how to get it workind,


some ideas?
As far as I know, php builds own modules called usually libphp(version 
number).so and places it in $PREFIX$/$MODULES$ dir of your apache.

Did you used --with-apxs=... option while building?
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"