Re: There is no access to the Netonix Administration, it doe
Posted: Mon Jul 22, 2019 12:50 pm
No SFP Port connected to the unit access to the unit is via administrative VLAN in port 1
/etc/init.d/lighttpd restart
ps
cat /var/log/messages
ubnt@loma_:/www# ps
PID USER VSZ STAT COMMAND
1 ubnt 2692 S init
2 ubnt 0 SW< [kthreadd]
3 ubnt 0 SW< [ksoftirqd/0]
4 ubnt 0 SW< [watchdog/0]
5 ubnt 0 SW< [events/0]
6 ubnt 0 SW< [khelper]
21 ubnt 0 SW< [kblockd/0]
45 ubnt 0 SW [pdflush]
46 ubnt 0 SW [pdflush]
47 ubnt 0 SW< [kswapd0]
48 ubnt 0 SW< [aio/0]
58 ubnt 0 SW< [mtdblockd]
61 ubnt 0 SW< [spi-vcoreiii.0]
269 ubnt 0 SWN [jffs2_gcd_mtd6]
281 ubnt 2692 S init
292 ubnt 2680 S klogd
304 ubnt 1132 S /sbin/hotplug2 --override --persistent --max-childre
504 ubnt 2688 S watchdog -t 500ms /dev/watchdog
624 ubnt 2680 S syslogd -S -s128
752 ubnt 1988 S /usr/sbin/dropbear -p 22 -z 5 -T 60
768 nobody 2268 S shellinaboxd -s /shell:ubnt:root:/root:-/bin/sh --lo
773 ubnt 3348 S switch -g
776 nobody 2268 S shellinaboxd -s /shell:ubnt:root:/root:-/bin/sh --lo
777 ubnt 3348 S switch -g
779 ubnt 3348 S {watchdog thread} switch -g
780 ubnt 2700 S sh /usr/bin/monitor
783 ubnt 3348 S {i2c thread} switch -g
784 ubnt 3348 S {poe thread} switch -g
2900 ubnt 2060 R /usr/sbin/dropbear -p 22 -z 5 -T 60
2920 ubnt 2688 S -ash
2928 ubnt 3136 S switch -s
2967 ubnt 2688 S sh -c /bin/ash
2968 ubnt 2688 S /bin/ash
3029 ubnt 2680 S sleep 10
3030 ubnt 2684 R ps
4055 ubnt 19712 S vtss_appl -l -m -s -a -i
4056 ubnt 19712 S vtss_appl -l -m -s -a -i
4057 ubnt 19712 S {RX thread} vtss_appl -l -m -s -a -i
4060 ubnt 19712 S {event thread} vtss_appl -l -m -s -a -i
4061 ubnt 19712 S {discovery threa} vtss_appl -l -m -s -a -i
4063 ubnt 19712 S {ubnt discovery } vtss_appl -l -m -s -a -i
4072 ubnt 19712 S {erps} vtss_appl -l -m -s -a -i
4073 ubnt 19712 S {mstp_thread} vtss_appl -l -m -s -a -i
4074 ubnt 19712 S {lacp_thread} vtss_appl -l -m -s -a -i
4075 ubnt 19712 S vtss_appl -l -m -s -a -i
4076 ubnt 19712 S vtss_appl -l -m -s -a -i
4077 ubnt 19712 S {port thread} vtss_appl -l -m -s -a -i
4078 ubnt 19712 S {status_thread} vtss_appl -l -m -s -a -i
ubnt@loma_:/www# cat /var/log/messages
Dec 31 20:00:04 kernel: NET: Registered protocol family 17
Dec 31 20:00:04 kernel: 802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
Dec 31 20:00:04 kernel: All bugs added by David S. Miller <davem@redhat.com>
Dec 31 20:00:04 kernel: VFS: Mounted root (squashfs filesystem) readonly.
Dec 31 20:00:04 kernel: Freeing unused kernel memory: 116k freed
Dec 31 20:00:04 kernel: Please be patient, while OpenWrt loads ...
Dec 31 20:00:04 kernel: Algorithmics/MIPS FPU Emulator v1.5
Dec 31 20:00:04 kernel: mini_fo: using base directory: /
Dec 31 20:00:04 kernel: mini_fo: using storage directory: /jffs
Dec 31 20:00:04 kernel: JFFS2 notice: (269) check_node_data: wrong data CRC in data node at 0x000c000c: read 0x3cb52fc0, calculated 0x580773df.
Dec 31 20:00:04 sysinit: killall: udhcpc: no process killed
Dec 31 20:00:06 netonix: 1.5.4 on WS-12-250-DC
Dec 31 20:00:07 kernel: vtss_core: module license '(c) Vitesse Semiconductor Inc.' taints kernel.
Dec 31 20:00:07 kernel: switch: 'Luton26' board detected
Dec 31 20:00:09 kernel: vtss_port: Loaded port module on board Luton26, type 5
Dec 31 20:00:10 kernel: nf_conntrack version 0.5.0 (2048 buckets, 8192 max)
Dec 31 20:00:10 system: Setting MAC address from flash configuration: EC:13:B2:81:C4:8C
Dec 31 20:00:10 kernel: i2c /dev entries driver
Dec 31 20:00:10 kernel: i2c_vcoreiii i2c_vcoreiii: i2c bus driver on IRQ 19
Dec 31 20:00:11 sysinit: Loading defaults
Dec 31 20:00:12 system: starting ntpclient
Dec 31 20:00:12 sysinit: Adding custom chains
Dec 31 20:00:12 sysinit: Loading zones
Dec 31 20:00:12 sysinit: Loading forwarding
Dec 31 20:00:12 sysinit: Loading redirects
Dec 31 20:00:12 sysinit: Loading rules
Dec 31 20:00:12 sysinit: Loading includes
Dec 31 20:00:13 ubnt: adding lan (eth0) to firewall zone lan
Dec 31 20:00:16 syslogd exiting
Dec 31 20:00:17 syslogd started: BusyBox v1.19.4
Dec 31 20:00:23 sysinit: 1969-12-31 20:00:23: (configfile.c.867) source: /etc/lighttpd.conf line: 47 pos: 19 missing closing quote
Dec 31 20:00:23 sysinit: 1969-12-31 20:00:23: (configfile.c.1075) configfile parser failed at: =>
Dec 31 20:00:24 dropbear[752]: Running in background
Dec 31 20:00:25 switch[783]: temp sensor version 3
Dec 31 20:00:26 switch[784]: Detected warm boot
Dec 31 20:00:27 system: starting ntpclient
Dec 31 20:00:30 switch[783]: !Low voltage warning (22.0V <= Threshold 21.6V)
Dec 31 20:00:33 Port: link state changed to 'up' (100M-F) on port 1
Dec 31 20:00:33 Port: link state changed to 'up' (100M-F) on port 3
Dec 31 20:00:38 system: starting ntpclient
Oct 4 13:36:08 sSMTP[824]: Creating SSL connection to host
Oct 4 13:36:08 sSMTP[824]: SSL connection using AES128-SHA
Oct 4 13:36:11 sSMTP[824]: Sent mail for hifinava@gmail.com (221 2.0.0 closing connection h136sm1898117ywc.83 - gsmtp) uid=0 username=ubnt outbytes=507
Oct 4 13:36:16 system: time set by NTP server
Oct 4 13:56:26 switch[783]: !Low voltage warning (22.0V <= Threshold 22.0V)
Oct 4 13:56:26 sSMTP[2985]: Creating SSL connection to host
Oct 4 13:56:26 sSMTP[2985]: SSL connection using AES128-SHA
Oct 4 13:56:30 sSMTP[2985]: Sent mail for hifinava@gmail.com (221 2.0.0 closing connection w8sm1562312ywc.20 - gsmtp) uid=0 username=ubnt outbytes=507
Oct 4 13:57:31 syslogd exiting
Oct 4 13:57:32 syslogd started: BusyBox v1.19.4
Oct 4 13:57:43 monitor: restarting vtss_appl
Oct 4 14:00:04 syslogd exiting
Oct 4 14:00:05 syslogd started: BusyBox v1.19.4
Oct 4 14:00:07 switch[784]: PoE enabled on port 5, PoE Smart is starting cable check
Oct 4 14:00:07 switch[784]: PoE enabled on port 10, PoE Smart is starting cable check
Oct 4 14:00:11 switch[784]: Port 5 cable check results: Open, Open, Open, Open
Oct 4 14:00:11 switch[784]: Port 5 passed PoE Smart cable check, turning on power
Oct 4 14:00:11 switch[784]: Port 10 cable check results: Open, Open, Open, Open
Oct 4 14:00:11 switch[784]: Port 10 passed PoE Smart cable check, turning on power
Oct 4 14:02:31 Port: link state changed to 'up' (100M-F) on port 11
Oct 4 14:02:32 Port: link state changed to 'up' (100M-F) on port 12
Oct 4 14:02:38 syslogd exiting
Oct 4 14:02:39 syslogd started: BusyBox v1.19.4
Oct 4 14:02:40 monitor: restarting vtss_appl
Oct 4 14:02:40 switch[784]: PoE enabled on port 9, PoE Smart is starting cable check
Oct 4 14:02:44 switch[784]: Port 9 cable check results: Open, Open, Open, Open
Oct 4 14:02:44 switch[784]: Port 9 passed PoE Smart cable check, turning on power
Oct 4 14:03:02 Port: link state changed to 'up' (10M-F) on port 9
Oct 4 14:03:03 Port: link state changed to 'down' on port 9
Oct 4 14:03:04 Port: link state changed to 'up' (10M-F) on port 9
Oct 4 14:03:29 Port: link state changed to 'down' on port 9
Oct 4 14:03:31 Port: link state changed to 'up' (100M-F) on port 9
Oct 4 14:03:33 Port: link state changed to 'down' on port 9
Oct 4 14:03:35 Port: link state changed to 'up' (100M-F) on port 9
Oct 4 14:03:40 Port: link state changed to 'down' on port 12
Oct 4 14:03:40 Port: link state changed to 'down' on port 11
Oct 4 14:05:16 syslogd exiting
Oct 4 14:05:17 syslogd started: BusyBox v1.19.4
Oct 4 14:05:25 monitor: restarting vtss_appl
Oct 4 14:06:47 syslogd exiting
Oct 4 14:06:48 syslogd started: BusyBox v1.19.4
Oct 4 14:06:49 switch[784]: PoE enabled on port 10, PoE Smart is starting cable check
Oct 4 14:06:54 switch[784]: Port 10 cable check results: Open, Open, Open, Open
Oct 4 14:06:54 switch[784]: Port 10 passed PoE Smart cable check, turning on power
Oct 4 14:07:39 syslogd exiting
Oct 4 14:07:40 syslogd started: BusyBox v1.19.4
Oct 4 14:08:20 syslogd exiting
Oct 4 14:08:21 syslogd started: BusyBox v1.19.4
Oct 4 14:08:23 switch[784]: PoE enabled on port 2, PoE Smart is starting cable check
Oct 4 14:08:28 switch[784]: Port 2 cable check results: Open, Open, Open, Open
Oct 4 14:08:28 switch[784]: Port 2 passed PoE Smart cable check, turning on power
Oct 4 16:22:08 Port: link state changed to 'up' (100M-F) on port 11
Oct 4 16:22:08 Port: link state changed to 'up' (100M-F) on port 12
Oct 4 16:28:14 Port: link state changed to 'down' on port 12
Oct 4 16:28:14 Port: link state changed to 'down' on port 11
Oct 4 16:29:03 Port: link state changed to 'up' (100M-F) on port 11
Oct 4 16:50:49 Port: link state changed to 'down' on port 11
Oct 4 17:02:07 Port: link state changed to 'up' (100M-F) on port 11
Oct 4 17:02:07 Port: link state changed to 'up' (100M-F) on port 12
Oct 4 17:35:53 Port: link state changed to 'down' on port 12
Oct 4 17:35:53 Port: link state changed to 'down' on port 11
Oct 4 17:44:47 Port: link state changed to 'up' (100M-F) on port 11
Oct 4 17:44:48 Port: link state changed to 'up' (100M-F) on port 12
Oct 5 06:26:41 Port: link state changed to 'down' on port 12
Oct 5 06:26:41 Port: link state changed to 'down' on port 11
Oct 5 10:38:30 Port: link state changed to 'up' (100M-F) on port 11
Oct 5 10:38:30 Port: link state changed to 'up' (100M-F) on port 12
Oct 5 15:20:22 Port: link state changed to 'down' on port 12
Oct 5 15:20:22 Port: link state changed to 'down' on port 11
Oct 5 15:20:37 Port: link state changed to 'up' (100M-F) on port 11
Oct 5 15:20:37 Port: link state changed to 'up' (100M-F) on port 12
Oct 5 21:29:03 Port: link state changed to 'down' on port 12
Oct 5 21:29:03 Port: link state changed to 'down' on port 11
Oct 5 21:29:17 Port: link state changed to 'up' (100M-F) on port 11
Oct 5 21:29:17 Port: link state changed to 'up' (100M-F) on port 12
ubnt@loma_:/www#
Stephen wrote:To regain access, try to run the following:
- Code: Select all
/etc/init.d/lighttpd restart
If that doesn't work then please show the output from the following (record the output separately)
- Code: Select all
ps
cat /var/log/messages
If you do manage to regain access to the interface, please upgrade to 1.5.5rc2 - several of the fixes there may have been relevant to this situation.
jg0007 wrote:Dec 31 20:00:23 sysinit: 1969-12-31 20:00:23: (configfile.c.867) source: /etc/lighttpd.conf line: 47 pos: 19 missing closing quote
cat /etc/lighttpd.conf
reload defaults
jg0007 wrote:Dec 31 20:00:04 kernel: JFFS2 notice: (269) check_node_data: wrong data CRC in data node at 0x000c000c: read 0x3cb52fc0, calculated 0x580773df.
Stephen wrote:If you do manage to regain access to the interface, please upgrade to 1.5.5rc2 - several of the fixes there may have been relevant to this situation.
Stephen wrote:jg0007 wrote:Dec 31 20:00:23 sysinit: 1969-12-31 20:00:23: (configfile.c.867) source: /etc/lighttpd.conf line: 47 pos: 19 missing closing quote
That would appear to be the reason. /etc/lighttpd.conf has an error in the config.
Try posting the contents of /etc/lighttpd.conf
- Code: Select all
cat /etc/lighttpd.conf
- Code: Select all
ubnt@loma_:/www# cat /etc/lighttpd.conf
server.port = 80
server.max-worker = 3
server.stream-response-body = 1
server.use-ipv6 = "enable"
$SERVER["socket"] == ":443" {
ssl.engine = "enable"
ssl.pemfile = "/etc/config/lighttpd.pem"
}
# bounce all HTTP requests to HTTPS
$HTTP["scheme"] == "nomatch" {
$HTTP["host"] =~ "([^:/]+)" {
url.redirect = ("^/(.*)" => "https://%1/$1")
}
}
server.modules = (
"mod_rewrite",
"mod_redirect",
# "mod_alias",
# "mod_auth",
# "mod_status",
# "mod_setenv",
"mod_fastcgi",
"mod_proxy",
# "mod_simple_vhost",
"mod_cgi",
# "mod_ssi",
# "mod_usertrack",
# "mod_expire"
)
server.network-backend = "write"
server.document-root = "/www/"
index-file.names = ( "index.html", "default.html", "index.htm", "default.htm", " index.php" )
mimetype.assign = (
".pdf" => "application/pdf",
".class" => "application/octet-stream",
".pac" => "application/x-ns-proxy-autoconfig",
".swf" => "application/x-shockwave-flash",
".wav" => "audio/x-wav",
".gif" => "image/gif",
ubnt@loma_:/www#
ubnt@loma_:/www# BusyBox v1.19.4 (2018-06-01 19:38:44 EDT) built-in shell (ash)
/bin/ash: syntax error: unexpected "("
ubnt@loma_:/www# Enter 'help' for a list of built-in commands.
/bin/ash: Enter: not found
ubnt@loma_:/www#
ubnt@loma_:/www# ubnt@loma_:/www# cat /etc/lighttpd.conf
server.port = 80
/bin/ash: ubnt@loma_:/www#: not found
ubnt@loma_:/www# server.port = 80
/bin/ash: server.port: not found
ubnt@loma_:/www# server.max-worker = 3
/bin/ash: server.max-worker: not found
ubnt@loma_:/www# server.stream-response-body = 1
/bin/ash: server.stream-response-body: not found
ubnt@loma_:/www# server.use-ipv6 = "enable"
/bin/ash: server.use-ipv6: not found
ubnt@loma_:/www#
ubnt@loma_:/www# $SERVER["socket"] == ":443" {
/bin/ash: [socket]: not found
ubnt@loma_:/www# ssl.engine = "enable"
/bin/ash: ssl.engine: not found
ubnt@loma_:/www# ssl.pemfile = "/etc/config/lighttpd.pem"
/bin/ash: ssl.pemfile: not found
ubnt@loma_:/www# }
/bin/ash: syntax error: unexpected "}"
ubnt@loma_:/www#
ubnt@loma_:/www# # bounce all HTTP requests to HTTPS
ubnt@loma_:/www# $HTTP["scheme"] == "nomatch" {
/bin/ash: [scheme]: not found
ubnt@loma_:/www# $HTTP["host"] =~ "([^:/]+)" {
/bin/ash: [host]: not found
ubnt@loma_:/www# url.redirect = ("^/(.*)" => "https://%1/$1")
/bin/ash: syntax error: unexpected "("
ubnt@loma_:/www# }
/bin/ash: syntax error: unexpected "}"
ubnt@loma_:/www# }
/bin/ash: syntax error: unexpected "}"
ubnt@loma_:/www#
ubnt@loma_:/www# server.modules = (
/bin/ash: syntax error: unexpected "("
ubnt@loma_:/www# "mod_rewrite",
/bin/ash: mod_rewrite,: not found
ubnt@loma_:/www# "mod_redirect",
/bin/ash: mod_redirect,: not found
ubnt@loma_:/www# # "mod_alias",
ubnt@loma_:/www# # "mod_auth",
ubnt@loma_:/www# # "mod_status",
ubnt@loma_:/www# # "mod_setenv",
ubnt@loma_:/www# "mod_fastcgi",
/bin/ash: mod_fastcgi,: not found
ubnt@loma_:/www# "mod_proxy",
/bin/ash: mod_proxy,: not found
ubnt@loma_:/www# # "mod_simple_vhost",
ubnt@loma_:/www# "mod_cgi",
/bin/ash: mod_cgi,: not found
ubnt@loma_:/www# # "mod_ssi",
ubnt@loma_:/www# # "mod_usertrack",
ubnt@loma_:/www# # "mod_expire"
ubnt@loma_:/www# )
/bin/ash: syntax error: unexpected ")"
ubnt@loma_:/www#
ubnt@loma_:/www# server.network-backend = "write"
/bin/ash: server.network-backend: not found
ubnt@loma_:/www#
ubnt@loma_:/www# server.document-root = "/www/"
/bin/ash: server.document-root: not found
ubnt@loma_:/www#
ubnt@loma_:/www# index-file.names = ( "index.html", "default.html", "index.htm", "default.htm", "
index.php" )
/bin/ash: syntax error: unexpected "("
ubnt@loma_:/www#
ubnt@loma_:/www# mimetype.assign = (
/bin/ash: syntax error: unexpected "("
ubnt@loma_:/www# ".pdf" => "application/pdf",
/bin/ash: can't create application/pdf,: nonexistent directory
/bin/ash: .pdf: not found
ubnt@loma_:/www# ".class" => "application/octet-stream",
/bin/ash: can't create application/octet-stream,: nonexistent directory
/bin/ash: .class: not found
ubnt@loma_:/www# ".pac" => "application/x-ns-proxy-autoconfig",
/bin/ash: can't create application/x-ns-proxy-autoconfig,: nonexistent directory
/bin/ash: .pac: not found
ubnt@loma_:/www# ".swf" => "application/x-shockwave-flash",
/bin/ash: can't create application/x-shockwave-flash,: nonexistent directory
/bin/ash: .swf: not found
ubnt@loma_:/www# ".wav" => "audio/x-wav",
/bin/ash: can't create audio/x-wav,: nonexistent directory
/bin/ash: .wav: not found
ubnt@loma_:/www# ".gif" => "image/gif",
/bin/ash: can't create image/gif,: nonexistent directory
/bin/ash: .gif: not found
ubnt@loma_:/www#
ubnt@loma_:/www# clear
ubnt@loma_:/www# cat /etc/lighttpd.conf
server.port = 80
server.max-worker = 3
server.stream-response-body = 1
server.use-ipv6 = "enable"
$SERVER["socket"] == ":443" {
ssl.engine = "enable"
ssl.pemfile = "/etc/config/lighttpd.pem"
}
# bounce all HTTP requests to HTTPS
$HTTP["scheme"] == "nomatch" {
$HTTP["host"] =~ "([^:/]+)" {
url.redirect = ("^/(.*)" => "https://%1/$1")
}
}
server.modules = (
"mod_rewrite",
"mod_redirect",
# "mod_alias",
# "mod_auth",
# "mod_status",
# "mod_setenv",
"mod_fastcgi",
"mod_proxy",
# "mod_simple_vhost",
"mod_cgi",
# "mod_ssi",
# "mod_usertrack",
# "mod_expire"
)
server.network-backend = "write"
server.document-root = "/www/"
index-file.names = ( "index.html", "default.html", "index.htm", "default.htm", "index.php" )
mimetype.assign = (
".pdf" => "application/pdf",
".class" => "application/octet-stream",
".pac" => "application/x-ns-proxy-autoconfig",
".swf" => "application/x-shockwave-flash",
".wav" => "audio/x-wav",
".gif" => "image/gif",
".jpg" => "ubnt@loma_:/www#
Or, you can also try defaulting the switches configuration
In the CLI (not the linux terminal) run
- Code: Select all
reload defaults
- Code: Select all
If I execute this command I do not lose the configuration made the netonix?
However, this happened in 1 of 3 ways.
1) You for may have been editing the lighttpd.conf file directly and made a mistake when saving
2) Upon saving changes from the web UI, a corruption occurred during the update
3) It's possible the flash are beginning to go bad.
For the third possibility there is reason to believe that might be what's happening because of the log statement:jg0007 wrote:Dec 31 20:00:04 kernel: JFFS2 notice: (269) check_node_data: wrong data CRC in data node at 0x000c000c: read 0x3cb52fc0, calculated 0x580773df.
JFFS2 is referencing the flash where the config data and the firmware itself is stored. So it's possible that's why this error occurred.
nano /etc/lighttpd.conf.new
server.port = 80
server.max-worker = 3
server.stream-response-body = 1
server.use-ipv6 = "enable"
$SERVER["socket"] == ":443" {
ssl.engine = "enable"
ssl.pemfile = "/etc/config/lighttpd.pem"
}
# bounce all HTTP requests to HTTPS
$HTTP["scheme"] == "http" {
$HTTP["host"] =~ "([^:/]+)" {
url.redirect = ("^/(.*)" => "https://%1/$1")
}
}
server.modules = (
"mod_rewrite",
"mod_redirect",
# "mod_alias",
# "mod_auth",
# "mod_status",
# "mod_setenv",
"mod_fastcgi",
"mod_proxy",
# "mod_simple_vhost",
"mod_cgi",
# "mod_ssi",
# "mod_usertrack",
# "mod_expire"
)
server.network-backend = "write"
server.document-root = "/www/"
index-file.names = ( "index.html", "default.html", "index.htm", "default.htm", "index.php" )
mimetype.assign = (
".pdf" => "application/pdf",
".class" => "application/octet-stream",
".pac" => "application/x-ns-proxy-autoconfig",
".swf" => "application/x-shockwave-flash",
".wav" => "audio/x-wav",
".gif" => "image/gif",
".jpg" => "image/jpeg",
".jpeg" => "image/jpeg",
".png" => "image/png",
".ico" => "image/x-icon",
".css" => "text/css",
".html" => "text/html",
".htm" => "text/html",
".js" => "text/javascript; charset=utf-8",
".woff" => "application/font-woff",
".txt" => "text/plain",
".dtd" => "text/xml",
".xml" => "text/xml"
)
$HTTP["url"] =~ "\.pdf$" {
server.range-requests = "disable"
}
static-file.exclude-extensions = ( ".php", ".pl", ".fcgi", ".lua", ".cgi", ".json" )
server.pid-file = "/var/run/lighttpd.pid"
server.upload-dirs = ( "/tmp" )
cgi.assign = ( ".lua" => "/usr/bin/lua", ".php" => "/usr/bin/php-cgi" )
url.rewrite = (
"^/api/v1/status/(.+)$" => "/stats.fcgi?$1",
"^/api/(.+)$" => "/api.php/$1"
)
fastcgi.server = (
".php" => ((
"bin-path" => "/usr/bin/php-fcgi",
"socket" => "/tmp/php.socket",
"max-procs" => 3,
"bin-environment" => (
"PHP_FCGI_CHILDREN" => "1",
"PHP_FCGI_MAX_REQUESTS" => "10000"
)
)),
"stats.fcgi" => ((
"bin-path" => "/www/stats.fcgi",
"socket" => "/tmp/stats.socket",
"max-procs" => 3
))
)
proxy.server = (
"/shell" =>
( (
"host" => "127.0.0.1",
"port" => 4200
) )
)
rm /etc/lighttpd.conf
mv /etc/lighttpd.conf.new /etc/lighttpd.conf
/etc/init.d/lighttpd restart
reload defaults