Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > alt.os.linux > #82653
| From | "Carlos E.R." <robin_listas@es.invalid> |
|---|---|
| Newsgroups | alt.os.linux |
| Subject | Re: apache2 barf with plasma6/tumbleweed |
| Date | 2026-05-12 10:35 +0200 |
| Organization | Tebibyte_Retro_Gaming |
| Message-ID | <bc5bdmxpsh.ln2@Telcontar.valinor> (permalink) |
| References | <dvucnaNLYMSKCZ_3nZ2dnZfqnPidnZ2d@giganews.com> <n6g0hdFougkU1@mid.individual.net> |
On 2026-05-12 08:43, J.O. Aho wrote: > On 12/05/2026 04.44, bad sector wrote: >> # systemctl start apache2.service >> 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. >> >> # systemctl status apache2.service >> >> httpd-prefork: Syntax error in -C/-c directive: Syntax error on line 2 >> of /etc/apache2/sysconfig.d/include.conf: Could not open configuration >> file /path/myapache/myapache.conf: Permission denied >> >> >> /etc/apache2/sysconfig.d/include.conf >> >> # File generated from /etc/sysconfig/apache2, do not edit. Edit the >> sysconfig file instead. >> Include /path/myapache/myapache.conf >> >> >> It seems to find a synatx error in my fully qualified path to my >> config file which has wide open permissions (using as local server only). >> >> What am I missing? > run the following oneline (everything in the same line, just replace the > path with the real one) > > apconf_path=/path/myapache/myapache.conf; while [ "$apconf_path" != > "/" ]; do ls -ld "$apconf_path"; apconf_path=$(dirname "$apconf_path"); > done; > > the result could look something like: > -rw-r----- 1 user user 47 Jan 21 2025 /path/myapache/myapache.conf > drwxr-xr-x 1 user user 114 Apr 14 11:08 /path/myapache > drwxr-xr-x 1 root root 6044 May 15 21:16 /path > > the wwwrun user should have access to go into each directory, so all of > them needs to be x, the file itself needs to be r for the wwwrun user. > > There is few options: > 1. on all directories in the path "chmod o+x /path/to/dir" and the file > itself "chmod o+r /path/myapache/myapache.conf" > 2. You change the group to wwwrun and ensure that the paths all parts > has g+x for directories and g+r for the file itself. > 3. You make wwwrun to be member of your user group. > > The "simplest" is option 1. > You also need to look at apparmor or selinux. -- Cheers, Carlos. ES🇪🇸, EU🇪🇺;
Back to alt.os.linux | Previous | Next — Previous in thread | Next in thread | Find similar
apache2 barf with plasma6/tumbleweed bad sector <forgetski@_INVALID.net> - 2026-05-11 22:44 -0400
Re: apache2 barf with plasma6/tumbleweed Lawrence D’Oliveiro <ldo@nz.invalid> - 2026-05-12 05:47 +0000
Re: apache2 barf with plasma6/tumbleweed bad sector <forgetski@_INVALID.net> - 2026-05-12 21:12 -0400
Re: apache2 barf with plasma6/tumbleweed "J.O. Aho" <user@example.net> - 2026-05-12 08:43 +0200
Re: apache2 barf with plasma6/tumbleweed "Carlos E.R." <robin_listas@es.invalid> - 2026-05-12 10:35 +0200
Re: apache2 barf with plasma6/tumbleweed "J.O. Aho" <user@example.net> - 2026-05-12 12:55 +0200
Re: apache2 barf with plasma6/tumbleweed "Carlos E.R." <robin_listas@es.invalid> - 2026-05-12 13:15 +0200
Re: apache2 barf with plasma6/tumbleweed bad sector <forgetski@_INVALID.net> - 2026-05-12 21:04 -0400
Re: apache2 barf with plasma6/tumbleweed "J.O. Aho" <user@example.net> - 2026-05-13 08:01 +0200
Re: apache2 barf with plasma6/tumbleweed "Carlos E.R." <robin_listas@es.invalid> - 2026-05-13 12:44 +0200
Re: apache2 barf with plasma6/tumbleweed bad sector <forgetski@_INVALID.net> - 2026-05-13 17:54 -0400
Re: apache2 barf with plasma6/tumbleweed Richard Kettlewell <invalid@invalid.invalid> - 2026-05-14 00:08 +0100
Re: apache2 barf with plasma6/tumbleweed bad sector <forgetski@_INVALID.net> - 2026-05-13 20:45 -0400
Re: apache2 barf with plasma6/tumbleweed "J.O. Aho" <user@example.net> - 2026-05-14 10:25 +0200
Re: apache2 barf with plasma6/tumbleweed bad sector <forgetski@_INVALID.net> - 2026-05-14 21:16 -0400
Re: apache2 barf with plasma6/tumbleweed "J.O. Aho" <user@example.net> - 2026-05-15 07:56 +0200
Re: apache2 barf with plasma6/tumbleweed bad sector <forgetski@_INVALID.net> - 2026-05-15 06:56 -0400
Re: apache2 barf with plasma6/tumbleweed "J.O. Aho" <user@example.net> - 2026-05-15 14:20 +0200
Re: apache2 barf with plasma6/tumbleweed bad sector <forgetski@_INVALID.net> - 2026-05-16 21:37 -0400
Re: apache2 barf with plasma6/tumbleweed "Carlos E.R." <robin_listas@es.invalid> - 2026-05-15 14:20 +0200
Re: apache2 barf with plasma6/tumbleweed Richard Kettlewell <invalid@invalid.invalid> - 2026-05-14 10:13 +0100
Re: apache2 barf with plasma6/tumbleweed bad sector <forgetski@_INVALID.net> - 2026-05-14 21:16 -0400
Re: apache2 barf with plasma6/tumbleweed bad sector <forgetski@_INVALID.net> - 2026-05-14 21:18 -0400
Re: apache2 barf with plasma6/tumbleweed bad sector <forgetski@_INVALID.net> - 2026-05-14 21:19 -0400
Re: apache2 barf with plasma6/tumbleweed bad sector <forgetski@_INVALID.net> - 2026-05-14 21:20 -0400
Re: apache2 barf with plasma6/tumbleweed Lawrence D’Oliveiro <ldo@nz.invalid> - 2026-05-14 01:05 +0000
Re: apache2 barf with plasma6/tumbleweed bad sector <forgetski@_INVALID.net> - 2026-05-14 21:16 -0400
ReSOLVED: apache2 barf with plasma6/tumbleweed bad sector <forgetski@_INVALID.net> - 2026-05-17 00:57 -0400
Re: ReSOLVED: apache2 barf with plasma6/tumbleweed Paul <nospam@needed.invalid> - 2026-05-17 08:04 -0400
Re: ReSOLVED: apache2 barf with plasma6/tumbleweed bad sector <forgetski@_INVALID.net> - 2026-05-17 18:19 -0400
Re: ReSOLVED: apache2 barf with plasma6/tumbleweed Lawrence D’Oliveiro <ldo@nz.invalid> - 2026-05-17 22:34 +0000
Re: ReSOLVED: apache2 barf with plasma6/tumbleweed bad sector <forgetski@_INVALID.net> - 2026-05-17 22:53 -0400
Re: ReSOLVED: apache2 barf with plasma6/tumbleweed Lawrence D’Oliveiro <ldo@nz.invalid> - 2026-05-18 04:23 +0000
csiph-web