How to do ping really quiet?
Hello, Questions. When I use ping -q ya.ru I get ping: sendto: No route to host How to make ping really quiet? KES mailto:kes-...@yandex.ru ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Problem with linking kernel
On Mon, Jan 05, 2009 at 06:38:19PM +0200, Igor wrote: snip #options INET6 # IPv6 communications protocols options SCTP# Stream Control Transmission Protocol snip excerpt from /sys/conf/NOTES: # Note YOU MUST have both INET and INET6 defined. # you don't have to enable V6, but SCTP is # dual stacked and so far we have not teased apart # the V6 and V4.. HTH, Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: why printf() don't work?
trying putting newlines in the strings like this: receive overflow\n - Original Message - From: Edward King zhan...@neusoft.com To: freebsd-questions@freebsd.org Sent: Monday, January 5, 2009 2:29:23 AM GMT -05:00 US/Canada Eastern Subject: why printf() don't work? I use FreeBSD7.0,and use signal,like follows: signal(SIGHUP,sig_hup); signal(SIGIO,sig_io); when I run call following code,it can run,but I find a puzzled question,it should print some information,such as printf(execute main()) will print execute main(),but in fact,printf fuction print none!!! Why printf function do not go work? my code is follows: #include sys/ioctl.h #include unp.h static int sockfd; #define QSIZE 8 #define MAXDG 4096 typedef struct{ void *dg_data; size_t dg_len; struct sockaddr *dg_sa; socklen_t dg_salen; }DG; static DG dg[QSIZE]; static long cntread[QSIZE+1]; static int iget; static int iput; static int nqueue; static socklen_t clilen; static void sig_io(int); static void sig_hup(int); int main(int argc,char **argv){ printf(execute main()); int sockfd; struct sockaddr_in servaddr,cliaddr; sockfd=socket(AF_INET,SOCK_DGRAM,0); bzero(servaddr,sizeof(servaddr)); servaddr.sin_family=AF_INET; servaddr.sin_addr.s_addr=htonl(INADDR_ANY); servaddr.sin_port=htons(SERV_PORT); bind(sockfd,(SA *)servaddr,sizeof(servaddr)); dg_echo(sockfd,(SA *)cliaddr,sizeof(cliaddr)); } void dg_echo(int sockfd_arg,SA *pcliaddr,socklen_t clilen_arg){ printf(called dg_echo); int i; const int on=1; sigset_t zeromask,newmask,oldmask; sockfd=sockfd_arg; clilen=clilen_arg; for(i=0;i =QSIZE) iget=0; sigprocmask(SIG_BLOCK,newmask,oldmask); nqueue--; } } static void sig_io(int signo){ printf(sig_io called); ssize_t len; int nread; DG *ptr; for(nread=0;;){ if(nqueue=QSIZE) err_quit(receive overflow); ptr=dg[iput]; ptr-dg_salen=clilen; len=recvfrom(sockfd,ptr-dg_data,MAXDG,0,ptr-dg_sa,ptr-dg_salen); if(len0){ if(errno==EWOULDBLOCK) break; else err_sys(recvfrom error); } ptr-dg_len=len; nread++; nqueue++; if(++iput=QSIZE) iput=0; } cntread[nread]++; } static void sig_hup(int signo){ printf(sig_hup called); int i; for(i=0;i=QSIZE;i++) printf(cntread[%d]=%ld\n,i,cntread[i]); } --- Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) is intended only for the use of the intended recipient and may be confidential and/or privileged of Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication is not the intended recipient, unauthorized use, forwarding, printing, storing, disclosure or copying is strictly prohibited, and may be unlawful.If you have received this communication in error,please immediately notify the sender by return e-mail, and delete the original message and all copies from your system. Thank you. --- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Problem with linking kernel
Sorry for my English...))) FreeBSD 7.0 data from Terminal(after using make buildkernel KERNCONF=MYKERNEL) part with errors: * linking kernel uipc_syscalls.o(.text+0x39f): In function `sctp_generic_recvmsg': : undefined reference to `sctp_sorecvmsg' uipc_syscalls.o(.text+0x21c6): In function `sctp_generic_sendmsg_iov': : undefined reference to `sctp_lower_sosend' uipc_syscalls.o(.text+0x2462): In function `sctp_generic_sendmsg': : undefined reference to `sctp_lower_sosend' uipc_syscalls.o(.text+0x2611): In function `sctp_peeloff': : undefined reference to `sctp_can_peel_off' uipc_syscalls.o(.text+0x27b6): In function `sctp_peeloff': : undefined reference to `sctp_do_peeloff' rtsock.o(.text+0xb0d): In function `rt_newaddrmsg': : undefined reference to `sctp_addr_change' in_proto.o(.data+0xa8): undefined reference to `sctp_input' in_proto.o(.data+0xb0): undefined reference to `sctp_ctlinput' in_proto.o(.data+0xb4): undefined reference to `sctp_ctloutput' in_proto.o(.data+0xbc): undefined reference to `sctp_init' in_proto.o(.data+0xc8): undefined reference to `sctp_drain' in_proto.o(.data+0xcc): undefined reference to `sctp_usrreqs' in_proto.o(.data+0xdc): undefined reference to `sctp_input' in_proto.o(.data+0xe4): undefined reference to `sctp_ctlinput' in_proto.o(.data+0xe8): undefined reference to `sctp_ctloutput' in_proto.o(.data+0xfc): undefined reference to `sctp_drain' in_proto.o(.data+0x100): undefined reference to `sctp_usrreqs' in_proto.o(.data+0x110): undefined reference to `sctp_input' in_proto.o(.data+0x118): undefined reference to `sctp_ctlinput' in_proto.o(.data+0x11c): undefined reference to `sctp_ctloutput' in_proto.o(.data+0x130): undefined reference to `sctp_drain' in_proto.o(.data+0x134): undefined reference to `sctp_usrreqs' if_vr.o(.text+0x1366): In function `vr_init_locked': : undefined reference to `mii_mediachg' if_vr.o(.text+0x172b): In function `vr_tick': : undefined reference to `mii_tick' if_vr.o(.text+0x1f7f): In function `vr_ifmedia_sts': : undefined reference to `mii_pollstat' if_vr.o(.text+0x2da7): In function `vr_attach': : undefined reference to `mii_phy_probe' if_vr.o(.data+0x118): undefined reference to `miibus_driver' if_vr.o(.data+0x11c): undefined reference to `miibus_devclass' if_vr.o(.data+0x190): undefined reference to `miibus_readreg_desc' if_vr.o(.data+0x198): undefined reference to `miibus_writereg_desc' if_vr.o(.data+0x1a0): undefined reference to `miibus_statchg_desc' *** Error code 1 Stop in /usr/obj/usr/src/sys/MYKERNEL. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. * Why? file MYKERNEL is in attachment # machine i386 cpu I486_CPU cpu I586_CPU cpu I686_CPU ident MYKERNEL # To statically compile in device wiring instead of /boot/device.hints #hints GENERIC.hints # Default places to look for devices. #makeoptionsDEBUG=-g# Build kernel with gdb(1) debug symbols options SCHED_4BSD # 4BSD scheduler options PREEMPTION # Enable kernel thread preemption options INET# InterNETworking #optionsINET6 # IPv6 communications protocols options SCTP# Stream Control Transmission Protocol options FFS # Berkeley Fast Filesystem options SOFTUPDATES # Enable FFS soft updates support options UFS_ACL # Support for access control lists options UFS_DIRHASH # Improve performance on big directories options UFS_GJOURNAL# Enable gjournal-based UFS journaling options MD_ROOT # MD is a potential root device options NFSCLIENT # Network Filesystem Client options NFSSERVER # Network Filesystem Server options NFS_ROOT# NFS usable as /, requires NFSCLIENT #optionsMSDOSFS # MSDOS Filesystem #optionsCD9660 # ISO 9660 Filesystem options PROCFS # Process filesystem (requires PSEUDOFS) options PSEUDOFS# Pseudo-filesystem framework options GEOM_PART_GPT # GUID Partition Tables. options GEOM_LABEL # Provides labelization options COMPAT_43TTY# BSD 4.3 TTY compat [KEEP THIS!] options COMPAT_FREEBSD4 # Compatible with FreeBSD4 options COMPAT_FREEBSD5 # Compatible with FreeBSD5 options COMPAT_FREEBSD6 # Compatible with FreeBSD6 #optionsSCSI_DELAY=5000 # Delay (in ms) before probing SCSI options KTRACE # ktrace(1) support options SYSVSHM # SYSV-style shared memory options SYSVMSG # SYSV-style message queues options SYSVSEM
Portsnap Not Found Issues
Running FreeBSD 7.0-RELEASE-p5. [r...@host][/tmp] # portsnap fetch update Looking up portsnap.FreeBSD.org mirrors... 3 mirrors found. Fetching snapshot tag from portsnap2.FreeBSD.org... done. Fetching snapshot metadata... fetch: http://portsnap2.FreeBSD.org/t/c503dc715eebbd771a82ca25cdda8e7977af043b914af2726a3bcea67360db30: Not Found sha256: c503dc715eebbd771a82ca25cdda8e7977af043b914af2726a3bcea67360db30: No such file or directory [: !=: unexpected operator mv: rename c503dc715eebbd771a82ca25cdda8e7977af043b914af2726a3bcea67360db30 to tINDEX.new: No such file or directory done. grep: tINDEX.new: No such file or directory look: tINDEX.new: No such file or directory Portsnap metadata appears bogus. Cowardly refusing to proceed any further. [r...@host][/tmp] # Any solutions? I didn't touch any portsnap.conf file or anything. It was working fine last I checked. A week later I run the command, and this happens. Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Processes Piling up with the lockf state
Hi! I asked this a couple days ago but I forgot to put a subject line in. I'm getting problems with my server locking up after accumulating far too many processes until I have to reboot. The states of the processes are reading either sbwait or lockf when this spiral out of control starts to happen. Any ideas what might cause this? Thanks in advance, Syd ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: wireless on a hp pavillion dv5000
Glen Barber wrote: Aryeh M. Friedman wrote: I have installed the ndis stuff and it sees the mac address but when i push the power button on the wireless (build into the laptop) it does not power on the wireless card any ideas? Do you have 'ifconfig_ndis=your settings here' in rc.conf? Are you sure by pressing that button you haven't turned the wireless card off? (In my experience with ndis0 and hotkeys, it doesn't work well.) You're not giving is much to work with here. When i was using the ndis interface on my dv2000 with broadcom4311 the wifi light never came on and the switch had no function. you could be experiencing the same situation. my wifi did however, work. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: How to do ping really quiet?
On Mon, 5 Jan 2009 18:22:34 +0200, KES kes-...@yandex.ru wrote: Hello, Questions. When I use ping -q ya.ru I get ping: sendto: No route to host How to make ping really quiet? It depends on your shell. For default scripting shell (Bourne Shell) you can ping -q ya.ru /dev/null 21 which suppresses standard output and error messages. Within the standard dialog shell (C Shell), I think has the same purpose (refer to man csh to be sure). -- Polytropon From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: why printf() don't work?
On Mon, 5 Jan 2009 15:12:12 + (UTC), Tom Marchand m0rch...@comcast.net wrote: trying putting newlines in the strings like this: receive overflow\n You can add fflush(stdout); to force the output, even if no \n is appended. But as it has been mentioned before, don't forget to #include stdio.h :-) -- Polytropon From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: why printf() don't work?
On January 5, 2009 02:29:23 am Edward King wrote: I use FreeBSD7.0,and use signal,like follows: signal(SIGHUP,sig_hup); signal(SIGIO,sig_io); when I run call following code,it can run,but I find a puzzled question,it should print some information,such as printf(execute main()) will print execute main(),but in fact,printf fuction print none!!! Why printf function do not go work? my code is follows: #include sys/ioctl.h #include unp.h static int sockfd; #define QSIZE 8 #define MAXDG 4096 typedef struct{ void *dg_data; size_t dg_len; struct sockaddr *dg_sa; socklen_t dg_salen; }DG; static DG dg[QSIZE]; static long cntread[QSIZE+1]; static int iget; static int iput; static int nqueue; static socklen_t clilen; static void sig_io(int); static void sig_hup(int); int main(int argc,char **argv){ printf(execute main()); int sockfd; struct sockaddr_in servaddr,cliaddr; sockfd=socket(AF_INET,SOCK_DGRAM,0); bzero(servaddr,sizeof(servaddr)); servaddr.sin_family=AF_INET; servaddr.sin_addr.s_addr=htonl(INADDR_ANY); servaddr.sin_port=htons(SERV_PORT); bind(sockfd,(SA *)servaddr,sizeof(servaddr)); dg_echo(sockfd,(SA *)cliaddr,sizeof(cliaddr)); } void dg_echo(int sockfd_arg,SA *pcliaddr,socklen_t clilen_arg){ printf(called dg_echo); int i; const int on=1; sigset_t zeromask,newmask,oldmask; sockfd=sockfd_arg; clilen=clilen_arg; for(i=0;iQSIZE;i++){ dg[i].dg_data=malloc(MAXDG); dg[i].dg_sa=malloc(clilen); dg[i].dg_salen=clilen; } iget=iput=nqueue=0; signal(SIGHUP,sig_hup); signal(SIGIO,sig_io); fcntl(sockfd,F_SETOWN,getpid()); ioctl(sockfd,FIOASYNC,on); ioctl(sockfd,FIONBIO,on); sigemptyset(zeromask); sigemptyset(oldmask); sigemptyset(newmask); sigaddset(newmask,SIGIO); sigprocmask(SIG_BLOCK,newmask,oldmask); for(;;){ while(nqueue==0) sigsuspend(zeromask); sigprocmask(SIG_SETMASK,oldmask,NULL); sendto(sockfd,dg[iget].dg_data,dg[iget].dg_len,0,dg[iget].dg_sa,dg[iget].dg _salen); if(++iget=QSIZE) iget=0; sigprocmask(SIG_BLOCK,newmask,oldmask); nqueue--; } } static void sig_io(int signo){ printf(sig_io called); ssize_t len; int nread; DG *ptr; for(nread=0;;){ if(nqueue=QSIZE) err_quit(receive overflow); ptr=dg[iput]; ptr-dg_salen=clilen; len=recvfrom(sockfd,ptr-dg_data,MAXDG,0,ptr-dg_sa,ptr-dg_salen); if(len0){ if(errno==EWOULDBLOCK) break; else err_sys(recvfrom error); } ptr-dg_len=len; nread++; nqueue++; if(++iput=QSIZE) iput=0; } cntread[nread]++; } static void sig_hup(int signo){ printf(sig_hup called); int i; for(i=0;i=QSIZE;i++) printf(cntread[%d]=%ld\n,i,cntread[i]); } --- Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) is intended only for the use of the intended recipient and may be confidential and/or privileged of Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication is not the intended recipient, unauthorized use, forwarding, printing, storing, disclosure or copying is strictly prohibited, and may be unlawful.If you have received this communication in error,please immediately notify the sender by return e-mail, and delete the original message and all copies from your system. Thank you. --- I think you need #include stdio.h -- Mike Jeays http://www.jeays.ca ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
wireless on a hp pavillion dv5000
I have installed the ndis stuff and it sees the mac address but when i push the power button on the wireless (build into the laptop) it does not power on the wireless card any ideas? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: How to do ping really quiet?
KES wrote: Hello, Questions. When I use ping -q ya.ru I get ping: sendto: No route to host How to make ping really quiet? Try: sh -c 'ping -q ya.ru /dev/null 21' -- FR ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
pathsetting for OpenSSL-0.9.8i
Hello all, I'm new in FreeBSD. I just installed FreeBSD 7.0 RELEASE and installed also Apache22, PHP5, MySQLserver and OpenSSL-0.9.8i, the latest version of Openssl. I know that the base opensslversion is 0.9.8e during the install of a freshinstall of FreeBSD. For so far everything went fine during the installation of Apache22, PHP5, MySQLserver 5.x.x and OpenSSL 0.9.8i. in the file rc.conf i wrote the line - named_enable=YES linux_enable=YES sshd_enable=YES mysql_enable=YES apache22_enable=YES apache22_http_accept_enable=YES make.conf PERL_VER=5.8.8 PERL_VERSION=5.8.8 MAKE_IDEA=YES WITH_OPENSSL_PORT=YES NO_BIND=YES All the installed applicaties are working fine , just OpenSSL is not working like the newest version 0.9.8i. I still see that that the base openssl is the default after the giffen command openssl version 0.9.8e is see that the old version 0.9.8e is working, but i want to use the newer version. for so far i know is that the newer version of OpenSSL-0.9.8i is installed in /usr/local/bin/openssl and the old version is installed as default in /usr/bin/openssl When i look to my phpinfo.php, (i use the apachewebserver 2.2.9.x) i can see that OpenSSL-0.9.8i is installed and working. === My question to you all is 'how do i configure the newest version on the right way and wich file do i have to edit to give the right $PATH setting === for example i have edited the file make.conf and wrote WITH_OPENSSL_PORT= /usr/local/bin/openssl but , it didn't helped what is the right way to configure the latest OpenSSL-0.9.8i version because i want to use the SSL application for Apache22 SSL, POP3s, IMAPs, Smtp (postfix with SASL and SSL encryption) for a save connection combined with Squirrelmail I'm looking forward to the answers greetings, Marinus p.s. my excuse for the bad English ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD kernel Debugging tools for Virtual Memory Module
Eugene Grosbein eu...@kuzbass.ru writes: First, you need to recompile source you change for sure :-) But you have not rebuild all other files all the time. You need to add to your /etc/src.conf (or /etc/make.conf for 6.x and earlier): MODULES_WITH_WORLD=yes This will skip rebuilding of all modules during 'make buildkernel' but you MUST to copy all modules from /boot/kernel to /boot/modules (all files other than /boot/kernel/kernel*) if you do this. What is the point, if you use NO_KERNELCLEAN as recommended below? The modules won't be rebuilt either unless something that affects them has changed. Running a new kernel with old modules is a great way to shoot yourself in the foot. If you absolutely want to skip modules, build your kernel with -DNO_MODULES, but install it normally, or use reinstallkernel instead of installkernel. The latter will overwrite your running kernel - but you should keep an unmodified kernel around anyway. You can boot entirely without modules if you include everything you need (including acpi) in your kernel config. Then, if you do not change kernel config file, recompile your changes with command (only second time and then): cd /usr/src; make NO_KERNELDEPEND=yes NO_KERNELCLEAN=yes buildkernel You should not use -DNO_KERNELDEPEND unless you know for sure that no #include directives have been added or removed and no kernel options have changed. It is safe to use -DNO_KERNELCLEAN, but not -DNO_KERNELDEPEND, even if your config file changed. Second, you should use some kind of virtual machine (like qemu from ports) to speedup your development cycle even more: install the system into virtual machine and you'll need not another box to debug the kernel and need not rebuild your development box. Test your changes with the system installed into VM and reboot it only. Use ddb or kgdb already noted here. The best solution by far is to use actual hardware and netboot from your development machine. It's easy to set up, and you don't lose context every time you reboot the test system. DES -- Dag-Erling Smørgrav - d...@des.no ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re[2]: How to do ping really quiet?
Hello, Frederique. FR KES wrote: Hello, Questions. When I use ping -q ya.ru I get ping: sendto: No route to host How to make ping really quiet? FR Try: FR sh -c 'ping -q ya.ru /dev/null 21' man ping -q Quiet output. Nothing is displayed except the summary lines at startup time and when finished. That is mistake in Doc or in ping. Thx. This help, but seems ugly. Because of I can miss other maybe usefull errors (( ping -q ya.ru 2/dev/null Any other suggestions? -- С уважением, KES mailto:kes-...@yandex.ru ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: zip files...
Gary Kline wrote: guys, i have three huge zip files, .zip, and z02, z01. how do i unzip these into the original? Note that FreeBSD tar now extracts zips (tarr xvfz zipfile) -- Michel TALON ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: wireless on a hp pavillion dv5000
Same card but no carrier... what did you do to see the carrier? On 1/5/09, michael michael.copel...@gmail.com wrote: Glen Barber wrote: Aryeh M. Friedman wrote: I have installed the ndis stuff and it sees the mac address but when i push the power button on the wireless (build into the laptop) it does not power on the wireless card any ideas? Do you have 'ifconfig_ndis=your settings here' in rc.conf? Are you sure by pressing that button you haven't turned the wireless card off? (In my experience with ndis0 and hotkeys, it doesn't work well.) You're not giving is much to work with here. When i was using the ndis interface on my dv2000 with broadcom4311 the wifi light never came on and the switch had no function. you could be experiencing the same situation. my wifi did however, work. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: why printf() don't work?
Le Mon, 05 Jan 2009 15:29:23 +0800, Edward King zhan...@neusoft.com a écrit : I use FreeBSD7.0,and use signal,like follows: signal(SIGHUP,sig_hup); signal(SIGIO,sig_io); when I run call following code,it can run,but I find a puzzled question,it should print some information,such as printf(execute main()) will print execute main(),but in fact,printf fuction print none!!! Why printf function do not go work? Just to be sure : You should not use printf() in a signal handler, it is not considered 'signal safe'. (See man sigaction) Regards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Xlib: Invalid MIT-MAGIC-COOKIE-1 key
I've two boxes on which I run X servers, one box is 7.1-prelelease, the other is 8.0-current, both i386. Both boxes run xorg-server-1.4.2,1. Both boxes have identical $HOME/.Xauthority. However, when I connect to another computer with ssh -X and try to run a client, say xclock, one xserver displays the result fine, while the other gives: % xclock Xlib: connection to localhost:22.0 refused by server Xlib: Invalid MIT-MAGIC-COOKIE-1 key Error: Can't open display: localhost:22.0 % I spent quite a lot of time looking at what are the differences between my 2 X servers, but can't see any. This should be a simple problem, just find what the differences are between the working and the broken configurations, and implement them. But I can't find any differences. What should I look at to resolve the problem? many thanks anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 928 8233 Fax: +44 (0)117 929 4423 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Portsnap Not Found Issues
On 05-Jan-2009, at 12:10 , Andreas Rudisch wrote: On Mon, 5 Jan 2009 12:02:40 -0500 APseudoUtopia apseudouto...@gmail.com wrote: Running FreeBSD 7.0-RELEASE-p5. [r...@host][/tmp] # portsnap fetch update Looking up portsnap.FreeBSD.org mirrors... 3 mirrors found. Fetching snapshot tag from portsnap2.FreeBSD.org... done. Re-run the command and with any luck it should switch to portsnap1.FreeBSD.org which will work correctly. Probably a minor problem with the portsnap2 server. I'm seeing a similar error on a different metadata file from portsnap1. portsnap3 seems to be working for me at the moment. PGP.sig Description: This is a digitally signed message part
Re: No disks found on ASUS P5N-D, nForce 750i.
Does anyone have any ideas? On Fri, Jan 2, 2009 at 2:48 PM, Michael Craft mcr...@peak15.org wrote: I have an ASUS P5N-D motherboard with an Nvidia nForce 750i chipset, and a Seagate 500GB SATA 3.0Gb/s hard drive. When I try to install FreeBSD 7.0 i386 from the bootonly CD, I get a No disks found! error when it gets to the partitioning section. Also strangely but probably just a coincidence, after I boot from the FreeBSD CD, my Windows XP installation freezes at mup.sys and I need to do a cold boot to fix it. Weird. Can anyone help? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: kernel panic
Update of kernel panic. Rebuilt kernel without 80211node, seems to have cured the panics. Removed all wireless support for now. Thanks to Toni Schmidbauer --- On Thu, 1/1/09, Mark Busby redt...@sbcglobal.net wrote: From: Mark Busby redt...@sbcglobal.net Subject: kernel panic To: help help freebsd-questions@freebsd.org Date: Thursday, January 1, 2009, 2:05 PM I've had a few panics. Attached are the output from vmsat -m then -z. uname -a FreeBSD mars.sbcglobal.net 7.0-RELEASE-p5 FreeBSD 7.0-RELEASE-p5 #0: Mon Nov 24 23:03:01 CST 2008 box...@mars.sbcglobal.net:/usr/src/sys/i386/compile/MARS i386 Jan 1 08:56:39 mars savecore: reboot after panic: kmem_malloc(12288): kmem_map too small: 128778240 total allocated Jan 1 08:56:39 mars savecore: writing core to vmcore.2 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: 7.0-RELEASE and megaraid (mpt0)
*Tim Kellers wrote:* Colin wrote: / Hi folks, // I'm running a new server with FreeBSD 7.0-RELEASE and am seeing // timeouts and other messages with mpt0 / /// These include: // mpt_cam_event: 0x16, 0x12 0x60 // // More importantly these: // Dec 28 16:33:30 ted kernel: mpt0: request 0xc68db554:44729 timed out // for ccb 0xc691f000 (req-ccb 0xc691f000) // Dec 28 16:33:30 ted kernel: mpt0: request 0xc68d8bc4:44730 timed out // for ccb 0xc6ac1c00 (req-ccb 0xc6ac1c00) // Dec 28 16:33:30 ted kernel: mpt0: attempting to abort req // 0xc68db554:44729 function 0 // Dec 28 16:33:30 ted kernel: mpt0: request 0xc68d8328:44731 timed out // for ccb 0xc68df800 (req-ccb 0xc68df800) // Dec 28 16:33:30 ted kernel: mpt0: mpt_recover_commands: IOC Status // 0x4a. Resetting controller. // Dec 28 16:33:30 ted kernel: mpt0: completing timedout/aborted req // 0xc68db554:44729 // Dec 28 16:33:30 ted kernel: mpt0: completing timedout/aborted req // 0xc68d8bc4:44730 // Dec 28 16:33:30 ted kernel: mpt0: completing timedout/aborted req // 0xc68d8328:44731 // Dec 28 16:33:30 ted kernel: mpt0: request 0xc68d5ac8:0 timed out for // ccb 0xc6af4000 (req-ccb 0) // // I have raised this with my provider and they have said it is working // fine without any problem you can simply ignore this message. // // Now I'm no expert on the megaraid controller but I'm fairly certain // that frequent timeouts are not something that I want to be seeing. I // looked around and saw other people asking the same but no answers // posted publicly. I was also wondering as to whether linux emulation // could be used to run the LSI Megaraid storage manager or whether // attempting to do so is a very bad idea.. // // Thanks, // Colin // Southport Computers. // ___ // freebsd-questions at freebsd.org http://lists.freebsd.org/mailman/listinfo/freebsd-questions mailing list // http://lists.freebsd.org/mailman/listinfo/freebsd-questions // To unsubscribe, send any mail to // freebsd-questions-unsubscribe at freebsd.org http://lists.freebsd.org/mailman/listinfo/freebsd-questions // // /I'm running 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0: Sat Dec 27 03:44:52 EST 2008 AMD on a Dell 2850 Poweredge with the defaut LSI/PERC 4 and AMR kernel devices and I'm not seeing any timeouts at all. Maybe someone knows if something significant in those device files changed from 7.0 to 7.1? I don't think the Linux drivers are a viable option. But using 7.1 PRE seems to work just fine, here. mpt0: LSILogic 1030 Ultra4 Adapter port 0xec00-0xecff mem 0xdfdf-0xdfdf,0xdfde-0xdfde irq 34 at device 5.0 on pci2 mpt0: [ITHREAD] mpt0: MPI Version=1.2.12.0 amr0: LSILogic MegaRAID 1.53 mem 0xd90f-0xd90f irq 106 at device 4.0 on pci9 amr0: Using 64-bit DMA amr0: [ITHREAD] amr0: delete logical drives supported by controller amr0: LSILogic PERC 4/DC Firmware 351S, BIOS 1.10, 128MB RAM Looks like we're on different hardware. Mine is SAS and yours is SCSI mpt0: LSILogic SAS/SATA Adapter port 0xec00-0xecff mem 0xdffec000-0xdffe,0xdfff-0xdfff irq 16 at device 0.0 on pci2 mpt0: [ITHREAD] mpt0: MPI Version=1.5.16.0 da0 at mpt0 bus 0 target 8 lun 0 da0: LSILOGIC Logical Volume 3000 Fixed Direct Access SCSI-2 device da0: 300.000MB/s transfers da0: Command Queueing Enabled da0: 476837MB (976562176 512 byte sectors: 255H 63S/T 60788C) I have however noticed that the events only occur at specific times. So far I have noticed them only at boot time just after dmesg identifies the adapter and also whenever I try to install/upgrade a port. It doesn't matter what port it is but here is an example (seen as I'm having trouble with the mysql port not compiling but that's for a different thread) # make === Extracting for mysql-client-5.0.75 = MD5 Checksum OK for mysql-5.0.75.tar.gz. = SHA256 Checksum OK for mysql-5.0.75.tar.gz. ###Long pause here of 30 seconds with the mpt0 errors being logged === Patching for mysql-client-5.0.75 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Portsnap Not Found Issues
On Jan 5, 2009, at 2:40 PM, Matthew Pounsett wrote: I'm seeing a similar error on a different metadata file from portsnap1. portsnap3 seems to be working for me at the moment. I'm having problems on 2 and 3 (haven't tried 1). But I did get much further when portsnap3. $ sudo portsnap -s portsnap3.freebsd.org fetch update Looking up portsnap3.freebsd.org mirrors... none found. Fetching snapshot tag from portsnap3.freebsd.org... done. Fetching snapshot metadata... done. Updating from Sun Jan 4 11:29:12 CST 2009 to Mon Jan 5 13:49:44 CST 2009. Fetching 3 metadata patches.. done. Applying metadata patches... done. Fetching 0 metadata files... done. Fetching 530 patches. 10 20 30 40 50 60 70 80 90 100 110 120 130 140 150 160 170 180 190 200 210 220 230 240 250 260 270 280 290 300 310 320 330 340 350 360 370 380 390 400 410 420 430 440450460470480490500510520530 done. Applying patches... done. Fetching 90 new ports or files... /usr/sbin/portsnap: cannot open e12e83e8518a445d192fa06546e06cfd4eee82824a1a5d36e508ac7cb78968f8.gz: No such file or directory snapshot is corrupt. Anyway, I'll wait a day or two before trying again. Cheers, -j -- Jeffrey Goldberghttp://www.goldmark.org/jeff/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: PHP setup question
On Sun, Jan 04, 2009 at 04:45:41PM -0600, Kelly D. Grills wrote: On Sun, Jan 04, 2009 at 03:33:19PM -0500, stan wrote: OK, I did make some progress here. I figured out that I needed to change the grant to: GRANT ALL ON ampache to 'ampache_user'@'localhost' IDENTIFIED BY 'x' ; Then I entered this passwrd in the step 2 install page, and tried to write the config file. I could not, but,as stated in the docs, it offered to ket me download it. I did so, and put it in /usr/local/www/ampache/config. I set the owner to www. Good so, far, but now when I try to proced to step 3, I get: Error: Config file detected, Ampache is already installed So, I am guessing I should have somehow continued to set up this file without putting it in place? Well, I don't know every step you've taken, but this seems to have become much more difficult than it needs to be. All I've ever done is to install the ampache port and run through the web setup, no manually futzing with the database, etc. At this point I would: 1: deinstall the ampache port, manually rm /usr/local/www/ampache if required 2: drop the ampache database you've manually created 3: reinstall the ampache port 4: edit the default config file to quote those rss string values (/usr/local/www/ampache/config/ampache.cfg.php.dist) 5: run through the web setup Clearly I am still confused. :-( I just duid as you sugested, and all went well untill I pushed the Write Config button at Step 2. At this point I was offered teh option fo downlaoding to the machine that I was running the web browser on this config file. Since this is where I got hung up last. I stoped to ask what I am doing wrong. If I download this file, and put it in the config directory, based upon previous behavior the setup process will refuse to run, because the config file exists. What basic misunderstanding do I ahve here? -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Suggestion
Why not just install GRUB and use any boot splash you see fit? Hell you could even spin you're own fBSD release with this as a default if u wanted. On Sun, Jan 4, 2009 at 8:26 AM, Ryan da Silva rdasi...@greenfield.com wrote: Hello, If someone could pass this suggestion on i'd appreciate it. It's going to sound a little picky, and probably crazy but I'm an honest and forward person so I'll just say it. Someone needs to change the FreeBSD boot menu. The way the word/logo FreeBSD is displayed in large font with, ASCII characters, reminds me of the 1990`s with BBS`s. Don`t get me wrong, I loved the days of the BBS. But it`s 2009 and FreeBSD is a solid, professional, enterprise-grade operating system and the silly ASCII logo is the only thing that says amateur about the product. I would try to make the change myself for myself, but i am not a programmer. I love this product and would like to suggest changing that screen. To what? I don't know. Maybe instead of the large logo simply put FreeBSD version XXX, copy right etc. Or heck, maybe a color bootscreen like GRUB has in Linux (from what i've seen in Centos/Trixbox). I am not a linux person. I think FreeBSD is the way for professionals. But the inner perfectionist in me HAD to send this ridiculous email in hopes to see a change in v 7.1 RTM. If this isn't the right group, and you know how to get in touch with the people who can help, I would greatly appreciate it. Cheers to everyone who has made this great product! Ryan da Silva ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- Opportunity is most often missed by people because it is dressed in overalls and looks like work. Thomas Alva Edison - Inventor of 1093 patents, including the light bulb, phonogram and motion pictures. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: wireless on a hp pavillion dv5000
Aryeh Friedman wrote: Same card but no carrier... what did you do to see the carrier? On 1/5/09, michael michael.copel...@gmail.com wrote: normally i issued all the config options with ifconfig at one time, ie the ssid so on. ifconfig ndis0 up ssid ssid. something like that. i put the card back in and do it again to make sure. right now i'm using an intel card. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
FYI, portsnap problems
Hi all, For the benefit of those of you who are noticing problems with portsnap right now: The release of FreeBSD 7.1 has resulted in a very large amount of traffic to update1.freebsd.org, which is hosted by the same box as portsnap-master... so the portsnap mirrors are having some trouble syncing right now. If you find that portsnap doesn't work, please be patient -- once the flood of people upgrading systems to 7.1-RELEASE has subsided things should get back to normal. (Before people ask: update2.freebsd.org is going to exist soon. No, I'm not looking for more mirrors right now.) -- Colin Percival Security Officer, FreeBSD | freebsd.org | The power to serve Founder / author, Tarsnap | tarsnap.com | Online backups for the truly paranoid ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
7.1 release / apache22 / php5
for some odd reason, with this latest install (7.1), apache22 complains that it cannot find libphp5.so I usually compile php5 from ports and apache22 from ports after I think about it, I have never actually placed libphp5.so anywhere. I am not even sure who/what causes php5 module to be added to /usr/local/libexec/apache22/libphp5.so it's present on my 7.0 system, and missing on my 7.1 system. advice would be much appreciated. -- Jim Pazarena fqu...@ccstores.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: 7.1 release / apache22 / php5
On Mon, Jan 5, 2009 at 7:52 PM, Jim Pazarena fqu...@ccstores.com wrote: for some odd reason, with this latest install (7.1), apache22 complains that it cannot find libphp5.so I usually compile php5 from ports and apache22 from ports after I think about it, I have never actually placed libphp5.so anywhere. I am not even sure who/what causes php5 module to be added to /usr/local/libexec/apache22/libphp5.so it's present on my 7.0 system, and missing on my 7.1 system. advice would be much appreciated. Do you have something like: LoadModule php5_modulelibexec/apache22/libphp5.so in /usr/local/etc/apache22/httpd.conf ? If not, that's the likely culprit. You'd also need the IfModule mod_php5.c ... /IfModule block in there as well (or in an included file). Regards, Josh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: 7.1 release / apache22 / php5
Josh Carroll wrote: On Mon, Jan 5, 2009 at 7:52 PM, Jim Pazarena fqu...@ccstores.com wrote: for some odd reason, with this latest install (7.1), apache22 complains that it cannot find libphp5.so I usually compile php5 from ports and apache22 from ports after I think about it, I have never actually placed libphp5.so anywhere. I am not even sure who/what causes php5 module to be added to /usr/local/libexec/apache22/libphp5.so it's present on my 7.0 system, and missing on my 7.1 system. advice would be much appreciated. Do you have something like: LoadModule php5_modulelibexec/apache22/libphp5.so in /usr/local/etc/apache22/httpd.conf ? If not, that's the likely culprit. You'd also need the IfModule mod_php5.c ... /IfModule block in there as well (or in an included file). Regards, Josh the httpd config file isn't the issue. it hasn't changed in a few years. yes, I do have the correct entries. what I do NOT have is the actual libphp5.so library file! it doesn't exist on my system, so apache complains that it can't open it. -- Jim Pazarena fqu...@ccstores.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: 7.1 release / apache22 / php5
On Mon, Jan 5, 2009 at 7:52 PM, Jim Pazarena fqu...@ccstores.com wrote: for some odd reason, with this latest install (7.1), apache22 complains that it cannot find libphp5.so I usually compile php5 from ports and apache22 from ports after I think about it, I have never actually placed libphp5.so anywhere. I am not even sure who/what causes php5 module to be added to /usr/local/libexec/apache22/libphp5.so it's present on my 7.0 system, and missing on my 7.1 system. advice would be much appreciated. Did you remember to build the apache module when compiling php5? -- Glen Barber Tell me and I forget. Teach me and I remember. Involve me and I learn. - Benjamin Franklin ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: 7.1 release / apache22 / php5
the httpd config file isn't the issue. it hasn't changed in a few years. yes, I do have the correct entries. what I do NOT have is the actual libphp5.so library file! it doesn't exist on my system, so apache complains that it can't open it. Did you build the lang/php5 port with the Build Apache module option checked via make config? make -C /usr/ports/lang/php5 showconfig | grep APACHE Should return: APACHE=on Build Apache module If not, make config in there, check that option, then rebuild and reinstall the port. Josh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: 7.1 release / apache22 / php5
On Mon, Jan 05, 2009 at 04:52:10PM -0800, Jim Pazarena wrote: for some odd reason, with this latest install (7.1), apache22 complains that it cannot find libphp5.so I usually compile php5 from ports and apache22 from ports after I think about it, I have never actually placed libphp5.so anywhere. I am not even sure who/what causes php5 module to be added to /usr/local/libexec/apache22/libphp5.so it's present on my 7.0 system, and missing on my 7.1 system. advice would be much appreciated. I don't know if it's a change, but on the 7.1 machine I just built. the lang/php5 port was not configured by default to build the Apache module. -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: 7.1 release / apache22 / php5
stan wrote: On Mon, Jan 05, 2009 at 04:52:10PM -0800, Jim Pazarena wrote: for some odd reason, with this latest install (7.1), apache22 complains that it cannot find libphp5.so I usually compile php5 from ports and apache22 from ports after I think about it, I have never actually placed libphp5.so anywhere. I am not even sure who/what causes php5 module to be added to /usr/local/libexec/apache22/libphp5.so it's present on my 7.0 system, and missing on my 7.1 system. advice would be much appreciated. I don't know if it's a change, but on the 7.1 machine I just built. the lang/php5 port was not configured by default to build the Apache module. It's been that way as far as I can remember (at least since 6.2-RELEASE). -- Glen Barber ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: PHP setup question
stan wrote: I am trying to get the ampcache port working on a 7.1 machine. I have installed the port, which puts it's files in /usr/local/www/a,pcache. I Considering seeing a few of your questions on this list, and the excessive typos in this post alone, I'd double check your configs for typos and look at the error log. [[ snip ]] -- Glen Barber ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
PHP Apache module no longer loads /usr/local/etc/php.ini
Hi. I have two almost identical FreeBSD servers with FreeBSD 7.0, Apache 2.2.11 and PHP 5.2.8. After a restart of Apache four days ago, the PHP module on one of those servers no longer loads /usr/local/etc/php.ini and I can't for my world figure out what's preventing it. My workaround right now is to move php.ini to / where it is loaded properly. phpinfo on non-working server: http://pp.dyndns.biz/phpinfo.php phpinfo on working server: http://prefectftp.no-ip.com/phpinfo.php According to php.net the default location for php.ini is /usr/local/lib and to change that you have to compile PHP with --with-config-file-path=/some/path but I can't see that this is done on FreeBSD. Still /usr/local/etc is listed in phpinfo's Configuration File (php.ini) Path. What mechanism does FreeBSD use to alter the default location of the ini file? Can I somehow have interfered with that mechanism? The following things DO work though: - Setting PHPRC to /usr/local/etc (as described in php.ini) and restarting Apache loads /usr/local/etc/php.ini correctly. - CLI version works correctly regardless of PHPRC: # php -i | grep php.ini Configuration File (php.ini) Path = /usr/local/etc Loaded Configuration File = /usr/local/etc/php.ini No errors are listed in any log-file and I've been banging my head against the wall for four days now trying to solve this... Any help would be appreciated to figure out what stupid mistake I've made. :-) Regards Morgan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Portuguese accents
On Sat, Jan 03, 2009 at 09:47:08PM +, Daniel Leal wrote: In most X apps these accents work well, but for example, in a xterm, with the ee editor, I can write the accented letter correctly. But when I use more to read the file I just created with ee I cant see these accented letters correctly! As already suggested, you might want to try using less(1) instead of more(1). With aterm, not even with ee this works it appears: ~a, 'e,`e, `i, etc etc etc... That's because aterm doesn't support unicode characters. Try a terminal emulator that does, such as rxvt-unicode instead. how can I solve this? Is it impossible to list and also name files with accented letter? I believe it is possible to name files with unicode characters, but in general I'd advise against it. -- Chad Perrin [ content licensed OWL: http://owl.apotheon.org ] Quoth Robert Martin: Would you rather Test-First, or Debug-Later? pgppOVn0Q0P2r.pgp Description: PGP signature
Re: pathsetting for OpenSSL-0.9.8i
On Monday 05 January 2009 02:00:57 mari...@northbridgepc.nl wrote: Hello all, I'm new in FreeBSD. I just installed FreeBSD 7.0 RELEASE and installed also Apache22, PHP5, MySQLserver and OpenSSL-0.9.8i, the latest version of Openssl. I know that the base opensslversion is 0.9.8e during the install of a freshinstall of FreeBSD. For so far everything went fine during the installation of Apache22, PHP5, MySQLserver 5.x.x and OpenSSL 0.9.8i. in the file rc.conf i wrote the line - named_enable=YES linux_enable=YES sshd_enable=YES mysql_enable=YES apache22_enable=YES apache22_http_accept_enable=YES make.conf PERL_VER=5.8.8 PERL_VERSION=5.8.8 MAKE_IDEA=YES WITH_OPENSSL_PORT=YES NO_BIND=YES All the installed applicaties are working fine , just OpenSSL is not working like the newest version 0.9.8i. I still see that that the base openssl is the default after the giffen command This isn't a port issue. It's a path issue. If php reports 0.9.8i, then openssl is correctly linked and as far as php is concerned, it will use 0.9.8i. In your PATH variable however, /usr/bin comes before /usr/local/bin. There's a few ways to fix this, rated from bad to best: 1) swap /usr/local/bin and /usr/bin in $PATH environment variable 2) Rebuild world without openssl (echo WITHOUT_OPENSSL=yes /etc/src.conf) and be sure to run make delete-old 3) make an alias: alias openssl=/usr/local/bin/openssl Even though 2) seems the best choice at first glance, all apps and libraries that use OPENSSL in the base system will have to be built from ports as well, most notably sshd. I don't see an easy way to build the base system with the port's libssl, but I could be missing something. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Processes Piling up with the lockf state
On Monday 05 January 2009 06:29:33 Sydney Longfellow wrote: I'm getting problems with my server locking up after accumulating far too many processes until I have to reboot. The states of the processes are reading either sbwait or lockf when this spiral out of control starts to happen. Any ideas what might cause this? sbwait indicates a process is waiting for data on a socket. lockf indicates that a process is trying to lock portions of a file. If you put the two together, a cause could be network congestion (disk to network) or harddrive problems (network to disk). A server running out of memory and into swap can also be a cause, as processes are blocked (sockets don't get data and locks are not acquired) until the swap operation is completed. When processes keep getting spawned, this effect snowballs. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Foiling MITM attacks on source and ports trees
On Saturday 03 January 2009 03:45:11 Matthew Seaman wrote: [*] Buying a high security cert from the likes of Verisign or OpenSRS would set you back about £800 p.a. and it would probably be necessary to use someone like the FreeBSD Foundation as an appropriate body to own the cert. OT I would actually trust a self-signed cert by the FreeBSD security officer, more then one by Verisign. Power hungry companies like Verisign are more succeptable to corruption then the entity I want to have or already a relationship with in the first place. /OT -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org