Fixed
Created: Nov 2, 2013
Updated: Dec 3, 2018
Resolved Date: Dec 18, 2013
Found In Version: 6.0
Fix Version: 6.0,6.0.0.2
Severity: Severe
Applicable for: Wind River Linux 6
Component/s: Userspace
The similar problem is seen again on LX25 qemumips-64, seems qemumips also doesn't work well but the symptom is different:
qemumips-64:
root@qemu309:/# curl http://localhost/phpmyadmin/
curl: (52) Empty reply from server
root@qemu309:/# echo $?
52
root@qemu309:/#
qemumips:
root@qemu132:/# curl http://localhost/phpmyadmin/
root@qemu132:/# echo $?
0
root@qemu132:/#
Problem Description
======================
LAMP does not work well on bcm-xlp
Expected Behavior
======================
LAMP works well
Observed Behavior
======================
root@XLP208A1-USB:/opt/wr-test# /etc/init.d/mysqld restart
root@XLP208A1-USB:/opt/wr-test# 131101 07:38:38 mysqld_safe Logging to '/var/log/mysqld.err'.
131101 07:38:38 mysqld_safe Starting mysqld daemon with databases from /var/mysql
root@XLP208A1-USB:/opt/wr-test# echo $?
0
root@XLP208A1-USB:/opt/wr-test# ps aux|grep mysqld
root 13465 0.2 0.0 3712 3008 pts/0 S 07:38 0:00 /bin/sh /usr/bin/mysqld_safe
mysql 13568 0.0 0.7 151552 23104 pts/0 Sl 07:38 0:00 /usr/lib/mariadb/mysqld --basedir=/usr --datadir=/var/mysql --user=mysql --log-error=/var/log/mysqld.err --pid-file=/var/lib/mysql/mysqld.pid --socket=/tmp/mysql.sock --port=3306
root 13582 0.0 0.0 2560 576 pts/0 S+ 07:39 0:00 grep mysqld
root@XLP208A1-USB:/opt/wr-test# /etc/init.d/apache2 restart
root@XLP208A1-USB:/opt/wr-test# echo $?
0
root@XLP208A1-USB:/opt/wr-test# ps aux|grep apache
root 13681 0.0 0.0 2560 576 pts/0 S+ 07:39 0:00 grep apache
root@XLP208A1-USB:/opt/wr-test# ps aux|grep httpd
root 523 0.0 0.5 35136 18688 ? Ss 03:27 0:00 /usr/sbin/httpd -D SSL -D PHP5 -k start
daemon 13596 0.0 0.3 248128 11136 ? Sl 07:39 0:00 /usr/sbin/httpd -D SSL -D PHP5 -k start
daemon 13597 0.0 0.3 248128 11136 ? Sl 07:39 0:00 /usr/sbin/httpd -D SSL -D PHP5 -k start
daemon 13602 0.0 0.3 248128 11136 ? Sl 07:39 0:00 /usr/sbin/httpd -D SSL -D PHP5 -k start
root 13689 0.0 0.0 2560 576 pts/0 S+ 07:39 0:00 grep httpd
root@XLP208A1-USB:/opt/wr-test# curl localhost | grep "It works"
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 45 100 45 0 0 4896 0 --:--:-- --:--:-- --:--:-- 7500
<html><body><h1>It works!</h1></body></html>
root@XLP208A1-USB:/opt/wr-test# curl http://localhost/phpmyadmin/
curl: (52) Empty reply from server
root@XLP208A1-USB:/opt/wr-test#
1 configure a project
/lpg-build/cdc/fast_prod/wrlinux60/dvd_install/lx23_13fa/wrlinux-6/wrlinux/configure --enable-board=bcm-xlp --enable-kernel=standard --enable-rootfs=glibc-std --with-layer=/buildarea2/fyan/wr-testing/userspace-new/ --with-template=feature/lttng2,feature/acl,feature/nfsd,feature/mysql,feature/mysql-odbc --enable-test=yes --enable-prelink=no --enable-build=profiling --enable-jobs=16 --enable-parallel-pkgbuilds=8
2. make fs
3. start target, on target
/etc/init.d/mysqld restart
/etc/init.d/apache2 restart
curl localhost | grep "It works"
curl http://localhost/phpmyadmin/