LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > 503 Service Unavailable

Reply
 
Thread Tools Display Modes
  #11  
Old 08-06-2003, 07:38 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
Default Problem solved

The problem is the configuration of IPTables (Linux Firewall), after adding rule

ALLOW INPUT from LO

PHP works fine.
Reply With Quote
  #12  
Old 02-10-2004, 04:11 AM
Boom Boom is offline
New Member
 
Join Date: Feb 2004
Location: Minsk/Belarus
Posts: 3
Default some trouble

I have a some trouble.

I compiled PHP 4.3.4 manually, and when I try to start server fastcgi create core dump in fcgi-bin

My system is Gentoo

Php compiled with

./configure --host=i686-pc-linux-gnu --sysconfdir=/etc --localstatedir=/var/lib --without-readline --with-ndbm=/usr --with-db4=/usr --with-mcrypt=/usr --with-mhash=/usr --with-gdbm=/usr --without-pgsql --with-xpm-dir=/usr/X11R6 --with-pdflib=/usr --with-gd --enable-gd-native-ttf --with-png --with-png-dir=/usr --with-jpeg --with-jpeg-dir=/usr --enable-exif --with-tiff --with-tiff-dir=/usr --with-mysql=/usr --with-mysql-sock=/var/run/mysqld/mysqld.sock --with-freetype-dir=/usr --with-ttf=/usr --with-t1lib=/usr --with-gettext --with-qtdom=/usr/qt/3 --with-pspell=/usr --with-openssl=/usr --without-imap --without-ldap --with-dom=/usr --with-dom-xslt=/usr --with-dom-exslt=/usr --without-kerberos --with-pam --disable-memory-limit --disable-ipv6 --without-curl --enable-dbx --with-zlib --with-zlib-dir=/usr --with-sablot=/usr --enable-xslt --with-xslt-sablot --with-xmlrpc --enable-wddx --with-xml --enable-mbstring=all --enable-mbregex --with-bz2=/usr --with-crack=/usr --with-cdb --enable-bcmath --enable-calendar --enable-dbase --enable-filepro --enable-ftp --with-mime-magic --enable-sockets --enable-sysvsem --enable-sysvshm --enable-sysvipc --with-iconv --enable-shmop --enable-dio --enable-inline-optimization --enable-track-vars --enable-trans-sid --enable-versioning --with-config-file-path=/etc/php/apache2-php4 --enable-fastcgi --enable-discard-path --disable-path-info-check --with-config-file-path=../conf
Reply With Quote
  #13  
Old 02-10-2004, 08:15 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
Some thing wrong with your PHP binary, maybe module conflictions, check the core file with gdb see if you can figure some thing out.

There are two "--with-config-file-path" parameters in your configuration.

I suggest You compile php with basic configuration,parameters, make sure it works, then add additional parameter gradually.

You can try "--enable-debug" as well.

Please keep us posted with the resolution.

Thanks for trying our product.
Reply With Quote
  #14  
Old 02-11-2004, 01:12 AM
Boom Boom is offline
New Member
 
Join Date: Feb 2004
Location: Minsk/Belarus
Posts: 3
I recompile with

