> The startup scripts execute "tcpborphserver2" by default. There's a bug in
> the scripts and it won't work unless it's in your path though (default is
> /usr/local/sbin, which is in the path, so no problems).  /borph is not a
> standard path entry.
>
> Assuming you're running the default filesystem, You should rename the
> downloaded file "tcpborphserver2-2010-08-27-r3304-signfix" to
> "tcpborphserver2" or otherwise create a symlink with the name
> "tcpborphserver2" to whichever version you're using (the method we prefer,
> that way you always know which version you're running and it's easy to try
> different ones) and place it in /usr/local/sbin. You can do this as
> follows:
>
> cp tcpborphserver2-2010-08-27-r3304-signfix /usr/local/sbin/
> chmod a+x /usr/local/sbin/tcpborphserver2-2010-08-27-r3304-signfix
> ls -s /usr/local/sbin/tcpborphserver2-2010-08-27-r3304-signfix
> /usr/local/sbin/tcpborphserver2

I think this last command should be "ln" instead of "ls"

John


>
> Note also (as Henry pointed out) that tcpborphserver expects boffiles in
> /boffiles.
>
> Hope this helps.
>
> Jason
>
> On 28 Sep 2010, at 20:11, Henry Chen wrote:
>
>> Hi Melissa,
>>
>> I've been playing around a bit with the new -signfix version of
>> tcpborphserver. The patch works for me if I do
>>
>> /etc/init.d/tcpborphserver stop
>>
>> then replace tcpborphserver2 in /usr/local/sbin and reboot. Then
>> the new version of the server comes up properly at boot. Did you
>> have customized startup to point to /borph when you compiled the
>> kernel?
>>
>> Thanks,
>> Henry
>>
>> On 9/28/2010 9:24 AM, Soriano, Melissa (335J) wrote:
>>> Dear Jason,
>>> Thank you for the LatestVersions wiki page.
>>>> The latest binary in SVN is from 2009
>>>> (http://casper.berkeley.edu/svn/trunk/roach/sw/binaries/linux/uImage-
>>>> jiffy-20091110). Did you recompile the kernel yourself?
>>> Yes, I checked out the roach/sw/linux directory and recompiled the
>>> kernel myself.  I needed the kernel source to compile my kernel modules
>>> against.
>>> o...@roach1:~$ uname -a
>>> Linux roach1 2.6.25-svn3327 #2 Tue Sep 28 09:05:39 PDT 2010 ppc
>>> GNU/Linux
>>>>> We are using tcpborphserver 0.2110.  Is this the latest version?
>>>> No, latest version is
>>>> http://casper.berkeley.edu/svn/trunk/roach/sw/binaries/tcpborphserver/t
>>>> cpborphserver2-2010-08-27-r3304-signfix
>>>> You could try that one. I don't have any problems using other commands
>>>> or running tut2 (the 10GbE tutorial) using the recommended versions...
>>> I picked up the version above and copied it to the /borph directory,
>>> then rebooted the board.  However, when I look at the process list, I
>>> don't see tcpborphserver..
>>> o...@roach1:~$ ps -ef
>>> UID        PID  PPID  C STIME TTY          TIME CMD
>>> root         1     0  2 16:20 ?        00:00:00 init [2]  root
>>> 2     0  0 16:20 ?        00:00:00 [kthreadd]
>>> root         3     2  0 16:20 ?        00:00:00 [ksoftirqd/0]
>>> root         4     2  0 16:20 ?        00:00:00 [events/0]
>>> root         5     2  0 16:20 ?        00:00:00 [khelper]
>>> root        48     2  0 16:20 ?        00:00:00 [kblockd/0]
>>> root        58     2  0 16:20 ?        00:00:00 [khubd]
>>> root        65     2  0 16:20 ?        00:00:00 [kmmcd]
>>> root        85     2  0 16:20 ?        00:00:00 [bkexecd]
>>> root        86     2  0 16:20 ?        00:00:00 [pdflush]
>>> root        87     2  0 16:20 ?        00:00:00 [pdflush]
>>> root        88     2  0 16:20 ?        00:00:00 [kswapd0]
>>> root        89     2  0 16:20 ?        00:00:00 [aio/0]
>>> root       123     2  0 16:20 ?        00:00:00 [mtdblockd]
>>> root       161     2  0 16:20 ?        00:00:00 [krmond]
>>> root       167     2  0 16:20 ?        00:00:00 [rpciod/0]
>>> daemon     387     1  0 16:21 ?        00:00:00 /sbin/portmap
>>> statd      394     1  0 16:21 ?        00:00:00 /sbin/rpc.statd
>>> root       402     2  0 16:21 ?        00:00:00 [lockd]
>>> root       496     1  0 16:21 ?        00:00:00 /sbin/syslogd
>>> root       505     1  0 16:21 ?        00:00:00 /sbin/klogd -x
>>> root       532     1  0 16:21 ?        00:00:00 /usr/sbin/inetd
>>> ntp        545     1  0 16:21 ?        00:00:00 /usr/sbin/ntpd -p
>>> /var/run/ntpd.pid -u 100:102 -g
>>> root       567     1  0 16:21 ?        00:00:00 /usr/sbin/cron
>>> root       626     1  0 16:21 ttyS0    00:00:00 /sbin/getty -L ttyS0
>>> 115200 vt100
>>> telnetd    627   532  1 16:21 ?        00:00:00 in.telnetd: psdg5.lab
>>> root       629   627  2 16:21 pts/0    00:00:00 login -h psdg5.lab -p
>>> ops        630   629  1 16:21 pts/0    00:00:00 -sh
>>> ops        634   630  0 16:21 pts/0    00:00:00 ps -ef
>>> o...@roach1:~$ ls -lart /borph
>>> total 1108
>>> -rwxr-xr-x  1 root root     33 Jul 16  2009 rc
>>> -rwxr-xr-x  1 root root 577036 Jul 17  2009 tcpborphserver.orig
>>> drwxr-xr-x 29 root root   4096 Aug  3 04:12 ..
>>> -rwxr--r--  1 root root 266102 Sep 28 16:19
>>> tcpborphserver2-2010-08-27-r3304-signfix
>>> drwxr-xr-x  2 root root   4096 Sep 28 16:19 .
>>> -rwxr-xr-x  1 root root 266102 Sep 28 16:20 tcpborphserver
>>> Why would tcpborphserver fail to launch on start-up?
>>> Thank you for your help.
>>> Regards,
>>> Melissa
>>
>
>
>



Reply via email to