Any help would be appreciated.
fatal: [localhost]: FAILED! => changed=false
elapsed: 300
msg: Timeout when waiting for file /etc/opcenter/webhost/.config/
PLAY RECAP *****************************************************************************************
localhost : ok=667 changed=36 unreachable=0 failed=1 skipped=336 rescued=0 ignored=1
[root@box playbooks]# grep -m1 failed=1 -B20 /root/apnscp-bootstrapper.log
),
),
'previous' => NULL,
))
0B. Error_Reporter::handle_error(32, "TypeError::__set_state(array( 'message' => 'socket_bind(): Argument #1 ($socket) must be of type Socket, bool given', 'string' => '', 'code' => 0, 'file' => '/usr/local/apnscp/lib/Opcenter/Net/IpCommon.php', 'line' => 54, 'trace' => array ( 0 => array ( 'file' => '/usr/local/apnscp/lib/Opcenter/Net/IpCommon.php', 'line' => 54, 'function' => 'socket_bind', 'args' => array ( 0 => false, 1 => '::1', 2 => 0, ), ), 1 => array ( 'file' => '/usr/local/apnscp/lib/error_reporter.php', 'line' => 1225, 'function' => 'Opcenter\\Net\\{closure}', 'class' => 'Opcenter\\Net\\IpCommon', 'type' => '::', 'args' => array ( ), ), 2 => array ( 'file' => '/usr/local/apnscp/lib/Opcenter/Net/IpCommon.php', 'line' => 54, 'function' => 'silence', 'class' => 'Error_Reporter', 'type' => '::', 'args' => array ( 0 => Closure::__set_state(array( )), ), ), 3 => array ( 'file' => '/usr/local/apnscp/lib/Opcenter/Http/Apnscp.php', 'line' => 189, 'function' => 'bound', 'class' => 'Opcenter\\Net\\IpCommon', 'type' => '::', 'args' => array ( 0 => '::1', ), ), 4 => array ( 'file' => '/usr/local/apnscp/lib/Opcenter/Http/Apnscp.php', 'line' => 151, 'function' => 'commandArgs', 'class' => 'Opcenter\\Http\\Apnscp', 'type' => '::', 'args' => array ( ), ), 5 => array ( 'file' => '/usr/local/apnscp/lib/Opcenter/Http/Apnscp.php', 'line' => 223, 'function' => 'command', 'class' => 'Opcenter\\Http\\Apnscp', 'type' => '::', 'args' => array ( 0 => 'start', ), ), 6 => array ( 'file' => '/usr/local/apnscp/lib/lservicelib8.pht', 'line' => 312, 'function' => 'start', 'class' => 'Opcenter\\Http\\Apnscp', 'type' => '::', 'args' => array ( ), ), 7 => array ( 'file' => '/usr/local/apnscp/lib/lservicelib8.pht', 'line' => 233, 'function' => 'startFrontend', 'class' => 'ListenerService\\Daemon', 'type' => '->', 'args' => array ( ), ), 8 => array ( 'file' => '/usr/local/apnscp/lib/lservicelib8.pht', 'line' => 169, 'function' => 'start', 'class' => 'ListenerService\\Daemon', 'type' => '->', 'args' => array ( ), ), 9 => array ( 'file' => '/usr/local/apnscp/lib/lservicelib8.pht', 'line' => 1456, 'function' => '__construct', 'class' => 'ListenerService\\Daemon', 'type' => '->', 'args' => array ( ), ), 10 => array ( 'file' => '/usr/local/apnscp/lib/lservice.php', 'line' => 28, 'function' => 'init', 'class' => 'ListenerService\\Daemon', 'type' => '::', 'args' => array ( ), ), ), 'previous' => NULL,))", null, null, Exception)
[/usr/local/apnscp/lib/error_reporter.php:1314]
1B. Error_Reporter::report("TypeError::__set_state(array( 'message' => 'socket_bind(): Argument #1 ($socket) must be of type Socket, bool given', 'string' => '', 'code' => 0, 'file' => '/usr/local/apnscp/lib/Opcenter/Net/IpCommon.php', 'line' => 54, 'trace' => array ( 0 => array ( 'file' => '/usr/local/apnscp/lib/Opcenter/Net/IpCommon.php', 'line' => 54, 'function' => 'socket_bind', 'args' => array ( 0 => false, 1 => '::1', 2 => 0, ), ), 1 => array ( 'file' => '/usr/local/apnscp/lib/error_reporter.php', 'line' => 1225, 'function' => 'Opcenter\\Net\\{closure}', 'class' => 'Opcenter\\Net\\IpCommon', 'type' => '::', 'args' => array ( ), ), 2 => array ( 'file' => '/usr/local/apnscp/lib/Opcenter/Net/IpCommon.php', 'line' => 54, 'function' => 'silence', 'class' => 'Error_Reporter', 'type' => '::', 'args' => array ( 0 => Closure::__set_state(array( )), ), ), 3 => array ( 'file' => '/usr/local/apnscp/lib/Opcenter/Http/Apnscp.php', 'line' => 189, 'function' => 'bound', 'class' => 'Opcenter\\Net\\IpCommon', 'type' => '::', 'args' => array ( 0 => '::1', ), ), 4 => array ( 'file' => '/usr/local/apnscp/lib/Opcenter/Http/Apnscp.php', 'line' => 151, 'function' => 'commandArgs', 'class' => 'Opcenter\\Http\\Apnscp', 'type' => '::', 'args' => array ( ), ), 5 => array ( 'file' => '/usr/local/apnscp/lib/Opcenter/Http/Apnscp.php', 'line' => 223, 'function' => 'command', 'class' => 'Opcenter\\Http\\Apnscp', 'type' => '::', 'args' => array ( 0 => 'start', ), ), 6 => array ( 'file' => '/usr/local/apnscp/lib/lservicelib8.pht', 'line' => 312, 'function' => 'start', 'class' => 'Opcenter\\Http\\Apnscp', 'type' => '::', 'args' => array ( ), ), 7 => array ( 'file' => '/usr/local/apnscp/lib/lservicelib8.pht', 'line' => 233, 'function' => 'startFrontend', 'class' => 'ListenerService\\Daemon', 'type' => '->', 'args' => array ( ), ), 8 => array ( 'file' => '/usr/local/apnscp/lib/lservicelib8.pht', 'line' => 169, 'function' => 'start', 'class' => 'ListenerService\\Daemon', 'type' => '->', 'args' => array ( ), ), 9 => array ( 'file' => '/usr/local/apnscp/lib/lservicelib8.pht', 'line' => 1456, 'function' => '__construct', 'class' => 'ListenerService\\Daemon', 'type' => '->', 'args' => array ( ), ), 10 => array ( 'file' => '/usr/local/apnscp/lib/lservice.php', 'line' => 28, 'function' => 'init', 'class' => 'ListenerService\\Daemon', 'type' => '::', 'args' => array ( ), ), ), 'previous' => NULL,))", ["TypeError::__set_state(array( 'message' => 'socket_bind(): Argument #1 ($socket) must be of type Socket, bool given', 'string' => '', 'code' => 0, 'file' => '/usr/local/apnscp/lib/Opcenter/Net/IpCommon.php', 'line' => 54, 'trace' => array ( 0 => array ( 'file' => '/usr/local/apnscp/lib/Opcenter/Net/IpCommon.php', 'line' => 54, 'function' => 'socket_bind', 'args' => array ( 0 => false, 1 => '::1', 2 => 0, ), ), 1 => array ( 'file' => '/usr/local/apnscp/lib/error_reporter.php', 'line' => 1225, 'function' => 'Opcenter\\Net\\{closure}', 'class' => 'Opcenter\\Net\\IpCommon', 'type' => '::', 'args' => array ( ), ), 2 => array ( 'file' => '/usr/local/apnscp/lib/Opcenter/Net/IpCommon.php', 'line' => 54, 'function' => 'silence', 'class' => 'Error_Reporter', 'type' => '::', 'args' => array ( 0 => Closure::__set_state(array( )), ), ), 3 => array ( 'file' => '/usr/local/apnscp/lib/Opcenter/Http/Apnscp.php', 'line' => 189, 'function' => 'bound', 'class' => 'Opcenter\\Net\\IpCommon', 'type' => '::', 'args' => array ( 0 => '::1', ), ), 4 => array ( 'file' => '/usr/local/apnscp/lib/Opcenter/Http/Apnscp.php', 'line' => 151, 'function' => 'commandArgs', 'class' => 'Opcenter\\Http\\Apn[root@box playbooks]# grep -m1 failed=1 -B20 /root/apnscp-bootstrapper.log
),
),
'previous' => NULL,
))
0B. Error_Reporter::handle_error(32, "TypeError::__set_state(array( 'message' => 'socket_bind(): Argument #1 ($socket) must be of type Socket, bool given', 'string' => '', 'code' => 0, 'file' => '/usr/local/apnscp/lib/Opcenter/Net/IpCommon.php', 'line' => 54, 'trace' => array ( 0 => array ( 'file' => '/usr/local/apnscp/lib/Opcenter/Net/IpCommon.php', 'line' => 54, 'function' => 'socket_bind', 'args' => array ( 0 => false, 1 => '::1', 2 => 0, ), ), 1 => array ( 'file' => '/usr/local/apnscp/lib/error_reporter.php', 'line' => 1225, 'function' => 'Opcenter\\Net\\{closure}', 'class' => 'Opcenter\\Net\\IpCommon', 'type' => '::', 'args' => array ( ), ), 2 => array ( 'file' => '/usr/local/apnscp/lib/Opcenter/Net/IpCommon.php', 'line' => 54, 'function' => 'silence', 'class' => 'Error_Reporter', 'type' => '::', 'args' => array ( 0 => Closure::__set_state(array( )), ), ), 3 => array ( 'file' => '/usr/local/apnscp/lib/Opcenter/Http/Apnscp.php', 'line' => 189, 'function' => 'bound', 'class' => 'Opcenter\\Net\\IpCommon', 'type' => '::', 'args' => array ( 0 => '::1', ), ), 4 => array ( 'file' => '/usr/local/apnscp/lib/Opcenter/Http/Apnscp.php', 'line' => 151, 'function' => 'commandArgs', 'class' => 'Opcenter\\Http\\Apnscp', 'type' => '::', 'args' => array ( ), ), 5 => array ( 'file' => '/usr/local/apnscp/lib/Opcenter/Http/Apnscp.php', 'line' => 223, 'function' => 'command', 'class' => 'Opcenter\\Http\\Apnscp', 'type' => '::', 'args' => array ( 0 => 'start', ), ), 6 => array ( 'file' => '/usr/local/apnscp/lib/lservicelib8.pht', 'line' => 312, 'function' => 'start', 'class' => 'Opcenter\\Http\\Apnscp', 'type' => '::', 'args' => array ( ), ), 7 => array ( 'file' => '/usr/local/apnscp/lib/lservicelib8.pht', 'line' => 233, 'function' => 'startFrontend', 'class' => 'ListenerService\\Daemon', 'type' => '->', 'args' => array ( ), ), 8 => array ( 'file' => '/usr/local/apnscp/lib/lservicelib8.pht', 'line' => 169, 'function' => 'start', 'class' => 'ListenerService\\Daemon', 'type' => '->', 'args' => array ( ), ), 9 => array ( 'file' => '/usr/local/apnscp/lib/lservicelib8.pht', 'line' => 1456, 'function' => '__construct', 'class' => 'ListenerService\\Daemon', 'type' => '->', 'args' => array ( ), ), 10 => array ( 'file' => '/usr/local/apnscp/lib/lservice.php', 'line' => 28, 'function' => 'init', 'class' => 'ListenerService\\Daemon', 'type' => '::', 'args' => array ( ), ), ), 'previous' => NULL,))", null, null, Exception)
[/usr/local/apnscp/lib/error_reporter.php:1314]
1B. Error_Reporter::report("TypeError::__set_state(array( 'message' => 'socket_bind(): Argument #1 ($socket) must be of type Socket, bool given', 'string' => '', 'code' => 0, 'file' => '/usr/local/apnscp/lib/Opcenter/Net/IpCommon.php', 'line' => 54, 'trace' => array ( 0 => array ( 'file' => '/usr/local/apnscp/lib/Opcenter/Net/IpCommon.php', 'line' => 54, 'function' => 'socket_bind', 'args' => array ( 0 => false, 1 => '::1', 2 => 0, ), ), 1 => array ( 'file' => '/usr/local/apnscp/lib/error_reporter.php', 'line' => 1225, 'function' => 'Opcenter\\Net\\{closure}', 'class' => 'Opcenter\\Net\\IpCommon', 'type' => '::', 'args' => array ( ), ), 2 => array ( 'file' => '/usr/local/apnscp/lib/Opcenter/Net/IpCommon.php', 'line' => 54, 'function' => 'silence', 'class' => 'Error_Reporter', 'type' => '::', 'args' => array ( 0 => Closure::__set_state(array( )), ), ), 3 => array ( 'file' => '/usr/local/apnscp/lib/Opcenter/Http/Apnscp.php', 'line' => 189, 'function' => 'bound', 'class' => 'Opcenter\\Net\\IpCommon', 'type' => '::', 'args' => array ( 0 => '::1', ), ), 4 => array ( 'file' => '/usr/local/apnscp/lib/Opcenter/Http/Apnscp.php', 'line' => 151, 'function' => 'commandArgs', 'class' => 'Opcenter\\Http\\Apnscp', 'type' => '::', 'args' => array ( ), ), 5 => array ( 'file' => '/usr/local/apnscp/lib/Opcenter/Http/Apnscp.php', 'line' => 223, 'function' => 'command', 'class' => 'Opcenter\\Http\\Apnscp', 'type' => '::', 'args' => array ( 0 => 'start', ), ), 6 => array ( 'file' => '/usr/local/apnscp/lib/lservicelib8.pht', 'line' => 312, 'function' => 'start', 'class' => 'Opcenter\\Http\\Apnscp', 'type' => '::', 'args' => array ( ), ), 7 => array ( 'file' => '/usr/local/apnscp/lib/lservicelib8.pht', 'line' => 233, 'function' => 'startFrontend', 'class' => 'ListenerService\\Daemon', 'type' => '->', 'args' => array ( ), ), 8 => array ( 'file' => '/usr/local/apnscp/lib/lservicelib8.pht', 'line' => 169, 'function' => 'start', 'class' => 'ListenerService\\Daemon', 'type' => '->', 'args' => array ( ), ), 9 => array ( 'file' => '/usr/local/apnscp/lib/lservicelib8.pht', 'line' => 1456, 'function' => '__construct', 'class' => 'ListenerService\\Daemon', 'type' => '->', 'args' => array ( ), ), 10 => array ( 'file' => '/usr/local/apnscp/lib/lservice.php', 'line' => 28, 'function' => 'init', 'class' => 'ListenerService\\Daemon', 'type' => '::', 'args' => array ( ), ), ), 'previous' => NULL,))", ["TypeError::__set_state(array( 'message' => 'socket_bind(): Argument #1 ($socket) must be of type Socket, bool given', 'string' => '', 'code' => 0, 'file' => '/usr/local/apnscp/lib/Opcenter/Net/IpCommon.php', 'line' => 54, 'trace' => array ( 0 => array ( 'file' => '/usr/local/apnscp/lib/Opcenter/Net/IpCommon.php', 'line' => 54, 'function' => 'socket_bind', 'args' => array ( 0 => false, 1 => '::1', 2 => 0, ), ), 1 => array ( 'file' => '/usr/local/apnscp/lib/error_reporter.php', 'line' => 1225, 'function' => 'Opcenter\\Net\\{closure}', 'class' => 'Opcenter\\Net\\IpCommon', 'type' => '::', 'args' => array ( ), ), 2 => array ( 'file' => '/usr/local/apnscp/lib/Opcenter/Net/IpCommon.php', 'line' => 54, 'function' => 'silence', 'class' => 'Error_Reporter', 'type' => '::', 'args' => array ( 0 => Closure::__set_state(array( )), ), ), 3 => array ( 'file' => '/usr/local/apnscp/lib/Opcenter/Http/Apnscp.php', 'line' => 189, 'function' => 'bound', 'class' => 'Opcenter\\Net\\IpCommon', 'type' => '::', 'args' => array ( 0 => '::1', ), ), 4 => array ( 'file' => '/usr/local/apnscp/lib/Opcenter/Http/Apnscp.php', 'line' => 151, 'function' => 'commandArgs', 'class' => 'Opcenter\\Http\\Apnscp', 'type' => '::', 'args' => array ( ), ), 5 => array ( 'file' => '/usr/local/apnscp/lib/Opcenter/Http/Apnscp.php', 'line' => 223, 'function' => 'command', 'class' => 'Opcenter\\Http\\Apnscp', 'type' => '::', 'args' => array ( 0 => 'start', ), ), 6 => array ( 'file' => '/usr/local/apnscp/lib/lservicelib8.pht', 'line' => 312, 'function' => 'start', 'class' => 'Opcenter\\Http\\Apnscp', 'type' => '::', 'args' => array ( ), ), 7 => array ( 'file' => '/usr/local/apnscp/lib/lservicelib8.pht', 'line' => 233, 'function' => 'startFrontend', 'class' => 'ListenerService\\Daemon', 'type' => '->', 'args' => array ( ), ), 8 => array ( 'file' => '/usr/local/apnscp/lib/lservicelib8.pht', 'line' => 169, 'function' => 'start', 'class' => 'ListenerService\\Daemon', 'type' => '->', 'args' => array ( ), ), 9 => array ( 'file' => '/usr/local/apnscp/lib/lservicelib8.pht', 'line' => 1456, 'function' => '__construct', 'class' => 'ListenerService\\Daemon', 'type' => '->', 'args' => array ( ), ), 10 => array ( 'file' => '/usr/local/apnscp/lib/lservice.php', 'line' => 28, 'function' => 'init', 'class' => 'ListenerService\\Daemon', 'type' => '::', 'args' => array ( ), ), ), 'previous' => NULL,))"])
[/usr/local/apnscp/lib/apnscpcore.php:145]
2B. Error_Reporter\ReportFilterInterface@anonymous/usr/local/apnscp/lib/apnscpcore.php:135$1->filter(128, "socket_bind(): Argument #1 ($socket) must be of type Socket, bool given", "/usr/local/apnscp/lib/Opcenter/Net/IpCommon.php", 54, TypeError)
[/usr/local/apnscp/lib/error_reporter.php:249]
3B. Error_Reporter::handle_error(128, "socket_bind(): Argument #1 ($socket) must be of type Socket, bool given", "/usr/local/apnscp/lib/Opcenter/Net/IpCommon.php", 54, TypeError)
[/usr/local/apnscp/lib/error_reporter.php:157]
4B. Error_Reporter::handle_exception(TypeError)
[n/a]
Control panel has not come online yet. This may be due to an invalid license.
The last 40 lines from the backend logfile, /usr/local/apnscp/storage/logs/start.log,
are included above.
2023-12-17 16:50:43,523 p=13145 u=root n=ansible | PLAY RECAP *********************************************************************
2023-12-17 16:50:43,523 p=13145 u=root n=ansible | localhost : ok=781 changed=285 unreachable=0 failed=1 skipped=246 rescued=2 ignored=13