'./configure' \
'--host=i686-pc-linux-gnu' \
'--sysconfdir=/etc' \
'--localstatedir=/var/lib' \
'--without-readline' \
'--with-ndbm=/usr' \
'--with-db4=/usr' \
'--with-mcrypt=/usr' \
'--with-mhash=/usr' \
'--with-gdbm=/usr' \
'--without-pgsql' \
'--with-xpm-dir=/usr/X11R6' \
'--with-pdflib=/usr' \
'--with-gd' \
'--enable-gd-native-ttf' \
'--with-png' \
'--with-png-dir=/usr' \
'--with-jpeg' \
'--with-jpeg-dir=/usr' \
'--enable-exif' \
'--with-tiff' \
'--with-tiff-dir=/usr' \
'--with-mysql=/usr' \
'--with-mysql-sock=/var/run/mysqld/mysqld.sock' \
'--with-freetype-dir=/usr' \
'--with-ttf=/usr' \
'--with-t1lib=/usr' \
'--with-gettext' \
'--with-pspell=/usr' \
'--with-openssl=/usr' \
'--without-imap' \
'--without-ldap' \
'--with-dom=/usr' \
'--with-dom-xslt=/usr' \
'--with-dom-exslt=/usr' \
'--without-kerberos' \
'--with-pam' \
'--disable-memory-limit' \
'--disable-ipv6' \
'--without-curl' \
'--enable-dbx' \
'--with-zlib' \
'--with-zlib-dir=/usr' \
'--with-sablot=/usr' \
'--enable-xslt' \
'--with-xslt-sablot' \
'--with-xmlrpc' \
'--enable-wddx' \
'--with-xml' \
'--enable-mbstring=all' \
'--enable-mbregex' \
'--with-bz2=/usr' \
'--with-crack=/usr' \
'--with-cdb' \
'--enable-bcmath' \
'--enable-calendar' \
'--enable-dbase' \
'--enable-filepro' \
'--enable-ftp' \
'--with-mime-magic' \
'--enable-sockets' \
'--with-iconv' \
'--enable-shmop' \
'--enable-dio' \
'--enable-inline-optimization' \
'--enable-track-vars' \
'--enable-trans-sid' \
'--enable-versioning' \
'--enable-fastcgi' \
'--enable-discard-path' \
'--disable-path-info-check' \
'--with-config-file-path=../conf' \
'--prefix=/usr' \
'--mandir=/usr/share/man' \
'--infodir=/usr/share/info' \
'--datadir=/usr/share' \
'--enable-sysvsem' \
'--enable-sysvshm' \
'--enable-sysvipc' \

and all OK;

but when I try

/opt/lsws/bin/lswsctrl stop
killall php
/opt/lsws/bin/lswsctrl start

