https://bugs.contribs.org/show_bug.cgi?id=11326
--- Comment #10 from Brian Read <[email protected]> ---
Override service file contents, vpnserver starts ok:
[root@sme10 ~]# systemctl status vpnserver
● vpnserver.service - SoftEther VPN Server
Loaded: loaded (/usr/lib/systemd/system/vpnserver.service; enabled; vendor
preset: enabled)
Drop-In: /usr/lib/systemd/system/vpnserver.service.d
└─51koozali.conf
Active: inactive (dead) since Thu 2021-01-21 11:43:29 GMT; 3min 6s ago
Process: 18583 ExecStop=/usr/vpnserver/vpnserver stop (code=exited,
status=0/SUCCESS)
Process: 18578 ExecStart=/usr/vpnserver/vpnserver start (code=exited,
status=0/SUCCESS)
Jan 21 11:43:26 sme10.thereadclan.me.uk systemd[1]: Starting SoftEther VPN
Server...
Jan 21 11:43:29 sme10.thereadclan.me.uk vpnserver[18578]: -- Alert: SoftEther
VPN Kernel --
Jan 21 11:43:29 sme10.thereadclan.me.uk vpnserver[18578]: Unable to create
/usr/vpnserver/.VPN-EA1D67A3FB.
Jan 21 11:43:29 sme10.thereadclan.me.uk vpnserver[18583]: -- Alert: SoftEther
VPN Kernel --
Jan 21 11:43:29 sme10.thereadclan.me.uk vpnserver[18583]: Unable to create
/usr/vpnserver/.VPN-EA1D67A3FB.
Jan 21 11:43:29 sme10.thereadclan.me.uk systemd[1]: Started SoftEther VPN
Server.
However get this:
[root@sme10 ~]# systemctl status httpd-e-smith.service
● httpd-e-smith.service - httpd-e-smith The Koozali SME Server Apache HTTP
Service
Loaded: loaded (/usr/lib/systemd/system/httpd-e-smith.service; enabled;
vendor preset: enabled)
Active: failed (Result: exit-code) since Thu 2021-01-21 11:43:30 GMT; 35s
ago
Docs: man:httpd(8)
man:apachectl(8)
Process: 18620 ExecStart=/usr/sbin/httpd -f /etc/httpd/conf/httpd.conf
-DFOREGROUND (code=exited, status=1/FAILURE)
Process: 18617 ExecStartPre=/sbin/e-smith/systemd/httpd-e-smith-prepare
(code=exited, status=0/SUCCESS)
Process: 18614 ExecStartPre=/sbin/e-smith/expand-template
/etc/httpd/conf/httpd.conf (code=exited, status=0/SUCCESS)
Process: 18609 ExecStartPre=/sbin/e-smith/service-status httpd-e-smith
(code=exited, status=0/SUCCESS)
Main PID: 18620 (code=exited, status=1/FAILURE)
Jan 21 11:43:29 sme10.thereadclan.me.uk systemd[1]: Starting httpd-e-smith The
Koozali SME Server Apache HTTP Service...
Jan 21 11:43:30 sme10.thereadclan.me.uk httpd[18620]: (98)Address already in
use: AH00072: make_sock: could not bind to address 0.0.0.0:443
Jan 21 11:43:30 sme10.thereadclan.me.uk httpd[18620]: no listening sockets
available, shutting down
Jan 21 11:43:30 sme10.thereadclan.me.uk httpd[18620]: AH00015: Unable to open
logs
Jan 21 11:43:30 sme10.thereadclan.me.uk systemd[1]: httpd-e-smith.service: main
process exited, code=exited, status=1/FAILURE
Jan 21 11:43:30 sme10.thereadclan.me.uk systemd[1]: Failed to start
httpd-e-smith The Koozali SME Server Apache HTTP Service.
Jan 21 11:43:30 sme10.thereadclan.me.uk systemd[1]: Unit httpd-e-smith.service
entered failed state.
Jan 21 11:43:30 sme10.thereadclan.me.uk systemd[1]: httpd-e-smith.service
failed.
[root@sme10 ~]# httpd -t
Why is there a "custom" fragment for httpd.conf with these contents:
{
my $listen_default = "Listen 0.0.0.0:443";
my $mode = $SystemMode || "serveronly";
return $listen_default if ($mode eq "serveronly");
my $httpdAccess = ${'httpd-e-smith'}{access} || 'private';
my $httpsOnlyLocal = ${'httpd-e-smith'}{httpsOnlyLocal} || 'disabled';
return $listen_default unless ($httpdAccess eq "private") ||
($httpsOnlyLocal eq "enabled");
# Only selectively bind interfaces if we are in private server/gateway mode
my @ipAddresses = ("127.0.0.1", $LocalIP);
# Remove any duplicate IP addresses
my %ipAddresses = map { $_ => 1 } @ipAddresses;
foreach my $ip (sort keys %ipAddresses)
{
$OUT .= "Listen $ip:443\n";
}
}
httpd.conf has:
##########################################################
## SSL Global Context Configuration
##
## All SSL configuration in this context applies both to
## the main server and all SSL-enabled virtual hosts
## (unless overridden by virtual hosts)
##
<IfModule mod_ssl.c>
Listen 0.0.0.0:443
Listen 0.0.0.0:443
This is probably the problem?
--
You are receiving this mail because:
You are the QA Contact for the bug._______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/