Koozali.org: home of the SME Server
Obsolete Releases => SME Server 9.x => Topic started by: Alex_SG on February 12, 2017, 02:23:19 AM
-
Hi!
The changes for virtual domains and host will be not applied.
My /etc/httpd/conf/ looks:
-rw-r--r-- 1 root root 33603 24. Jan 18:20 httpd.conf
-rw------- 1 root root 35567 11. Feb 12:22 httpd.conf.1035
-rw------- 1 root admin 35567 11. Feb 00:01 httpd.conf.16217
-rw------- 1 root admin 37293 11. Feb 17:38 httpd.conf.17594
-rw------- 1 root admin 37293 11. Feb 17:46 httpd.conf.2558
-rw------- 1 root admin 37293 11. Feb 17:48 httpd.conf.2620
-rw------- 1 root admin 37321 11. Feb 17:49 httpd.conf.2649
-rw------- 1 root admin 37293 11. Feb 18:00 httpd.conf.2773
-rw------- 1 root admin 37321 11. Feb 18:01 httpd.conf.2818
-rw------- 1 root root 32265 25. Jan 00:25 httpd.conf.2892
-rw------- 1 root root 37321 11. Feb 18:15 httpd.conf.3087
-rw------- 1 root root 32265 25. Jan 00:35 httpd.conf.3294
-rw------- 1 root admin 37351 11. Feb 18:20 httpd.conf.3410
-rw------- 1 root admin 37351 11. Feb 18:23 httpd.conf.3540
-rw------- 1 root admin 37351 11. Feb 18:23 httpd.conf.3569
-rw------- 1 root admin 37351 11. Feb 19:22 httpd.conf.3763
-rw------- 1 root admin 37351 11. Feb 19:22 httpd.conf.3795
-rw------- 1 root admin 41207 11. Feb 19:23 httpd.conf.3851
-rw------- 1 root admin 41423 11. Feb 19:24 httpd.conf.3884
-rw------- 1 root admin 35567 11. Feb 17:10 httpd.conf.4391
-rw------- 1 root admin 36121 11. Feb 17:13 httpd.conf.4481
-rw------- 1 root admin 36157 11. Feb 17:15 httpd.conf.4532
-rw------- 1 root admin 36157 11. Feb 17:26 httpd.conf.4739
-rw------- 1 root admin 36157 11. Feb 17:27 httpd.conf.4853
-rw------- 1 root admin 37293 11. Feb 17:29 httpd.conf.5071
-rw------- 1 root admin 37293 11. Feb 17:32 httpd.conf.5354
-rw------- 1 root admin 37293 11. Feb 17:34 httpd.conf.5641
-rw------- 1 root root 41423 11. Feb 19:43 httpd.conf.955
[root@sme04 conf]# apachectl -V | grep SERVER_CONFIG_FILE
-D SERVER_CONFIG_FILE="conf/httpd.conf"
The httpd.conf is not touched.
In messages log there is:
Feb 11 19:59:54 sme04 esmith::event[2647]: Running event handler: /etc/e-smith/events/post-upgrade/S05init-accounts
Feb 11 19:59:54 sme04 esmith::event[2647]: failed to fix permissions for www at /etc/e-smith/events/post-upgrade/S05init-accounts line 62.
Feb 11 19:59:54 sme04 esmith::event[2647]: failed to fix permissions for apache at /etc/e-smith/events/post-upgrade/S05init-accounts line 66.
signal-event post-upgrade and reboot was made...
Additional packages:
Collaboration: pseudonyms
Administration: Domain pseudonyms
Has anybody an idea to fix it?
-
If the version of httpd.conf with the latest date/time includes the changes you're trying to make, you could manually rename it and restart httpd-e-smith:
cd /etc/httpd/conf
mv httpd.conf httpd.conf.save
mv httpd.conf.955 httpd.conf
sv t httpd-e-smith
This doesn't identify the source of the problem, but may reduce the urgency...
-
You may get a better idea of the source of the problem by manually expanding the httpd.conf template and/or looking at /var/log/messages for lines related to the httpd.conf template
expand-template /etc/httpd/conf/httpd.conf
grep template.*httpd.conf /var/log/messages |less -S
-
Thx, yes renamed the httpd.conf.955 to httpd.conf. But i must find the source of the prob.
-
hi Alex_Sg..
first of all welcome here..
you'd tell us more about your server: its history, what did you install
I notice that something is strange on your server: on a server of mine I have
[root@fileserver ~]# ls -la /etc/httpd/conf/
totale 72
drwxr-xr-x 3 root root 4096 19 dic 09:18 .
drwxr-xr-x 6 root root 4096 24 lug 2016 ..
-rw-r--r-- 1 root root 43536 3 dic 09:57 httpd.conf
-rw-r--r-- 1 root root 13139 18 lug 2016 magic
drwxr-xr-x 2 root root 4096 6 nov 02:30 proxy
so it seems to me your permissions are wrong
also, the output of
/sbin/e-smith/audittools/templates
will help
and, finally, the one from
history | grep chmod
will help too
-
any news? did you solve your issue?