Nethserver not updated httpd or some thing

Here is what I was doing I was deleting a domain then went to re-add the domain and it says it already exist but It’s not shown on the panel.
This is the error I got below and was told by the thing to submit it to the developers. Not sure exactly what I did wrong. To me it seemed like a simple delete and rebuild type of thing.

echo ‘{“action”:“edit”,“virtualhost”:{“name”:“5b9ea4d95b8d4ae”,“Description”:“”,“ServerNames”:[“LorenTedford.com”],“Access”:“public”,“PasswordStatus”:“disabled”,“PasswordValue”:“”,“ForceSslStatus”:“enabled”,“Indexes”:“enabled”,“FtpStatus”:“enabled”,“FtpPassword”:“80KpP81OgeRxFLRe”,“SslCertificate”:“/etc/letsencrypt/live/lorentedford.com/cert.pem”,“status”:“enabled”,“PhpRhVersion”:“php73”,“MaxExecutionTime”:0,“MemoryLimit”:512,“PostMaxSize”:8,“UploadMaxFilesize”:4,“PhpCustomSettings”:“disabled”}}’ | /usr/bin/setsid /usr/bin/sudo /usr/libexec/nethserver/api/nethserver-httpd/virtualhost/update | jq

Are you sure it was your intention to add a virtual-host with a 2nd level domain-name (ie yourdomain.com) and not a virtual-host with a 3th level fully-qualified-domain-name (ie somthing.yourdomain.com) ?

AFAIK it is not possible to add a virtual-host with a 2nd level domain-name (FQDN)

Well yes i was adding lorentedford.com that is the domain name.

Sorry I’m not native English speaking ( :confounded: ) what do you mean wiht the in domain name ?

In the virtual-host settings a user does not set the (domain)name for the server itself nor the default hostname…

See it won’t let me update it for some reason.

If I try to disable it I get this error…

and it spits out this.

echo ‘{“action”:“toggle-lock”,“virtualhost”:{“name”:“5b9ea4d95b8d4ae”}}’ | /usr/bin/setsid /usr/bin/sudo /usr/libexec/nethserver/api/nethserver-httpd/virtualhost/update | jq

What’s the result if you enter this on command line?

Could it be this entry is already in DNS or set as alias?

Please also check messages log for errors.

This is what it spits out.

{
  "type": "InvalidInput",
  "id": 1614652047,
  "message": "no_json_data_available"
}

Please check/share your vhosts config:

db vhosts show

If the deleted vhost is still there you may delete on command line:

db vhosts delete 5b9ea4d95b8d4ae

Apply changes:

signal-event nethserver-virtualhosts-update

Thank you so much there were two entries here.

1 Like

When I run this command:
signal-event nethserver-virtualhosts-update
I get:
Can't open directory /etc/e-smith/events/nethserver-virtualhosts-update

Maybe a permission issue:

[root@server2 ~]# ls -dl /etc/e-smith/events/nethserver-virtualhosts-update
drwxr-xr-x 4 root root 53 May  9  2018 /etc/e-smith/events/nethserver-virtualhosts-update

I ran this:

ls -dl /etc/e-smith/events/nethserver-virtualhosts-update

And got this:

ls: cannot access /etc/e-smith/events/nethserver-virtualhosts-update: No such file or directory

