Portál AbcLinuxu, 12. května 2025 06:56
Zdravim,
nedavno jsem si na svuj server nahral ftp server (pure-ftpd) a za nedlouho jsem zjistil ze nejede apache2.
root@oldcans:/srv# /etc/init.d/apache2 restart
* Restarting web server apache2
apache2: bad user name oldcans
v error.log od apache me to hlasi todle:
[Fri Jul 03 00:04:39 2009] [notice] Apache/2.2.4 (Ubuntu) configured -- resuming normal operations
[Fri Jul 03 00:04:44 2009] [notice] Graceful restart requested, doing restart
apache2: Could not reliably determine the server's fully qualified domain name, using 92.243.19.72 for ServerName
[Fri Jul 03 00:04:44 2009] [notice] Apache/2.2.4 (Ubuntu) configured -- resuming normal operations
[Fri Jul 03 00:05:03 2009] [notice] caught SIGWINCH, shutting down gracefully
user oldcans existuje a je i v group
Nevite nekdo je muze byt zrada ?
# to avoid warning at start
ServerName localhost
NameVirtualHost *:80
Co je na tom spatneho ?
v apache2.conf je
User www-data
Group www-data
zminku o oldcans jsem v zadne apache configu nenasel je to divne.
root@oldcans:/srv# /etc/init.d/apache2 restart * Restarting web server apache2 apache2: bad user name oldcansZkus zjistit komu patří adresáře s daty apache a jestli uživatel www-data je v systému.
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.