httpd not started after new installing directadmin

diandade

Verified User
Joined
Feb 16, 2009
Messages
15
hi, i installed DA, but some part of the installation process see these lines are in the picture :
http://h.imagehost.org/0035/DA-error.jpg
so after finished the installation the Httpd not started,
( i installed ELS before DA installation and running some commands like : --chmodfiles or the sames ...
i am not sure the problem occur because of them, but you can help me .. )
how can i fix my httpd, it is stoped

[root@server ~]# service httpd restart
Stopping httpd: [FAILED]
Starting httpd:


thanks
 
also when i used : ./build php

cp: cannot create regular file `/usr/sbin/#inst.22321#': Operation not permitted
chmod: changing permissions of `/usr/sbin/#inst.22321#': Operation not permitted
rm: cannot remove `/usr/sbin/htcacheclean': Operation not permitted
mv: cannot move `/usr/sbin/#inst.22321#' to `/usr/sbin/htcacheclean': Operation not permitted
cp: cannot create regular file `/usr/sbin/#inst.22383#': Operation not permitted
chmod: changing permissions of `/usr/sbin/#inst.22383#': Operation not permitted
rm: cannot remove `/usr/sbin/httxt2dbm': Operation not permitted
mv: cannot move `/usr/sbin/#inst.22383#' to `/usr/sbin/httxt2dbm': Operation not permitted
make[2]: Leaving directory `/usr/local/directadmin/custombuild/httpd-2.2.11/support'
cp: cannot create regular file `/usr/sbin/apxs': Operation not permitted
chmod: changing permissions of `/usr/sbin/apxs': Operation not permitted
cp: cannot create regular file `/usr/sbin/apachectl': Operation not permitted
chmod: changing permissions of `/usr/sbin/apachectl': Operation not permitted
cp: cannot create regular file `/usr/sbin/dbmmanage': Operation not permitted
chmod: changing permissions of `/usr/sbin/dbmmanage': Operation not permitted
make[1]: *** [install] Error 1
make[1]: Leaving directory `/usr/local/directadmin/custombuild/httpd-2.2.11/support'
make: *** [install-recursive] Error 1
Restoring certificate and key, and turning on httpd for DirectAdmins's check.
Restarting apache.
Stopping httpd: [FAILED]
Starting httpd:

apache : 2.2.11
php : 5.2.11
 
Last edited:
i read it,

result of :
ls -ld /usr/sbin
is below :
[root@server custombuild]# ls -ld /usr/sbin
drwxr-xr-x 2 root root 12288 Jul 11 21:43 /usr/sbin
AND
result of :
lsattr -d /usr/sbin
is below :
[root@server custombuild]# lsattr -d /usr/sbin
----------I-- /usr/sbin

AND result of :
is below :

[root@server custombuild]# mount
/dev/hda5 on / type ext3 (rw,usrquota,grpquota)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/hda2 on /tmp type ext3 (rw,noexec,nosuid,nodev)
/dev/hda1 on /boot type ext3 (rw)
none on /dev/shm type tmpfs (rw,noexec,nosuid,nodev)
/var/tmpMnt on /tmp type ext3 (rw,noexec,nosuid,nodev,loop=/dev/loop0)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)

AND
the result of
lsattr /usr/sbin
is below :

------------- /usr/sbin/update-alternatives
------------- /usr/sbin/exportfs
------------- /usr/sbin/rpc.idmapd
------------- /usr/sbin/hald
------------- /usr/sbin/getsebool
------------- /usr/sbin/arpd
------------- /usr/sbin/lvreduce
------------- /usr/sbin/eject
------------- /usr/sbin/pvremove
------------- /usr/sbin/pvchange
------------- /usr/sbin/convertquota
------------- /usr/sbin/nfsstat
------------- /usr/sbin/lnewusers
------------- /usr/sbin/alternatives
------------- /usr/sbin/ccreds_validate
------------- /usr/sbin/saslpasswd2
------------- /usr/sbin/pppoe-sniff
------------- /usr/sbin/fsadm
------------- /usr/sbin/execcap
------------- /usr/sbin/sepolgen-ifgen
------------- /usr/sbin/fbset
------------- /usr/sbin/pvmove
------------- /usr/sbin/lvcreate
------------- /usr/sbin/dovecot
------------- /usr/sbin/proftpd
------------- /usr/sbin/pppd
------------- /usr/sbin/ntpd
------------- /usr/sbin/lvresize
------------- /usr/sbin/biosdecode
------------- /usr/sbin/checkgid
------------- /usr/sbin/setpcaps
------------- /usr/sbin/sshd
------------- /usr/sbin/atrun
------------- /usr/sbin/setquota
------------- /usr/sbin/ibmsphalt
------------- /usr/sbin/vgdisplay
------------- /usr/sbin/nhfsnums
------------- /usr/sbin/adduser
------------- /usr/sbin/exim_dumpdb
------------- /usr/sbin/pm-hibernate
------------- /usr/sbin/rpc.gssd
------------- /usr/sbin/lchage
------------- /usr/sbin/ibmspup
------------- /usr/sbin/tracepath
------------- /usr/sbin/pvdisplay
------------- /usr/sbin/lpadmin
------------- /usr/sbin/cracklib-packer
------------- /usr/sbin/setsebool
------------- /usr/sbin/nm-system-settings
------------- /usr/sbin/sosreport
------------- /usr/sbin/avahi-autoipd
------------- /usr/sbin/edquota
------------- /usr/sbin/wpa_passphrase
------------- /usr/sbin/pppoe-discovery
------------- /usr/sbin/cupsctl
------------- /usr/sbin/repquota
------------- /usr/sbin/ramsize
------------- /usr/sbin/rdev
------------- /usr/sbin/irdadump
------------- /usr/sbin/kudzu
------------- /usr/sbin/usernetctl
------------- /usr/sbin/sucap
------------- /usr/sbin/udevmonitor
------------- /usr/sbin/filefrag
------------- /usr/sbin/suexec
------------- /usr/sbin/mysqld
------------- /usr/sbin/pppstats
------------- /usr/sbin/lvscan
------------- /usr/sbin/makewhatis
------------- /usr/sbin/ntptime
------------- /usr/sbin/exim_tidydb
------------- /usr/sbin/dns-keygen
------------- /usr/sbin/cupsfilter
------------- /usr/sbin/userdel
------------- /usr/sbin/system-config-network
------------- /usr/sbin/ypset
------------- /usr/sbin/grpconv
------------- /usr/sbin/ss
------------- /usr/sbin/lvs
------------- /usr/sbin/bonobo-activation-sysconf
------------- /usr/sbin/dump-utmp
------------- /usr/sbin/rpcinfo
------------- /usr/sbin/tzdata-update
------------- /usr/sbin/envvars-std
------------- /usr/sbin/vgcfgbackup
------------- /usr/sbin/sa
------------- /usr/sbin/vgconvert
------------- /usr/sbin/conmand
------------- /usr/sbin/semanage
------------- /usr/sbin/rcmysql
------------- /usr/sbin/audit2why
------------- /usr/sbin/kbdrate
------------- /usr/sbin/lgroupdel
------------- /usr/sbin/cc_test
------------- /usr/sbin/sendmail
------------- /usr/sbin/genhomedircon
------------- /usr/sbin/oddjobd
------------- /usr/sbin/htcacheclean
------------- /usr/sbin/modeline2fb
------------- /usr/sbin/#inst.22197#
------------- /usr/sbin/hciemu
------------- /usr/sbin/chpasswd
------------- /usr/sbin/lvmchange
------------- /usr/sbin/cupsenable
------------- /usr/sbin/ntsysv
------------- /usr/sbin/#inst.21887#
------------- /usr/sbin/lpmove
------------- /usr/sbin/vm-pop3d
------------- /usr/sbin/cupsdisable
------------- /usr/sbin/cracklib-unpacker
------------- /usr/sbin/wpa_cli
------------- /usr/sbin/selinuxenabled
------------- /usr/sbin/tmpwatch
------------- /usr/sbin/rootflags
------------- /usr/sbin/ypserv_test
------------- /usr/sbin/named
------------- /usr/sbin/rpc.nfsd
------------- /usr/sbin/prelink
------------- /usr/sbin/vgchange
------------- /usr/sbin/setenforce
------------- /usr/sbin/pvcreate
------------- /usr/sbin/restorecond
------------- /usr/sbin/newusers
------------- /usr/sbin/semodule
------------- /usr/sbin/system-config-network-tui
------------- /usr/sbin/lsof
------------- /usr/sbin/pppoe
------------- /usr/sbin/lvm
------------- /usr/sbin/logresolve
------------- /usr/sbin/crond
------------- /usr/sbin/lokkit
------------- /usr/sbin/lvmsadc
------------- /usr/sbin/cc_dump
------------- /usr/sbin/accept
------------- /usr/sbin/rpcdebug
------------- /usr/sbin/vgs
------------- /usr/sbin/lvmdump
------------- /usr/sbin/sysreport
------------- /usr/sbin/lvmdiskscan
------------- /usr/sbin/pm-powersave
------------- /usr/sbin/vgextend
------------- /usr/sbin/pppoe-relay
------------- /usr/sbin/sasldblistusers2
------------- /usr/sbin/lpasswd
------------- /usr/sbin/named-bootconf
------------- /usr/sbin/ping6
------------- /usr/sbin/rpc.svcgssd
------------- /usr/sbin/atd
------------- /usr/sbin/usermod
------------- /usr/sbin/ntptrace
------------- /usr/sbin/lpinfo
------------- /usr/sbin/adsl-stop
------------- /usr/sbin/sysreport.legacy
------------- /usr/sbin/vgmknodes
------------- /usr/sbin/#inst.22383#
------------- /usr/sbin/pcscd
------------- /usr/sbin/pwck
------------- /usr/sbin/mksock
------------- /usr/sbin/vgimport
------------- /usr/sbin/matchpathcon
------------- /usr/sbin/authconfig
------------- /usr/sbin/pluginviewer
------------- /usr/sbin/ntp-keygen
------------- /usr/sbin/redhat_lsb_trigger.i386
------------- /usr/sbin/dnssec-keygen
------------- /usr/sbin/adsl-setup
------------- /usr/sbin/fix-mouse-psaux
------------- /usr/sbin/ftpshut
------------- /usr/sbin/NetworkManager
------------- /usr/sbin/httpd
------------- /usr/sbin/mysqld-debug
------------- /usr/sbin/namedGetForwarders
------------- /usr/sbin/cracklib-check
------------- /usr/sbin/vgsplit
------------- /usr/sbin/avctrl
------------- /usr/sbin/accton
------------- /usr/sbin/dnsmasq
------------- /usr/sbin/cracklib-format
------------- /usr/sbin/sestatus
------------- /usr/sbin/update-reader.conf
------------- /usr/sbin/anacron
------------- /usr/sbin/packer
------------- /usr/sbin/tracepath6
------------- /usr/sbin/named-checkzone
------------- /usr/sbin/getenforce
------------- /usr/sbin/stunnel
------------- /usr/sbin/exigrep
------------- /usr/sbin/libgcc_post_upgrade
------------- /usr/sbin/dbmmanage
------------- /usr/sbin/lpc
------------- /usr/sbin/pvck
------------- /usr/sbin/rdistd
------------- /usr/sbin/lvrename
------------- /usr/sbin/iconvconfig
------------- /usr/sbin/acpid
------------- /usr/sbin/chroot
------------- /usr/sbin/logrotate
------------- /usr/sbin/exicyclog
------------- /usr/sbin/pmap_dump
------------- /usr/sbin/cacertdir_rehash
------------- /usr/sbin/zdump
------------- /usr/sbin/grpunconv
------------- /usr/sbin/tcpdump
------------- /usr/sbin/authconfig-tui
------------- /usr/sbin/radeontool
------------- /usr/sbin/smartctl
------------- /usr/sbin/iconvconfig.i686
------------- /usr/sbin/userhelper
------------- /usr/sbin/apmd
------------- /usr/sbin/hwclock
------------- /usr/sbin/vgcfgrestore
------------- /usr/sbin/irattach
------------- /usr/sbin/system-config-network-cmd
------------- /usr/sbin/avcstat
------------- /usr/sbin/quotastats
------------- /usr/sbin/apxs
------------- /usr/sbin/build-locale-archive
------------- /usr/sbin/yppoll
------------- /usr/sbin/create-cracklib-dict
------------- /usr/sbin/chkfontpath
------------- /usr/sbin/#inst.22135#
------------- /usr/sbin/dovecotpw
------------- /usr/sbin/racoonctl
------------- /usr/sbin/lvextend
------------- /usr/sbin/neat-tui
------------- /usr/sbin/luserdel
------------- /usr/sbin/visudo
------------- /usr/sbin/sdpd
------------- /usr/sbin/pppdump
------------- /usr/sbin/htpasswd
------------- /usr/sbin/vgrename
------------- /usr/sbin/lvdisplay
------------- /usr/sbin/setup
------------- /usr/sbin/#inst.22011#
------------- /usr/sbin/pmap_set
------------- /usr/sbin/ntp-wait
------------- /usr/sbin/groupadd
------------- /usr/sbin/groupmod
------------- /usr/sbin/exim_fixdb
------------- /usr/sbin/pm-suspend-hybrid
------------- /usr/sbin/rtacct
------------- /usr/sbin/namedSetForwarders
------------- /usr/sbin/lvmsar

So can you say me which command i should be run to fix it ? thanks smtalk
 
yes, sure

cd /usr/local/directadmin/custombuild/
./build update
./build clean
./build rewrite_confs
./build all d
./build php n
 
Back
Top