Oemm 6.1 with Debian squeeze x64 PROBLEM: Resin httpd

Use this forum for questions regarding installation, upgrading and configuration of OpenEMM

Moderator: moderator

thepanther
Posts: 3
Joined: Wed Jun 23, 2010 1:39 am

Oemm 6.1 with Debian squeeze x64 PROBLEM: Resin httpd

Post by thepanther »

Hello All,

now i'm trying 5h to install Openemm... this isn't my first install, but first install on Debian squeeze 64bit with new version 6.1

My last install was be on Debian etch 32bit, wit Openemm 5.x be working fine.

Okay back to the Problem.

If i Starting Openemm i get the error

"Resin httpd stat at .."

looks like:

Code: Select all

openemm@bserver:~$ ./bin/OpenEMM.sh start
Start /home/openemm/bin/scripts/bav-update.py .. done.
Start /home/openemm/bin/scripts/bav-trigger.py .. done.
Start /home/openemm/bin/scripts/bavd.py .. done.
Start /home/openemm/bin/bav -L INFO .. done.
Start python /home/openemm/bin/scripts/recovery.py .. done.
Start /home/openemm/bin/scripts/update.py bounce account .. done.
Start /home/openemm/bin/scripts/pickdist.py .. done.
Stopping obsolete sendmail processes:   done.
Starting sendmails:   listener  client queue mqueue-client  admin queue  mail queue  done.
Start /home/openemm/bin/scripts/slrtscn.py .. done.
Resin httpd start at Wed Jun 23 02:41:12 CEST 2010
And in Logfiles i only found this entry:

/home/openemm/webapps/core/log/openemm_jvm.log

Code: Select all

Can't connect to parent process through socket 52500
Resin needs to connect to its parent.
Can't connect to parent process through socket 49972
Resin needs to connect to its parent.
Can't connect to parent process through socket 60844
Resin needs to connect to its parent.
Can't connect to parent process through socket 54039
Resin needs to connect to its parent.
Can't connect to parent process through socket 54439
Resin needs to connect to its parent.
Can't connect to parent process through socket 49811
Resin needs to connect to its parent.
Can't connect to parent process through socket 53109
Resin needs to connect to its parent.
Can't connect to parent process through socket 52516
Resin needs to connect to its parent.
Can't connect to parent process through socket 36073
Resin needs to connect to its parent.
Can't connect to parent process through socket 42696
Resin needs to connect to its parent.
Can't connect to parent process through socket 47708
Resin needs to connect to its parent.
Can't connect to parent process through socket 51701
Resin needs to connect to its parent.
Can't connect to parent process through socket 45483
Resin needs to connect to its parent.
Can't connect to parent process through socket 43915
Resin needs to connect to its parent.
Can't connect to parent process through socket 39482
Resin needs to connect to its parent.
Can't connect to parent process through socket 46597
Resin needs to connect to its parent.
Can't connect to parent process through socket 33849
Resin needs to connect to its parent.
Can't connect to parent process through socket 38196
Resin needs to connect to its parent.
Can't connect to parent process through socket 42726
Resin needs to connect to its parent.
Can't connect to parent process through socket 55549
Resin needs to connect to its parent.
Can't connect to parent process through socket 35617
Resin needs to connect to its parent.
Can't connect to parent process through socket 32887
Resin needs to connect to its parent.
Can't connect to parent process through socket 46888
Resin needs to connect to its parent.
Can't connect to parent process through socket 35063
Resin needs to connect to its parent.
Can't connect to parent process through socket 34621
Resin needs to connect to its parent.

Anyone have an idea?


my configuration looks like:


/home/openemm/.bash_profile

Code: Select all

# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
        . ~/.bashrc
fi

# User specific environment and startup programs
//edit correct path:
PATH=$PATH:$HOME/bin:/usr/lib/jvm/ia32-java-6-sun/bin
JAVA_HOME=/usr/lib/jvm/ia32-java-6-sun


