|
From: Bruno C. <Bru...@hp...> - 2007-11-21 10:39:28
|
Bruno Cornec said on Wed, Nov 21, 2007 at 10:38:38AM +0100:
> Humm I found one strange think from my point of view:
>
> In /etc/linuxcoe-sd/linuxcoe.rc I have:
> # FTP_PATH - where the bootable images are made available for download
> FTP_PATH @ftppubdir@/LinuxCOE/images
>
> Is that normal ?
Yes. It is according to the doc.
Now comparing a server which works with the one which doesn't I found
other diffs:
my /etc/linuxcoe-sd/includes/config.state is probably wrong:
#! /bin/sh
# from previous configure run
export prefix=/var/www/linuxcoe-sd
export exec_prefix=${prefix}
export bindir=${exec_prefix}/bin
export sbindir=${exec_prefix}/sbin
export libexecdir=${exec_prefix}/libexec
export datadir=${datarootdir}
export datarootdir=${prefix}/share
export sysconfdir=/etc/linuxcoe-sd
export sharedstatedir=${prefix}/com
export localstatedir=/var
export libdir=${exec_prefix}/lib
export includedir=${prefix}/include
export oldincludedir=/usr/include
export infodir=${datarootdir}/info
export mandir=/usr/share/man
export PACKAGE_NAME=linuxcoe-sd
export PACKAGE_VERSION=4.1
export webalias=SystemDesigner
export httpdcfgdir=/etc/httpd/conf.d
export docrootdir=/var/www/html
export httpd_user=apache
export httpd_group=apache
export sudoers_cfg=/etc/sudoers
export TAR=/bin/tar
export CPIO=/bin/cpio
export GZIP=/bin/gzip
export GUNZIP=/bin/gunzip
export DIFF=/usr/bin/diff
export FIND=/usr/bin/find
export MKISOFS=SKIP
export PERL=/usr/bin/perl
export PERLMOD=@PERLMOD@
export PALO=NONE
export SENDMAIL=SKIP
export APACHE=SKIP
export APACHECTL=SKIP,
export APACHE2CTL=SKIP
export SUDOERS=DOIT
export SUDO=SKIP
Shouldn't those SKIP be replaced by what is also in binaries.pm ?
The diff with the working machine gives (< works, > doesn't)
13c13
< export localstatedir=/var/lib
---
> export localstatedir=/var
32,33c32,35
< export FIND=/bin/find
< export MKISOFS=/usr/bin/mkisofs
---
> export FIND=/usr/bin/find
> export MKISOFS=SKIP
> export PERL=/usr/bin/perl
> export PERLMOD=@PERLMOD@
35,38c37,42
< export SENDMAIL=/usr/sbin/sendmail
< export APACHECTL=/usr/sbin/apachectl
< export APACHE2CTL=NONE
< export SUDO=/usr/bin/sudo
---
> export SENDMAIL=SKIP
> export APACHE=SKIP
> export APACHECTL=SKIP,
> export APACHE2CTL=SKIP
> export SUDOERS=DOIT
> export SUDO=SKIP
74c74
Maybe the PERLMOD,localstatedir,MKISOFS,SENDMAIL,APACHE,APACHECTL,
APACHE2CTL,SUDO lines are wrong too ?
It seems that that script is called by post-actions:
/var/www/linuxcoe-sd/bin/post-actions: test -f "/etc/linuxcoe-sd/includes/config.state" && . /etc/linuxcoe-sd/includes/config.state
I'm also skeptic by that one:
diff /var/www/linuxcoe-sd/includes/sysdes_paths.pm /mnt//var/www/linuxcoe-sd/includes/sysdes_paths.pm
14c14
< $VAR="/var/lib";
---
> $VAR="/var";
(which corresponds to the difference mentioned above in localstatedir)
I also found another issue:
# ls -al /var/lib/linuxcoe-sd/profiles/
total 20
drwxrwsr-x 2 apache apache 4096 Aug 30 02:09 .
drwxrwsr-x 3 apache apache 4096 Aug 30 02:09 ..
lrwxrwxrwx 1 root apache 29 Aug 30 02:09 profiles -> /var/lib/linuxcoe-sd/profiles
So I created the following:
# ln -s /var/log/linuxcoe-sd /var/lib/logs
But still no log file :-(
[root@localhost images]# find / -name sysdes.log
[root@localhost images]#
Still searching ;-)
Bruno.
--
Linux Profession Lead EMEA / Open Source Evangelist \ HP C&I EMEA IET
http://www.mondorescue.org / HP/Intel Solution Center \ http://hpintelco.net
Des infos sur Linux? http://www.HyPer-Linux.org http://www.hp.com/linux
La musique ancienne? http://www.musique-ancienne.org http://www.medieval.org
|