[root@webserver 5b9ea4d95b8d4ae]# cd /etc/e-smith/events/
[root@webserver events]# ls
actions                                 nethserver-ntopng-update
certificate-update                      nethserver-ntp-save
certificate-upload                      nethserver-ntp-update
conntrack-adjust                        nethserver-openssh-save
delegation-save                         nethserver-openssh-update
domain-create                           nethserver-openvpn-save
domain-delete                           nethserver-openvpn-update
domain-modify                           nethserver-phonehome-update
firewall-adjust                         nethserver-phpmyadmin-save
firewall-objects-modify                 nethserver-phpmyadmin-update
group-create                            nethserver-php-update
group-delete                            nethserver-release-update
group-modify                            nethserver-rh-php73-php-fpm-update
host-create                             nethserver-roundcubemail-update
host-delete                             nethserver-smartd-update
host-modify                             nethserver-sssd-leave
hostname-modify                         nethserver-sssd-remove-provider
interface-update                        nethserver-sssd-save
mailbox-save                            nethserver-sssd-update
migration-import                        nethserver-stephdl-update
nethserver-alerts-save                  nethserver-subscription-save
nethserver-antivirus-save               nethserver-subscription-update
nethserver-antivirus-update             nethserver-unbound-update
nethserver-backup-config-restorewizard  nethserver-vsftpd-save
nethserver-backup-config-update         nethserver-vsftpd-update
nethserver-backup-data-save             notifications-save
nethserver-backup-data-update           openvpn-tunnel-create
nethserver-base-update                  openvpn-tunnel-delete
nethserver-cgp-update                   openvpn-tunnel-modify
nethserver-cockpit-update               openvpn-tunnel-upload
nethserver-collabora-update             organization-save
nethserver-collectd-save                otp-save
nethserver-collectd-update              password-modify
nethserver-dante-update                 password-policy-update
nethserver-diagtools-update             post-backup-config
nethserver-directory-ns6upgrade         post-backup-data
nethserver-directory-update             post-restore-config
nethserver-dnsmasq-save                 post-restore-data
nethserver-dnsmasq-update               pre-backup-config
nethserver-duc-save                     pre-backup-data
nethserver-duc-update                   pre-restore-config
nethserver-ejabberd-save                pre-restore-data
nethserver-ejabberd-update              profile-modify
nethserver-firewall-base-save           proxy-modify
nethserver-firewall-base-update         pseudonym-create
nethserver-getmail-save                 pseudonym-delete
nethserver-hosts-save                   pseudonym-modify
nethserver-hosts-update                 runlevel-adjust
nethserver-httpd-admin-service-update   sharedmailbox-create
nethserver-httpd-save                   sharedmailbox-delete
nethserver-httpd-update                 sharedmailbox-modify
nethserver-httpd-virtualhosts-update    software-repos-save
nethserver-letsencrypt-update           software-repos-upgrade
nethserver-lsm-save                     static-routes-save
nethserver-lsm-update                   system-init
nethserver-mail-common-save             system-shutdown
nethserver-mail-common-update           test-failure
nethserver-mail-filter-save             test-success
nethserver-mail-filter-update           tls-policy-save
nethserver-mail-getmail-update          trusted-networks-modify
nethserver-mail-imapsync-update         user-cleanup
nethserver-mail-server-save             user-create
nethserver-mail-server-update           user-delete
nethserver-mail-smarthost-save          user-lock
nethserver-mail-smarthost-update        user-modify
nethserver-mysql-save                   user-unlock
nethserver-mysql-update                 vhost-create
nethserver-netdata-update               vhost-delete
nethserver-nextcloud-save               vhost-migrate-ibay
nethserver-nextcloud-update             vhost-modify
nethserver-ntopng-save                  wan-uplink-update
[root@webserver events]# pwd
/etc/e-smith/events

I think this command did what you were mentioning…

signal-event nethserver-httpd-virtualhosts-update

1 Like

I think this might actually be a bug in the Nethserver gui??

This command should be ran from the browser side
signal-event nethserver-httpd-virtualhosts-update

instead of
nethserver-httpd/virtualhost/update

You’re right, that’s the right command.

It was my fault, I still had an old version on my server that confused me.

The right command to run from the command line is

signal-event nethserver-httpd-virtualhosts-update

to apply the virtual hosts settings. There’s no bug in the GUI.

So why isn’t the web gui doing this?

Please check /var/log/messages to maybe get more information about the error.

Did you already run the signal-event nethserver-httpd-virtualhosts-update?

Yes and it seemed to work just confused why the web gui isn’t working though… It was working then I deleted the domain lorentedford.com did an update and now it’s not.

Here is what I have in most recent logs.

