IncentivesPro Forum Index IncentivesPro
Leading USB solutions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

[SOLVED] Daemon can not be started! Error Daemon can not be started! Error 65535 Module 0x002d Line

 
Post new topic   Reply to topic    IncentivesPro Forum Index -> USB Redirector for Linux
View previous topic :: View next topic  
Author Message
Piknik



Joined: 23 Jun 2016
Posts: 2

PostPosted: Thu Jun 23, 2016 2:26 pm    Post subject: [SOLVED] Daemon can not be started! Error Daemon can not be Reply with quote

Hello.

I install USBRedirector-server on Ubuntu 15.04 i686 (kernel
3.19.0.15-generic) and USBRedirector-client on Centos 6.3 x86_64 (kernel
2.6.32-431.17.1).

On ubuntu program installed without problems - I run "./installer.sh
install-server" and programsucceeds. I share my USB-device, open port in
firewall and began to configure Centos-client.

In Centos I many time spent for install:

"./installer.sh install-client" betrayed errors and I had to edit
installer.sh-script. I commented lines
...618...
# make KERNELDIR=$KERNELDIR clean >/dev/null 2>&1
# make $make_flags $driver_config KERNELDIR=$KERNELDIR
>$script_dir/buildlog.txt 2>&1
...732...
# if [ ! -d $KERNELDIR ]; then
# exit_with_error "Kernel sources or kernel headers directory not
found. Please install the corresponding package first."
# fi
...

next I manually building tusbd.ko
$ cd /home/admin/usb-redirector-linux-x86_64/files/modules/src/tusbd
$ make

after installer.sh do this successfully.

But now I try connected to server and command "usbclnt -addserver
10.0.0.45:32032
" betrayed my
"******************** ERROR ***********************
Cannot connect to USB Redirector daemon.
Please make sure usbsrvd is loaded. If the module
is not loaded, please contact our support team.
Error log can be found at /var/log/usbsrvd.log
**************** **************** ****************"

in /var/log/usbsrvd.log
Jun 20, 2016 12:19:03 Daemon startup
Jun 20, 2016 12:19:08 Daemon can not be started! Error 65535 Module
0x002d Line 2
Jun 20, 2016 12:19:08 Daemon shutdown

Please, say me, how to solve this problem?

Thanks!

# uname -a
Linux 123456 2.6.32-431.17.1.sp6.x86_64 #1 SMP Thu Oct 2 08:20:03 MSK 2014 x86_64 x86_64 x86_64 GNU/Linux
Back to top
View user's profile Send private message
Piknik



Joined: 23 Jun 2016
Posts: 2

PostPosted: Wed Jul 06, 2016 8:17 am    Post subject: Reply with quote

Installed with:

$ tar xf usb-redirector-linux-x86_64.tar.gz
$ cd usb-redirector-linux-x86_64
$ sudo yum groupinstall "Development Tools"

$ cd /home/lpuadmin/usb-redirector-linux-x86_64/files/modules/src/tusbd
$ make
$ cd ~/usb-redirector-linux-x86_64

$ sudo ./installer.sh install-client


Thanks!
Back to top
View user's profile Send private message
Peter
Site Admin


Joined: 01 Aug 2007
Posts: 654

PostPosted: Thu Jul 07, 2016 10:30 pm    Post subject: Reply with quote

Thank for update, Piknik!

The problem was because kernel module compiles in USB server mode by default. Below are the make command lines that show how to compile it in different modes.

USB server only
make STUB=y VHCI=n

USB client only
make STUB=n VHCI=y

Combined USB server and client
make STUB=y VHCI=y

But in any case we recommend to use the supplied installer.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IncentivesPro Forum Index -> USB Redirector for Linux All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group