Author Topic: NewCS error----Chameleon2 bind: Address already in use ......HELPPPP  (Read 2023 times)

0 Members and 1 Guest are viewing this topic.

Offline gpun2008

  • Newbie
  • *
  • Posts: 1
i've a ClearOS server with CCcam 2.1.2 and using Infinity Phoenix USB Car Reader and i'm trying to install NewCS 1.67:

i copied newcs.x86 to /var/bin
and newcs.xml to /etc

And when i try to run ./newcs.x86 ---This is what i get:



This is NewCS 1.67 RC1 [Build: 95] - the New CardServer by the Butter-team..
Compiled on Jul 14 2009 at 12:12:45
Reading Config file from /etc/newcs.xml
TCP-log password is enabled, set to: NewCSpwd
level: internal
type: all
output: console,tcp
logger config: level 16777215 type 255 output 5
Console log options: level 16777215 type 255
TCP log options: level 1 type 255
[ 19:38:59 ] [ Box detect ] Box type 1 (General Boxtype - Generic)
[ 19:38:59 ] [ Config ] Option for device 0 (Phoenix on Com1) not present, defaulting to NO
[ 19:38:59 ] [ Config ] Option for device 0 (Phoenix on Com1) not present, defaulting to NO
[ 19:38:59 ] [ Config ] Option for device 0 (Phoenix on Com1) not present, defaulting to NO
[ 19:38:59 ] [ Config ] Option for device 0 (Phoenix on Com1) not present, defaulting to NO
[ 19:38:59 ] [ Config ] Pincode for device 0 (Phoenix on Com1): 0000
[ 19:38:59 ] [ Config ] Option for device 0 (Phoenix on Com1) not present, no static sids added to filter
[ 19:38:59 ] [ Config ] Option for device 0 (Phoenix on Com1) not present, no PIN Code will be sent
[ 19:38:59 ] [ Config ] /dev/ttyS0 ECM priority: round
[ 19:38:59 ] [ Chameleon2 ] Adding name myname on destination remote (Realm: myShares) on port 1234 - 0x87fdd68 [ op ptr 0x87fecd8 ]
[ 19:38:59 ] [ DNS ] Resolved Hostname localhost to: 127.0.0.1
[ 19:38:59 ] [ Newcamd ] Server name : newcs
[ 19:38:59 ] [ Newcamd ] Des key   : 0102030405060708091011121314
[ 19:38:59 ] [ Config ] Option or not present for User: dummy, DISABLING reverse login
[ 19:38:59 ] [ Config ] Option not present for User: dummy, NO reader control enabled
[ 19:38:59 ] [ Newcamd ] User 2: dummy, Pass: dummy, Host none, Port: 0, Au: On, Spider allowed: No, Sidoverride: No, level: 1
[ 19:38:59 ] [ httpd ] httpd-user: newcs, password: newcs, accesslevel: admin
[ 19:38:59 ] [ EMM Cache ] Initialising dynamic Cache
[ 19:38:59 ] [ ECM Cache ] Initialising dynamic Cache
[ NewCS ] Process ID is: 11623
[ 19:38:59 ] Calibrating delay loops
[ 19:38:59 ] usleep(5) takes: 0 s 5 us
[ 19:38:59 ] usleep(10) takes: 0 s 11 us
[ 19:38:59 ] usleep(100) takes: 0 s 100 us
[ 19:38:59 ] usleep(500) takes: 0 s 500 us
[ 19:38:59 ] Allocation memory for 200 regular users
[ 19:38:59 ] [ Loader ] Starting Telnet on port 1001
[ 19:38:59 ] bind: error! 98: Address already in use
[ 19:38:59 ] [ SockSrv ] Could not Bind to port 1001 EXITING!
[ 19:38:59 ] [ SockSrv ] Stopping port 1001
[ 19:38:59 ] [ SockSrv ] Server thread started
Can't create server: Address already in use
[ 19:38:59 ] [ Loader ] Reader type 2 on node /dev/ttyS0
[ 19:38:59 ] [ CardMan ] Reseting reader parameters
[ 19:38:59 ] [ Phoenix ] Opening device /dev/ttyS0
[ 19:38:59 ] [ Phoenix ] Setting Parity to: ODD
[ 19:38:59 ] [ Phoenix ] Setting 2 Stop bits on node /dev/ttyS0
[ 19:38:59 ] [ Phoenix ] Setting Baud to standard 9600
[ 19:38:59 ] [ Phoenix ] Normal RESET on node /dev/ttyS0
[ 19:39:01 ] [ Loader ] Reset failed ...
[ 19:39:01 ] [ Loader ] Starting Newcamd Server on port 15022
[ 19:39:01 ] [ Loader ] Starting Radegast Server on port 10003
[ 19:39:01 ] [ SockSrv ] Server thread started
[ 19:39:01 ] [ NewCS ] Ready to GO! :)
[ 19:39:01 ] [ Card queue /dev/ttyS0 ] Starting...
[ 19:39:01 ] [ Newcamd ] Newcamd thread Server started on port 15022
newcamd: main loop
[root@system bin]# Chameleon2 bind: Address already in use








And here's my newcs.xml




   
       
            Phoenix on Com1
            phoenix
            368
            /dev/ttyS0
            odd
            normal
            Yes
            Yes
            No
            No
            No
            Yes
            no
            15022
            Yes
            0000
            round
       

   

   
            Yes
            10003
           
                localhost
           

   

   
            20
            -1
   

   
       
            8080
            yes
       

       
            newcs
     
            newcs
            newcs
            admin
       

   

   
            NewCSpwd
            simple
            internal
            all
            console,tcp
            1001
            normal,init
   

   
            Yes
            newcs
            01 02 03 04 05 06 07 08 09 10 11 12 13 14
           
                dummy
                dummy
                on
                off
                No
                1
           

   

   
       
            1234
            yes
            myShares
       

       
            remote
            1234
            myname
            mypassword
            myShares
       

          myShares
       
       
            myname
            mypassword
            myShares
       

   





Please help me to get out of it problem...Thanks!!!!

Offline boshkarin

  • Jr. Member
  • **
  • Posts: 74
It could be two (or more) things that makes you problem, or that port (15022) is already in use by some other program or something or newcs is runing twice (that happens often), try to change newcamdport on 34000 (change in newcs xml. on port 34000 and open in router port 34000) than see whats happening than type ps -aux than you well see what proces are running in you server, if newcs is running twice tipe killal newcs (or killal number of pid that is runing newcs for example killal 2341) after that reebot your server........
in newcs xml. for local connecting put

            dummy
            dummy
            localhost
            34000
            on
            off
            No
             2