zh-scim-pinyin-0.5.91_1 compile error
Hi, port chinese/scim-pinyin still seems to be having problem with libtool.(For details, please see the log below) Would somebody please fix it? Thanks a lot. Lei ... echo '#include ' > smartpinyinui.cpp echo '#include ' >> smartpinyinui.cpp /usr/X11R6/bin/uic -L /usr/local/lib/kde3/plugins/designer -nounload -tr tr2i18n -i smartpinyinui.h ./smartpinyinui.ui > smartpinyinui.cpp.temp ; ret=$?; \ /usr/bin/perl -pe "s,tr2i18n( \"\" ),QString::null,g" smartpinyinui.cpp.temp | /usr/bin/perl -pe "s,tr2i18n( \"\"\, \"\" ),QString::null,g" | /usr/bin/perl -pe "s,image([0-9][0-9]*)_data,img\$1_smartpinyinui,g" | /usr/bin/perl -pe "s,: QWizard\(,: KWizard(,g" >> smartpinyinui.cpp ;\ rm -f smartpinyinui.cpp.temp ;\ if test "$ret" = 0; then echo '#include "smartpinyinui.moc"' >> smartpinyinui.cpp; else rm -f smartpinyinui.cpp ; exit $ret ; fi if /bin/sh ../libtool --silent --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../src -I/usr/local/include -I/usr/X11R6/include -I/usr/local/include/skim -I/usr/X11R6/include/scim-1.0 -D_THREAD_SAFE -pthread -DQT_THREAD_SUPPORT -I/usr/local/include -D__STDC_ISO_10646__ -D_THREAD_SAFE -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -O2 -O2 -fno-strict-aliasing -pipe -fno-exceptions -fno-check-new -fno-common -MT smartpinyinui.lo -MD -MP -MF ".deps/smartpinyinui.Tpo" -c -o smartpinyinui.lo smartpinyinui.cpp; \ then mv -f ".deps/smartpinyinui.Tpo" ".deps/smartpinyinui.Plo"; else rm -f ".deps/smartpinyinui.Tpo"; exit 1; fi if /bin/sh ../libtool --silent --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../src -I/usr/local/include -I/usr/X11R6/include -I/usr/local/include/skim -I/usr/X11R6/include/scim-1.0 -D_THREAD_SAFE -pthread -DQT_THREAD_SUPPORT -I/usr/local/include -D__STDC_ISO_10646__ -D_THREAD_SAFE -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -O2 -O2 -fno-strict-aliasing -pipe -fno-exceptions -fno-check-new -fno-common -MT smartpinyin.lo -MD -MP -MF ".deps/smartpinyin.Tpo" -c -o smartpinyin.lo smartpinyin.cpp; \ then mv -f ".deps/smartpinyin.Tpo" ".deps/smartpinyin.Plo"; else rm -f ".deps/smartpinyin.Tpo"; exit 1; fi /bin/sh ../libtool --silent --tag=CXX --mode=link c++ -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -O2 -O2 -fno-strict-aliasing -pipe -fno-exceptions -fno-check-new -fno-common -L/usr/local/lib -lintl -o kcm_skimplugin_scim_smartpinyin.la -rpath /usr/local/lib/kde3 -module -no-undefined -avoid-version -module -no-undefined -R /usr/local/lib -R /usr/local/lib -R /usr/X11R6/lib -R /usr/X11R6/lib -D_THREAD_SAFE -pthread -L/usr/local/lib -L/usr/X11R6/lib -D_THREAD_SAFE -pthread scimsmartpinyinsettingplugin.lo smartpinyinui.lo smartpinyin.lo -lqt-mt -lz -lpng -lz -lm -lXext -lX11 -lSM -lICE -lkdeui -lkdecore -L/usr/local/lib -L/usr/X11R6/lib -lscim-kdeutils -lskim -lscim-1.0 libtool: link: cannot find the library `' gmake[4]: *** [kcm_skimplugin_scim_smartpinyin.la] Error 1 gmake[4]: Leaving directory `/usr/ports/chinese/scim-pinyin/work/scim-pinyin-0.5.91/skim/setupui' gmake[3]: *** [all-recursive] Error 1 gmake[3]: Leaving directory `/usr/ports/chinese/scim-pinyin/work/scim-pinyin-0.5.91/skim' gmake[2]: *** [all] Error 2 gmake[2]: Leaving directory `/usr/ports/chinese/scim-pinyin/work/scim-pinyin-0.5.91/skim' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/chinese/scim-pinyin/work/scim-pinyin-0.5.91' gmake: *** [all] Error 2 *** Error code 2 Stop in /usr/ports/chinese/scim-pinyin. *** Error code 1 Stop in /usr/ports/chinese/scim-pinyin. [EMAIL PROTECTED] /usr/ports/chinese/scim-pinyin]# ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Problem connecting a freebsd server using ssh
Actually, both of them are releng_6-p4, and I had no problem connecting in both directions before Freebsd_B is put into the data center. Any more help or suggestions would be gladly appreciated. Thanks Lei On 2/23/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > At 03:50 AM 2/23/2006, Lei Sun wrote: > >1. ssh from Freebsd_A to Freebsd_B: I got "Read from socket failed: > >Connection reset by peer" error. > >2. ssh from windows xp (putty) to Freebsd_B: logs me in fine > >3. try to ssh from Freebsd_A to Freebsd_B again, got the same error > > I didn't did through your logs extensively. But when I've run into > similar problems recently, it's usually because one of the clients is > using an older ( < v2) of the protocol. At some point back in fBSD > 5.x support for the less-secure v1 ssh protocol became disabled by default. > > Try editing /etc/ssh/sshd_config and look for a "Protocol" > option. Try setting it to "Protocol 1,2" However, the level one > supposedly has some security holes, and you might not want to use it > over the public Internet. I just use it with my stupid windoze > client that only does level one, to connect over our own LAN, so I don't care. > >-Wayne > > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Problem connecting a freebsd server using ssh
Hi Guys, I did tons of search on what problems might be, but it doesn't seems to be the cases that I have searched even though it looks similar. 1. ssh from Freebsd_A to Freebsd_B: I got "Read from socket failed: Connection reset by peer" error. 2. ssh from windows xp (putty) to Freebsd_B: logs me in fine 3. try to ssh from Freebsd_A to Freebsd_B again, got the same error message, and now I can't log in from windows xp (putty) to Freebsd_B any more, unless I reboot the windows xp machine. WIERD!!! I check the tcp wrapper thing, the hosts.allow is All : All : allow. So that's not the case. I made sure all of the KeepAlive entries are set to yes, but still no luck. Please help... Thanks in advance! Below is the log messages... sshd log messeges from Freebsd_B - Feb 23 16:12:01 don sshd[453]: debug1: fd 5 clearing O_NONBLOCK Feb 23 16:12:01 don sshd[453]: debug1: Forked child 649. Feb 23 16:12:01 don sshd[649]: debug1: rexec start in 5 out 5 newsock 5 pipe 7 sock 8 Feb 23 16:12:01 don sshd[649]: debug1: inetd sockets after dupping: 3, 3 Feb 23 16:12:01 don sshd[649]: debug1: res_init() Feb 23 16:12:01 don sshd[649]: Connection from xxx.xxx.xxx.xxx port 1199 Feb 23 16:12:02 don sshd[649]: debug1: Client protocol version 2.0; client software version OpenSSH_4.2p1 FreeBSD-20050903 Feb 23 16:12:02 don sshd[649]: debug1: match: OpenSSH_4.2p1 FreeBSD-20050903 pat OpenSSH* Feb 23 16:12:02 don sshd[649]: debug1: Enabling compatibility mode for protocol 2.0 Feb 23 16:12:02 don sshd[649]: debug1: Local version string SSH-2.0-OpenSSH_4.2p1 FreeBSD-20050903 Feb 23 16:12:02 don sshd[649]: debug1: do_cleanup Feb 23 16:12:02 don sshd[649]: debug1: PAM: cleanup ssh -v log from Freebsd_A --- $ ssh -v don OpenSSH_4.2p1 FreeBSD-20050903, OpenSSL 0.9.7e-p1 25 Oct 2004 debug1: Reading configuration data /etc/ssh/ssh_config debug1: Connecting to xxx [xxx.xxx.xxx.xxx] port 22. debug1: Connection established. debug1: identity file /home/x/.ssh/identity type -1 debug1: identity file /home/x/.ssh/id_rsa type -1 debug1: identity file /home/x/.ssh/id_dsa type -1 debug1: Remote protocol version 2.0, remote software version OpenSSH_4.2p1 FreeBSD-20050903 debug1: match: OpenSSH_4.2p1 FreeBSD-20050903 pat OpenSSH* debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_4.2p1 FreeBSD-20050903 debug1: SSH2_MSG_KEXINIT sent debug1: SSH2_MSG_KEXINIT received debug1: kex: server->client aes128-cbc hmac-md5 none debug1: kex: client->server aes128-cbc hmac-md5 none debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP debug1: SSH2_MSG_KEX_DH_GEX_INIT sent debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY debug1: Host 'don' is known and matches the DSA host key. debug1: Found key in /home/x/.ssh/known_hosts:2 debug1: ssh_dss_verify: signature correct debug1: SSH2_MSG_NEWKEYS sent debug1: expecting SSH2_MSG_NEWKEYS debug1: SSH2_MSG_NEWKEYS received debug1: SSH2_MSG_SERVICE_REQUEST sent Read from socket failed: Connection reset by peer ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
kdevelop ruby support missing for freebsd
Hi, I just installed the latest stable version of kdevelop on both freebsd 6.0 and suse 10.0 for ruby programming projects. I noticed the kdevelop ruby support on suse is all there, but I can't seems to be able to get the kdevelop ruby for freebsd working. I can't find the file tree tab, and doesn't seems like there is ruby support. I tried to find the documentation online, but it seems like they are not even written yet. Please help. Thanks in advance. Lei ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
problem with ksh finding console columns and lines
Hi guys, I am having problem with finding $COLUMNS and $LINES from ksh. Couldn't find any workable example on google. Any help or direction will be appreciated. Thanks a lot. Lei ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
baghira 0.6e on KDE on Freebsd
Hi, I have spent 3 hours googling how to get baghira 0.6e work with kde on my freebsd box, no luck. I do see the bab got fired up, and right click on the bab applet in system tray does show a small menu, but left click just doesn't change kde look at all. Can anybody tell me what I am doing wrong? Thanks Lei ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: oversized httpd process?
Now that I think about it, I did install the eaccelerator for php, and configured it to take 128Mb for eaccelerator.shm_size. It also appears that when I reboot the machine A without pointing my browser to it once, the httpd processes are quite small. BUT... Even with the 2 php application that I installed (phpmyadmin, mediawiki), I don't think there should be that much caching going on. Since if I add the total size of the 2 application together, they won't even hit 20MB. In other words, my understanding would be: even if eaccelerator wants to cache them all, eaccelerator wouldn't be able to find that much stuff to cache, and it would always be less than 20MB. Am I expecting the right thing? On 8/24/05, Dan Nelson <[EMAIL PROTECTED]> wrote: > In the last episode (Aug 24), Lei Sun said: > > I saw many posts from google regarding to this question, but there > > were no definite answers.. > > > > some say, it's mod_ssl, some say it's mod_perl, some say it is mm. > > But my case, it just doesn't make much sence to me at all. > > > > Here are the 2 test machines that I have, both have the exact same > > configuration > > > > A is a lot more powerful than B > > > > machine A, p4 3.0 2GB Mem > > machine B, p2 450Mhz 128MB Mem > > > > Both have mod_php, mod_ssl, and no traffic has been sent. > > > > Looking at the httpd sizes, I start to wonder ... How come Machine B > > only uses around 15Mb per httpd, while machine A takes 155Mb, and > > while they have exactly the same software, same configuration. > > Try running lsof on both processes. Since SIZE is 155M but RES is a > lot smaller, there may be a large file being mmapped by one system and > not the other. > > > machine A: > > PID USERNAME PRI NICE SIZERES STATE C TIME WCPUCPU COMMAND > > 440 root 960 155M 17412K select 0 0:02 0.00% 0.00% httpd > > > > machine B: > > PID USERNAME PRI NICE SIZERES STATETIME WCPUCPU COMMAND > > 50855 www 200 16348K12K lockf0:00 0.00% 0.00% httpd > > -- > Dan Nelson > [EMAIL PROTECTED] > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
oversized httpd process?
Hi, I saw many posts from google regarding to this question, but there were no definite answers.. some say, it's mod_ssl, some say it's mod_perl, some say it is mm. But my case, it just doesn't make much sence to me at all. Here are the 2 test machines that I have, both have the exact same configuration A is a lot more powerful than B machine A, p4 3.0 2GB Mem machine B, p2 450Mhz 128MB Mem Both have mod_php, mod_ssl, and no traffic has been sent. Looking at the httpd sizes, I start to wonder ... How come Machine B only uses around 15Mb per httpd, while machine A takes 155Mb, and while they have exactly the same software, same configuration. Can somebody please tell me why this is happening? What did I do wrong? machine A: last pid: 9085; load averages: 0.00, 0.00, 0.00 up 0+05:52:01 00:13:28 33 processes: 1 running, 32 sleeping CPU states: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle Mem: 48M Active, 84M Inact, 92M Wired, 8K Cache, 112M Buf, 1779M Free Swap: 4071M Total, 4071M Free PID USERNAME PRI NICE SIZERES STATE C TIME WCPUCPU COMMAND 440 root 960 155M 17412K select 0 0:02 0.00% 0.00% httpd 9078 www 960 155M 17412K select 0 0:00 0.00% 0.00% httpd 9079 www 200 155M 17412K lockf 0 0:00 0.00% 0.00% httpd 9080 www 200 155M 17412K lockf 0 0:00 0.00% 0.00% httpd 9081 www 200 155M 17412K lockf 0 0:00 0.00% 0.00% httpd 9082 www 200 155M 17412K lockf 1 0:00 0.00% 0.00% httpd machine B: last pid: 19765; load averages: 0.00, 0.00, 0.00 up 80+00:30:59 00:15:25 32 processes: 1 running, 31 sleeping CPU states: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle Mem: 19M Active, 46M Inact, 30M Wired, 5100K Cache, 22M Buf, 17M Free Swap: 231M Total, 21M Used, 210M Free, 9% Inuse PID USERNAME PRI NICE SIZERES STATETIME WCPUCPU COMMAND 50855 www 200 16348K12K lockf0:00 0.00% 0.00% httpd 50856 www 200 16280K12K lockf0:00 0.00% 0.00% httpd 50854 www 200 15272K12K lockf0:01 0.00% 0.00% httpd 50853 www 200 14972K12K lockf0:01 0.00% 0.00% httpd 50852 www 200 12480K12K lockf0:00 0.00% 0.00% httpd 50858 www 200 12352K12K lockf0:00 0.00% 0.00% httpd 50857 www 960 12352K12K select 0:00 0.00% 0.00% httpd 50851 root 960 12336K 1560K select 0:59 0.00% 0.00% httpd ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: disk fragmentation, <0%?
Thanks All, I think Kris's suggestion worked, as when I was rebuilding of the atacontrol, I remember it failed once, and had a lot of problem trying to reboot and unmount the /tmp directory. So after I rebuild the array, somehow /tmp looks clean to the OS, and didn't get checked. so somehow the the stats was not showing the correct information. I have already rebuild the machine, all of the effect from the atacontrol rebuild array are gone now, and it seems like everything is back to normal. Capacity is right, Used is right, Avail is right, and all 0.0% fragmentation. Then, my other question is, If the file space allocation works like Glenn said earlier, how come with the exact same files from 2 different installations using the exact procedures, can result in different fragmentation? in the atacontrol raid1 failure case, /dev/ar0s1a: ... 0.5% fragmentation in the new build case, /dev/ar0s1a: ... 0.0% fragmentation That doesn't seems to make a lot of sense. Thanks again Lei On 8/15/05, Kris Kennaway <[EMAIL PROTECTED]> wrote: > On Mon, Aug 15, 2005 at 09:20:12AM -0400, Jerry McAllister wrote: > > > > > > Thanks for the good answers. > > > > > > But can anyone tell me why the capacity is going negative? and not full? > > > > > > > Filesystem SizeUsed Avail Capacity Mounted on > > > > /dev/ar0s1e248M -278K228M-0%/tmp > > > > As someone mentioned, there is a FAQ on this. You should read it. > > > > In fact, you're both wrong, because that's clearly not what's going on > here (capacity <0, not capacity >100!) > > The only thing I can think of is that you have some filesystem > corruption on this partition that is confusing the stats. Try > dropping to single-user mode and running fsck -f /tmp. > > Kris > > > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: disk fragmentation, <0%?
This happened, after I tested the atacontrol to rebuild the raid1. The /tmp partition doesn't have anything but several empty directories created. and I have the clear /tmp directive in the rc.conf, which will clean up the /tmp everytime when system boot up. So that was really wierd. as it never happened this way the previous time that I was rebuilding the raid1. Thanks Lei On 8/15/05, Freminlins <[EMAIL PROTECTED]> wrote: > On 8/15/05, Jerry McAllister <[EMAIL PROTECTED]> wrote: > > > > > > As someone mentioned, there is a FAQ on this. You should read it. > > > > It is going negative because you have used more than the nominal > > capacity of the slice. The nominal capacity is the total space > > minus the reserved proportion (usually 8%) that is held out. > > Root is able to write to that space and you have done something > > that got root to write beyond the nominal space. > > I'm not sure you are right in this case. I think you need to re-read > the post. I've quoted the relevent part here: > > > > Filesystem SizeUsed Avail Capacity Mounted on > > > /dev/ar0s1e248M -278K228M-0%/tmp > > Looking at how the columns line up I have to state that I too have > never seen this behaviour. As an experiment I over-filled a file > system and here's the results: > > Filesystem SizeUsed Avail Capacity Mounted on > /dev/ad0s1f965M895M -7.4M 101%/tmp > > Note capacity is not negative. So that makes three of us in this > thread who have not seen negative capacity on UFS. > > I have seen negative capacity when running an old version of FreeBSD > with a very large NFS mount (not enough bits in statfs if I remember > correctly). > > > jerry > > Frem. > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: disk fragmentation, <0%?
Thanks for the good answers. But can anyone tell me why the capacity is going negative? and not full? > Filesystem SizeUsed Avail Capacity Mounted on > /dev/ar0s1e248M -278K228M-0%/tmp Thanks a lot Lei On 8/14/05, Glenn Dawson <[EMAIL PROTECTED]> wrote: > At 12:18 PM 8/14/2005, cpghost wrote: > >On Sun, Aug 14, 2005 at 12:09:19AM -0700, Glenn Dawson wrote: > > > >2. How come /tmp is -0% in size? -278K? What had happened? as I have > > > >never experienced this in the previous installs on the exact same > > > >hardware. > > > > > > Not sure about that one. Maybe someone else has an answer. > > > >This is a FAQ. > > > >The available space is always computed after subtracting some space > >that would be only available to root (typically around 5% or 10% > >of the partition size). > > The default is 8%. > > > This free space is necessary to avoid internal > >fragmentation and to keep the file system going. Root may be able > >to "borrow" some space from this (in which case the capacity goes > >below 0%), but it is not advisable to keep the file system so full, > >so it should be only for a limited period of time. > > The reason for having the reserved space is to allow the functions that > allocate space to be able to find contiguous free space. When the disk is > nearly full it takes longer and longer to locate contiguous space, which > can lead to performance problems. > > > >In your example, you're 278K over the limit; and should delete some > >files to make space ASAP. Should /tmp fill up more, it will soon become > >inoperable. > > From the original message: > > Filesystem SizeUsed Avail Capacity Mounted on > /dev/ar0s1e248M -278K228M-0%/tmp > > This shows that /tmp is empty. If the reserved space was being encroached > upon, it would show > 100% capacity, and available bytes would go negative, > not bytes used. > > It would look something like this: > > Filesystem SizeUsed Avail Capacity Mounted on > /dev/ad0s1a248M238M-10M 105%/ > > I've never seen the capacity go negative before, which is why I suggested > someone else might know the answer. > > -Glenn > > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
disk fragmentation, <0%?
Hi, I know this question has been raised a lot of times, and most of people don't think it is necessary to defragment ufs, and from the previous posts, I got to know there are sometimes, disksize can be more than 100% But... I got ... /dev/ar0s1a: ... 0.5% fragmentation /dev/ar0s1e: ... 0.0% fragmentation /dev/ar0s1f: ... 0.0% fragmentation /dev/ar0s1d: ... 0.1% fragmentation Filesystem SizeUsed Avail Capacity Mounted on /dev/ar0s1a248M 53M175M23%/ devfs 1.0K1.0K 0B 100%/dev /dev/ar0s1e248M -278K228M-0%/tmp /dev/ar0s1f221G1.4G202G 1%/usr /dev/ar0s1d248M 30M197M13%/var My questions: 1. How do I make /dev/ar0s1a 0.0% fragmentation the clean way? If I really wanted to? 2. How come /tmp is -0% in size? -278K? What had happened? as I have never experienced this in the previous installs on the exact same hardware. Thanks Lei ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: how to run 2 instance of memcached from rc.conf?
I did try this approach... but no luck. whenever I try to start the second one, it says the pid already exists. I think is is because of run_rc_command in rc.subr, it somehow records down the pid somewhere... :( any other good ideas? Thanks Lei On 7/27/05, Glenn Dawson <[EMAIL PROTECTED]> wrote: > At 11:59 PM 7/26/2005, you wrote: > >Yeah, the tricky part is not to what to do, but how to do it. I know I > >need to configure 2 ip or 2 ports. > > > >As the memcached.sh is using run_rc_command, and somehow, even if when > >I am giving it 2 arguments with different port, it still can only > >start up 1 process instead of 2. > > > >So how do I use the same script to run 2 instance of memcached? > > > >Thanks in advance. > > There's probably other ways to do this, but this one works: > > create a second script called memcached2.sh in /usr/local/etc/rc.d with the > following contents: > > #!/bin/sh > # > > # PROVIDE: memcached2 > # REQUIRE: NETWORKING > > # > # Add the following lines to /etc/rc.conf to run memcached: > # > #memcached2_enable="YES" > #memcached2_flags="" > # > . /etc/rc.subr > > name="memcached2" > rcvar=`set_rcvar` > command=/usr/local/bin/memcached2 > command_args="-du nobody ${memcached2_flags}" > > load_rc_config $name > run_rc_command "$1" > > > > Then, create a symlink that points memcached2 to memcachd: > > ln -s /usr/local/bin/memcached /usr/local/bin/memcached2 > > > then, you can use two sets of variables in /etc/rc.conf like: > > memcached_enable="YES" > memcached_flags="-m 2 -l 10.1.1.245 -p 11211" > > memcached2_enable="YES" > memcached2_flags="-m 2 -l 10.1.1.245 -p 11212" > > > That worked for me on one of my test systems. > > -Glenn > > > >Lei > > > >On 7/26/05, Glenn Dawson <[EMAIL PROTECTED]> wrote: > > > At 11:16 PM 7/26/2005, Lei Sun wrote: > > > >Hi, > > > > > > > >I am trying to run 2 instance of memcached from rc.conf, but whenever > > > >I try to start it the second time, it tells me that the instance is > > > >already running. > > > > > > > >Please help... > > > > > > According to the documentation at http://www.danga.com/memcached running > > > more than one instance on the same machine is only helpful if you have > > > more > > > than 4GB of RAM. > > > > > > To load another instance, you just have to tell it to listen on a > > > different > > > port, or a different IP address (if the machine you're running it one has > > > more than one IP). > > > > > > -Glenn > > > > > > > > > >my rc.conf > > > > > > > >defaultrouter="192.168.0.1" > > > >hostname="aphrodite.us.8po.com" > > > >ifconfig_em0="inet 192.168.0.200 netmask 255.255.255.0" > > > >sshd_enable="YES" > > > >mysql_enable="YES" > > > >mysql_limits="YES" > > > >apache_enable="YES" > > > >memcached_enable="YES" > > > >memcached_flags="-m 1024 -l 127.0.0.1 -p 11211" > > > >--- > > > > > > > > > > > >my /usr/local/etc/rc.d/memcached.sh > > > >-- > > > >#!/bin/sh > > > ># > > > > > > > ># PROVIDE: memcached > > > ># REQUIRE: NETWORKING > > > > > > > ># > > > ># Add the following lines to /etc/rc.conf to run memcached: > > > ># > > > ># memcached_enable="YES" > > > ># memcached_flags="" > > > ># > > > >. /etc/rc.subr > > > > > > > >name="memcached" > > > >rcvar=`set_rcvar` > > > >command=/usr/local/bin/memcached > > > >command_args="-du nobody ${memcached_flags}" > > > > > > > >load_rc_config $name > > > >run_rc_command "$1" > > > >-- > > > >___ > > > >freebsd-questions@freebsd.org mailing list > > > >http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > > >To unsubscribe, send any mail to > > "[EMAIL PROTECTED]" > > > > > > > >___ > >freebsd-questions@freebsd.org mailing list > >http://lists.freebsd.org/mailman/listinfo/freebsd-questions > >To unsubscribe, send any mail to "[EMAIL PROTECTED]" > > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: how to run 2 instance of memcached from rc.conf?
Yeah, the tricky part is not to what to do, but how to do it. I know I need to configure 2 ip or 2 ports. As the memcached.sh is using run_rc_command, and somehow, even if when I am giving it 2 arguments with different port, it still can only start up 1 process instead of 2. So how do I use the same script to run 2 instance of memcached? Thanks in advance. Lei On 7/26/05, Glenn Dawson <[EMAIL PROTECTED]> wrote: > At 11:16 PM 7/26/2005, Lei Sun wrote: > >Hi, > > > >I am trying to run 2 instance of memcached from rc.conf, but whenever > >I try to start it the second time, it tells me that the instance is > >already running. > > > >Please help... > > According to the documentation at http://www.danga.com/memcached running > more than one instance on the same machine is only helpful if you have more > than 4GB of RAM. > > To load another instance, you just have to tell it to listen on a different > port, or a different IP address (if the machine you're running it one has > more than one IP). > > -Glenn > > > >my rc.conf > > > >defaultrouter="192.168.0.1" > >hostname="aphrodite.us.8po.com" > >ifconfig_em0="inet 192.168.0.200 netmask 255.255.255.0" > >sshd_enable="YES" > >mysql_enable="YES" > >mysql_limits="YES" > >apache_enable="YES" > >memcached_enable="YES" > >memcached_flags="-m 1024 -l 127.0.0.1 -p 11211" > >--- > > > > > >my /usr/local/etc/rc.d/memcached.sh > >-- > >#!/bin/sh > ># > > > ># PROVIDE: memcached > ># REQUIRE: NETWORKING > > > ># > ># Add the following lines to /etc/rc.conf to run memcached: > ># > ># memcached_enable="YES" > ># memcached_flags="" > ># > >. /etc/rc.subr > > > >name="memcached" > >rcvar=`set_rcvar` > >command=/usr/local/bin/memcached > >command_args="-du nobody ${memcached_flags}" > > > >load_rc_config $name > >run_rc_command "$1" > >-- > >___ > >freebsd-questions@freebsd.org mailing list > >http://lists.freebsd.org/mailman/listinfo/freebsd-questions > >To unsubscribe, send any mail to "[EMAIL PROTECTED]" > > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
how to run 2 instance of memcached from rc.conf?
Hi, I am trying to run 2 instance of memcached from rc.conf, but whenever I try to start it the second time, it tells me that the instance is already running. Please help... my rc.conf defaultrouter="192.168.0.1" hostname="aphrodite.us.8po.com" ifconfig_em0="inet 192.168.0.200 netmask 255.255.255.0" sshd_enable="YES" mysql_enable="YES" mysql_limits="YES" apache_enable="YES" memcached_enable="YES" memcached_flags="-m 1024 -l 127.0.0.1 -p 11211" --- my /usr/local/etc/rc.d/memcached.sh -- #!/bin/sh # # PROVIDE: memcached # REQUIRE: NETWORKING # # Add the following lines to /etc/rc.conf to run memcached: # # memcached_enable="YES" # memcached_flags="" # . /etc/rc.subr name="memcached" rcvar=`set_rcvar` command=/usr/local/bin/memcached command_args="-du nobody ${memcached_flags}" load_rc_config $name run_rc_command "$1" -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
ssh over a very bad http proxy :(
Hi I spent almost entire week, customizing my freebsd server at home, and I would like to access it from my work place. But it doesn't seems to be possible without making http tunnels through an authenticated proxy server. I tried to use http-tunnel, it doesn't support the authenticated feature. I tried to use corkscrew, it can't compile on cygwin, and it can't go through the authenticated proxy either on solaris. I tried the HTTPTunnelClient with ntlmaps-0.9.9, it says it is connected, but putty just hangs and doesn't give me any response. I googled almost for a week now, trying to find a good solution, but no luck so far. I am sure that I am not the first one who is encountering this kind of problem. Any suggestions? Thanks in advance. Lei ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
ssh over a very bad http proxy
Hi I spent almost entire week, customizing my freebsd server at home, and now, I would like to access it from my work place. But it doesn't seems to be possible without making http tunnels through an authenticated proxy server. I tried to use http-tunnel, it doesn't support the authenticated feature. I tried to use corkscrew, it can't compile on cygwin, and it can't go through the authenticated proxy either on solaris. I tried the HTTPTunnelClient with ntlmaps-0.9.9, it says it is connected, but putty just hangs and doesn't give me any response. I googled almost for a week now, trying to find a good solution, but no luck so far. I am sure that I am not the first one who is encountering this kind of problem. Any suggestions? Thanks in advance. Lei ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: turck-mmcache-2.4.6 disappeared from ports tree?
Thanks a lot :) On 7/23/05, Dan Nelson <[EMAIL PROTECTED]> wrote: > In the last episode (Jul 23), Lei Sun said: > > Hi, > > > > I am wondering why turck-mmcache-2.4.6 disappeared from the ports tree > > in 5.4, and later on I found out that it disppeared in 5.3 as well. > > > > Will it make its way back to the ports tree? > > port moved to www/eaccelerator on 2005-01-19 > REASON: project changed name > > -- > Dan Nelson > [EMAIL PROTECTED] > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
turck-mmcache-2.4.6 disappeared from ports tree?
Hi, I am wondering why turck-mmcache-2.4.6 disappeared from the ports tree in 5.4, and later on I found out that it disppeared in 5.3 as well. Will it make its way back to the ports tree? Any Ideas? Thanks in advance. Lei ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: only see cpu0 working after rebuilding kernel with SMP support
This thread helped http://archives.neohapsis.com/archives/freebsd/2005-05/0037.html On 7/22/05, Lei Sun <[EMAIL PROTECTED]> wrote: > Yes, I read that security advisory as well, and I see > > --- > NOTE: For users that are certain that their environment is not affected > by this vulnerability, such as single-user systems, Hyper-Threading > Technology may be re-enabled by setting the tunable > "machdep.hyperthreading_allowed". > --- > > so I "echo "machdep.hyperthreading_allowed" >> /boot/load.conf", then reboot. > > But still only 1 CPU is running. > > Thanks in advance :) > > Lei > > On 7/22/05, Andreas Rudisch <"cyb."@gmx.net> wrote: > > On Fri, 2005-07-22 at 00:12 -0700, Lei Sun wrote: > > > Hi, > > > I wanted to enable the second logical CPU on my P4 HT. and... > > > Something seems to be strange to me as: > > > > > > All of the processes are running with CPU0 and none is working with CPU1 > > > > > Here is the steps and places I read and followed > > > > > > 1. I followed the custom kernel documents from > > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html > > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html > > > http://www.freebsddiary.org/smp.php > > > > > > and compiled the custom kernel > > > > > > and my kernel config: > > > - > > > ... > > > options SMP > > > device apic# I/O APIC > > > ... > > > - > > > > > > 2. Then I compiled the custom kernel, and installed it > > > > > > 3. I check the startup output, and found > > > SMP: AP CPU #1 Launched! > > > > > > So my question is, how come in top, only cpu0 is working, and no entry > > > for cpu1? > > > > > > Thanks in advance:) > > > > > > Lei > > > > > > Take a look at this: > > > > ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-05:09.htt.asc > > > > Andreas. > > > > -- > > GnuPG key : 0xD25FCC81 | http://cyb.websimplex.de/pubkey.asc > > Fingerprint: D182 6F22 7EEC DD4C 0F6E 564C 691B 0372 D25F CC81 > > > > > > > > > > > > -BEGIN PGP SIGNATURE- > > Version: GnuPG v1.4.1 (FreeBSD) > > > > iD8DBQBC4LgAaRsDctJfzIERAtX8AJ9fJBbODWbOxymKEFeHNpULtUrecACfYsWG > > IcmXfXCmO9ZpgCxDOlOwQWc= > > =zfk/ > > -END PGP SIGNATURE- > > > > > > > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: only see cpu0 working after rebuilding kernel with SMP support
Yes, I read that security advisory as well, and I see --- NOTE: For users that are certain that their environment is not affected by this vulnerability, such as single-user systems, Hyper-Threading Technology may be re-enabled by setting the tunable "machdep.hyperthreading_allowed". --- so I "echo "machdep.hyperthreading_allowed" >> /boot/load.conf", then reboot. But still only 1 CPU is running. Thanks in advance :) Lei On 7/22/05, Andreas Rudisch <"cyb."@gmx.net> wrote: > On Fri, 2005-07-22 at 00:12 -0700, Lei Sun wrote: > > Hi, > > I wanted to enable the second logical CPU on my P4 HT. and... > > Something seems to be strange to me as: > > > > All of the processes are running with CPU0 and none is working with CPU1 > > > Here is the steps and places I read and followed > > > > 1. I followed the custom kernel documents from > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html > > http://www.freebsddiary.org/smp.php > > > > and compiled the custom kernel > > > > and my kernel config: > > - > > ... > > options SMP > > device apic# I/O APIC > > ... > > - > > > > 2. Then I compiled the custom kernel, and installed it > > > > 3. I check the startup output, and found > > SMP: AP CPU #1 Launched! > > > > So my question is, how come in top, only cpu0 is working, and no entry for > > cpu1? > > > > Thanks in advance:) > > > > Lei > > > Take a look at this: > > ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-05:09.htt.asc > > Andreas. > > -- > GnuPG key : 0xD25FCC81 | http://cyb.websimplex.de/pubkey.asc > Fingerprint: D182 6F22 7EEC DD4C 0F6E 564C 691B 0372 D25F CC81 > > > > > > -BEGIN PGP SIGNATURE- > Version: GnuPG v1.4.1 (FreeBSD) > > iD8DBQBC4LgAaRsDctJfzIERAtX8AJ9fJBbODWbOxymKEFeHNpULtUrecACfYsWG > IcmXfXCmO9ZpgCxDOlOwQWc= > =zfk/ > -END PGP SIGNATURE- > > > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
only see cpu0 working after rebuilding kernel with SMP support
Hi, I wanted to enable the second logical CPU on my P4 HT. and... Something seems to be strange to me as: All of the processes are running with CPU0 and none is working with CPU1 - last pid: 479; load averages: 0.00, 0.02, 0.03 up 0+00:10:34 00:05:10 21 processes: 1 running, 20 sleeping CPU states: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle Mem: 6072K Active, 4748K Inact, 18M Wired, 8000K Buf, 1975M Free Swap: 4071M Total, 4071M Free PID USERNAME PRI NICE SIZERES STATE C TIME WCPUCPU COMMAND 437 ls960 6116K 2944K select 0 0:00 0.00% 0.00% sshd 440 root 80 3128K 1996K wait 0 0:00 0.00% 0.00% bash 426 root 5 -4 1616K 1212K ttyin 0 0:00 0.00% 0.00% login 434 root 40 6136K 2884K sbwait 0 0:00 0.00% 0.00% sshd 438 ls 80 3088K 1852K wait 0 0:00 0.00% 0.00% bash 439 ls 80 1608K 1284K wait 0 0:00 0.00% 0.00% su 259 root 960 1324K 892K select 0 0:00 0.00% 0.00% syslogd 376 root 960 3476K 2668K select 0 0:00 0.00% 0.00% sendmail 479 root 960 2304K 1572K CPU0 0 0:00 0.00% 0.00% top 392 root 80 1364K 1052K nanslp 0 0:00 0.00% 0.00% cron 433 root 50 1288K 952K ttyin 0 0:00 0.00% 0.00% getty 432 root 50 1288K 952K ttyin 0 0:00 0.00% 0.00% getty 430 root 50 1288K 952K ttyin 0 0:00 0.00% 0.00% getty 428 root 50 1288K 952K ttyin 0 0:00 0.00% 0.00% getty 431 root 50 1288K 952K ttyin 0 0:00 0.00% 0.00% getty 429 root 50 1288K 952K ttyin 0 0:00 0.00% 0.00% getty 427 root 50 1288K 952K ttyin 0 0:00 0.00% 0.00% getty 370 root 960 3384K 2476K select 0 0:00 0.00% 0.00% sshd 380 smmsp 200 3356K 2696K pause 0 0:00 0.00% 0.00% sendmail 181 root 200 1192K 648K pause 0 0:00 0.00% 0.00% adjkerntz 241 root 1140 516K 356K select 0 0:00 0.00% 0.00% devd - Here is the steps and places I read and followed 1. I followed the custom kernel documents from http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html http://www.freebsddiary.org/smp.php and compiled the custom kernel and my kernel config: - ... options SMP device apic# I/O APIC ... - 2. Then I compiled the custom kernel, and installed it 3. I check the startup output, and found SMP: AP CPU #1 Launched! So my question is, how come in top, only cpu0 is working, and no entry for cpu1? Thanks in advance:) Lei ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Explaining FreeBSD features
After all, someone is trying to do something good for freebsd, by making freebsd known by more and more people. Most people are lazy, we tend to prefer immediate results rather than a long term process and commitment. I think this is understandable. Of course, there will be a lot of newbies coming, some of them will stay and some of them will find it too difficult, and leave. That's the way it is. Same goes with linux. If it just sounds powerful, and hard for people to get their hands dirty by just setting one up and see what it looks like and maybe how it works, then linux wouldn't be this popular now. You would hear that "Someone has burned a linux CD and just don't have time to install it, but linux is easy and sounds really cool and makes people curious", and you wouldn't hear the same thing about freebsd. Most of the none unix IT friends I have all had a "EXTREMELY HARD" impression on Freebsd, and they found linux extremely easy. That's indeed not true. It really only takes a normal person several hours to flip through the HANDBOOK to at least know his/her way around, and this is really as "easy" as linux. But, it make sence, that people would like to see the product, before using it or even know more about it. Much like a person would prefer trying out a service for free before he/she decides to invest more money and time into it. Also, one must first be a newbie in something, then become more and more professional while he/she is learning. A lot of you might be good at Freebsd, but very new to something else. Would you prefer to hear someone telling you, "Hey! This is only for Professional! There is not even a newbie version for you! So don't slow us down by getting out of our way!" That's not friendly at all, right? I perfectly agree that Freebsd is a serious OS from serious people, that's why I choose freebsd :) and I would rather see freebsd be more and more popular than linux!!! Truely!!! It is indeed a very good OS. So let's be nice, and find ways help the new comers without disturbing the ones, who are not interested in the easy questions, instead of turning them away. We all love FreeBSD, don't we? Lei ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: aspell upgrade problem
Cool! It worked! I found why. I did "Ctrl-C" when I first started the portupgade, and it only got a part of the whole aspell distfile. so when it was trying to check it again, it doesn't have the right size, right time, and right checksum. Thanks a lot! Lei On 6/6/05, Kent Stewart <[EMAIL PROTECTED]> wrote: > On Monday 06 June 2005 01:04 pm, Lei Sun wrote: > > Which file should I delete? > > > > It is getting errors like "checksum mismatch". > > > > - > >--- > > > > I did a "make clean" > > > > You need to > cd /usr/ports/distfiles > ls aspell* > and rm aspell-0.60.2.tar.gz or which ever one is giving you the > checksum error. > > Kent > > > > > On 6/6/05, Kent Stewart <[EMAIL PROTECTED]> wrote: > > > On Monday 06 June 2005 10:31 am, Lei Sun wrote: > > > > Hi, > > > > > > > > I am trying to do a upgrade of aspell on freebsd5.4 using > > > > > > > > cvsup portsupfile > > > > # cd /usr/ports > > > > # make fetchindex > > > > # protupgrade aspell > > > > > > > > and it's giving me errors: > > > > > > > > ... > > > > => Attempting to fetch from ftp://ftp.lip6.fr/pub/gnu/aspell/. > > > > fetch: aspell-0.60.2.tar.gz: local modification time does not > > > > match remote => Attempting to fetch from > > > > ftp://ftp.chg.ru/pub/gnu/aspell/. fetch: aspell-0.60.2.tar.gz: > > > > local modification time does not match remote ... > > > > => port manually into /usr/ports/distfiles/ and try again. > > > > *** Error code 1 > > > > > > > > Stop in /usr/ports/textproc/aspell. > > > > *** Error code 1 > > > > > > > > Stop in /usr/ports/textproc/aspell. > > > > ** Command failed [exit code 1]: /usr/bin/script -qa > > > > /tmp/portupgrade14913.0 make > > > > ** Fix the problem and try again. > > > > ** Listing the failed packages (*:skipped / !:failed) > > > > ! textproc/aspell (aspell-0.60.2) (checksum > > > > mismatch) ---> Packages processed: 0 done, 0 ignored, 0 skipped > > > > and 1 failed > > > > > > > > I saw http://www.freebsd.org/cgi/ports.cgi?query=aspell&stype=all > > > > aspell version is suppose to be aspell-0.60.2_1 > > > > > > > > What am I doign wrong? What am I suppose to do? > > > > > > When I get messages like you are, I go into the distfile directory > > > and delete the file it is having problems with. Most of the time, > > > the problem goes away. > > > > > > Kent > > > > > > -- > > > Kent Stewart > > > Richland, WA > > > > > > http://users.owt.com/kstewart/index.html > > -- > Kent Stewart > Richland, WA > > http://users.owt.com/kstewart/index.html > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: aspell upgrade problem
Which file should I delete? It is getting errors like "checksum mismatch". I did a "make clean" [EMAIL PROTECTED] ls Makefilepkg-plist.csb pkg-plist.ga pkg-plist.lapkg-plist.orpkg-plist.tet distinfopkg-plist.cypkg-plist.gd pkg-plist.ltpkg-plist.papkg-plist.tl files pkg-plist.dapkg-plist.gl pkg-plist.lvpkg-plist.plpkg-plist.tn pkg-descr pkg-plist.depkg-plist.gv pkg-plist.mipkg-plist.ptpkg-plist.tr pkg-plist pkg-plist.de-altpkg-plist.he pkg-plist.mkpkg-plist.qupkg-plist.uk pkg-plist.afpkg-plist.elpkg-plist.hi pkg-plist.mnpkg-plist.ropkg-plist.uz pkg-plist.ampkg-plist.enpkg-plist.hil pkg-plist.mrpkg-plist.rupkg-plist.vi pkg-plist.azpkg-plist.eopkg-plist.hr pkg-plist.mspkg-plist.rwpkg-plist.wa pkg-plist.bepkg-plist.espkg-plist.hsb pkg-plist.mtpkg-plist.scpkg-plist.yi pkg-plist.bgpkg-plist.etpkg-plist.hu pkg-plist.nbpkg-plist.skpkg-plist.zu pkg-plist.bnpkg-plist.fapkg-plist.ia pkg-plist.nds pkg-plist.sl pkg-plist.brpkg-plist.fipkg-plist.id pkg-plist.nlpkg-plist.sv pkg-plist.capkg-plist.fopkg-plist.is pkg-plist.nnpkg-plist.sw pkg-plist.cspkg-plist.frpkg-plist.it pkg-plist.nypkg-plist.ta On 6/6/05, Kent Stewart <[EMAIL PROTECTED]> wrote: > On Monday 06 June 2005 10:31 am, Lei Sun wrote: > > Hi, > > > > I am trying to do a upgrade of aspell on freebsd5.4 using > > > > cvsup portsupfile > > # cd /usr/ports > > # make fetchindex > > # protupgrade aspell > > > > and it's giving me errors: > > > > ... > > => Attempting to fetch from ftp://ftp.lip6.fr/pub/gnu/aspell/. > > fetch: aspell-0.60.2.tar.gz: local modification time does not match > > remote => Attempting to fetch from ftp://ftp.chg.ru/pub/gnu/aspell/. > > fetch: aspell-0.60.2.tar.gz: local modification time does not match > > remote ... > > => port manually into /usr/ports/distfiles/ and try again. > > *** Error code 1 > > > > Stop in /usr/ports/textproc/aspell. > > *** Error code 1 > > > > Stop in /usr/ports/textproc/aspell. > > ** Command failed [exit code 1]: /usr/bin/script -qa > > /tmp/portupgrade14913.0 make > > ** Fix the problem and try again. > > ** Listing the failed packages (*:skipped / !:failed) > > ! textproc/aspell (aspell-0.60.2) (checksum mismatch) > > ---> Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed > > > > I saw http://www.freebsd.org/cgi/ports.cgi?query=aspell&stype=all > > aspell version is suppose to be aspell-0.60.2_1 > > > > What am I doign wrong? What am I suppose to do? > > > > When I get messages like you are, I go into the distfile directory and > delete the file it is having problems with. Most of the time, the > problem goes away. > > Kent > > -- > Kent Stewart > Richland, WA > > http://users.owt.com/kstewart/index.html > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
aspell upgrade problem
Hi, I am trying to do a upgrade of aspell on freebsd5.4 using cvsup portsupfile # cd /usr/ports # make fetchindex # protupgrade aspell and it's giving me errors: ... => Attempting to fetch from ftp://ftp.lip6.fr/pub/gnu/aspell/. fetch: aspell-0.60.2.tar.gz: local modification time does not match remote => Attempting to fetch from ftp://ftp.chg.ru/pub/gnu/aspell/. fetch: aspell-0.60.2.tar.gz: local modification time does not match remote ... => port manually into /usr/ports/distfiles/ and try again. *** Error code 1 Stop in /usr/ports/textproc/aspell. *** Error code 1 Stop in /usr/ports/textproc/aspell. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade14913.0 make ** Fix the problem and try again. ** Listing the failed packages (*:skipped / !:failed) ! textproc/aspell (aspell-0.60.2) (checksum mismatch) ---> Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed I saw http://www.freebsd.org/cgi/ports.cgi?query=aspell&stype=all aspell version is suppose to be aspell-0.60.2_1 What am I doign wrong? What am I suppose to do? Thanks in advance ! Lei ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Starting custom compiled Openldap without root privilege
Hi, I am testing a custom compiled Openldap on both freebsd and solaris, and I am in a position where I don't have sudo priviledge to start openldap. It started fine when starting as root, but the requirement asks me not to start openldap as root. Is there any way that I can start openldap on a non-priviledge port as a normal user instead of the root user? Thanks Lei ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: struggling with ports, packages, cvsup
I had same question yesterday :) you need to copy the ports-supfile from the example directory instead of the standard file. And the supfile you have should have "ports-all" in there. Yours have 'src-all', which is for the system src. On 4/23/05, T P <[EMAIL PROTECTED]> wrote: > I have figured out what was wrong with my /etc/hosts file and I have > CVSup running now. > > Here is my supfile constructed following the example in the handbook: > > *default tag=. > *default host=cvsup3.us.FreeBSD.org > *default prefix=/usr > *default base=/var/db > *default release=cvs delete use-rel-suffix compress > > src-all > > I also have a refuse file as in the handbook to avoid downloading > every language. > > I will be sure to ask again if I run into any more problems. Thank > you for your help! > > On 4/23/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > On Sat, 23 Apr 2005 05:51:02 -0700 > > T P <[EMAIL PROTECTED]> wrote: > > > > > I have just installed FreeBSD 5.3 and I am trying to get the latest > > > firefox, 1.0.3,1, and pkg_add -r firefox gives me 0.9. something and > > > downloading the latest source and typing make install clean gives me > > > some wierd patch-250862 failed error. I saw someone else mention > > > using cvsup to update the firefox source so I tried that. Now cvsup > > > gives me "Cannot get IP address of my own host -- is its hostname > > > correct?". I am behind a firewall and I don't know what I should set > > > my hostname to; the ip address is of course given to me by DHCP. > > > > read > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html > > look at /usr/share/examples/cvsup/ and use (edit first!) the ports-file > > from there to update your ports-collection > > > > then a /usr/ports/www/firefox/ ; make install clean > > > > did you try that ? > > > > ___ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Why the version I see on the official website is different(newer) from the ones I get to install?
I did check the new INDEX-5 file, and it seems to be good, (with all of the right versions of softwares) But how come when I do the portupgrade, nothing happens? Lei On 4/22/05, Lei Sun <[EMAIL PROTECTED]> wrote: > > su-3.00# cd /usr/ports/ > su-3.00# make fetchindex > INDEX-5 100% of 6381 kB 339 kBps 00m00s > su-3.00# portversion > apache+mod_ssl = > bash = > cvsup-without-gui = > expat = > gettext = > libiconv = > mm = > mysql-client = > mysql-server = > perl = > perl = > pkg_tree = > portupgrade = > pstree = > ruby = > ruby18-bdb1 = > su-3.00# pkgdb -F > ---> Checking the package registry database > su-3.00# portupgrade -arR > su-3.00# > > Nothing happened > > On 4/22/05, Kris Kennaway <[EMAIL PROTECTED]> wrote: > > > > On Fri, Apr 22, 2005 at 06:59:58PM -0700, Lei Sun wrote: > > > Hi Kris, > > > > > > Which directory do I do the 'make fetchindex'? > > > > /usr/ports. See the port manpage for more help. > > > > > And would you please tell me how to upgrade the portupgrade? > > > > Just as you would any other port. > > > > Kris > > > > > > > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Why the version I see on the official website is different(newer) from the ones I get to install?
su-3.00# cd /usr/ports/ su-3.00# make fetchindex INDEX-5 100% of 6381 kB 339 kBps 00m00s su-3.00# portversion apache+mod_ssl = bash = cvsup-without-gui = expat = gettext = libiconv = mm = mysql-client = mysql-server = perl = perl = pkg_tree = portupgrade = pstree = ruby = ruby18-bdb1 = su-3.00# pkgdb -F ---> Checking the package registry database su-3.00# portupgrade -arR su-3.00# Nothing happened On 4/22/05, Kris Kennaway <[EMAIL PROTECTED]> wrote: > > On Fri, Apr 22, 2005 at 06:59:58PM -0700, Lei Sun wrote: > > Hi Kris, > > > > Which directory do I do the 'make fetchindex'? > > /usr/ports. See the port manpage for more help. > > > And would you please tell me how to upgrade the portupgrade? > > Just as you would any other port. > > Kris > > > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Why the version I see on the official website is different(newer) from the ones I get to install?
Hi, I have been checking out how to keep my system up-to-date for quite a while, and yet I can't seem to find the reason why -> see below for example: I just installed freebsd 5.3 and trying to get apache+mod_ssl installed on my machine. Fine, I got to do the make install, and did all of the correct configuration, and ended up finding that the version I have is apache+mod_ssl-1.3.31+2.8.19 After running the portaudit program, I see that it is not as up-to-date. So, I copy the standard-sup file and did the proper configuration, and did cvsup -g -L 2 ~/cvsup/stable-supfile pkgdb -F portversion and I ended up seeing: su-3.00# portversion apache+mod_ssl = bash = cvsup-without-gui = expat = gettext = libiconv = mm = mysql-client = mysql-server = perl = perl = pkg_tree = portupgrade = pstree = ruby = ruby18-bdb1 = su-3.00# pkg_info apache+mod_ssl-1.3.31+2.8.19 The Apache 1.3 webserver with SSL/TLS functionality bash-3.0_5 The GNU Project's Bourne Again SHell cvsup-without-gui-16.1h General network file distribution system optimized for CVS expat-1.95.8 XML 1.0 parser written in C gettext-0.13.1_1 GNU gettext package libiconv-1.9.2_1 A character set conversion library mm-1.3.0 Shared memory allocation library for pre-forked process mod mysql-client-4.1.5 Multithreaded SQL database (client) mysql-server-4.1.5 Multithreaded SQL database (server) perl-5.6.1_15 Practical Extraction and Report Language perl-5.8.5 Practical Extraction and Report Language pkg_tree-1.1_1 Get a 'graphical' tree-overview of installed packages portupgrade-20040701_3 FreeBSD ports/packages administration and management tool s pstree-2.25 List processes as a tree ruby-1.8.2.p2_1 An object-oriented interpreted scripting language ruby18-bdb1-0.2.2 Ruby interface to Berkeley DB revision 1.8x with full featu I think that means apache+mod_ssl is up-to-date, and even when I am trying to run portupgrade, it is not upgrading anything, which makes me feel really strange, since when I do go to this page, http://www.freebsd.org/cgi/ports.cgi?query=mod_ssl&stype=all&release=5-STABLE%2Fi386 It says *apache+mod_ssl-1.3.33+2.8.22 *is the most current one. What am I doing wrong? How do I update the apache+mod_ssl to the most current version? Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"