export PATH
export JAVA_HOME

unset USERNAME
File permessions on /home/openemm

Code: Select all

openemm@bserver:~$ ls -la
total 26612
drwxr-xr-x 10 openemm openemm     4096 Jun 23 00:41 .
drwxr-xr-x 10 root    root        4096 Jun 22 14:58 ..
-rw-------  1 openemm openemm     3306 Jun 23 02:34 .bash_history
-rw-r--r--  1 openemm openemm      220 Jun 22 14:58 .bash_logout
-rw-r--r--  1 openemm openemm      294 Jun 23 02:35 .bash_profile
-rw-r--r--  1 openemm openemm     3184 Jun 22 14:58 .bashrc
drwxr-xr-x  3 openemm openemm     4096 Jun 11 16:52 bin
drwxr-xr-x  4 openemm openemm     4096 Jun 11 16:52 conf
drwxr-xr-x  2 openemm openemm     4096 Jun 11 16:52 lib
drwxr-xr-x  2 openemm openemm     4096 Jun 11 16:52 libexec
-rw-------  1 openemm openemm       25 Jun 23 02:47 .nano_history
-rw-r--r--  1 openemm openemm 27069441 Jun 11 20:43 OpenEMM-6.1-bin.tar.gz
-rw-r--r--  1 openemm openemm      675 Jun 22 14:58 .profile
-rw-r--r--  1 openemm openemm     5065 Jun 11 16:52 README.txt
-rw-r--r--  1 openemm openemm    64704 Jun 23 00:22 test.txt
-rw-r--r--  1 openemm openemm     3109 Jun 11 16:52 UPDATE.txt
drwxr-xr-x  2 openemm openemm     4096 Jun 23 01:26 USR_SHARE
drwxr-xr-x  6 openemm openemm     4096 Jun 11 16:52 var
drwxr-xr-x  3 openemm openemm     4096 Jun 11 16:52 webapps
drwxr-xr-x  2 openemm openemm     4096 Jun 11 16:52 webservices

File permessions on /home/openemm/bin

Code: Select all

drwxr-xr-x  3 openemm openemm    4096 Jun 11 16:52 .
drwxr-xr-x 10 openemm openemm    4096 Jun 23 00:41 ..
-rwxr-xr-x  1 openemm openemm   75670 Jun 11 16:52 bav
-rwxr-xr-x  1 openemm openemm    1444 Jun 11 16:52 bavd.sh
-rwxr-xr-x  1 openemm openemm    1460 Jun 11 16:52 bav-trigger.sh
-rwxr-xr-x  1 openemm openemm    1458 Jun 11 16:52 bav-update.sh
-rwxr-xr-x  1 openemm openemm    1835 Jun 11 16:52 bounce.sh
-rwxr-xr-x  1 openemm openemm     350 Jun 11 16:52 core.sh
-rwxr-xr-x  1 openemm openemm    2407 Jun 11 16:52 httpd.sh
-rwxr-xr-x  1 openemm openemm    2575 Jun 11 16:52 mailer.sh
-rwxr-xr-x  1 openemm openemm    1518 Jun 11 16:52 merger.sh
-rwxr-xr-x  1 openemm openemm    5579 Jun 11 16:52 openemm-charset-convert.sh
-rwxr-xr-x  1 openemm openemm    1634 Jun 11 16:52 OpenEMM.sh
-rwxr-xr-x  1 openemm openemm    1506 Jun 11 16:52 pickdist.sh
-rwxr-xr-x  1 openemm openemm    1341 Jun 11 16:52 recovery.sh
drwxr-xr-x  2 openemm openemm    4096 Jun 22 23:56 scripts
-rwxr-xr-x  1 openemm openemm    1339 Jun 11 16:52 sendmail-disable.sh
-rwxr-xr-x  1 openemm openemm    1338 Jun 11 16:52 sendmail-enable.sh
-rwxr-xr-x  1 openemm openemm    1452 Jun 11 16:52 slrtscn.sh
-rwsr-sr-x  1 root    root       9216 Jun 11 16:52 smctrl
-rwxr-xr-x  1 openemm openemm    1322 Jun 11 16:52 softbounce.sh
-rwxr-xr-x  1 openemm openemm   11803 Jun 11 16:52 updater
-rwxr-xr-x  1 openemm openemm    1453 Jun 11 16:52 update.sh
-rwxr-xr-x  1 openemm openemm    1422 Jun 11 16:52 upgrade.sh
-rwxr-xr-x  1 openemm openemm   19388 Jun 11 16:52 wrapper.pl
-rwxr-xr-x  1 openemm openemm 1072433 Jun 11 16:52 xmlback
i'm using sendmail, i stopped sendmail and than start openemm.
Sendmail works fine.

