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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > Virtual Host Settings not saving

Reply
 
Thread Tools Display Modes
  #11  
Old 01-19-2005, 03:22 PM
cyberzen cyberzen is offline
Member
 
Join Date: Sep 2004
Posts: 29
got these from tail stderr.log

PHP Warning: socket_connect() unable to connect [111]: Connection refused in /opt/lsws/admin/html.2.0RC5/admin/scripts/Service.php on line 279
failed to connect to server!

PHP Warning: socket_connect() unable to connect [111]: Connection refused in /opt/lsws/admin/html.2.0RC5/admin/scripts/Service.php on line 279
failed to connect to server!

PHP Warning: socket_connect() unable to connect [111]: Connection refused in /opt/lsws/admin/html.2.0RC5/admin/scripts/Service.php on line 279
failed to connect to server!
Reply With Quote
  #12  
Old 01-19-2005, 03:26 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
IPtable is configured to block connections to localhost on your server, I believe. Please change your firewall rule, otherwise, you have to restart lsws from command line.

Anything in lsws/logs/error.log?
Reply With Quote
  #13  
Old 01-19-2005, 03:54 PM
cyberzen cyberzen is offline
Member
 
Join Date: Sep 2004
Posts: 29
tail error.log

2005-01-19 14:50:06.220 [NOTICE] [AutoRestarter] child process with pid=2386 exited with status=0!
2005-01-19 14:50:12.300 [NOTICE] Reload configuration for virtual host zenhentai!
2005-01-19 14:50:12.301 [ERROR] [config:vhost:zenhentai] Path for document root is not accessible: /opt/lsws/zhentai/public_html/
2005-01-19 14:50:12.301 [ERROR] [config:vhost:zenhentai] configuration failed!

I tried changing the config for the document root to an absolute path to my home dir, but like I said can't modify it. I'll try modifying my firewall.
Reply With Quote
  #14  
Old 01-19-2005, 04:05 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
Please check the permission of that directory, does that directory exist? it is a permission problem which is not related to the function of the web admin interface.
Reply With Quote
  #15  
Old 01-19-2005, 04:11 PM
cyberzen cyberzen is offline
Member
 
Join Date: Sep 2004
Posts: 29
What directory permission should I set for config dir? I've already set document root to 777, and verified that the dir actually exsists
Reply With Quote
  #16  
Old 01-19-2005, 04:14 PM
cyberzen cyberzen is offline
Member
 
Join Date: Sep 2004
Posts: 29
Man, now my listener got problem

005-01-19 16:05:52.786 [INFO] [config:server:basic] For better obscurity, server version number is hidden in the response header.
2005-01-19 16:05:53.094 [ERROR] HttpListener::start(): Can't listen at address adminListener: Address already in use!
2005-01-19 16:05:53.094 [ERROR] HttpServer::addListener(adminListener) failed to create new listener
2005-01-19 16:05:53.094 [ERROR] [config:admin:listener:adminListener] failed to start listener on address *:7080!
2005-01-19 16:05:53.094 [ERROR] [config:admin:listener] No listener is available for admin virtual host!
2005-01-19 16:05:53.095 [ERROR] Fatal error in configuration, exit!
Reply With Quote
  #17  
Old 01-19-2005, 04:16 PM
cyberzen cyberzen is offline
Member
 
Join Date: Sep 2004
Posts: 29
Plus whenever I try to create a new listener, same thing it doesnt save the settings
Reply With Quote
  #18  
Old 01-19-2005, 04:21 PM
cyberzen cyberzen is offline
Member
 
Join Date: Sep 2004
Posts: 29
Perhaps I could edit the xml file myself? Where are the config files for listeners stored?
Reply With Quote
  #19  
Old 01-19-2005, 04:33 PM
cyberzen cyberzen is offline
Member
 
Join Date: Sep 2004
Posts: 29
I edited the admin_config.xml file to make it accept only the IP:7080 but it still giving the same error message.
Reply With Quote
  #20  
Old 01-19-2005, 04:37 PM
cyberzen cyberzen is offline
Member
 
Join Date: Sep 2004
Posts: 29
I noticed this line in error.log

2005-01-19 16:30:54.926 [NOTICE] [ADMIN] server socket: 127.0.0.1:7777

how do I change the localhost address to hardcoded IP? I think this is the one causing problems
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
Virtual Host List Not Updating on CP ryanwood Bug Reports 3 04-17-2007 10:48 AM
Virtual Host Mappings mghaught Install/Configuration 2 02-12-2007 07:48 PM
chroot virtual host possible with php? sofatime Install/Configuration 19 07-20-2006 11:07 PM
Virtual host can not be enabled, reload first! mega023 Bug Reports 6 05-15-2006 09:09 PM
Help setting up reverse proxy virtual host joe Install/Configuration 4 11-23-2005 12:33 PM


All times are GMT -7. The time now is 03:13 PM.



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