hi ianw1974,
thank you for your reply
the command you ask me to call doesn't return any information (are you sure of the syntax ?). I have tried this:
[root@vialinux ~]# chkconfig --list httpd
httpd 0:arrêt 1:arrêt 2:arrêt 3:marche 4:arrêt 5:marche 6:arrêt
[root@vialinux ~]# runlevel
N 5
since my post, I have made some investigations to try to find some log informations, I have added a trace for start and stop cases into /etc/int.d/httpd script file :
echo "Jlb: start httpd +++++ ";
and after searching such text into all /var/log files, I found this in prcsys.log :
Jlb: start httpd +++++
Starting httpd: [sun May 04 09:42:27 2008] [crit] (EAI 9)Address family for hostname not supported: alloc_listener: failed to set up sockaddr for 0.0.0.0
Syntax error on line 179 of /etc/httpd/conf/httpd.conf:
Listen setup failed
and here is what is in /etc/httpd/conf/httpd.conf at line 179 (I think that this is what is in the file when mandriva has downloaded the apache RPM package):
Listen 0.0.0.0:80
I tried this, it doesn't work better :
Listen 127.0.0.1:80
then I replaced that line by :
Listen 80
and now my httpd starts well at boot !
Maybe I don't well unsdertand the purpose of that instruction. And what is curious is that the service fails to start in boot phase, but starts without any error message in manual mode.
I also needed to add the following line in httpd.conf (otherwise an error occured too):
ServerName myserver.domaine.com
here is what is in my host file (is it correct ?):
127.0.0.1 vialinux localhost
127.0.0.2 myserver.domaine.com domaine
I'm just starting with linux, after many disapointments with opensuze, ubuntu, debian, but I can say that Mandriva seems easier to setup, for example I have never been able to correctly install MySQL + MySQL_administrator + MySQL_query_browser on open suze, even with the RPM files.
There still subsist some problems of non started services in my configuration, but for the moment I'm not concerned by these services. Each problem at a time.
:)
bye