Mar  1 21:46:10 webserver update: Event: vhost-modify FAILED
Mar  1 21:46:24 webserver cockpit-ws: WebSocket from 192.168.9.96 for session closed
Mar  1 21:46:24 webserver cockpit-ws: WebSocket from 192.168.9.96 for session closed
Mar  1 21:46:24 webserver cockpit-ws: New connection to session from 192.168.9.96
Mar  1 21:46:25 webserver cockpit-ws: New connection to session from 192.168.9.96
Mar  1 21:46:25 webserver cockpit-bridge: No entry for terminal type "unknown";
Mar  1 21:46:25 webserver cockpit-bridge: using dumb terminal settings.
Mar  1 21:46:25 webserver cockpit-bridge: No entry for terminal type "unknown";
Mar  1 21:46:25 webserver cockpit-bridge: using dumb terminal settings.
Mar  1 21:46:50 webserver cockpit-bridge: No entry for terminal type "unknown";
Mar  1 21:46:50 webserver cockpit-bridge: using dumb terminal settings.
Mar  1 21:46:51 webserver /usr/libexec/nethserver/api/nethserver-httpd/virtualhost/update[20110]: /v                                                                                                                                      ar/lib/nethserver/db/vhosts: OLD 5b9ea4d95b8d4ae=vhost|Access|public|Description||ForceSslStatus|ena                                                                                                                                      bled|FtpPassword|80KpP81OgeRxFLRe|FtpStatus|enabled|Indexes|enabled|MaxExecutionTime|0|MemoryLimit|5                                                                                                                                      12|PasswordStatus|disabled|PasswordValue||PhpCustomSettings|disabled|PhpRhVersion|php73|PostMaxSize|                                                                                                                                      8|ServerNames|lorentedford.com|SslCertificate|/etc/letsencrypt/live/lorentedford.com/cert.pem|Upload                                                                                                                                      MaxFilesize|4|status|enabled
Mar  1 21:46:51 webserver /usr/libexec/nethserver/api/nethserver-httpd/virtualhost/update[20110]: /v                                                                                                                                      ar/lib/nethserver/db/vhosts: NEW 5b9ea4d95b8d4ae=vhost|Access|public|Description||ForceSslStatus|ena                                                                                                                                      bled|FtpPassword|WHDlhPA43UfHL3pI|FtpStatus|enabled|Indexes|enabled|MaxExecutionTime|0|MemoryLimit|5                                                                                                                                      12|PasswordStatus|disabled|PasswordValue||PhpCustomSettings|disabled|PhpRhVersion|php73|PostMaxSize|                                                                                                                                      8|ServerNames|lorentedford.com|SslCertificate|/etc/letsencrypt/live/lorentedford.com/cert.pem|Upload                                                                                                                                      MaxFilesize|4|status|enabled
Mar  1 21:46:51 webserver update: Event: vhost-modify 5b9ea4d95b8d4ae
Mar  1 21:46:51 webserver update: expanding /etc/httpd/conf.d/virtualhosts.conf
Mar  1 21:46:53 webserver update: expanding /etc/opt/rh/rh-php72/php-fpm.d/000-virtualhost.conf
Mar  1 21:46:53 webserver update: expanding /etc/opt/rh/rh-php71/php-fpm.d/000-virtualhost.conf
Mar  1 21:46:53 webserver update: expanding /etc/opt/rh/rh-php73/php-fpm.d/000-virtualhost.conf
Mar  1 21:46:53 webserver update: expanding /etc/opt/remi/php80/php-fpm.d/000-virtualhost.conf
Mar  1 21:46:53 webserver update: Action: /etc/e-smith/events/actions/generic_template_expand SUCCES                                                                                                                                      S [2.476114]
Mar  1 21:46:53 webserver update: Action: /etc/e-smith/events/vhost-modify/S30nethserver-virtualhost                                                                                                                                      s-setbasicpassword SUCCESS [0.034324]
Mar  1 21:46:53 webserver esmith::event[20425]: Event: nethserver-vsftpd-save
Mar  1 21:46:53 webserver esmith::event[20425]: expanding /etc/vsftpd/chroot_list
Mar  1 21:46:53 webserver esmith::event[20425]: expanding /etc/vsftpd/user_list
Mar  1 21:46:53 webserver esmith::event[20425]: expanding /etc/vsftpd/ftpusers
Mar  1 21:46:53 webserver esmith::event[20425]: expanding /etc/vsftpd/vsftpd.conf
Mar  1 21:46:53 webserver esmith::event[20425]: Action: /etc/e-smith/events/actions/generic_template                                                                                                                                      _expand SUCCESS [0.079186]
Mar  1 21:46:53 webserver esmith::event[20425]: Action: /etc/e-smith/events/nethserver-vsftpd-save/S                                                                                                                                      20nethserver-vsftpd-mkdir SUCCESS [0.042309]
Mar  1 21:46:53 webserver esmith::event[20425]: Action: /etc/e-smith/events/nethserver-vsftpd-save/S                                                                                                                                      30nethserver-virtualhosts-ftp-chroot SUCCESS [0.036009]
Mar  1 21:46:53 webserver esmith::event[20425]: Action: /etc/e-smith/events/nethserver-vsftpd-save/S                                                                                                                                      40nethserver-vsftpd-setpasswd SUCCESS [0.049058]
Mar  1 21:46:53 webserver esmith::event[20433]: Event: nethserver-firewall-base-save nethserver-vsft                                                                                                                                      pd-save
Mar  1 21:46:53 webserver esmith::event[20433]: Action: /etc/e-smith/events/nethserver-firewall-base                                                                                                                                      -save/S02providers-cleanup SUCCESS [0.053347]
Mar  1 21:46:53 webserver esmith::event[20433]: expanding /etc/lsm/lsm.conf
Mar  1 21:46:54 webserver esmith::event[20433]: expanding /etc/firehol/fireqos.conf
Mar  1 21:46:54 webserver esmith::event[20433]: expanding /etc/shorewall/actions
Mar  1 21:46:54 webserver esmith::event[20433]: expanding /etc/shorewall/rtrules
Mar  1 21:46:54 webserver esmith::event[20433]: expanding /etc/shorewall/stopped
Mar  1 21:46:54 webserver esmith::event[20433]: expanding /etc/shorewall/tunnels
Mar  1 21:46:54 webserver esmith::event[20433]: expanding /etc/shorewall/policy
Mar  1 21:46:54 webserver esmith::event[20433]: expanding /etc/shorewall/tcpri
Mar  1 21:46:54 webserver esmith::event[20433]: expanding /etc/shorewall/tcinterfaces
Mar  1 21:46:54 webserver esmith::event[20433]: expanding /etc/shorewall/findgw
Mar  1 21:46:54 webserver esmith::event[20433]: expanding /etc/shorewall/snat
Mar  1 21:46:54 webserver esmith::event[20433]: expanding /etc/shorewall/helpers
Mar  1 21:46:54 webserver esmith::event[20433]: expanding /etc/shorewall/stoppedrules
Mar  1 21:46:54 webserver esmith::event[20433]: expanding /etc/shorewall/nat
Mar  1 21:46:54 webserver esmith::event[20433]: expanding /etc/shorewall/interfaces
Mar  1 21:46:54 webserver esmith::event[20433]: expanding /etc/shorewall/initdone
Mar  1 21:46:54 webserver esmith::event[20433]: expanding /etc/shorewall/conntrack
Mar  1 21:46:54 webserver esmith::event[20433]: expanding /etc/shorewall/blrules
Mar  1 21:46:54 webserver esmith::event[20433]: expanding /etc/shorewall/modules
Mar  1 21:46:54 webserver esmith::event[20433]: expanding /etc/shorewall/providers
Mar  1 21:46:54 webserver esmith::event[20433]: expanding /etc/shorewall/masq
Mar  1 21:46:54 webserver esmith::event[20433]: expanding /etc/shorewall/zones
Mar  1 21:46:54 webserver esmith::event[20433]: expanding /etc/shorewall/mangle
Mar  1 21:46:54 webserver esmith::event[20433]: expanding /etc/shorewall/rules
Mar  1 21:46:54 webserver esmith::event[20433]: expanding /etc/shorewall/hosts
Mar  1 21:46:54 webserver esmith::event[20433]: expanding /etc/shorewall/maclist
Mar  1 21:46:54 webserver esmith::event[20433]: expanding /etc/shorewall/shorewall.conf
Mar  1 21:46:54 webserver esmith::event[20433]: Action: /etc/e-smith/events/actions/generic_template                                                                                                                                      _expand SUCCESS [0.258676]
Mar  1 21:46:54 webserver systemd: Reloading.
Mar  1 21:46:54 webserver systemd: [/usr/lib/systemd/system/netdata.service:72] Unknown lvalue 'Prot                                                                                                                                      ectControlGroups' in section 'Service'
Mar  1 21:46:54 webserver systemd: Starting Shorewall IPv4 firewall...
Mar  1 21:46:54 webserver shorewall: Compiling using Shorewall 5.1.10.2...
Mar  1 21:46:54 webserver shorewall: Processing /etc/shorewall/params ...
Mar  1 21:46:54 webserver shorewall: Processing /etc/shorewall/shorewall.conf...
Mar  1 21:46:54 webserver shorewall: Loading Modules...
Mar  1 21:46:54 webserver shorewall: Compiling /etc/shorewall/zones...
Mar  1 21:46:54 webserver shorewall: Compiling /etc/shorewall/interfaces...
Mar  1 21:46:54 webserver shorewall: Compiling /etc/shorewall/hosts...
Mar  1 21:46:54 webserver shorewall: ERROR: Duplicate Host Group (eth1:0.0.0.0/0) in zone loc /etc/s                                                                                                                                      horewall/hosts (line 22)
Mar  1 21:46:54 webserver root: ERROR:Shorewall start failed
Mar  1 21:46:54 webserver systemd: shorewall.service: main process exited, code=exited, status=25/n/                                                                                                                                      a
Mar  1 21:46:54 webserver systemd: Failed to start Shorewall IPv4 firewall.
Mar  1 21:46:54 webserver systemd: Unit shorewall.service entered failed state.
Mar  1 21:46:54 webserver systemd: shorewall.service failed.
Mar  1 21:46:54 webserver esmith::event[20433]: Job for shorewall.service failed because the control                                                                                                                                       process exited with error code. See "systemctl status shorewall.service" and "journalctl -xe" for d                                                                                                                                      etails.
Mar  1 21:46:54 webserver esmith::event[20433]: [ERROR] Shorewall : Shorewall adjust failed
Mar  1 21:46:54 webserver esmith::event[20433]: Action: /etc/e-smith/events/nethserver-firewall-base                                                                                                                                      -save/S89nethserver-shorewall-restart FAILED: 1 [0.356402]
Mar  1 21:46:54 webserver systemd: Reloading.
Mar  1 21:46:54 webserver systemd: [/usr/lib/systemd/system/netdata.service:72] Unknown lvalue 'Prot                                                                                                                                      ectControlGroups' in section 'Service'
Mar  1 21:46:54 webserver esmith::event[20433]: [INFO] service lsm is disabled: skipped
Mar  1 21:46:54 webserver esmith::event[20433]: Action: /etc/e-smith/events/actions/adjust-services                                                                                                                                       SUCCESS [0.104831]
Mar  1 21:46:54 webserver esmith::event[20433]: Event: nethserver-firewall-base-save FAILED
Mar  1 21:46:54 webserver esmith::event[20425]: Action: /etc/e-smith/events/nethserver-vsftpd-save/S                                                                                                                                      60firewall-adjust FAILED: 1 [0.822289]
Mar  1 21:46:54 webserver systemd: Reloading.
Mar  1 21:46:54 webserver systemd: [/usr/lib/systemd/system/netdata.service:72] Unknown lvalue 'Prot                                                                                                                                      ectControlGroups' in section 'Service'
Mar  1 21:46:54 webserver esmith::event[20425]: [INFO] service vsftpd restart
Mar  1 21:46:54 webserver systemd: Stopping Vsftpd ftp daemon...
Mar  1 21:46:54 webserver systemd: Stopped Vsftpd ftp daemon.
Mar  1 21:46:54 webserver systemd: Starting Vsftpd ftp daemon...
Mar  1 21:46:54 webserver systemd: Started Vsftpd ftp daemon.
Mar  1 21:46:54 webserver esmith::event[20425]: Action: /etc/e-smith/events/actions/adjust-services                                                                                                                                       SUCCESS [0.14024]
Mar  1 21:46:54 webserver esmith::event[20425]: Event: nethserver-vsftpd-save FAILED
Mar  1 21:46:54 webserver update: Action: /etc/e-smith/events/vhost-modify/S60nethserver-virtualhost                                                                                                                                      s-ftp-save FAILED: 1 [1.208585]
Mar  1 21:46:54 webserver systemd: Reloading.
Mar  1 21:46:54 webserver systemd: [/usr/lib/systemd/system/netdata.service:72] Unknown lvalue 'Prot                                                                                                                                      ectControlGroups' in section 'Service'
Mar  1 21:46:54 webserver update: [INFO] service httpd reload
Mar  1 21:46:54 webserver systemd: Reloading The Apache HTTP Server.
Mar  1 21:46:54 webserver systemd: Reloaded The Apache HTTP Server.
Mar  1 21:46:54 webserver update: [INFO] service php80-php-fpm is not configured: skipped
Mar  1 21:46:54 webserver systemd: Reloading.
Mar  1 21:46:55 webserver systemd: [/usr/lib/systemd/system/netdata.service:72] Unknown lvalue 'Prot                                                                                                                                      ectControlGroups' in section 'Service'
Mar  1 21:46:55 webserver update: [INFO] service rh-php73-php-fpm restart
Mar  1 21:46:55 webserver systemd: Stopping The PHP FastCGI Process Manager...
Mar  1 21:46:55 webserver systemd: Stopped The PHP FastCGI Process Manager.
Mar  1 21:46:55 webserver systemd: Starting The PHP FastCGI Process Manager...
Mar  1 21:46:55 webserver systemd: Started The PHP FastCGI Process Manager.
Mar  1 21:46:55 webserver update: [INFO] service rh-php72-php-fpm is not configured: skipped
Mar  1 21:46:55 webserver update: [INFO] service rh-php71-php-fpm is not configured: skipped
Mar  1 21:46:55 webserver update: Action: /etc/e-smith/events/actions/adjust-services SUCCESS [0.414                                                                                                                                      149]
Mar  1 21:46:55 webserver update: Event: vhost-modify FAILED
Mar  1 21:47:05 webserver esmith::event[22140]: Event: nethserver-httpd-virtualhosts-update
Mar  1 21:47:05 webserver esmith::event[22140]: Migrating existing database tc
Mar  1 21:47:05 webserver esmith::event[22140]: Migrating existing database configuration
Mar  1 21:47:05 webserver esmith::event[22140]: Migrating existing database backups
Mar  1 21:47:05 webserver esmith::event[22140]: Migrating existing database getmail
Mar  1 21:47:05 webserver esmith::event[22140]: Migrating existing database vpn
Mar  1 21:47:05 webserver esmith::event[22140]: Migrating existing database smarthosts
Mar  1 21:47:05 webserver esmith::event[22140]: Migrating existing database proxypass
Mar  1 21:47:05 webserver esmith::event[22140]: Migrating existing database fwtimes
Mar  1 21:47:05 webserver esmith::event[22140]: Migrating existing database portforward
Mar  1 21:47:05 webserver esmith::event[22140]: Migrating existing database networks
Mar  1 21:47:05 webserver esmith::event[22140]: Migrating existing database domains
Mar  1 21:47:05 webserver esmith::event[22140]: Migrating existing database macs
Mar  1 21:47:05 webserver esmith::event[22140]: Migrating existing database dhcp
Mar  1 21:47:05 webserver esmith::event[22140]: Migrating existing database accounts
Mar  1 21:47:05 webserver esmith::event[22140]: Migrating existing database fwservices
Mar  1 21:47:05 webserver esmith::event[22140]: Migrating existing database vhosts
Mar  1 21:47:05 webserver esmith::event[22140]: Migrating existing database imapsync
Mar  1 21:47:05 webserver esmith::event[22140]: Migrating existing database fwrules
Mar  1 21:47:05 webserver esmith::event[22140]: Migrating existing database routes
Mar  1 21:47:05 webserver esmith::event[22140]: Migrating existing database hosts
Mar  1 21:47:05 webserver esmith::event[22140]: Migrating existing database certificates
Mar  1 21:47:05 webserver esmith::event[22140]: Action: /etc/e-smith/events/nethserver-httpd-virtual                                                                                                                                      hosts-update/S00initialize-default-databases SUCCESS [0.200247]
Mar  1 21:47:05 webserver esmith::event[22140]: expanding /etc/httpd/conf.d/virtualhosts.conf
Mar  1 21:47:08 webserver esmith::event[22140]: expanding /etc/opt/rh/rh-php72/php-fpm.d/000-virtual                                                                                                                                      host.conf
Mar  1 21:47:08 webserver esmith::event[22140]: expanding /etc/opt/rh/rh-php71/php-fpm.d/000-virtual                                                                                                                                      host.conf
Mar  1 21:47:08 webserver esmith::event[22140]: expanding /etc/opt/rh/rh-php73/php-fpm.d/000-virtual                                                                                                                                      host.conf
Mar  1 21:47:08 webserver esmith::event[22140]: expanding /etc/opt/remi/php80/php-fpm.d/000-virtualh                                                                                                                                      ost.conf
Mar  1 21:47:08 webserver esmith::event[22140]: Action: /etc/e-smith/events/actions/generic_template                                                                                                                                      _expand SUCCESS [2.472346]
Mar  1 21:47:08 webserver systemd: Reloading.
Mar  1 21:47:08 webserver systemd: [/usr/lib/systemd/system/netdata.service:72] Unknown lvalue 'Prot                                                                                                                                      ectControlGroups' in section 'Service'
Mar  1 21:47:08 webserver esmith::event[22140]: [INFO] service httpd reload
Mar  1 21:47:08 webserver systemd: Reloading The Apache HTTP Server.
Mar  1 21:47:08 webserver systemd: Reloaded The Apache HTTP Server.
Mar  1 21:47:08 webserver esmith::event[22140]: [INFO] service php80-php-fpm is not configured: skip                                                                                                                                      ped
Mar  1 21:47:08 webserver systemd: Reloading.
Mar  1 21:47:08 webserver systemd: [/usr/lib/systemd/system/netdata.service:72] Unknown lvalue 'Prot                                                                                                                                      ectControlGroups' in section 'Service'
Mar  1 21:47:08 webserver esmith::event[22140]: [INFO] service rh-php73-php-fpm restart
Mar  1 21:47:08 webserver systemd: Stopping The PHP FastCGI Process Manager...
Mar  1 21:47:08 webserver systemd: Stopped The PHP FastCGI Process Manager.
Mar  1 21:47:08 webserver systemd: Starting The PHP FastCGI Process Manager...
Mar  1 21:47:08 webserver systemd: Started The PHP FastCGI Process Manager.
Mar  1 21:47:08 webserver esmith::event[22140]: [INFO] service rh-php72-php-fpm is not configured: s                                                                                                                                      kipped
Mar  1 21:47:08 webserver esmith::event[22140]: [INFO] service rh-php71-php-fpm is not configured: s                                                                                                                                      kipped
Mar  1 21:47:08 webserver esmith::event[22140]: Action: /etc/e-smith/events/actions/adjust-services                                                                                                                                       SUCCESS [0.413572]
Mar  1 21:47:08 webserver esmith::event[22140]: Event: nethserver-httpd-virtualhosts-update SUCCESS
Mar  1 21:50:01 webserver systemd: Created slice User Slice of apache.
Mar  1 21:50:01 webserver systemd: Started Session 181 of user apache.
Mar  1 21:50:01 webserver systemd: Removed slice User Slice of apache.
Mar  1 21:55:01 webserver systemd: Created slice User Slice of apache.
Mar  1 21:55:01 webserver systemd: Started Session 182 of user apache.
Mar  1 21:55:02 webserver systemd: Removed slice User Slice of apache.

Please check /etc/shorewall/hosts. You seem to have a strange hosts entry eth1:0.0.0.0/0.

Please also check networks db as it seems as if there’s a network with “0.0.0.0”. To check:

db networks show

Yeah I noticed this when I was looking at the logs.

10.10.10.4 is the servers actual ip and the outside ip for this box is 157.185.79.38

I think I found it and got it removed out of the web interface it was on the trusted network side.

[root@webserver nethserver-httpd-virtualhosts-update]# db networks show
192.168.9.0=network
Description=
Mask=255.255.255.0
eth0=ethernet
role=
eth1=ethernet
bootproto=none
gateway=10.10.10.1
ipaddr=10.10.10.4
netmask=255.255.255.0
nslabel=
role=green
eth1:0=alias
ipaddr=157.185.79.38
netmask=255.255.255.0
role=alias
ppp0=xdsl-disabled
AuthType=auto
FwInBandwidth=
FwOutBandwidth=
Password=
name=PPPoE
provider=xDSL provider
role=red
user=
[root@webserver nethserver-httpd-virtualhosts-update]#

1 Like