Problem with user httpd.conf

Mattpl

Verified User
Joined
Jun 28, 2017
Messages
84
Location
ZS
Hi! I have problem with user conf. When I want to change version of php or save something to .....users/userX/httpd.conf first I have error ERR_EMPTY_RESPONSE
When I save it again then Can't get lock on user's config: /usr/local/directadmin/data/users/userX/httpd.conf
Something wrong with permisson? This problem is only at 1 user

ls -l
-rw-r--r-- 1 diradmin szukamprac 10130 Dec 7 23:28 httpd.conf
-rwx------ 1 diradmin diradmin 0 Dec 8 07:33 httpd.conf.lock
-rw-r--r-- 1 diradmin diradmin 0 Dec 8 07:33 httpd.conf.temp
 
Last edited:
Hello,

The files /usr/local/directadmin/data/users/*/httpd.conf are 640 directadmin:username on my end. Try and run:

Code:
/usr/local/directadmin/scripts/set_permissions.sh da_files

in order to correct possible issues with permissions.

Please let us know results, and if the issue persists check directadmin's error logs in /var/log/directadmin/ for more details.
 
ok, I have run your comand, restart apache+da and still the same problem.
In DA error log nothing

10/12/2017:16:00:41 89.64.16.159 GET /CMD_SHOW_USER HTTP/1.1 admin
10/12/2017:16:00:43 89.64.16.159 GET / HTTP/1.1 admin
10/12/2017:16:00:44 89.64.16.159 GET /CMD_PLUGINS_ADMIN/custombuild/ajax_count.raw HTTP/1.1 admin
10/12/2017:16:00:44 89.64.16.159 GET /CMD_AJAX_GET_COUNTS HTTP/1.1 admin
10/12/2017:16:00:47 89.64.16.159 GET /CMD_SHOW_SERVICES HTTP/1.1 admin
10/12/2017:16:00:56 89.64.16.159 GET /CMD_SERVICE HTTP/1.1 admin
10/12/2017:16:00:58 89.64.16.159 GET /CMD_SHOW_SERVICES HTTP/1.1 admin
10/12/2017:16:01:01 89.64.16.159 GET /CMD_SERVICE HTTP/1.1 admin
10/12/2017:16:01:05 89.64.16.159 GET / HTTP/1.1 admin
10/12/2017:16:01:05 89.64.16.159 GET /CMD_AJAX_GET_COUNTS HTTP/1.1 admin
10/12/2017:16:01:05 89.64.16.159 GET /CMD_PLUGINS_ADMIN/custombuild/ajax_count.raw HTTP/1.1 admin
10/12/2017:16:01:08 89.64.16.159 GET /CMD_SHOW_SERVICES HTTP/1.1 admin
10/12/2017:16:01:14 89.64.16.159 GET / HTTP/1.1 admin
10/12/2017:16:01:14 89.64.16.159 GET /CMD_PLUGINS_ADMIN/custombuild/ajax_count.raw HTTP/1.1 admin
10/12/2017:16:01:15 89.64.16.159 GET /CMD_AJAX_GET_COUNTS HTTP/1.1 admin
10/12/2017:16:01:17 89.64.16.159 GET /CMD_ALL_USER_SHOW HTTP/1.1 admin
10/12/2017:16:01:21 89.64.16.159 GET /CMD_SHOW_USER HTTP/1.1 admin
10/12/2017:16:01:22 89.64.16.159 POST /CMD_LOGIN HTTP/1.1 szukamprac
10/12/2017:16:01:23 89.64.16.159 GET / HTTP/1.1 szukamprac
10/12/2017:16:01:26 89.64.16.159 GET /CMD_SHOW_DOMAIN HTTP/1.1 szukamprac
10/12/2017:16:01:29 89.64.16.159 GET /CMD_ADDITIONAL_DOMAINS HTTP/1.1 szukamprac
10/12/2017:16:01:31 89.64.16.159 GET /CMD_ADDITIONAL_DOMAINS HTTP/1.1 szukamprac
10/12/2017:16:01:33 89.64.16.159 POST /CMD_DOMAIN HTTP/1.1 szukamprac
 
On this server I have free space :)
df -h
Filesystem Size Used Avail Use% Mounted on
/dev/md1 106G 47G 54G 47% /
udev 10M 0 10M 0% /dev
tmpfs 6.3G 665M 5.7G 11% /run
tmpfs 16G 0 16G 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 16G 0 16G 0% /sys/fs/cgroup
/dev/md0 922M 32M 827M 4% /boot

df -i
/dev/md1 7020544 369673 6650871 6% /
udev 4109952 374 4109578 1% /dev
tmpfs 4112128 554 4111574 1% /run
tmpfs 4112128 1 4112127 1% /dev/shm
tmpfs 4112128 4 4112124 1% /run/lock
tmpfs 4112128 13 4112115 1% /sys/fs/cgroup
/dev/md0 61056 328 60728 1% /boot

cat
rootfs / rootfs rw 0 0
sysfs /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0
proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0
udev /dev devtmpfs rw,relatime,size=10240k,nr_inodes=4109952,mode=755 0 0
devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0
tmpfs /run tmpfs rw,nosuid,relatime,size=6579408k,mode=755 0 0
/dev/md1 / ext4 rw,relatime,quota,usrquota,grpquota,errors=remount-ro,data=ordered 0 0
securityfs /sys/kernel/security securityfs rw,nosuid,nodev,noexec,relatime 0 0
tmpfs /dev/shm tmpfs rw,nosuid,nodev 0 0
tmpfs /run/lock tmpfs rw,nosuid,nodev,noexec,relatime,size=5120k 0 0
tmpfs /sys/fs/cgroup tmpfs ro,nosuid,nodev,noexec,mode=755 0 0
cgroup /sys/fs/cgroup/systemd cgroup rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd 0 0
pstore /sys/fs/pstore pstore rw,nosuid,nodev,noexec,relatime 0 0
cgroup /sys/fs/cgroup/cpuset cgroup rw,nosuid,nodev,noexec,relatime,cpuset 0 0
cgroup /sys/fs/cgroup/cpu,cpuacct cgroup rw,nosuid,nodev,noexec,relatime,cpu,cpuacct 0 0
cgroup /sys/fs/cgroup/devices cgroup rw,nosuid,nodev,noexec,relatime,devices 0 0
cgroup /sys/fs/cgroup/freezer cgroup rw,nosuid,nodev,noexec,relatime,freezer 0 0
cgroup /sys/fs/cgroup/net_cls,net_prio cgroup rw,nosuid,nodev,noexec,relatime,net_cls,net_prio 0 0
cgroup /sys/fs/cgroup/blkio cgroup rw,nosuid,nodev,noexec,relatime,blkio 0 0
cgroup /sys/fs/cgroup/perf_event cgroup rw,nosuid,nodev,noexec,relatime,perf_event 0 0
systemd-1 /proc/sys/fs/binfmt_misc autofs rw,relatime,fd=23,pgrp=1,timeout=300,minproto=5,maxproto=5,direct 0 0
mqueue /dev/mqueue mqueue rw,relatime 0 0
debugfs /sys/kernel/debug debugfs rw,relatime 0 0
hugetlbfs /dev/hugepages hugetlbfs rw,relatime 0 0
/dev/md0 /boot ext4 rw,relatime,data=ordered 0 0
rpc_pipefs /run/rpc_pipefs rpc_pipefs rw,relatime 0 0
fusectl /sys/fs/fuse/connections fusectl rw,relatime 0 0
binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw,relatime 0 0

this is normal? Nobody??
nobody 30957 0.0 0.0 47016 964 ? Ss 16:01 0:00 /usr/local/directadmin/directadmin d
nobody 6539 0.0 0.0 47016 4 ? S 16:05 0:00 \_ /usr/local/directadmin/directadmin d
nobody 6545 0.0 0.0 47016 4 ? S 16:05 0:00 \_ /usr/local/directadmin/directadmin d
nobody 6546 0.0 0.0 47016 4 ? S 16:05 0:00 \_ /usr/local/directadmin/directadmin d
nobody 7831 0.0 0.0 47016 4 ? S 16:05 0:00 \_ /usr/local/directadmin/directadmin d
nobody 16559 0.0 0.0 47016 4 ? S 17:17 0:00 \_ /usr/local/directadmin/directadmin d
 
Last edited:
if you want me to find your 50Gb I will need SSH access to your server.

As for the issue with saving the file, if it's not an issue with hardware, I'd rather restart directadmin, and try again, and if it does not help try a debug mode.
 
I have find my 50 gb :) I have clear semaphores with icmp :)
Restart DA and reload, error stil exist ;/
 
Back
Top