if you need other config/files please be free to ask!
I dont haye any ideas more :-(

Thank you all for help![/code]
thepanther
Posts: 3
Joined: Wed Jun 23, 2010 1:39 am

Noboday have an idea???

Post by thepanther »

I'm now reinstall again openemm

with the current Install guide for OpenEMM 6.x.y:
http://netcologne.dl.sourceforge.net/pr ... _1.1.4.pdf

Code: Select all

openemm@bserver:~$ OpenEMM.sh start
Start /home/openemm/bin/scripts/bav-update.py .. done.
Start /home/openemm/bin/scripts/bav-trigger.py .. done.
Start /home/openemm/bin/scripts/bavd.py .. done.
Start /home/openemm/bin/bav -L INFO .. done.
Start python /home/openemm/bin/scripts/recovery.py .. done.
Start /home/openemm/bin/scripts/update.py bounce account .. done.
Start /home/openemm/bin/scripts/pickdist.py .. done.
Stopping obsolete sendmail processes:   done.
Starting sendmails:   listener  client queue mqueue-client  admin queue  mail queue  done.
Start /home/openemm/bin/scripts/slrtscn.py .. done.
Resin httpd start at Sat Jun 26 00:17:16 CEST 2010
again the same error: Resin httpd start at Sat Jun 26 00:17:16 CEST 2010

Code: Select all

openemm@bserver:~$ ps ax
  PID TTY      STAT   TIME COMMAND
    1 ?        Ss     0:08 init [2]
    2 ?        S<     0:00 [kthreadd]
    3 ?        S<     0:00 [migration/0]
    4 ?        S<     0:00 [ksoftirqd/0]
    5 ?        S<     0:00 [watchdog/0]
    6 ?        S<     0:00 [migration/1]
    7 ?        S<     0:00 [ksoftirqd/1]
    8 ?        S<     0:00 [watchdog/1]
    9 ?        S<     0:00 [events/0]
   10 ?        S<     0:00 [events/1]
   11 ?        S<     0:00 [cpuset]
   12 ?        S<     0:00 [khelper]
   15 ?        S<     0:00 [netns]
   18 ?        S<     0:00 [async/mgr]
   78 ?        S<     0:00 [kintegrityd/0]
   79 ?        S<     0:00 [kintegrityd/1]
   81 ?        S<     0:00 [kblockd/0]
   82 ?        S<     0:00 [kblockd/1]
   84 ?        S<     0:00 [kacpid]
   85 ?        S<     0:00 [kacpi_notify]
  162 ?        S<     0:00 [ksuspend_usbd]
  168 ?        S<     0:00 [khubd]
  171 ?        S<     0:00 [kseriod]
  205 ?        S<     0:00 [kondemand/0]
  206 ?        S<     0:00 [kondemand/1]
  231 ?        S      0:00 [khungtaskd]
  232 ?        S      0:01 [pdflush]
  233 ?        S      0:00 [pdflush]
  234 ?        S<     0:00 [kswapd0]
  235 ?        S<     0:00 [aio/0]
  236 ?        S<     0:00 [aio/1]
  237 ?        S<     0:00 [crypto/0]
  238 ?        S<     0:00 [crypto/1]
  559 ?        S<     0:00 [ata/0]
  563 ?        S<     0:00 [ata/1]
  564 ?        S<     0:00 [ata_aux]
  569 ?        S<     0:00 [scsi_eh_0]
  570 ?        S<     0:00 [scsi_eh_1]
  575 ?        S<     0:00 [scsi_eh_2]
  576 ?        S<     0:00 [scsi_eh_3]
  590 ?        S<     0:00 [usbhid_resumer]
  625 ?        S<     0:00 [md0_raid1]
  632 ?        S<     0:29 [md1_raid5]
  638 ?        S<     0:00 [kstriped]
  641 ?        S<     0:00 [kdmflush]
  653 ?        S<     0:05 [kjournald]
  874 ?        S<     0:00 [kpsmoused]
  969 ?        S<     0:00 [hd-audio0]
 1055 ?        S<     0:00 [kdmflush]
 1171 ?        S<     0:00 [kjournald]
 1265 ?        Ss     0:00 /sbin/portmap -i 127.0.0.1
 1276 ?        Ss     0:00 /sbin/rpc.statd
 1464 ?        Sl     6:14 /usr/sbin/capisuite
 1498 ?        Ss     0:00 /usr/bin/dbus-daemon --system
 1514 ?        Ss     0:00 /sbin/mdadm --monitor --pid-file /var/run/mdadm/monitor.pid --daemonise --scan --syslog
 1631 ?        Ss     0:00 /usr/sbin/bluetoothd
 1637 ?        S<     0:00 [bluetooth]
 1642 ?        S<     0:00 [krfcommd]
 1666 ?        Ssl    0:04 /usr/sbin/hald
 1667 ?        S      0:00 hald-runner
 1696 ?        S      0:00 hald-addon-input: Listening on /dev/input/event1 /dev/input/event4 /dev/input/event3
 1711 ?        S      0:22 hald-addon-storage: polling /dev/hda (every 2 sec)
 1721 ?        S      0:00 hald-addon-acpi: listening on acpid socket /var/run/acpid.socket
 3884 ?        S      0:00 /usr/sbin/modem-manager
 3897 ?        S      0:00 /sbin/wpa_supplicant -u -s
 3934 ?        Ss     0:00 /usr/sbin/gdm
 3976 tty1     Ss+    0:00 /sbin/getty 38400 tty1
 3977 tty2     Ss+    0:00 /sbin/getty 38400 tty2
 3978 tty3     Ss+    0:00 /sbin/getty 38400 tty3
 3979 tty4     Ss+    0:00 /sbin/getty 38400 tty4
 3980 tty5     Ss+    0:00 /sbin/getty 38400 tty5
 3981 tty6     Ss+    0:00 /sbin/getty 38400 tty6
 3997 ?        Sl     0:00 /usr/sbin/console-kit-daemon --no-daemon
10802 ?        Ss     0:00 /usr/sbin/acpid
11148 ?        S      0:00 /usr/sbin/isdnlog -D -f/etc/isdn/isdnlog.isdnctrl0 /dev/isdnctrl0
12124 ?        Ss     0:00 /usr/sbin/sshd
12172 ?        Ss     0:00 /usr/sbin/NetworkManager
12383 ?        S      0:00 avahi-daemon: running [bserver.local]
12384 ?        Ss     0:00 avahi-daemon: chroot helper
17095 ?        S      0:00 /usr/sbin/gdm
17098 tty8     Ss+    1:19 /usr/bin/X :0 -audit 0 -auth /var/lib/gdm/:0.Xauth -nolisten tcp vt8
17109 ?        Ss     3:14 /usr/lib/gdm/gdmgreeter
17258 ?        Ss     0:00 /usr/sbin/inetd
17326 ?        Ss     0:00 /usr/sbin/atd
20114 ?        S<s    0:00 udevd --daemon
20171 ?        Ss     0:00 /usr/sbin/cron
20320 ?        S<     0:00 udevd --daemon
20322 ?        S<     0:00 udevd --daemon
22848 ?        Ss     0:00 sshd: root@pts/0
22853 pts/0    Ss     0:00 -bash
23016 ?        Sl     0:00 /usr/sbin/rsyslogd -c4
24947 pts/0    S      0:00 /bin/sh /usr/bin/mysqld_safe
25058 pts/0    Sl     0:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.pid --socket
25060 pts/0    S      0:00 logger -t mysqld -p daemon.error
25166 ?        Ss     0:00 /usr/sbin/lpd -s
26151 ?        Ss     0:00 /usr/sbin/apache2 -k start
26154 ?        S      0:00 /usr/sbin/apache2 -k start
26157 ?        S      0:00 /usr/sbin/apache2 -k start
26160 ?        Sl     0:00 /usr/sbin/apache2 -k start
26188 ?        Sl     0:00 /usr/sbin/apache2 -k start
26216 ?        S      0:04 /usr/bin/php5-cgi
26226 pts/0    S      0:00 su - openemm
26234 pts/0    S      0:00 -su
26958 pts/0    S      0:00 python /home/openemm/bin/scripts/bav-update.py
26984 pts/0    S      0:00 python /home/openemm/bin/scripts/bav-trigger.py
27009 pts/0    S      0:00 python /home/openemm/bin/scripts/bavd.py
27011 pts/0    Sl     0:00 /home/openemm/bin/bav -L INFO
27084 pts/0    S      0:00 python /home/openemm/bin/scripts/update.py bounce account
27110 pts/0    S      0:00 python /home/openemm/bin/scripts/pickdist.py
27140 ?        Ss     0:00 sendmail: MTA: accepting connections
27143 ?        Ss     0:00 sendmail: MTA: Queue runner@00:05:00 for /var/spool/mqueue-client
27146 ?        Ss     0:00 sendmail: MTA: Queue runner@00:01:00 for /home/openemm/var/spool/ADMIN
27149 ?        Ss     0:00 sendmail: MTA: Queue runner@00:01:00 for /home/openemm/var/spool/QUEUE
27173 pts/0    S      0:00 python /home/openemm/bin/scripts/slrtscn.py
27185 pts/0    S      0:00 perl /home/openemm/bin/wrapper.pl -chdir -name httpd -class com.caucho.server.resin.Resin -J-Xms128m -J-Xmx512m -con
27211 pts/0    Z      0:00 [sh] <defunct>
27232 pts/0    R+     0:00 ps ax
i Think all looks fine?? But http not started??? :-(

Code: Select all

OpenEMM.sh stop
Stopping httpd


Resin wrapper.pl closing.

Stop scripts/slrtscn.py program  .. delaying 2 seconds .. done.
Stop all sendmail processes:   -15:27140 -15:27143 -15:27146 -15:27149 done.
Stop scripts/pickdist program  .. delaying 2 seconds .. done.
Stop scripts/update.py program  .. delaying 2 seconds .. done.
Stop bin/bav program with signal 15 .. done.
Stop scripts/bavd program  .. delaying 2 seconds .. done.
Stop scripts/bav-trigger program with signal 15 .. done.
Stop scripts/bav-update program with signal 15 .. done.
openemm@bserver:~$
Only one Logfile logging an error/anything :
openemm@bserver:~/webapps/core/log/openemm_jvm.log$

Code: Select all

Can't connect to parent process through socket 45232
Resin needs to connect to its parent.
Can't connect to parent process through socket 51585
Resin needs to connect to its parent.
Can't connect to parent process through socket 41192
Resin needs to connect to its parent.

Code: Select all

netstat -ln
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State
tcp        0      0 0.0.0.0:59733           0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN
tcp        0      0 127.0.0.1:25            0.0.0.0:*               LISTEN
tcp        0      0 127.0.0.1:8900          0.0.0.0:*               LISTEN
tcp        0      0 192.168.0.101:3306      0.0.0.0:*               LISTEN
tcp        0      0 127.0.0.1:587           0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:20012           0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:46798           0.0.0.0:*               LISTEN
tcp        0      0 127.0.0.1:5166          0.0.0.0:*               LISTEN
tcp        0      0 127.0.0.1:111           0.0.0.0:*               LISTEN
tcp6       0      0 :::22                   :::*                    LISTEN
tcp6       0      0 :::80                   :::*                    LISTEN
udp        0      0 0.0.0.0:604             0.0.0.0:*
udp        0      0 0.0.0.0:5353            0.0.0.0:*
udp        0      0 127.0.0.1:111           0.0.0.0:*
udp        0      0 0.0.0.0:53497           0.0.0.0:*
udp        0      0 0.0.0.0:59525           0.0.0.0:*
udp6       0      0 :::5353                 :::*
udp6       0      0 :::59023                :::*
Active UNIX domain sockets (only servers)
Proto RefCnt Flags       Type       State         I-Node   Path
unix  2      [ ACC ]     STREAM     LISTENING     92804    /tmp/.X11-unix/X0
unix  2      [ ACC ]     STREAM     LISTENING     209119   /var/lib/apache2/fcgid/sock/26157.0
unix  2      [ ACC ]     STREAM     LISTENING     206721   /var/run/mysqld/mysqld.sock
unix  2      [ ACC ]     STREAM     LISTENING     212816   /var/run/sendmail/mta/smcontrol
unix  2      [ ACC ]     STREAM     LISTENING     92770    /var/run/gdm_socket
unix  2      [ ACC ]     STREAM     LISTENING     4706     @/var/run/hald/dbus-kXTYocG2rE
unix  2      [ ACC ]     STREAM     LISTENING     4692     @/org/bluez/audio
unix  2      [ ACC ]     STREAM     LISTENING     92803    @/tmp/.X11-unix/X0
unix  2      [ ACC ]     STREAM     LISTENING     109414   /dev/printer
unix  2      [ ACC ]     STREAM     LISTENING     4701     @/var/run/hald/dbus-VoNWr754ar
unix  2      [ ACC ]     STREAM     LISTENING     209104   /var/run/apache2/cgisock.26151
unix  2      [ ACC ]     STREAM     LISTENING     33845    /var/run/acpid.socket
unix  2      [ ACC ]     STREAM     LISTENING     4192     /var/run/dbus/system_bus_socket
unix  2      [ ACC ]     STREAM     LISTENING     4573     /var/run/sdp
unix  2      [ ACC ]     STREAM     LISTENING     170356   /var/run/avahi-daemon/socket
unix  2      [ ACC ]     STREAM     LISTENING     212302   /home/openemm/var/run/bav.sock


Please help :-(

Thank you all!
moritzh
Posts: 2
Joined: Tue Nov 16, 2010 2:47 pm

Post by moritzh »

I have exactly the same situation with a fresh install of OpenEMM 6.1 on a 64bit centOS 5.5. Any help would be appreciated!

Thanks!
Moritz
maschoff
Site Admin
Posts: 2628
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

Post by maschoff »

Our tipps for testing:
1. Disable Firewall temporarily
2. Disable AppArmour or SELinux (we do not use it either)
OpenEMM Maintainer
moritzh
Posts: 2
Joined: Tue Nov 16, 2010 2:47 pm

Post by moritzh »

Thanks a lot, you were absolutely right, did not have to do anything with the x64 system but I just forgot one rule in the iptables configuration. It works good now. Thanks!
Post Reply