I see this in 'ps axf'
[code:1:53873193d9]
PID TTY STAT TIME COMMAND
1 ? S 0:05 init
2 ? SW 0:00 [keventd]
3 ? SWN 0:00 [ksoftirqd_CPU0]
4 ? SW 0:08 [kswapd]
5 ? SW 0:00 [bdflush]
6 ? SW 0:02 [kupdated]
7 ? SW 0:00 [pagebufd]
8 ? SW 0:00 [xfslogd/0]
9 ? SW 0:00 [xfsdatad/0]
295 ? SW 0:00 [khubd]
327 ? SW 0:00 [kreiserfsd]
476 ? S 0:00 /sbin/devfsd /dev
1240 ? S 0:02 /usr/sbin/syslogd -m 0
1242 ? S 0:00 /usr/sbin/klogd -c 3 -2
1708 ? SW 0:00 [eth0]
1778 ? S 0:00 /usr/sbin/cron
1942 ? S 0:02 /usr/X11R6/bin/xfs -daemon -config /etc/X11/fs/config -droppriv -user xfs -port -1
1955 ? S 0:00 login -- root
1961 vc/1 S 0:00 \_ -bash
504 vc/1 S 0:00 \_ /bin/sh /usr/X11R6/bin/startx
515 vc/1 S 0:00 \_ xinit /etc/X11/xinit/xinitrc -- -nolisten tcp -deferglyphs 16
516 ? S< 2&#58;07 \_ /etc/X11/X &#58;0 -nolisten tcp -deferglyphs 16
522 vc/1 S 0&#58;00 \_ /bin/sh /etc/X11/Sessions/kde-3.1.4
537 vc/1 S 0&#58;00 \_ /bin/sh --login /usr/kde/3.1/bin/startkde
588 vc/1 S 0&#58;00 \_ kwrapper ksmserver
1956 vc/2 S 0&#58;00 /sbin/agetty 38400 tty2 linux
1957 vc/3 S 0&#58;00 /sbin/agetty 38400 tty3 linux
1958 vc/4 S 0&#58;00 /sbin/agetty 38400 tty4 linux
1959 vc/5 S 0&#58;00 /sbin/agetty 38400 tty5 linux
1960 vc/6 S 0&#58;00 /sbin/agetty 38400 tty6 linux
10867 ? SW 0&#58;00
9822 ? SW 0&#58;00 \_
10504 ? SW 0&#58;00 \_
12157 ? SW 0&#58;00 \_
13763 ? SW 0&#58;00 \_
14700 ? SW 0&#58;00 \_
15105 ? SW 0&#58;00 \_
17067 ? SW 0&#58;00 \_
18548 ? SW 0&#58;00 \_
21074 ? SW 0&#58;00 \_
25939 ? SW 0&#58;00 \_
30352 ? SW 0&#58;00 \_
31072 ? SW 0&#58;00 \_
448 ? SW 0&#58;00 \_
698 ? SW 0&#58;00 \_
1051 ? SW 0&#58;00 \_
2369 ? SW 0&#58;00 \_
3208 ? SW 0&#58;00 \_
5898 ? SW 0&#58;00 \_
10390 ? SW 0&#58;00 \_
12765 ? SW 0&#58;00 \_
14570 ? SW 0&#58;00 \_
16141 ? SW 0&#58;00 \_
17565 ? SW 0&#58;00 \_
18601 ? SW 0&#58;00 \_
19783 ? SW 0&#58;00 \_
21358 ? SW 0&#58;00 \_
21394 ? SW 0&#58;00 \_
21947 ? SW 0&#58;00 \_
22958 ? SW 0&#58;00 \_
24373 ? SW 0&#58;00 \_
25392 ? SW 0&#58;00 \_
26317 ? SW 0&#58;00 \_
27069 ? SW 0&#58;00 \_
27821 ? SW 0&#58;00 \_
27827 ? SW 0&#58;00 \_
28713 ? SW 0&#58;00 \_
29287 ? SW 0&#58;00 \_
31116 ? SW 0&#58;00 \_
780 ? SW 0&#58;00 \_
874 ? SW 0&#58;00 \_
1792 ? SW 0&#58;00 \_
3819 ? SW 0&#58;00 \_
3955 ? SW 0&#58;00 \_
4976 ? SW 0&#58;00 \_
5063 ? SW 0&#58;00 \_
5138 ? SW 0&#58;00 \_
5235 ? SW 0&#58;00 \_
6194 ? SW 0&#58;00 \_
6278 ? SW 0&#58;00 \_
7346 ? SW 0&#58;00 \_
8599 ? SW 0&#58;00 \_
9676 ? SW 0&#58;00 \_
11544 ? SW 0&#58;00 \_
13626 ? SW 0&#58;00 \_
14711 ? SW 0&#58;00 \_
15382 ? SW 0&#58;00 \_
16983 ? SW 0&#58;00 \_
18208 ? SW 0&#58;00 \_
18784 ? SW 0&#58;00 \_
19498 ? SW 0&#58;00 \_
20338 ? SW 0&#58;00 \_
20866 ? SW 0&#58;00 \_
21397 ? SW 0&#58;00 \_
22149 ? SW 0&#58;00 \_
22626 ? SW 0&#58;00 \_
22975 ? SW 0&#58;00 \_
23513 ? SW 0&#58;00 \_
24723 ? SW 0&#58;00 \_
24921 ? SW 0&#58;00 \_
28106 ? SW 0&#58;00 \_
29696 ? SW 0&#58;00 \_
30522 ? SW 0&#58;00 \_
31782 ? SW 0&#58;00 \_
719 ? SW 0&#58;00 \_
1729 ? SW 0&#58;00 \_
3006 ? SW 0&#58;00 \_
3587 ? SW 0&#58;00 \_
3971 ? SW 0&#58;00 \_
4537 ? SW 0&#58;00 \_
5341 ? SW 0&#58;00 \_
6067 ? SW 0&#58;00 \_
6893 ? SW 0&#58;00 \_
7131 ? SW 0&#58;00 \_
7514 ? SW 0&#58;00 \_
8086 ? SW 0&#58;00 \_
8497 ? SW 0&#58;00 \_
9130 ? SW 0&#58;00 \_
10024 ? SW 0&#58;00 \_
10809 ? SW 0&#58;00 \_
11747 ? SW 0&#58;00 \_
12497 ? SW 0&#58;00 \_
13323 ? SW 0&#58;00 \_
13813 ? SW 0&#58;00 \_
14736 ? SW 0&#58;00 \_
15495 ? SW 0&#58;00 \_
16803 ? SW 0&#58;00 \_
18057 ? SW 0&#58;00 \_
19361 ? SW 0&#58;00 \_
19747 ? SW 0&#58;00 \_
20464 ? SW 0&#58;00 \_
21329 ? SW 0&#58;00 \_
22579 ? SW 0&#58;00 \_
24008 ? SW 0&#58;00 \_
26586 ? SW 0&#58;00 \_
30057 ? SW 0&#58;00 \_
30319 ? SW 0&#58;00 \_
30379 ? SW 0&#58;00 \_
31418 ? SW 0&#58;00 \_
31486 ? SW 0&#58;00 \_
32443 ? SW 0&#58;00 \_
1739 ? SW 0&#58;00 \_
2884 ? SW 0&#58;00 \_
4422 ? SW 0&#58;00 \_
6051 ? SW 0&#58;00 \_
6801 ? SW 0&#58;00 \_
7842 ? SW 0&#58;00 \_
8661 ? SW 0&#58;00 \_
9689 ? SW 0&#58;00 \_
11040 ? SW 0&#58;00 \_
15460 ? SW 0&#58;00 \_
17058 ? SW 0&#58;00 \_
18102 ? SW 0&#58;00 \_
21177 ? SW 0&#58;00 \_
23600 ? SW 0&#58;00 \_
25817 ? SW 0&#58;00 \_
27614 ? SW 0&#58;00 \_
29887 ? SW 0&#58;00 \_
30377 ? SW 0&#58;00 \_
31082 ? SW 0&#58;00 \_
32195 ? SW 0&#58;00 \_
3188 ? SW 0&#58;00 \_
5700 ? SW 0&#58;00 \_
9152 ? SW 0&#58;00 \_
11194 ? SW 0&#58;00 \_
12310 ? SW 0&#58;00 \_
14588 ? SW 0&#58;00 \_
16030 ? SW 0&#58;00 \_
16088 ? SW 0&#58;00 \_
16124 ? SW 0&#58;00 \_
16163 ? SW 0&#58;00 \_
16201 ? SW 0&#58;00 \_
17338 ? SW 0&#58;00 \_
18397 ? SW 0&#58;00 \_
20408 ? SW 0&#58;00 \_
21765 ? SW 0&#58;00 \_
22992 ? SW 0&#58;00 \_
23728 ? SW 0&#58;00 \_
24698 ? SW 0&#58;00 \_
25559 ? SW 0&#58;00 \_
26296 ? SW 0&#58;00 \_
27180 ? SW 0&#58;00 \_
28066 ? SW 0&#58;00 \_
29173 ? SW 0&#58;00 \_
30639 ? SW 0&#58;00 \_
32031 ? SW 0&#58;00 \_
405 ? SW 0&#58;00 \_
1091 ? SW 0&#58;00 \_
2446 ? SW 0&#58;00 \_
2733 ? SW 0&#58;00 \_
3470 ? SW 0&#58;00 \_
5776 ? SW 0&#58;00 \_
10281 ? SW 0&#58;00 \_
11670 ? SW 0&#58;00
Reply With Quote
  #15  
Old 02-11-2004, 01:23 AM
Boom Boom is offline
New Member
 
Join Date: Feb 2004
Location: Minsk/Belarus
Posts: 3
See prev post

process with scrathed names replaced fast-cgi processes

then I reboot system and start lswhttp
all OK, no scratched processes
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ruby On Rails 503 Service Unavailable Bug mroberto Ruby/Rails 6 03-24-2007 07:06 PM
503 Service Unavailable weird Install/Configuration 7 09-20-2006 11:55 AM
strange error.. & 503 service Unavailable xinn Install/Configuration 23 10-11-2005 08:29 AM
503 Service Unavailable - while setting up Perl FastCGI nigel CGI/Perl/Python 1 02-15-2005 06:15 AM
503 Service Unavailable illidan Bug Reports 3 01-03-2005 09:27 AM


All times are GMT -7. The time now is 04:46 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.