TupambAdminOrg [2024.03] on Nostr: This help request is somehow solved. There were serious errores in different ...
This help request is somehow solved. There were serious errores in different /etc/apache2/sites-available/defaultANDdomain.conf files introduced by hand and unchecked copy/paste practices.
Still having some troubles to get this work but at least there is some progress for now.
original halp requestHi there.
Trying right now to install a new friendica instance on another domain [tupambae.com] alongside this installation [tupambae.org] here.
This ubuntu 2022.04lts was installed initially as a single instance VPS with the following tutorial (in progress):
tupambae.org /display/0ac89072-9365-5d9d-8485-599077309156
The following changes were made to transform this VPS into a domain name-based single IP virtual hosting:
tupambae.org/display/0ac89072-…
This installation process right now is documented in this post:
tupambae.org/display/0ac89072-…
This intent got stuck after executing the git pull and bin/composer.phar install --no-dev step.
A in a first visit of the domain, instead of the system requirement check list a simple list of the files and folder of the "html" directory showed up. Than the server "broke down" and both domains, the new one and this one here gave just black pages, stating that the sites weren't reachable at all.
The console printed about the apache server the following:
apache error messagesroot@VPShosting:/var/www# systemctl restart apache2
Job for apache2.service failed because the control process exited with error code.
See "systemctl status apache2.service" and "journalctl -xeu apache2.service" for details.
--
root@VPShosting:/var/www# systemctl status apache2
× apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2025-02-26 14:20:25 UTC; 1min 18s ago
Docs: httpd.apache.org/docs/2.4/
Process: 38181 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILURE)
CPU: 20ms
Feb 26 14:20:25 tupambae.org systemd[1]: Starting The Apache HTTP Server...
Feb 26 14:20:25 tupambae.org apachectl[38184]: apache2: Syntax error on line 225 of /etc/apache2/apache2.conf: Syntax error on line 20 of /etc/apache2/sites-e>
Feb 26 14:20:25 tupambae.org apachectl[38181]: Action 'start' failed.
Feb 26 14:20:25 tupambae.org apachectl[38181]: The Apache error log may have more information.
Feb 26 14:20:25 tupambae.org systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
Feb 26 14:20:25 tupambae.org systemd[1]: apache2.service: Failed with result 'exit-code'.
Feb 26 14:20:25 tupambae.org systemd[1]: Failed to start The Apache HTTP Server.
To get this instance here running again the new domain was deactivated by:
sudo a2dissite newdomain.com
and restarting apache by:
systemctl restart apache2
Any idea what could be the problem or where to search for resolving this?
Published at
2025-02-26 22:57:38Event JSON
{
"id": "7dd8b1c49f869d14ba1fe157b9eba3c435c5986bff3eaea9e83d671b325db304",
"pubkey": "496886652542205b5644d0efa72af1a821b79107dbc39481a227388801004e6d",
"created_at": 1740610658,
"kind": 1,
"tags": [
[
"p",
"15b7758904cd6ec9c4d780aed7cca01019b61be45945dea8a68e2d2322a45ecd",
"wss://relay.mostr.pub"
],
[
"p",
"040ac6e6a9932dc05b22d80e986d759293dd8bf3fb0294d09b9118d12bc18c41",
"wss://relay.mostr.pub"
],
[
"p",
"08e210217b9bf22ce53ebf1e27b5ed8dc9db28dc1d82f1f4575eee7b3a76743a",
"wss://relay.mostr.pub"
],
[
"p",
"683af91670851ffc58b119aa79dc187198f51e2b3ad38a1774a1f396456f6442",
"wss://relay.mostr.pub"
],
[
"proxy",
"https://tupambae.org/objects/0ac89072-1667-bf9c-62e0-f24138177380",
"activitypub"
]
],
"content": "This help request is somehow solved. There were serious errores in different /etc/apache2/sites-available/defaultANDdomain.conf files introduced by hand and unchecked copy/paste practices.\n\nStill having some troubles to get this work but at least there is some progress for now.\n\n\noriginal halp requestHi there.\nTrying right now to install a new friendica instance on another domain [tupambae.com] alongside this installation [tupambae.org] here.\nThis ubuntu 2022.04lts was installed initially as a single instance VPS with the following tutorial (in progress):\ntupambae.org /display/0ac89072-9365-5d9d-8485-599077309156\nThe following changes were made to transform this VPS into a domain name-based single IP virtual hosting:\ntupambae.org/display/0ac89072-…\nThis installation process right now is documented in this post:\ntupambae.org/display/0ac89072-…\nThis intent got stuck after executing the git pull and bin/composer.phar install --no-dev step.\nA in a first visit of the domain, instead of the system requirement check list a simple list of the files and folder of the \"html\" directory showed up. Than the server \"broke down\" and both domains, the new one and this one here gave just black pages, stating that the sites weren't reachable at all.\nThe console printed about the apache server the following:\n apache error messagesroot@VPShosting:/var/www# systemctl restart apache2\nJob for apache2.service failed because the control process exited with error code.\nSee \"systemctl status apache2.service\" and \"journalctl -xeu apache2.service\" for details.\n--\nroot@VPShosting:/var/www# systemctl status apache2\n× apache2.service - The Apache HTTP Server\nLoaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)\nActive: failed (Result: exit-code) since Wed 2025-02-26 14:20:25 UTC; 1min 18s ago\nDocs: httpd.apache.org/docs/2.4/\nProcess: 38181 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILURE)\nCPU: 20ms\nFeb 26 14:20:25 tupambae.org systemd[1]: Starting The Apache HTTP Server...\nFeb 26 14:20:25 tupambae.org apachectl[38184]: apache2: Syntax error on line 225 of /etc/apache2/apache2.conf: Syntax error on line 20 of /etc/apache2/sites-e\u003e\nFeb 26 14:20:25 tupambae.org apachectl[38181]: Action 'start' failed.\nFeb 26 14:20:25 tupambae.org apachectl[38181]: The Apache error log may have more information.\nFeb 26 14:20:25 tupambae.org systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE\nFeb 26 14:20:25 tupambae.org systemd[1]: apache2.service: Failed with result 'exit-code'.\nFeb 26 14:20:25 tupambae.org systemd[1]: Failed to start The Apache HTTP Server.\nTo get this instance here running again the new domain was deactivated by:\nsudo a2dissite newdomain.com\nand restarting apache by:\n systemctl restart apache2\nAny idea what could be the problem or where to search for resolving this?",
"sig": "8c6ba66dfd5f937383def77bffe9cebffb38f7bdfc46f98dd61ff75544511986f411c2d2fe708a7d41fdefe20ca663dcc168df2c5073b40eece891923d41e630"
}