Re: snd-hda no sound whatsoever
On Fri, 17 Apr 2009 13:34:34 -0400 Eitan Adler eitanadlerl...@gmail.com wrote: I have no sound whatsoever. Speakers are plugged in and turned on. I'm not sure what debugging information I need. ... Any ideas? It seems that I got the same problem which's solved. Please search in the list. Patrick Lamaizière patf...@davenulle.org wrote: / There were some changes in snd_hda just after the 7.1-RELEASE. You can try to update to a 7-STABLE. You can also take the files of snd_hda from current or from stable (/usr/src/sys/dev/sound/pci/hda/*) and rebuild the kernel module. \= After upgrade upgrade my system to 7.2-PRERELEASE, my sound card works perfectly. Regards, -- Ky Anh, Huynh Homepage: http://viettug.org/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Console mode scrolling
On Fri, 17 Apr 2009 19:34:03 +0200, Mel Flynn mel.flynn+fbsd.questi...@mailing.thruhere.net wrote: On Friday 17 April 2009 19:09:00 Polytropon wrote: Not neccessarily - if the Pause / Break key is still present, it has the same functionality as Scroll Lock. Good to know for this case. OTWon't help my el-cheapo kvm ;). First time ever I was disappointed in a Logitech purchase lol /OT Wow, great, they remove functional keys from the keyboards and put useless advertising keys with stupid logos on it! :-) Doesn't affect me - my IBM keyboard (model M) will live much longer than me. =^_^= -- 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: portupgrade, xfce4 problems
Sniper skrev: I have strange problem with portupgrade. --$ sudo portupgrade -a ** Port directory not found: x11/libxfce4mcs ** Port directory not found: x11-themes/xfce4-icon-theme ** Port directory not found: sysutils/xfce4-mcs-manager ** There are errors in a meta info for xfce4-mcs-plugins-4.4.3 ** Run 'pkgdb -F' to interactively fix them. When i try pkgdb -F --$ sudo pkgdb -F --- Checking the package registry database Stale origin: 'x11/libxfce4mcs': perhaps moved or obsoleted. - The port 'x11/libxfce4mcs' was removed on 2009-03-02 because: got obsolete by xfce 4.6 update - Hint: libxfce4mcs-4.4.3 is required by the following package(s): Terminal-0.2.8.3 xfce4-panel-4.4.3 libexo-0.3.4_2 xfce4-print-4.4.3 xfce4-cpugraph-plugin-0.3.0_5 Thunar-0.9.3 xfce4-xkb-plugin-0.4.3_4 xfce4-netload-plugin-0.4.0_5 xfce4-mixer-4.4.3 xfce4-mcs-plugins-4.4.3 orage-4.4.3 xfce4-utils-4.4.3 xfce4-systemload-plugin-0.4.2_5 xfce4-session-4.4.3 xfce4-desktop-4.4.3 xfce4-wm-4.4.3 xfce4-mcs-manager-4.4.3 - Hint: checking for overwritten files... - No files installed by libxfce4mcs-4.4.3 have been overwritten by other packages. Deinstall libxfce4mcs-4.4.3 ? [no] y --- Deinstalling 'libxfce4mcs-4.4.3' pkg_delete: package 'libxfce4mcs-4.4.3' is required by these other packages and may not be deinstalled: Terminal-0.2.8.3 Thunar-0.9.3 libexo-0.3.4_2 orage-4.4.3 xfce4-cpugraph-plugin-0.3.0_5 xfce4-desktop-4.4.3 xfce4-mcs-manager-4.4.3 xfce4-mcs-plugins-4.4.3 xfce4-mixer-4.4.3 xfce4-netload-plugin-0.4.0_5 xfce4-panel-4.4.3 xfce4-print-4.4.3 xfce4-session-4.4.3 xfce4-systemload-plugin-0.4.2_5 xfce4-utils-4.4.3 xfce4-wm-4.4.3 xfce4-xkb-plugin-0.4.3_4 ** Listing the failed packages (-:ignored / *:skipped / !:failed) ! libxfce4mcs-4.4.3 (pkg_delete failed) Command failed [exit code 1]: /usr/local/sbin/pkg_deinstall libxfce4mcs-4.4.3 what can i do to slove the problem and update the ports ? Regards, Jurif ___ 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 Have you read /usr/ports/UPDATING ? /Leslie ___ 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: PAM-SSH-LDAP problem
O/H Emiel van de Laar έγραψε: On Apr 17, 2009, at 11:04 PM, Panos wrote: hello I'm trying to setup an ldap for authenticating users. I think that the ldap server is ok but ssh gives me an error PAM authntication error illigal user XXX from XXX.XXX.XXX.XXX I think that something is wrong when pam-ldap is quering tο ldap. Fisrt I thounght that was acl problem so I tried something like this access * by * write full access to alla but nothing. When I'm using phpldadmin to connet to ldap I have no problem, [snip] Apr 18 00:01:05 FreeBSD slapd[1336]: conn=0 fd=11 ACCEPT from IP=127.0.0.1:51667 (IP=0.0.0.0:389) Apr 18 00:01:05 FreeBSD slapd[1336]: conn=0 op=0 BIND dn=cn=manager,dc=something,dc=something,dc=something method=128 Apr 18 00:01:05 FreeBSD slapd[1336]: conn=0 op=0 BIND dn=cn=manager,dc=something,dc=something,dc=something mech=SIMPLE ssf=0 Apr 18 00:01:05 FreeBSD slapd[1336]: conn=0 op=0 RESULT tag=97 err=0 text= Apr 18 00:01:05 FreeBSD slapd[1336]: conn=0 op=1 SRCH base=ou=users,dc=something,dc=something,dc=something scope=2 deref=0 filter=((?objectClass=possixAccount)(uid=ldap_test)) Apr 18 00:01:05 FreeBSD slapd[1336]: conn=0 op=1 SEARCH RESULT tag=101 err=0 nentries=0 text=value does not conform to assertion syntax Apr 18 00:01:05 FreeBSD slapd[1336]: conn=0 fd=11 closed (connection lost) I suggest you have a look at the LDAP filter. The log above shows: ((?objectClass=possixAccount)(uid=ldap_test)) While I expect something like: ((objectClass=possixAccount)(uid=ldap_test)) i.e. remove the '?'. Regards, - Emiel I know, I found strange this filter but in my ldpa.conf this is the filter line. pam_filter objectclass=possixAccount So no ? should be in the filter i tried without pam_filter objectclass=possixAccount and the only difference in the logs is instead of ((?objectClass=possixAccount)(uid=ldap_test)) I get (uid=ldap_test) but still I can't log in. then I tried with filter shadowAccount and here is the output It says that is not indexed why? Apr 18 07:54:13 FreeBSD slapd[593]: conn=7 fd=11 ACCEPT from IP=127.0.0.1:49379 (IP=0.0.0.0:389) Apr 18 07:54:13 FreeBSD slapd[593]: conn=7 op=0 BIND dn=cn=manager,dc=something,dc=something,dc=something method=128 Apr 18 07:54:13 FreeBSD slapd[593]: conn=7 op=0 BIND dn=cn=manager,dc=something,dc=something,dc=something mech=SIMPLE ssf=0 Apr 18 07:54:13 FreeBSD slapd[593]: conn=7 op=0 RESULT tag=97 err=0 text= Apr 18 07:54:13 FreeBSD slapd[593]: conn=7 op=1 SRCH base=ou=users,dc=something,dc=something,dc=something scope=2 deref=0 filter=((objectClass=shadowAccount)(uid=ldap_test)) Apr 18 07:54:13 FreeBSD slapd[593]: = bdb_equality_candidates: (uid) not indexed Apr 18 07:54:13 FreeBSD slapd[593]: conn=7 op=1 SEARCH RESULT tag=101 err=0 nentries=1 text= Apr 18 07:54:13 FreeBSD slapd[593]: conn=7 op=2 BIND anonymous mech=implicit ssf=0 Apr 18 07:54:13 FreeBSD slapd[593]: conn=7 op=2 BIND dn=cn=ldap_test,ou=users,dc=something,dc=something,dc=something method=128 Apr 18 07:54:13 FreeBSD slapd[593]: conn=7 op=2 RESULT tag=97 err=49 text= Apr 18 07:54:13 FreeBSD slapd[593]: conn=7 op=3 BIND dn=cn=manager,dc=something,dc=something,dc=something method=128 Apr 18 07:54:13 FreeBSD slapd[593]: conn=7 op=3 BIND dn=cn=manager,dc=something,dc=something,dc=something mech=SIMPLE ssf=0 Apr 18 07:54:13 FreeBSD slapd[593]: conn=7 op=3 RESULT tag=97 err=0 text= Apr 18 07:54:13 FreeBSD slapd[593]: conn=7 fd=11 closed (connection lost) then I tried with this filter pam_filter objectclass=* again the same error Apr 18 08:07:28 FreeBSD slapd[593]: conn=13 fd=11 ACCEPT from IP=127.0.0.1:58165 (IP=0.0.0.0:389) Apr 18 08:07:28 FreeBSD slapd[593]: conn=13 op=0 BIND dn=cn=manager,dc=something,dc=something,dc=something method=128 Apr 18 08:07:28 FreeBSD slapd[593]: conn=13 op=0 BIND dn=cn=manager,dc=something,dc=something,dc=something mech=SIMPLE ssf=0 Apr 18 08:07:28 FreeBSD slapd[593]: conn=13 op=0 RESULT tag=97 err=0 text= Apr 18 08:07:28 FreeBSD slapd[593]: conn=13 op=1 SRCH base=ou=users,dc=something,dc=something,dc=something scope=2 deref=0 filter=((objectClass=*)(uid=ldap_test)) Apr 18 08:07:28 FreeBSD slapd[593]: = bdb_equality_candidates: (uid) not indexed Apr 18 08:07:28 FreeBSD slapd[593]: conn=13 op=1 SEARCH RESULT tag=101 err=0 nentries=1 text= Apr 18 08:07:28 FreeBSD slapd[593]: conn=13 op=2 BIND anonymous mech=implicit ssf=0 Apr 18 08:07:28 FreeBSD slapd[593]: conn=13 op=2 BIND dn=cn=ldap_test,ou=users,dc=something,dc=something,dc=something method=128 Apr 18 08:07:28 FreeBSD slapd[593]: conn=13 op=2 RESULT tag=97 err=49 text= Apr 18 08:07:28 FreeBSD slapd[593]: conn=13 op=3 BIND dn=cn=manager,dc=something,dc=something,dc=something method=128 Apr 18 08:07:28 FreeBSD slapd[593]: conn=13 op=3 BIND dn=cn=manager,dc=something,dc=something,dc=something mech=SIMPLE ssf=0 Apr 18 08:07:28 FreeBSD slapd[593]: conn=13 op=3 RESULT tag=97 err=0 text= Apr 18 08:07:28 FreeBSD slapd[593]: conn=13 fd=11 closed (connection
Re: PAM-SSH-LDAP problem
O/H Benjamin Lee έγραψε: On 04/17/2009 02:04 PM, Panos wrote: hello I'm trying to setup an ldap for authenticating users. I think that the ldap server is ok but ssh gives me an error PAM authntication error illigal user XXX from XXX.XXX.XXX.XXX I think that something is wrong when pam-ldap is quering tο ldap. Fisrt I thounght that was acl problem so I tried something like this access * by * write full access to alla but nothing. When I'm using phpldadmin to connet to ldap I have no problem, [...] Have you enabled ldap in /etc/nsswitch.conf? You may find it helpful to read through the FreeBSD LDAP Authentication article[1]. [1] http://www.freebsd.org/doc/en/articles/ldap-auth/index.html yes i have done this my ldap.conf file BASEdc=something,dc=something,dc=something URI ldap://127.0.0.1 ssl start_tls tls_cacertt /etc/certs/cert.crt my ldapsearch wokrs fine. without TLS. using TLS (-Z) ldap_start_tls: Connect error (-11) but for now I think that this is not the problem, for pam I don't use lpads:// search but ldap so when I find out what wrong is with pam and ldap I'll check for the cerificates. although openssl s_client -port 636 gives this output CONNECTED(0003) depth=0 /C=xx/ST=/L=/O=/OU=e/CN=x/emailaddress=xx...@x verify error:num=18:self signed certificate verify return:1 depth=0 /C=xx/ST=/L=/O=/OU=e/CN=x/emailaddress=xx...@x verify return:1 --- Certificate chain 0 s:/C=xx/ST=/L=/O=/OU=e/CN=x/emailaddress=xx...@x i:/C=xx/ST=/L=/O=/OU=e/CN=x/emailaddress=xx...@x --- Server certificate -BEGIN CERTIFICATE- xx xx xx -END CERTIFICATE- subject=/C=xx/ST=/L=/O=/OU=e/CN=x/emailaddress=xx...@x issuer=/C=xx/ST=/L=/O=/OU=e/CN=x/emailaddress=xx...@x --- No client certificate CA names sent --- SSL handshake has read 861 bytes and written 334 bytes --- New, TLSv1/SSLv3, Cipher is AES256-SHA Server public key is 1024 bit Compression: NONE Expansion: NONE SSL-Session: Protocol : TLSv1 Cipher: AES256-SHA Session-ID: x Session-ID-ctx: Master-Key: xxx Key-Arg : None Start Time: 1240044283 Timeout : 300 (sec) Verify return code: 18 (self signed certificate) --- my nsswitch.conf file group: ldap files group_compat: nis hosts: files dns networks: files group: ldap files passwd_compat: nis shells: files services: compat services_compat: nis protocols: files rpc: files I also tried group: files ldap passwd: files ldap but still nothing I've started and restarted nscd many times but stiil nothing. ___ 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
java using 100% CPU
After finally managing to get java working with FF i find when i goto use it now, it uses 100% of my CPU ... how can i fix this annoyinng issue ? Running FreeBSD 7.1-STABLE AMD64 ___ 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
lightweight webserver that can run php
Hi All, Does anyone have any suggestions for a lightweight webserver that will run php? Apache is too bulky for what I need and thttpd won't allow me to run php. TIA Andrew ___ 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: snd-hda no sound whatsoever
what mixer says? On Fri, 17 Apr 2009, Eitan Adler wrote: I have no sound whatsoever. Speakers are plugged in and turned on. I'm not sure what debugging information I need. $kldstat |grep snd 51 0xc5985000 19000snd_hda.ko $cat /bin/sh /dev/dsp Produces no sound $sysctl -a|grep hda http://isis.poly.edu/~eitan/files/hda-sound-problem-sysctl-output.txt $cat /dev/sndstat (hw.snd.verbose: 4) http://isis.poly.edu/~eitan/files/hda-sound-problem-sndstat-output.txt Any ideas? -- Eitan Adler Security is increased by designing for the way humans actually behave. -Jakob Nielsen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: snd-hda no sound whatsoever
which will turn PCM and master volume to 100:100. For checking, it's usually the most comfortable way to play some media file, instead of a plain file into /dev/dsp. plain binary will make plain noise ;) so it's good test The play command from the port / package sox or mpg123 / madplay for mp3 files work well, as does mplayer. Have a look at where /dev/dsp points to, it should be the dsp0 device. I don't have furtther experiences with the hda stuff, so these would be my basic ideas. -- 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 ___ 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: portupgrade, xfce4 problems
On Saturday 18 April 2009 00:27:29 Sniper wrote: --$ sudo pkgdb -F --- Checking the package registry database Stale origin: 'x11/libxfce4mcs': perhaps moved or obsoleted. - The port 'x11/libxfce4mcs' was removed on 2009-03-02 because: got obsolete by xfce 4.6 update - Hint: libxfce4mcs-4.4.3 is required by the following package(s): Terminal-0.2.8.3 snip list - Hint: checking for overwritten files... - No files installed by libxfce4mcs-4.4.3 have been overwritten by other packages. Deinstall libxfce4mcs-4.4.3 ? [no] y ^^^ --- Deinstalling 'libxfce4mcs-4.4.3' pkg_delete: package 'libxfce4mcs-4.4.3' is required by these other packages and may not be deinstalled: You can tell the portupgrade devs that detecting an installed package has dependants, asking the user to uninstall it and subsequently calling a command that b0rks out because the installed package has dependants, is not very user friendly. To correct it, pkg_delete -f libxfce4mcs-4.4.3, make -C /usr/ports/ports- mgmt/portmaster install. portmaster /usr/ports/x11-toolkits/xfce4 Ok, that last bit was mean, but yea, /usr/ports/UPDATING explains the procedure. -- Mel ___ 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: lightweight webserver that can run php
On Saturday 18 April 2009 08:19:46 Andrew wrote: Hi All, Does anyone have any suggestions for a lightweight webserver that will run php? Apache is too bulky for what I need and thttpd won't allow me to run php. nginx + php over cgi. lighttpd seems popular too, personally find nginx more sexy sounding. YMMV. -- Mel ___ 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: PAM-SSH-LDAP problem
I think I found what is the problem but I don't kow how to fix it. from the error messages err=49 means that the password is wrong. I'm sure that I type it correctly. So I captured traffic using whireshark when the manager tires toy bind everything is normal and the bind is succeful. In the field authentication simple of the packet the password was the correct but when ldap_test tries to bind the password that it send to ldap server is INCORECT ( 08 0a 0d 7f 49 4e 43 4f 52 52 45 43 54 the hex field), so ldap server returns invalid credentials. I think that this is the problem but I don't have a clue how to solve it. I can't understand why it sends an incorect password, and most important which of ssh, pam, pam_ldap has the problem. Any ideas? O/H Panos έγραψε: O/H Emiel van de Laar έγραψε: On Apr 17, 2009, at 11:04 PM, Panos wrote: hello I'm trying to setup an ldap for authenticating users. I think that the ldap server is ok but ssh gives me an error PAM authntication error illigal user XXX from XXX.XXX.XXX.XXX I think that something is wrong when pam-ldap is quering tο ldap. Fisrt I thounght that was acl problem so I tried something like this access * by * write full access to alla but nothing. When I'm using phpldadmin to connet to ldap I have no problem, [snip] Apr 18 00:01:05 FreeBSD slapd[1336]: conn=0 fd=11 ACCEPT from IP=127.0.0.1:51667 (IP=0.0.0.0:389) Apr 18 00:01:05 FreeBSD slapd[1336]: conn=0 op=0 BIND dn=cn=manager,dc=something,dc=something,dc=something method=128 Apr 18 00:01:05 FreeBSD slapd[1336]: conn=0 op=0 BIND dn=cn=manager,dc=something,dc=something,dc=something mech=SIMPLE ssf=0 Apr 18 00:01:05 FreeBSD slapd[1336]: conn=0 op=0 RESULT tag=97 err=0 text= Apr 18 00:01:05 FreeBSD slapd[1336]: conn=0 op=1 SRCH base=ou=users,dc=something,dc=something,dc=something scope=2 deref=0 filter=((?objectClass=possixAccount)(uid=ldap_test)) Apr 18 00:01:05 FreeBSD slapd[1336]: conn=0 op=1 SEARCH RESULT tag=101 err=0 nentries=0 text=value does not conform to assertion syntax Apr 18 00:01:05 FreeBSD slapd[1336]: conn=0 fd=11 closed (connection lost) I suggest you have a look at the LDAP filter. The log above shows: ((?objectClass=possixAccount)(uid=ldap_test)) While I expect something like: ((objectClass=possixAccount)(uid=ldap_test)) i.e. remove the '?'. Regards, - Emiel I know, I found strange this filter but in my ldpa.conf this is the filter line. pam_filter objectclass=possixAccount So no ? should be in the filter i tried without pam_filter objectclass=possixAccount and the only difference in the logs is instead of ((?objectClass=possixAccount)(uid=ldap_test)) I get (uid=ldap_test) but still I can't log in. then I tried with filter shadowAccount and here is the output It says that is not indexed why? Apr 18 07:54:13 FreeBSD slapd[593]: conn=7 fd=11 ACCEPT from IP=127.0.0.1:49379 (IP=0.0.0.0:389) Apr 18 07:54:13 FreeBSD slapd[593]: conn=7 op=0 BIND dn=cn=manager,dc=something,dc=something,dc=something method=128 Apr 18 07:54:13 FreeBSD slapd[593]: conn=7 op=0 BIND dn=cn=manager,dc=something,dc=something,dc=something mech=SIMPLE ssf=0 Apr 18 07:54:13 FreeBSD slapd[593]: conn=7 op=0 RESULT tag=97 err=0 text= Apr 18 07:54:13 FreeBSD slapd[593]: conn=7 op=1 SRCH base=ou=users,dc=something,dc=something,dc=something scope=2 deref=0 filter=((objectClass=shadowAccount)(uid=ldap_test)) Apr 18 07:54:13 FreeBSD slapd[593]: = bdb_equality_candidates: (uid) not indexed Apr 18 07:54:13 FreeBSD slapd[593]: conn=7 op=1 SEARCH RESULT tag=101 err=0 nentries=1 text= Apr 18 07:54:13 FreeBSD slapd[593]: conn=7 op=2 BIND anonymous mech=implicit ssf=0 Apr 18 07:54:13 FreeBSD slapd[593]: conn=7 op=2 BIND dn=cn=ldap_test,ou=users,dc=something,dc=something,dc=something method=128 Apr 18 07:54:13 FreeBSD slapd[593]: conn=7 op=2 RESULT tag=97 err=49 text= Apr 18 07:54:13 FreeBSD slapd[593]: conn=7 op=3 BIND dn=cn=manager,dc=something,dc=something,dc=something method=128 Apr 18 07:54:13 FreeBSD slapd[593]: conn=7 op=3 BIND dn=cn=manager,dc=something,dc=something,dc=something mech=SIMPLE ssf=0 Apr 18 07:54:13 FreeBSD slapd[593]: conn=7 op=3 RESULT tag=97 err=0 text= Apr 18 07:54:13 FreeBSD slapd[593]: conn=7 fd=11 closed (connection lost) then I tried with this filter pam_filter objectclass=* again the same error Apr 18 08:07:28 FreeBSD slapd[593]: conn=13 fd=11 ACCEPT from IP=127.0.0.1:58165 (IP=0.0.0.0:389) Apr 18 08:07:28 FreeBSD slapd[593]: conn=13 op=0 BIND dn=cn=manager,dc=something,dc=something,dc=something method=128 Apr 18 08:07:28 FreeBSD slapd[593]: conn=13 op=0 BIND dn=cn=manager,dc=something,dc=something,dc=something mech=SIMPLE ssf=0 Apr 18 08:07:28 FreeBSD slapd[593]: conn=13 op=0 RESULT tag=97 err=0 text= Apr 18 08:07:28 FreeBSD slapd[593]: conn=13 op=1 SRCH base=ou=users,dc=something,dc=something,dc=something scope=2 deref=0 filter=((objectClass=*)(uid=ldap_test)) Apr 18 08:07:28 FreeBSD slapd[593]: = bdb_equality_candidates: (uid)
Re: lightweight webserver that can run php
Andrew пишет: Hi All, Does anyone have any suggestions for a lightweight webserver that will run php? Apache is too bulky for what I need and thttpd won't allow me to run php. www/lighttpd and www/nginx(-devel) are definitely the most common choice ___ 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: lightweight webserver that can run php
lighttpd ngingx cherokee All of them can connect to php using fastcgi. lighttpd and cherokee will start php themself, nginx does not, so you should have to start it manuall or from other script... On 4/18/09, Andrew a...@awdcomp.net wrote: Hi All, Does anyone have any suggestions for a lightweight webserver that will run php? Apache is too bulky for what I need and thttpd won't allow me to run php. TIA Andrew ___ 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
write dma udma icrc error
hi, can anyone tell me what this message is related to? WRITE_DMA UDMA ICRC error (retrying request) LBA=62939519 drive/hardware failing? i am seeing a lot of it lately on a particular disk where i have tried a few different installs and do not always get this problem. i have seen it disappear after some painstaking before an install to it, like wiping the whole disk clean before install, checking geometry is right, but maybe coincidence? it is a sata300, 7.2 beta1 amd64 and i am thinking there is problem with the disk, but the error varied a bit with different installs (i.e. whether i see the error or not) ___ 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: lightweight webserver that can run php
Most light weight webservers like nginx and lighttpd only run PHP as a cgi mod. Cheers, m! On Apr 18, 2009, at 2:19, Andrew a...@awdcomp.net wrote: Hi All, Does anyone have any suggestions for a lightweight webserver that will run php? Apache is too bulky for what I need and thttpd won't allow me to run php. TIA Andrew ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: lightweight webserver that can run php
As a fastcgi not cgi, there is a differenceimportant one. for cgi request a new php process is started for a request. fastcgi is php listening for network requests and process can be reused. On 4/18/09, Mikel King mikel.k...@olivent.com wrote: Most light weight webservers like nginx and lighttpd only run PHP as a cgi mod. Cheers, m! On Apr 18, 2009, at 2:19, Andrew a...@awdcomp.net wrote: Hi All, Does anyone have any suggestions for a lightweight webserver that will run php? Apache is too bulky for what I need and thttpd won't allow me to run php. TIA Andrew ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: lightweight webserver that can run php
On Sat, Apr 18, 2009 at 09:56:09AM -0400, Mikel King wrote: Does anyone have any suggestions for a lightweight webserver that will run php? Most light weight webservers like nginx and lighttpd only run PHP as a cgi mod. With lighttpd, you can do both CGI and FastCGI: http://redmine.lighttpd.net/wiki/lighttpd/Docs:ModCGI http://redmine.lighttpd.net/wiki/lighttpd/Docs:ModFastCGI Regards, -cpghost. -- Cordula's Web. http://www.cordula.ws/ ___ 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
write_dma error
hi, can anyone tell me what this message is related to? WRITE_DMA UDMA ICRC error (retrying request) LBA=62939519 drive/hardware failing? i am seeing a lot of it lately on a particular disk where i have tried a few different installs and don't always get this problem. i have seen it disappear after some painstaking before a reinstall this disk, like wiping the whole disk clean before install, checking geometry is right, but maybe coincidence? it is a sata300, 7.2 beta1 amd64 and i am thinking there is problem with the disk, but the error varied a bit with different installs (i.e. whether i see the error or not) ___ 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: lightweight webserver that can run php
You are right, thanks for the information On 4/18/09, cpghost cpgh...@cordula.ws wrote: On Sat, Apr 18, 2009 at 09:56:09AM -0400, Mikel King wrote: Does anyone have any suggestions for a lightweight webserver that will run php? Most light weight webservers like nginx and lighttpd only run PHP as a cgi mod. With lighttpd, you can do both CGI and FastCGI: http://redmine.lighttpd.net/wiki/lighttpd/Docs:ModCGI http://redmine.lighttpd.net/wiki/lighttpd/Docs:ModFastCGI Regards, -cpghost. -- Cordula's Web. http://www.cordula.ws/ ___ 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
showing dependency information in ports
I'm sure that this has been asked before, but I cannot find the answer recorded anywhere. I'm likely looking in the wrong places. Is there a simple tool in freebsd to show the reverse dependency tree of a package? ie. D is required by C is required by B is required by A ? Not to mention forward dependencies? I suppose I could write one but it seems like this must have been done already. Mike -- Michael P. Soulier msoul...@digitaltorque.ca Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction. --Albert Einstein pgpcsSsn7IrIY.pgp Description: PGP signature
Re: java using 100% CPU
Warren Liddell shin...@maydias.com writes: After finally managing to get java working with FF i find when i goto use it now, it uses 100% of my CPU ... how can i fix this annoyinng issue ? Running FreeBSD 7.1-STABLE AMD64 You don't mention what version of each you're running, or how you installed the plugins, but with native firefox-3.0.8,1 and native jdk-1.6.0.3p4_10, I don't have this problem. I installed the plugins with links in my home directory, as described in the 20090109 entry in /usr/ports/UPDATING. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ ___ 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: lightweight webserver that can run php
On Saturday 18 April 2009 16:34:52 Rodrigo Gonzalez wrote: As a fastcgi not cgi, there is a differenceimportant one. for cgi request a new php process is started for a request. fastcgi is php listening for network requests and process can be reused. And the more important difference with the php module for apache, is php_value/php_flag directives: per host/dir/location configuratioion of php. Which is much harder to do with fcgi. Something to consider /before/ migrating if this affects you. -- Mel ___ 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: write_dma error
2009/4/18 mac.tc raszo...@gmail.com: hi, can anyone tell me what this message is related to? WRITE_DMA UDMA ICRC error (retrying request) LBA=62939519 drive/hardware failing? i am seeing a lot of it lately on a particular disk where i have tried a few different installs and don't always get this problem. i have seen it disappear after some painstaking before a reinstall this disk, like wiping the whole disk clean before install, checking geometry is right, but maybe coincidence? it is a sata300, 7.2 beta1 amd64 and i am thinking there is problem with the disk, but the error varied a bit with different installs (i.e. whether i see the error or not) I'd be inclined to agree with you on the disk dying bit What disk exactly is it? Chris -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? ___ 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: write_dma error
On Sat, 18 Apr 2009 21:56:53 +0100, Chris Rees utis...@googlemail.com wrote: 2009/4/18 mac.tc raszo...@gmail.com: it is a sata300, 7.2 beta1 amd64 and i am thinking there is problem with the disk, but the error varied a bit with different installs (i.e. whether i see the error or not) I'd be inclined to agree with you on the disk dying bit What disk exactly is it? Would be worth checking the S.M.A.R.T. details (port: smartmontools; program: smartctl). Looks a bit familiar to me, I had those errors on a 2,5 6GB laptop hard disk... -- 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
The FreeBSD Diary: 2009-04-18
The FreeBSD Diary contains a large number of practical examples and how-to guides. This message is posted weekly to freebsd-questions@freebsd.org with the aim of letting people know what's available on the website. Before you post a question here it might be a good idea to first search the mailing list archives http://www.freebsd.org/search/search.html#mailinglists and/or The FreeBSD Diary http://www.freebsddiary.org/. RECENT ARTICLES: 2-Dec : Obscuring smtp auth headers If you consider your smtp-auth location to be private, this is what you want. http://freebsddiary.org/smtp-headers-rewrite-auth.php?2 29-Nov : OpenVPN - creating a routed VPN If you have multiple VPN clients, this is a practical solution. http://freebsddiary.org/openvpn-routed.php?2 27-Nov : Creating your own Certificate Authority How to create a CA and generate your own SSL certificates http://freebsddiary.org/openvpn-easy-rsa.php?2 27-Nov : OpenVPN - getting it running Using OpenVPN to create a secure pathway between home and office http://freebsddiary.org/openvpn.php?2 5-Oct : Removing dead mailing lists from Mailman Mailing lists can outlive their usefulness http://freebsddiary.org/mailman-removing-dead-lists.php?2 30-Aug : gmirror - recovering from a failed HDD an HDD failed. gmirror to the rescue. http://freebsddiary.org/gmirror-failure.php?2 6-Jul : ezjail - A jail administration framework This makes jails easier http://freebsddiary.org/ezjail.php?2 24-Jun : Adding gmirror to an existing installation Adding RAID-1 to an existing FreeBSD 7 installation http://freebsddiary.org/gmirror.php?2 20-Mar : ThinkPad x61s Unpacking the box, installing PC-BSD http://freebsddiary.org/thinkpad-x61s.php?2 17-Mar : Using two monitors with X.org The GeForce 8600 GT with two monitors http://freebsddiary.org/xorg-two-screens.php?2 -- Dan Langille BSDCan - http://www.BSDCan.org/ - BSD Conference ___ 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: java using 100% CPU
Lowell Gilbert wrote: Warren Liddell shin...@maydias.com writes: After finally managing to get java working with FF i find when i goto use it now, it uses 100% of my CPU ... how can i fix this annoyinng issue ? Running FreeBSD 7.1-STABLE AMD64 You don't mention what version of each you're running, or how you installed the plugins, but with native firefox-3.0.8,1 and native jdk-1.6.0.3p4_10, I don't have this problem. I installed the plugins with links in my home directory, as described in the 20090109 entry in /usr/ports/UPDATING. FF 3.0.8,1 with diablo-jdk-1.6.0.07.02_3 an all was installed via ports an to get it working in FF i created a symbolic link of libjavaplugin_oji.so to /usr/local/lib/firefox3/plugins ___ 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: java using 100% CPU
Warren Liddell wrote: Lowell Gilbert wrote: Warren Liddell shin...@maydias.com writes: After finally managing to get java working with FF i find when i goto use it now, it uses 100% of my CPU ... how can i fix this annoyinng issue ? Running FreeBSD 7.1-STABLE AMD64 You don't mention what version of each you're running, or how you installed the plugins, but with native firefox-3.0.8,1 and native jdk-1.6.0.3p4_10, I don't have this problem. I installed the plugins with links in my home directory, as described in the 20090109 entry in /usr/ports/UPDATING. FF 3.0.8,1 with diablo-jdk-1.6.0.07.02_3 an all was installed via ports an to get it working in FF i created a symbolic link of libjavaplugin_oji.so to /usr/local/lib/firefox3/plugins Are you getting 100% on something as simple as this? http://www.java.com/en/download/help/testvm.xml My setup is exactly similar, but I run i386. No such problem. I do get very high CPU usage when flash (gnash) is active though... ___ 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: java using 100% CPU
Are you getting 100% on something as simple as this? http://www.java.com/en/download/help/testvm.xml My setup is exactly similar, but I run i386. No such problem. I do get very high CPU usage when flash (gnash) is active though... No, that works quite fine, but has very little graphics involved with it. It occurs when i goto http://world121.runescape.com/a2,m1,j1,o0 Which is a lot more intense on the java ___ 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: lightweight webserver that can run php
On Sat, Apr 18, 2009 at 2:19 AM, Andrew a...@awdcomp.net wrote: Hi All, Does anyone have any suggestions for a lightweight webserver that will run php? Apache is too bulky for what I need and thttpd won't allow me to run php. TIA Andrew If you choose to run php via FastCGI, check out PHP-FPM. It's a patch that greatly speeds up php's FastCGI performance. It honestly does help significantly. There's a FreeBSD port in the Archives Download section of the website. http://php-fpm.anight.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
Fan Speed
Hi, My laptop runs a little hot. Is it possible to increase the default fan speed? I'm running version 7.1 on an acer. - Regards, Chris Chambers ___ 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: snd-hda no sound whatsoever
After upgrade upgrade my system to 7.2-PRERELEASE, my sound card works perfectly. This is why my sound broke (I forgot to mention it was after an upgrade). cd ~/stable7/sys/dev/sound/pci/hda svn update -r182969 fixed my problem. -- Eitan Adler Security is increased by designing for the way humans actually behave. -Jakob Nielsen ___ 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: showing dependency information in ports
Michael P. Soulier wrote: I'm sure that this has been asked before, but I cannot find the answer recorded anywhere. I'm likely looking in the wrong places. Is there a simple tool in freebsd to show the reverse dependency tree of a package? pkg_tree in ports Mike -- Eitan Adler Security is increased by designing for the way humans actually behave. -Jakob Nielsen ___ 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
Problems with Xorg after portupgrade
Hello, This week upgraded my Acer TravelMate 4060 laptop from FreeBSD 7.0 to FreeBSD 7.1 and also csup'ed my ports and portupgraded them and I am not able to start X correctly. When I invoke startx, it tries to start it and then the screen goes blank and black, nothing is seen on it and I am no able to kill X using ctrl-alt-backspace or swtich to another terminal and I have to cold reboot my machine. uname -r shows 7.1-RELEASE-p4 The version of xorg metaport is 7.4_1, the version of xorg-server is 1.6.0,1. After I did the portupgrade I rebooted my machine and the KDE display manager failed to appear, so I disabled it from /etc/ttys for easier debugging. After I logged in to a shell, I called startx and the screen went blank and black. After I rebooted the machine I invoked X -configure as root and run X -config /root/xorg.conf.new and again the same problem. I then tried to make ctrl-alt-backspace work and I added the following section at the end of /root/xorg.conf.new Section ServerFlags Option DontZap off EndSection and called X -config /root/xorg.conf.new again - same results and still could not kill ther server. I followed /usr/ports/UPDATING, entry from 20090123 and disabled moused and added Option AllowEmptyInput off in the ServerLayout section. Again X refuses to start appropriately. I would be very grateful if you help me in resolving this issue. I am attaching my xorg.conf file and the logs from /var/log/Xorg.0.log and I will happily provide more information if needed. Thank you very much in advance. Regards Rambius -- Tangra Mega Rock: http://www.radiotangra.com xorg.conf.new Description: Binary data Xorg.0.log Description: Binary data ___ 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: Fan Speed
On Sat, Apr 18, 2009 at 7:06 PM, Christopher Chambers ccha...@interchange.ubc.ca wrote: Hi, My laptop runs a little hot. Is it possible to increase the default fan speed? I'm running version 7.1 on an acer. - Regards, Chris Chambers I'd try powerd first. enable it in rc.conf and run it. powerd_enable=YES # /etc/rc.d/powerd start ___ 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: Fan Speed
On Sunday 19 April 2009 03:06:07 Christopher Chambers wrote: My laptop runs a little hot. Is it possible to increase the default fan speed? I'm running version 7.1 on an acer. Active cooling is under control of ACPI, typically not exposed to non-windows operating systems: hw.acpi.thermal.tz0.active: -1 Value other then -1 you might actually be able to change it. But...your best 15USD spent will be a laptop cooling pad, best one powered by the USB port. Some lappies just can't be fixed with fanspeed, because of bad design and a cooling pad will take at least 5C off. -- Mel ___ 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: java using 100% CPU
Warren Liddell wrote: Are you getting 100% on something as simple as this? http://www.java.com/en/download/help/testvm.xml My setup is exactly similar, but I run i386. No such problem. I do get very high CPU usage when flash (gnash) is active though... No, that works quite fine, but has very little graphics involved with it. It occurs when i goto http://world121.runescape.com/a2,m1,j1,o0 Which is a lot more intense on the java This gets me around 40% CPU usage (just displaying the options / login screen) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org