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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > Install on mimimal debian system.

Reply
 
Thread Tools Display Modes
  #1  
Old 02-24-2005, 08:40 PM
Da-Idiot Da-Idiot is offline
Member
 
Join Date: Jan 2005
Posts: 23
Default Install on mimimal debian system.

I cannot seem to get the lshttpd to stay running. Each time i give the "./lswsctrl start" command from within" /opt/lsws/bin/" it says it started but i do not see it when I run top.

The only process i see related to lsws is" lscgid" and each time i try to stop and restart with the lswsctrl script it just spawns another "lscgid" but lshttpd does not run.

I have tried deleting the /etc/lshttpd/ directory and all other trouble shooting steps in the documentation.

I am running the latest version of lsws.

Also I tried to apt-get install glibc-2.2 but it did not install and said

Selecting libc6 instead, Which is already installed.

The install procedure seemed to go ok. And i have tryed reinstalling twice now.

I am installing as root and running the commands from a remote box using ssh

Any help in getting this running will be of great help. Thanx

Another note.

I had it running on suse 9.2 but have just switched to debian because i could not do away with its package management apt-get as i run a command line box only. No gui

Any help please.
Reply With Quote
  #2  
Old 02-24-2005, 08:45 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,585
Any thing in lsws/logs/error.log?
Reply With Quote
  #3  
Old 02-24-2005, 08:52 PM
Da-Idiot Da-Idiot is offline
Member
 
Join Date: Jan 2005
Posts: 23
My mind is fried :shock:

It says

2005-02-24 18:23:07.327 [NOTICE] Loading LiteSpeed/2.0RC7 Standard ...
2005-02-24 18:23:07.331 [NOTICE] [ADMIN] server socket: 127.0.0.1:7563
2005-02-24 18:23:07.331 [NOTICE] Loading configuration from /opt/lsws/conf/httpd_config.xml ...
2005-02-24 18:23:07.332 [INFO] old priority: 0, new priority: 0
2005-02-24 18:23:07.332 [INFO] [config:server:basic] For better obscurity, server version number is hidden in the response header.
2005-02-24 18:23:07.334 [NOTICE] The maximum number of file descriptor limit is set to 1024.
2005-02-24 18:23:07.337 [NOTICE] [AutoRestarter] new child process with pid=926 is forked!
2005-02-24 18:23:07.339 [NOTICE] [AutoRestarter] child process with pid=926 received signal=11, no core file is created!
2005-02-24 18:23:07.339 [NOTICE] [AutoRestarter] cleanup children processes and unix sockets belong to process 926 !
Reply With Quote
  #4  
Old 02-24-2005, 08:53 PM
Da-Idiot Da-Idiot is offline
Member
 
Join Date: Jan 2005
Posts: 23
To low a pid ?
Reply With Quote
  #5  
Old 02-24-2005, 09:17 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,585
I think it is a binary/library compatibility issue.
Try starting lsws as the normal user specified during the installation, just run lsws/bin/lshttpd directly.

Also, you need to change a configuration file manully, lsws/admin/conf/admin_config.xml , search for some thing like <enableCoreDump>, set it to 1.

If it creates a core file under /tmp/lshttpd/, please send the core file to bug@litespeedtech.com.

I will take a look tomorrow. :-)
Reply With Quote
  #6  
Old 02-24-2005, 09:35 PM
Da-Idiot Da-Idiot is offline
Member
 
Join Date: Jan 2005
Posts: 23
Ok

I changed the coredump setting to 1 and saved the file.

Then i ran "lshttpd &" directly but still no go. Got the same errors as before with the new process ids.

I also checked the /tmp/lshttpd folder for a core dump file but all that is there is the pid file.

This really stinks because i love your server when i was running it on suse.

Reply With Quote
  #7  
Old 02-25-2005, 05:58 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,585
Did you start it as root or as the normal user? have to be a normal user.
Which version of debian are you using?
Reply With Quote
  #8  
Old 02-27-2005, 02:24 AM
Da-Idiot Da-Idiot is offline
Member
 
Join Date: Jan 2005
Posts: 23
I just tried to start it as a normal user, No Go

Says

Cannot determine the home of lite speed web server, exit!
Failed to start lshttpd

Can you please remind me the command to see what version of software I am running? I beleive I am running 3.0 of debian.

Hope I can get this running.
Reply With Quote
  #9  
Old 02-27-2005, 02:35 AM
Da-Idiot Da-Idiot is offline
Member
 
Join Date: Jan 2005
Posts: 23
Latest error log
2005-02-27 05:30:57.652 [ERROR] [config:vhost:Example] Path is in the access denied list:/etc/lsws/DEFAULT/html/
2005-02-27 05:30:57.652 [ERROR] [config:vhost:Example] configuration failed!
2005-02-27 05:30:57.653 [NOTICE] [AutoRestarter] new child process with pid=6273 is forked!
2005-02-27 05:30:57.655 [NOTICE] [AutoRestarter] child process with pid=6273 received signal=11, no core file is created!
2005-02-27 05:30:57.655 [NOTICE] [AutoRestarter] cleanup children processes and unix sockets belong to process 6273 !
Reply With Quote
  #10  
Old 02-27-2005, 02:44 AM
Da-Idiot Da-Idiot is offline
Member
 
Join Date: Jan 2005
Posts: 23
Just tried reinstalling to the default location. /opt/lsws

Now going back to forked process.

2005-02-27 05:36:58.974 [NOTICE] Loading LiteSpeed/2.0RC7 Standard ...
2005-02-27 05:36:58.978 [NOTICE] [ADMIN] server socket: 127.0.0.1:7337
2005-02-27 05:36:58.978 [NOTICE] Loading configuration from /opt/lsws/conf/httpd_config.xml ...
2005-02-27 05:36:58.979 [INFO] old priority: 0, new priority: 0
2005-02-27 05:36:58.979 [INFO] [config:server:basic] For better obscurity, server version number is hidden in the response header.
2005-02-27 05:36:58.982 [NOTICE] The maximum number of file descriptor limit is set to 1024.
2005-02-27 05:36:58.985 [NOTICE] [AutoRestarter] new child process with pid=6757 is forked!
2005-02-27 05:36:58.986 [NOTICE] [AutoRestarter] child process with pid=6757 received signal=11, no core file is created!
2005-02-27 05:36:58.986 [NOTICE] [AutoRestarter] cleanup children processes and unix sockets belong to process 6757 !
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
Results from a system call rjulich CGI/Perl/Python 2 02-21-2007 11:00 AM
Need help with SSL Install for subdomain/vhost malffred Install/Configuration 6 01-12-2007 02:36 PM
Yet another try to install APC weird PHP 3 09-21-2006 01:21 PM
Small Install SIze sderrick Install/Configuration 1 04-11-2005 02:09 PM


All times are GMT -7. The time now is 08:36 AM.



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