Virtual host can not be enabled, reload first!

#1
I'm trying to setup this for like 3-4 hours...
and it's driving me crazy...

I'm allways getting this error: :confused:

Code:
2006-05-13 14:11:27.360	ERROR	Virtual host imageXXXXXX.com can not be enabled, reload first!
when I go to http://ImageXXXXX.com:8088/ i get that DEFAULT account,
not the one I set up.

Here are some debug info:

Server Status
Code:
Server Status
LiteSpeed/2.1.15 Standard 	Version Management
Name	PID	Actions
lshttpd	9670 	Graceful Restart    View Log    Real-Time Report    Toggle Debug Logging
Listeners
Name	Address	Status	Virtual Host Mappings
Default	*:8088	Running	
[Example] *
8088	*:8088	Error	N/A
Virtual Hosts
Name	Status	Actions
Example	Running	Disable  
imageXXXXXX.com	Disabled - Not loaded	Enable
Listener 8088
Code:
Virtual Host Mappings	   Add
Virtual Host ∧	Domains ∧	Action
imageXXXXXX	imageXXXXX.com	   Edit   Delete

PS: If someone from support stuff has ICQ, MSN or Google talk, please send me your messenger so I can ask you few more questions?

PPS: You could work a bit more on your docs :) and even make animated flash guides with soud would be great :D
 

xing

LiteSpeed Staff
#3
Mega, are you still having the same issues after following ts77's suggestion of graceful-restarting the server after your vhost change?

Please note LiteSpeed offers 24/7 Live/Phone support to customers that purchase our service agreements. It is impractical for us to supply live support for everyone though we complement that with free/prompt forum support. Forum support does take a hit on weekend for obvious reasons.

Thanks for the suggestion on the doc improvement. We are always striving to offer better documentation and are working toward that goal. We will be adding more how-tos to our wiki and improving the current documentation.
 
Last edited:
#4
ts77 said:
and *did* you reload litespeed? its an option in the admin -panel / service-manager, "graceful restart".
ok I've tried the graceful restart but it does not work...

here is my error.log
Code:
2006-05-13 14:11:19.886 [NOTICE] [Child: 11500] LiteSpeed/2.1.15 Standard starts successfully!
2006-05-13 14:11:19.886 [NOTICE] [AutoRestarter] new child process with pid=11500 is forked!
2006-05-13 14:11:20.700 [NOTICE] [Child: 11350] Shut down successfully!
2006-05-13 14:11:20.700 [NOTICE] [phpLsapi] stop worker processes
2006-05-13 14:11:20.700 [NOTICE] [AdminPHP] stop worker processes
2006-05-13 14:11:20.701 [NOTICE] [AutoRestarter] cleanup children processes and unix sockets belong to process 11350 !
2006-05-13 14:11:20.810 [NOTICE] [AutoRestarter] child process with pid=11350 exited with status=0!
2006-05-13 14:11:27.360 [ERROR] Virtual host imageXXXXX.com can not be enabled, reload first!
2006-05-13 14:11:27.361 [NOTICE] [Child: 11500] Start shutting down gracefully ...
2006-05-13 14:11:27.361 [INFO] Stop listener *:8088.
2006-05-13 14:11:27.361 [INFO] Stop listener *:7080.
2006-05-13 14:11:27.361 [NOTICE] [child: 11506] Successfully change current user to nobody
2006-05-13 14:11:27.361 [NOTICE] [Child: 11506] Core dump is enabled.
2006-05-13 14:11:27.361 [NOTICE] [Child: 11506] Setup swapping space...
2006-05-13 14:11:27.362 [NOTICE] [Child: 11506] LiteSpeed/2.1.15 Standard starts successfully!
2006-05-13 14:11:27.362 [NOTICE] [AutoRestarter] new child process with pid=11506 is forked!
2006-05-13 14:11:28.200 [NOTICE] [Child: 11500] Shut down successfully!
2006-05-13 14:11:28.200 [NOTICE] [phpLsapi] stop worker processes
2006-05-13 14:11:28.200 [NOTICE] [AdminPHP] stop worker processes
2006-05-13 14:11:28.201 [NOTICE] [AutoRestarter] cleanup children processes and unix sockets belong to process 11500 !
2006-05-13 14:11:28.310 [NOTICE] [AutoRestarter] child process with pid=11500 exited with status=0!
2006-05-14 05:00:52.596 [NOTICE] Server restart request from admin interface!
2006-05-14 05:00:52.596 [NOTICE] [Child: 11506] Start shutting down gracefully ...
2006-05-14 05:00:52.596 [INFO] Stop listener *:8088.
2006-05-14 05:00:52.596 [INFO] Stop listener *:7080.
2006-05-14 05:00:53.401 [NOTICE] [AutoRestarter] cleanup children processes and unix sockets belong to process 11506 !
2006-05-14 05:00:53.510 [NOTICE] [AutoRestarter] child process with pid=11506 exited with status=0!
2006-05-14 05:00:53.510 [NOTICE] [PID:9670] Server Stopped!
even after
Code:
root@svr1 [/usr/local/lsws/bin]# ./lswsctrl start
[OK] lshttpd: pid=4685.
it still doesn't work and I just can't access the
http://__IP___:7080/ or 8088
 

xing

LiteSpeed Staff
#5
Mega, please email two files to bug@litespeedtech.com

1) /lswsinstall/conf/httpd_config.xml

2) /yourvhost/conf/vhconf.xml

Also please note your server platform.

With these info, we will attempt to replicate your problem on our end. It appears the server is a restart loop immediately after startup.

Also, go to "Server : General" and set Log Level to Debug and and Debug Level to High. It will generate a much more detailed debug log for us to trace.

As the .xml config files + debug logs might contain sensitive information, we recommend you to email them to bug@litespeedtech.com rather posting it to the forum.
 

xing

LiteSpeed Staff
#7
Mega, thank you the detailed report. This bug has been fixed for release 2.1.16.

There is a problem in configuring bytes log file, if accessLog section exists in the vhost.xml, it will not happen.
 
Top