Currently running SFOS 17.1.3 MR-3, everything is working just fine.
I tried upgrading to SW-17.5.0_GA.SFW-321, but the webproxy won't start.
So I booted back to 17.1.3 MR-3, everything was working fine again.
I tried upgrading again, this time to SW-17.1.4_MR-4.SFW-254. Again, the webproxy fails to start.
Right now I'm back to the working 17.1.3 MR-3 firmware.
When the webproxy failed to start on the newer firmware versions, the awarrenhttp.log entries always stopped right after the last line from this snippet:
1548831635.915375955 [ 9654/ (nil)] awarrenhttp.c:378 main ------------------------------------------------------------------1548831635.915380792 [ 9654/ (nil)] awarrenhttp.c:379 main Starting ...1548831635.915416492 [ 9654/ (nil)] awarrenhttp.c:404 main reading configuration1548831635.915422537 [ 9654/ (nil)] config.c:378 config_init called1548831636.064432413 [ 9654/ (nil)] config.c:179 cfg_init No sandstorm license!1548831637.073973540 [ 9654/ (nil)] acl-ds-db.c:420 db_init database connection established [corporate]1548831637.076516323 [ 9654/ (nil)] acl-ds-db.c:436 db_init database connection established [signature]1548831637.077140263 [ 9654/ (nil)] acl-parsefile.c:1001 read_frm_file Processing [/static/proxy/awarrenhttp/header]1548831637.077312444 [ 9654/ (nil)] acl-common.c:769 validate_addr Not CIDR mask; continuing as it is...1548831637.077362128 [ 9654/ (nil)] acl-common.c:769 validate_addr Not CIDR mask; continuing as it is...1548831637.090675887 [ 9654/ (nil)] acl-parsefile.c:531 parse_acl_line Duplicate acl name 'ALL', at lineno 791548831638.521904444 [ 9654/ (nil)] acl-parsefile.c:1001 read_frm_file Processing [/static/proxy/awarrenhttp/tailer]1548831638.527675594 [ 9654/ (nil)] diskcache.c:1816 disk_cache_read fopen: /sdisk/httpcache/cacheidx: No such file or directory1548831638.527715113 [ 9654/ (nil)] diskcache.c:224 disk_cache_zap creating cache1548831638.755476219 [ 9673/ (nil)] diskcache.c:518 rmdir_recursive_background_func removing zapped cache root folder /sdisk/httpcache.0011548831638.755569162 [ 9654/ (nil)] awarrenhttp.c:307 init_process Limits: threads: 2, maxconns: 11264, max fd: 67708, coredump: yes1548831638.763974779 [ 9654/ (nil)] ssl.c:964 ssl_load_cert Failed to read file: '/conf/certificate/cacerts/8d28ae65.0'1548831638.764002122 [ 9654/ (nil)] ssl.c:1041 ssl_prepare_chain Couldn't find Issuer certificate1548831638.764006854 [ 9654/ (nil)] ssl.c:1221 init_portal Failed to create ssl chain1548831638.764365115 [ 9654/ (nil)] ssl.c:964 ssl_load_cert Failed to read file: '/conf/certificate/cacerts/d8ed19fe.0'1548831638.764372704 [ 9654/ (nil)] ssl.c:1041 ssl_prepare_chain Couldn't find Issuer certificate1548831638.764377030 [ 9654/ (nil)] ssl.c:1221 init_portal Failed to create ssl chain
Now I thought the problem was coming from wither the missing file or directory "/sdisk/httpcache/cacheidx", or perhaps the missing certificate files, but:
On the current firmware (17.1.3 MR-3) with a working webproxy, the log shows:
1548831832.589621911 [ 3052/ (nil)] awarrenhttp.c:378 main ------------------------------------------------------------------1548831832.589632979 [ 3052/ (nil)] awarrenhttp.c:379 main Starting ...1548831832.707459646 [ 3052/ (nil)] awarrenhttp.c:404 main reading configuration1548831832.797488620 [ 3052/ (nil)] config.c:378 config_init called1548831869.303533074 [ 3052/ (nil)] config.c:179 cfg_init No sandstorm license!1548831869.579866909 [ 3052/ (nil)] acl-ds-db.c:420 db_init database connection established [corporate]1548831869.626971402 [ 3052/ (nil)] acl-ds-db.c:436 db_init database connection established [signature]1548831869.627578249 [ 3052/ (nil)] acl-parsefile.c:1001 read_frm_file Processing [/static/proxy/awarrenhttp/header]1548831869.631299308 [ 3052/ (nil)] acl-common.c:769 validate_addr Not CIDR mask; continuing as it is...1548831869.631378706 [ 3052/ (nil)] acl-common.c:769 validate_addr Not CIDR mask; continuing as it is...1548831894.152405230 [ 3052/ (nil)] acl-parsefile.c:531 parse_acl_line Duplicate acl name 'ALL', at lineno 791548831903.234682127 [ 3052/ (nil)] acl-parsefile.c:1001 read_frm_file Processing [/static/proxy/awarrenhttp/tailer]1548831903.263270321 [ 3052/ (nil)] diskcache.c:1816 disk_cache_read fopen: /sdisk/httpcache/cacheidx: No such file or directory1548831903.263312303 [ 3052/ (nil)] diskcache.c:224 disk_cache_zap creating cache1548831903.490120754 [ 3052/ (nil)] awarrenhttp.c:307 init_process Limits: threads: 2, maxconns: 11264, max fd: 67708, coredump: yes1548831903.503588679 [ 5482/ (nil)] diskcache.c:518 rmdir_recursive_background_func removing zapped cache root folder /sdisk/httpcache.0011548831903.543539227 [ 3052/ (nil)] ssl.c:964 ssl_load_cert Failed to read file: '/conf/certificate/cacerts/8d28ae65.0'1548831903.543558492 [ 3052/ (nil)] ssl.c:1041 ssl_prepare_chain Couldn't find Issuer certificate1548831903.543563757 [ 3052/ (nil)] ssl.c:1221 init_portal Failed to create ssl chain1548831903.586339795 [ 3052/ (nil)] awarrenhttp.c:447 main Using 2 worker threads1548831903.586363862 [ 3052/ (nil)] epoll.c:1130 event_threads_init called1548831903.588902465 [ 5485/ (nil)] dns.c:1550 dns_cache_init initialized1548831903.604437365 [ 3052/ (nil)] awarrenhttp.c:453 main finished startup1548831903.604456785 [ 3052/ (nil)] awarrenhttp.c:455 main Integrated HTTP-Proxy Release aa6cbf1@0.local15373600691548831904.530090077 [ 5482/ (nil)] diskcache.c:518 rmdir_recursive_background_func removing zapped cache root folder /sdisk/httpcache.0021548831904.923288104 [ 5386/ (nil)] config.c:263 process_sig_event [1210] signal: Hangup1548831904.923316059 [ 5386/ (nil)] config.c:195 cfg_reload reloading config1548831906.113767654 [ 5482/ (nil)] diskcache.c:518 rmdir_recursive_background_func removing zapped cache root folder /sdisk/httpcache.0031548831906.744612535 [ 5386/ (nil)] config.c:179 cfg_init No sandstorm license!1548831906.821316825 [ 5386/ (nil)] acl-ds-db.c:420 db_init database connection established [corporate]1548831906.890106568 [ 5386/ (nil)] acl-ds-db.c:436 db_init database connection established [signature]1548831906.890731386 [ 5386/ (nil)] acl-parsefile.c:1001 read_frm_file Processing [/static/proxy/awarrenhttp/header]1548831906.890871220 [ 5386/ (nil)] acl-common.c:769 validate_addr Not CIDR mask; continuing as it is...1548831906.890921577 [ 5386/ (nil)] acl-common.c:769 validate_addr Not CIDR mask; continuing as it is...1548831907.356483445 [ 5482/ (nil)] diskcache.c:518 rmdir_recursive_background_func removing zapped cache root folder /sdisk/httpcache.0041548831908.300418118 [ 5482/ (nil)] diskcache.c:518 rmdir_recursive_background_func removing zapped cache root folder /sdisk/httpcache.0051548831909.225631071 [ 5482/ (nil)] diskcache.c:518 rmdir_recursive_background_func removing zapped cache root folder /sdisk/httpcache.0061548831910.575056408 [ 5482/ (nil)] diskcache.c:518 rmdir_recursive_background_func removing zapped cache root folder /sdisk/httpcache.0071548831911.560964975 [ 5482/ (nil)] diskcache.c:518 rmdir_recursive_background_func removing zapped cache root folder /sdisk/httpcache.0081548831912.543642227 [ 5482/ (nil)] diskcache.c:518 rmdir_recursive_background_func removing zapped cache root folder /sdisk/httpcache.0091548831913.482103968 [ 5482/ (nil)] diskcache.c:518 rmdir_recursive_background_func removing zapped cache root folder /sdisk/httpcache.0101548831914.438064422 [ 5482/ (nil)] diskcache.c:518 rmdir_recursive_background_func removing zapped cache root folder /sdisk/httpcache.0111548831927.233302448 [ 5386/ (nil)] acl-parsefile.c:531 parse_acl_line Duplicate acl name 'ALL', at lineno 791548831930.262614633 [ 5486/0x7ffaf38bf800] http_transform.c:245 http_transform_apply_one_io_async unable to execute io transform1548831931.514962978 [ 5386/ (nil)] acl-parsefile.c:1001 read_frm_file Processing [/static/proxy/awarrenhttp/tailer]1548831931.560159309 [ 5386/ (nil)] config.c:209 cfg_reload reloaded signer key/cert1548831931.560521555 [ 5386/ (nil)] ssl.c:964 ssl_load_cert Failed to read file: '/conf/certificate/cacerts/8d28ae65.0'1548831931.560533700 [ 5386/ (nil)] ssl.c:1041 ssl_prepare_chain Couldn't find Issuer certificate1548831931.560538597 [ 5386/ (nil)] ssl.c:1221 init_portal Failed to create ssl chain1548831931.561187680 [ 5386/ (nil)] config.c:213 cfg_reload reloaded portal key/cert1548831931.561332227 [ 5386/ (nil)] config.c:217 cfg_reload reloaded client key/cert1548831931.567766871 [ 5386/ (nil)] config.c:225 cfg_reload reloading config done1548831931.567816079 [ 5386/ (nil)] config.c:263 process_sig_event [1210] signal: Hangup1548831931.567821788 [ 5386/ (nil)] config.c:195 cfg_reload reloading config1548831932.541325264 [ 5386/ (nil)] config.c:179 cfg_init No sandstorm license!1548831932.562439913 [ 5386/ (nil)] acl-ds-db.c:420 db_init database connection established [corporate]1548831932.581515032 [ 5386/ (nil)] acl-ds-db.c:436 db_init database connection established [signature]1548831932.582151448 [ 5386/ (nil)] acl-parsefile.c:1001 read_frm_file Processing [/static/proxy/awarrenhttp/header]1548831932.582265879 [ 5386/ (nil)] acl-common.c:769 validate_addr Not CIDR mask; continuing as it is...1548831932.582316897 [ 5386/ (nil)] acl-common.c:769 validate_addr Not CIDR mask; continuing as it is...1548831940.567897524 [ 5386/ (nil)] acl-parsefile.c:531 parse_acl_line Duplicate acl name 'ALL', at lineno 791548831943.603154327 [ 5485/0x7ffaee149400] http_transform.c:245 http_transform_apply_one_io_async unable to execute io transform1548831944.132443298 [ 5386/ (nil)] acl-parsefile.c:1001 read_frm_file Processing [/static/proxy/awarrenhttp/tailer]1548831944.151420207 [ 5386/ (nil)] config.c:209 cfg_reload reloaded signer key/cert1548831944.151746317 [ 5386/ (nil)] ssl.c:964 ssl_load_cert Failed to read file: '/conf/certificate/cacerts/8d28ae65.0'1548831944.151754618 [ 5386/ (nil)] ssl.c:1041 ssl_prepare_chain Couldn't find Issuer certificate1548831944.151758924 [ 5386/ (nil)] ssl.c:1221 init_portal Failed to create ssl chain1548831944.152373791 [ 5386/ (nil)] config.c:213 cfg_reload reloaded portal key/cert1548831944.152512603 [ 5386/ (nil)] config.c:217 cfg_reload reloaded client key/cert1548831944.158116249 [ 5386/ (nil)] config.c:225 cfg_reload reloading config done
The "disk_cache_read fopen: /sdisk/httpcache/cacheidx: No such file or directory"and "init_portal Failed to create ssl chain" errors are still here, but the process does go on starting up and working as intended.
I checked for the reported missing files, but even with the running webproxy they aren't there.
So why won't the webproxy start with either of the newer firmware versions? I'm very reluctant to upgrade right now...
This thread was automatically locked due to age.
