pwAdmin.
can not maps stop.
can not Auth Daemon.
help me plz
-----update-----
serverctrl.jsp
I HATE THIS!!!
To become like this in my environment.
MAP Process ID Value:" 1234"
line.substring(0, 5)
==" 123"
Answer.
line.substring(0, 5)
to
line.substring(0, 6)
Java reference.
substring
PIDs by 343's ubuntu-12.04.3-server-amd64.iso and pw-136 and pw-151
Redline is Maps Process.
can not maps stop.
can not Auth Daemon.
help me plz
-----update-----
serverctrl.jsp
I HATE THIS!!!
To become like this in my environment.
MAP Process ID Value:" 1234"
line.substring(0, 5)
==" 123"
Answer.
line.substring(0, 5)
to
line.substring(0, 6)
Java reference.
substring
You must be registered to see links
if (process.indexOf("./gs " + maps[1]) != -1)
{
// set the process id
maps[0] = line.substring(0, 5).replace(" ", "");
map_count++;
server_running = true;
}
PIDs by 343's ubuntu-12.04.3-server-amd64.iso and pw-136 and pw-151
Redline is Maps Process.
/opt/apache-tomcat-5.5.28/webapps/pwAdmin$ ps -A w
PID TTY STAT TIME COMMAND
1 ? Ss 0:02 /sbin/init
2 ? S 0:00 [kthreadd]
3 ? S 0:00 [ksoftirqd/0]
4 ? S 0:00 [kworker/0:0]
5 ? S< 0:00 [kworker/0:0H]
7 ? S< 0:00 [kworker/u:0H]
8 ? S 0:00 [migration/0]
9 ? S 0:00 [rcu_bh]
10 ? S 0:00 [rcu_sched]
11 ? S 0:00 [watchdog/0]
12 ? S 0:00 [watchdog/1]
13 ? S 0:00 [ksoftirqd/1]
14 ? S 0:01 [migration/1]
15 ? S 0:00 [kworker/1:0]
16 ? S< 0:00 [kworker/1:0H]
17 ? S 0:00 [watchdog/2]
18 ? S 0:00 [ksoftirqd/2]
19 ? S 0:00 [migration/2]
20 ? S 0:00 [kworker/2:0]
21 ? S< 0:00 [kworker/2:0H]
22 ? S 0:00 [watchdog/3]
23 ? S 0:00 [ksoftirqd/3]
24 ? S 0:00 [migration/3]
25 ? S 0:00 [kworker/3:0]
26 ? S< 0:00 [kworker/3:0H]
27 ? S< 0:00 [cpuset]
28 ? S< 0:00 [khelper]
29 ? S 0:00 [kdevtmpfs]
30 ? S< 0:00 [netns]
31 ? S 0:00 [bdi-default]
32 ? S< 0:00 [kintegrityd]
33 ? S< 0:00 [kblockd]
34 ? S< 0:00 [ata_sff]
35 ? S 0:00 [khubd]
36 ? S< 0:00 [md]
37 ? S< 0:00 [devfreq_wq]
38 ? S 0:00 [kworker/0:1]
40 ? S 0:00 [khungtaskd]
41 ? S 0:00 [kswapd0]
42 ? SN 0:00 [ksmd]
43 ? SN 0:00 [khugepaged]
44 ? S 0:00 [fsnotify_mark]
45 ? S 0:00 [ecryptfs-kthrea]
46 ? S< 0:00 [crypto]
57 ? S< 0:00 [kthrotld]
60 ? S 0:00 [kworker/3:1]
61 ? S 0:00 [scsi_eh_0]
62 ? S 0:00 [scsi_eh_1]
64 ? S< 0:00 [binder]
84 ? S< 0:00 [deferwq]
85 ? S< 0:00 [charger_manager]
186 ? S< 0:00 [mpt_poll_0]
187 ? S< 0:00 [mpt/0]
188 ? S 0:00 [scsi_eh_2]
190 ? S 0:00 [scsi_eh_3]
191 ? S 0:00 [scsi_eh_4]
226 ? S 0:00 [scsi_eh_5]
233 ? S 0:00 [scsi_eh_6]
239 ? S 0:00 [scsi_eh_7]
240 ? S 0:00 [scsi_eh_8]
243 ? S 0:00 [scsi_eh_9]
244 ? S 0:00 [scsi_eh_10]
248 ? S 0:00 [scsi_eh_11]
250 ? S 0:00 [scsi_eh_12]
251 ? S 0:00 [scsi_eh_13]
252 ? S 0:00 [scsi_eh_14]
253 ? S 0:00 [scsi_eh_15]
254 ? S 0:00 [scsi_eh_16]
258 ? S 0:00 [scsi_eh_17]
260 ? S 0:00 [scsi_eh_18]
262 ? S 0:00 [scsi_eh_19]
263 ? S 0:00 [scsi_eh_20]
264 ? S 0:00 [scsi_eh_21]
265 ? S 0:00 [scsi_eh_22]
266 ? S 0:00 [scsi_eh_23]
267 ? S 0:00 [scsi_eh_24]
268 ? S 0:00 [scsi_eh_25]
269 ? S 0:00 [scsi_eh_26]
271 ? S 0:00 [scsi_eh_27]
272 ? S 0:00 [scsi_eh_28]
274 ? S 0:00 [scsi_eh_29]
275 ? S 0:00 [scsi_eh_30]
276 ? S 0:00 [scsi_eh_31]
301 ? S 0:00 [kworker/u:28]
302 ? S 0:00 [kworker/u:29]
305 ? S 0:00 [kworker/1:1]
372 ? S< 0:00 [kworker/0:1H]
374 ? S 0:00 [scsi_eh_32]
380 ? S 0:00 [kworker/2:2]
385 ? S< 0:00 [kdmflush]
398 ? S< 0:00 [kdmflush]
408 ? S 0:00 [jbd2/dm-0-8]
409 ? S< 0:00 [ext4-dio-unwrit]
505 ? S 0:00 upstart-udev-bridge --daemon
512 ? Ss 0:00 /sbin/udevd --daemon
820 ? S 0:00 /sbin/udevd --daemon
821 ? S 0:00 /sbin/udevd --daemon
843 ? S< 0:00 [ttm_swap]
866 ? S< 0:00 [kpsmoused]
871 ? Ss 0:00 dbus-daemon --system --fork --activation=upstart
875 ? S 0:00 [flush-8:0]
876 ? S 0:00 [flush-252:0]
878 ? Sl 0:00 rsyslogd -c5
879 ? Ss 0:00 /usr/sbin/bluetoothd
915 ? S< 0:00 [krfcommd]
917 ? S 0:00 upstart-socket-bridge --daemon
1052 ? Ss 0:00 /usr/sbin/sshd -D
1139 tty4 Ss+ 0:00 /sbin/getty -8 38400 tty4
1146 tty5 Ss+ 0:00 /sbin/getty -8 38400 tty5
1154 tty2 Ss+ 0:00 /sbin/getty -8 38400 tty2
1155 tty3 Ss+ 0:00 /sbin/getty -8 38400 tty3
1157 tty6 Ss+ 0:00 /sbin/getty -8 38400 tty6
1160 ? Ss 0:00 acpid -c /etc/acpi/events -s /var/run/acpid.socket
1165 ? Ss 0:00 /usr/sbin/irqbalance
1167 ? Ss 0:00 atd
1168 ? Ss 0:00 cron
1182 ? Ssl 0:00 whoopsie
1247 ? S 0:00 /bin/sh /opt/lampp/bin/mysqld_safe --datadir=/opt/lampp/var/mysql --pid-file=/opt/lampp/var/mysql/ubuntu.pid
1718 ? Sl 0:00 /opt/lampp/sbin/mysqld --basedir=/opt/lampp --datadir=/opt/lampp/var/mysql --plugin-dir=/opt/lampp/lib/mysql/plugin --user=nobody --log-error=/opt/lampp/var/mysql/ubuntu.err --pid-file=/opt/lampp/var/mysql/ubuntu.pid --socket=/opt/lampp/var/mysql/mysql.sock --port=3306
1768 ? Ss 0:00 /opt/lampp/bin/httpd -k start -DSSL -DPHP5 -E /opt/lampp/logs/error_log
1779 ? Sl 0:11 /usr/java/jre1.5.0_21/bin/java -Djava.util.logging.config.file=/opt/apache-tomcat-5.5.28/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.endorsed.dirs=/opt/apache-tomcat-5.5.28/common/endorsed -classpath /opt/apache-tomcat-5.5.28/bin/bootstrap.jar -Dcatalina.base=/opt/apache-tomcat-5.5.28 -Dcatalina.home=/opt/apache-tomcat-5.5.28 -Djava.io.tmpdir=/opt/apache-tomcat-5.5.28/temp org.apache.catalina.startup.Bootstrap start
1781 ? S 0:00 /opt/lampp/bin/httpd -k start -DSSL -DPHP5 -E /opt/lampp/logs/error_log
1782 ? S 0:00 /opt/lampp/bin/httpd -k start -DSSL -DPHP5 -E /opt/lampp/logs/error_log
1783 ? S 0:00 /opt/lampp/bin/httpd -k start -DSSL -DPHP5 -E /opt/lampp/logs/error_log
1784 ? S 0:00 /opt/lampp/bin/httpd -k start -DSSL -DPHP5 -E /opt/lampp/logs/error_log
1785 ? S 0:00 /opt/lampp/bin/httpd -k start -DSSL -DPHP5 -E /opt/lampp/logs/error_log
1786 ? S 0:00 /opt/lampp/bin/httpd -k start -DSSL -DPHP5 -E /opt/lampp/logs/error_log
1829 tty1 Ss 0:00 /bin/login --
1954 ? S 0:00 CRON
1955 ? Ss 0:00 /bin/sh -c test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
1956 ? S 0:00 run-parts --report /etc/cron.daily
1959 ? S 0:00 /bin/sh /etc/cron.daily/apt
2120 ? Sl 0:00 /usr/sbin/console-kit-daemon --no-daemon
2187 ? Sl 0:00 /usr/lib/policykit-1/polkitd --no-debug
2197 tty1 S+ 0:00 -bash
2290 ? S 0:00 sleep 279
2291 ? S< 0:00 [kworker/3:1H]
2327 tty1 Sl 0:00 ./logservice logservice.conf
2341 tty1 Sl 0:00 ./uniquenamed gamesys.conf
2358 tty1 S 0:00 /bin/sh ./authd
2360 tty1 Sl 0:00 /usr/java/jre1.6.0_12/bin/java -cp /PWServer/151/authd/lib/mysql.jar:/PWServer/151/authd/lib/jio.jar:/PWServer/151/authd/lib/application.jar:/PWServer/151/authd/lib/commons-collections-3.1.jar:/PWServer/151/authd/lib/commons-dbcp-1.2.1.jar:/PWServer/151/authd/lib/commons-pool-1.2.jar:/PWServer/151/authd/lib/commons-logging-1.0.4.jar:/PWServer/151/authd/lib/log4j-1.2.9.jar:.:.:/usr/java/jre1.6.0_12/lib/dt.jar:/usr/java/jre1.6.0_12/lib/tools.jar:/usr/java/jre1.6.0_12/lib/mysql-connector-java-3.0.16-ga-bin.jar authd table.xml 123456
2400 tty1 Sl 0:00 ./gamedbd gamesys.conf
2430 tty1 S 0:00 ./gacd gamesys.conf
2438 tty1 S 0:00 ./gfactiond gamesys.conf
2446 tty1 S 0:00 ./gdeliveryd gamesys.conf
2454 tty1 S 0:00 ./glinkd gamesys.conf 1
2455 tty1 S 0:00 ./glinkd gamesys.conf 2
2456 tty1 S 0:00 ./glinkd gamesys.conf 3
2457 tty1 S 0:00 ./glinkd gamesys.conf 4
2465 tty1 Sl 0:11 ./gs gs01
2514 ? Sl 0:03 ./gs is01
2518 ? Sl 0:02 ./gs is02
2570 ? Ss 0:00 sshd: root@notty
2572 ? S 0:00 /opt/lampp/bin/httpd -k start -DSSL -DPHP5 -E /opt/lampp/logs/error_log
2711 ? Ss 0:00 -bash
2716 ? R 0:00 ps -A w
PID TTY STAT TIME COMMAND
1 ? Ss 0:02 /sbin/init
2 ? S 0:00 [kthreadd]
3 ? S 0:00 [ksoftirqd/0]
4 ? S 0:00 [kworker/0:0]
5 ? S< 0:00 [kworker/0:0H]
7 ? S< 0:00 [kworker/u:0H]
8 ? S 0:00 [migration/0]
9 ? S 0:00 [rcu_bh]
10 ? S 0:00 [rcu_sched]
11 ? S 0:00 [watchdog/0]
12 ? S 0:00 [watchdog/1]
13 ? S 0:00 [ksoftirqd/1]
14 ? S 0:01 [migration/1]
15 ? S 0:00 [kworker/1:0]
16 ? S< 0:00 [kworker/1:0H]
17 ? S 0:00 [watchdog/2]
18 ? S 0:00 [ksoftirqd/2]
19 ? S 0:00 [migration/2]
20 ? S 0:00 [kworker/2:0]
21 ? S< 0:00 [kworker/2:0H]
22 ? S 0:00 [watchdog/3]
23 ? S 0:00 [ksoftirqd/3]
24 ? S 0:00 [migration/3]
25 ? S 0:00 [kworker/3:0]
26 ? S< 0:00 [kworker/3:0H]
27 ? S< 0:00 [cpuset]
28 ? S< 0:00 [khelper]
29 ? S 0:00 [kdevtmpfs]
30 ? S< 0:00 [netns]
31 ? S 0:00 [bdi-default]
32 ? S< 0:00 [kintegrityd]
33 ? S< 0:00 [kblockd]
34 ? S< 0:00 [ata_sff]
35 ? S 0:00 [khubd]
36 ? S< 0:00 [md]
37 ? S< 0:00 [devfreq_wq]
38 ? S 0:00 [kworker/0:1]
40 ? S 0:00 [khungtaskd]
41 ? S 0:00 [kswapd0]
42 ? SN 0:00 [ksmd]
43 ? SN 0:00 [khugepaged]
44 ? S 0:00 [fsnotify_mark]
45 ? S 0:00 [ecryptfs-kthrea]
46 ? S< 0:00 [crypto]
57 ? S< 0:00 [kthrotld]
60 ? S 0:00 [kworker/3:1]
61 ? S 0:00 [scsi_eh_0]
62 ? S 0:00 [scsi_eh_1]
64 ? S< 0:00 [binder]
84 ? S< 0:00 [deferwq]
85 ? S< 0:00 [charger_manager]
186 ? S< 0:00 [mpt_poll_0]
187 ? S< 0:00 [mpt/0]
188 ? S 0:00 [scsi_eh_2]
190 ? S 0:00 [scsi_eh_3]
191 ? S 0:00 [scsi_eh_4]
226 ? S 0:00 [scsi_eh_5]
233 ? S 0:00 [scsi_eh_6]
239 ? S 0:00 [scsi_eh_7]
240 ? S 0:00 [scsi_eh_8]
243 ? S 0:00 [scsi_eh_9]
244 ? S 0:00 [scsi_eh_10]
248 ? S 0:00 [scsi_eh_11]
250 ? S 0:00 [scsi_eh_12]
251 ? S 0:00 [scsi_eh_13]
252 ? S 0:00 [scsi_eh_14]
253 ? S 0:00 [scsi_eh_15]
254 ? S 0:00 [scsi_eh_16]
258 ? S 0:00 [scsi_eh_17]
260 ? S 0:00 [scsi_eh_18]
262 ? S 0:00 [scsi_eh_19]
263 ? S 0:00 [scsi_eh_20]
264 ? S 0:00 [scsi_eh_21]
265 ? S 0:00 [scsi_eh_22]
266 ? S 0:00 [scsi_eh_23]
267 ? S 0:00 [scsi_eh_24]
268 ? S 0:00 [scsi_eh_25]
269 ? S 0:00 [scsi_eh_26]
271 ? S 0:00 [scsi_eh_27]
272 ? S 0:00 [scsi_eh_28]
274 ? S 0:00 [scsi_eh_29]
275 ? S 0:00 [scsi_eh_30]
276 ? S 0:00 [scsi_eh_31]
301 ? S 0:00 [kworker/u:28]
302 ? S 0:00 [kworker/u:29]
305 ? S 0:00 [kworker/1:1]
372 ? S< 0:00 [kworker/0:1H]
374 ? S 0:00 [scsi_eh_32]
380 ? S 0:00 [kworker/2:2]
385 ? S< 0:00 [kdmflush]
398 ? S< 0:00 [kdmflush]
408 ? S 0:00 [jbd2/dm-0-8]
409 ? S< 0:00 [ext4-dio-unwrit]
505 ? S 0:00 upstart-udev-bridge --daemon
512 ? Ss 0:00 /sbin/udevd --daemon
820 ? S 0:00 /sbin/udevd --daemon
821 ? S 0:00 /sbin/udevd --daemon
843 ? S< 0:00 [ttm_swap]
866 ? S< 0:00 [kpsmoused]
871 ? Ss 0:00 dbus-daemon --system --fork --activation=upstart
875 ? S 0:00 [flush-8:0]
876 ? S 0:00 [flush-252:0]
878 ? Sl 0:00 rsyslogd -c5
879 ? Ss 0:00 /usr/sbin/bluetoothd
915 ? S< 0:00 [krfcommd]
917 ? S 0:00 upstart-socket-bridge --daemon
1052 ? Ss 0:00 /usr/sbin/sshd -D
1139 tty4 Ss+ 0:00 /sbin/getty -8 38400 tty4
1146 tty5 Ss+ 0:00 /sbin/getty -8 38400 tty5
1154 tty2 Ss+ 0:00 /sbin/getty -8 38400 tty2
1155 tty3 Ss+ 0:00 /sbin/getty -8 38400 tty3
1157 tty6 Ss+ 0:00 /sbin/getty -8 38400 tty6
1160 ? Ss 0:00 acpid -c /etc/acpi/events -s /var/run/acpid.socket
1165 ? Ss 0:00 /usr/sbin/irqbalance
1167 ? Ss 0:00 atd
1168 ? Ss 0:00 cron
1182 ? Ssl 0:00 whoopsie
1247 ? S 0:00 /bin/sh /opt/lampp/bin/mysqld_safe --datadir=/opt/lampp/var/mysql --pid-file=/opt/lampp/var/mysql/ubuntu.pid
1718 ? Sl 0:00 /opt/lampp/sbin/mysqld --basedir=/opt/lampp --datadir=/opt/lampp/var/mysql --plugin-dir=/opt/lampp/lib/mysql/plugin --user=nobody --log-error=/opt/lampp/var/mysql/ubuntu.err --pid-file=/opt/lampp/var/mysql/ubuntu.pid --socket=/opt/lampp/var/mysql/mysql.sock --port=3306
1768 ? Ss 0:00 /opt/lampp/bin/httpd -k start -DSSL -DPHP5 -E /opt/lampp/logs/error_log
1779 ? Sl 0:11 /usr/java/jre1.5.0_21/bin/java -Djava.util.logging.config.file=/opt/apache-tomcat-5.5.28/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.endorsed.dirs=/opt/apache-tomcat-5.5.28/common/endorsed -classpath /opt/apache-tomcat-5.5.28/bin/bootstrap.jar -Dcatalina.base=/opt/apache-tomcat-5.5.28 -Dcatalina.home=/opt/apache-tomcat-5.5.28 -Djava.io.tmpdir=/opt/apache-tomcat-5.5.28/temp org.apache.catalina.startup.Bootstrap start
1781 ? S 0:00 /opt/lampp/bin/httpd -k start -DSSL -DPHP5 -E /opt/lampp/logs/error_log
1782 ? S 0:00 /opt/lampp/bin/httpd -k start -DSSL -DPHP5 -E /opt/lampp/logs/error_log
1783 ? S 0:00 /opt/lampp/bin/httpd -k start -DSSL -DPHP5 -E /opt/lampp/logs/error_log
1784 ? S 0:00 /opt/lampp/bin/httpd -k start -DSSL -DPHP5 -E /opt/lampp/logs/error_log
1785 ? S 0:00 /opt/lampp/bin/httpd -k start -DSSL -DPHP5 -E /opt/lampp/logs/error_log
1786 ? S 0:00 /opt/lampp/bin/httpd -k start -DSSL -DPHP5 -E /opt/lampp/logs/error_log
1829 tty1 Ss 0:00 /bin/login --
1954 ? S 0:00 CRON
1955 ? Ss 0:00 /bin/sh -c test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
1956 ? S 0:00 run-parts --report /etc/cron.daily
1959 ? S 0:00 /bin/sh /etc/cron.daily/apt
2120 ? Sl 0:00 /usr/sbin/console-kit-daemon --no-daemon
2187 ? Sl 0:00 /usr/lib/policykit-1/polkitd --no-debug
2197 tty1 S+ 0:00 -bash
2290 ? S 0:00 sleep 279
2291 ? S< 0:00 [kworker/3:1H]
2327 tty1 Sl 0:00 ./logservice logservice.conf
2341 tty1 Sl 0:00 ./uniquenamed gamesys.conf
2358 tty1 S 0:00 /bin/sh ./authd
2360 tty1 Sl 0:00 /usr/java/jre1.6.0_12/bin/java -cp /PWServer/151/authd/lib/mysql.jar:/PWServer/151/authd/lib/jio.jar:/PWServer/151/authd/lib/application.jar:/PWServer/151/authd/lib/commons-collections-3.1.jar:/PWServer/151/authd/lib/commons-dbcp-1.2.1.jar:/PWServer/151/authd/lib/commons-pool-1.2.jar:/PWServer/151/authd/lib/commons-logging-1.0.4.jar:/PWServer/151/authd/lib/log4j-1.2.9.jar:.:.:/usr/java/jre1.6.0_12/lib/dt.jar:/usr/java/jre1.6.0_12/lib/tools.jar:/usr/java/jre1.6.0_12/lib/mysql-connector-java-3.0.16-ga-bin.jar authd table.xml 123456
2400 tty1 Sl 0:00 ./gamedbd gamesys.conf
2430 tty1 S 0:00 ./gacd gamesys.conf
2438 tty1 S 0:00 ./gfactiond gamesys.conf
2446 tty1 S 0:00 ./gdeliveryd gamesys.conf
2454 tty1 S 0:00 ./glinkd gamesys.conf 1
2455 tty1 S 0:00 ./glinkd gamesys.conf 2
2456 tty1 S 0:00 ./glinkd gamesys.conf 3
2457 tty1 S 0:00 ./glinkd gamesys.conf 4
2465 tty1 Sl 0:11 ./gs gs01
2514 ? Sl 0:03 ./gs is01
2518 ? Sl 0:02 ./gs is02
2570 ? Ss 0:00 sshd: root@notty
2572 ? S 0:00 /opt/lampp/bin/httpd -k start -DSSL -DPHP5 -E /opt/lampp/logs/error_log
2711 ? Ss 0:00 -bash
2716 ? R 0:00 ps -A w
Last edited: