Problems with SMP

#1
I believe this is somewhat related to my server using two CPU's, since I've got this webserver working flawless (almost) before and it has only occured now. I get
./functions.sh: line 269: /root/lsws-project/lsws-2.0.7/admin/fcgi-bin/admin_php: cannot execute binary file
just after I enter my password in the installation (both in RC and stable). The same kind of error occurs later in the installation, when it's time to start the server:
/opt/lsws/bin/lswsctrl: line 43: ./lshttpd: cannot execute binary file
[ERROR] Failed to start lshttpd!
I've got two AMD Opteron(tm) Processor 246 CPU's on this machine. Here's my /proc/cpu
processor : 0
vendor_id : AuthenticAMD
cpu family : 15
model : 5
model name : AMD Opteron(tm) Processor 246
stepping : 10
cpu MHz : 1992.145
cache size : 1024 KB
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext lm 3dnowext 3dnow
bogomips : 3940.35
TLB size : 1024 4K pages
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management: ts fid vid ttp

processor : 1
vendor_id : AuthenticAMD
cpu family : 15
model : 5
model name : AMD Opteron(tm) Processor 246
stepping : 10
cpu MHz : 1992.145
cache size : 1024 KB
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext lm 3dnowext 3dnow
bogomips : 3940.35
TLB size : 1024 4K pages
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management: ts fid vid ttp
Any ideas?

// Falcon.
 

mistwang

LiteSpeed Staff
#2
It should have nothing to do with SMP.
I think you are using a 64bits linux, and for some reason, libraries for 32bits binaries is not available, thus the 32bits binary of admin_php and lshttpd can not be started.

Make sure libraries for running 32bits application have been installed on your server. :)
 
#3
Libraries for 32bits binaries? Hmm, I'm sorry but I do not hear any bell ringin :oops: , can you be more specific?

Thanks,

// Falcon.
 

mistwang

LiteSpeed Staff
#4
Most 64 bits linux should allow running 32 bits application, maybe you can search it on google what is required for running 32 bits application on your 64bits linux distribution.
On Suse Linux x86-64 we tested, all 32 bits compatible libraries are installed by default.
 

matt

Active Member
#5
Hi, we're running into the exact same problem. Our distribution is 64-bit Ubuntu, the error is the exact same as above. Any clues on how to resolve it? I'd really love to test out Litespeed on this machine.
 
Top