Ad Widget

Collapse

Debian with ISPConfig - proc.num not working

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tuxmartin
    Junior Member
    • Jan 2017
    • 12

    #1

    Debian with ISPConfig - proc.num not working

    Hi, I have server with Debian 8.10, kernel 3.14.32 and ISPConfig 3.1.11. I did not install the server.


    I have problem with "proc.num" - not working. All proc.num items show 0. (proc.num[,root,,"cron"] show 0, but cron daemon is running.)


    Code:
    # ps -fu www-data
    UID        PID  PPID  C STIME TTY          TIME CMD
    www-data   920 23660  0 21:18 ?        00:00:01 /usr/sbin/apache2 -k start
    www-data   929 23660  0 21:18 ?        00:00:01 /usr/sbin/apache2 -k start
    ...
    
    
    # su -c "ps -fu www-data" zabbix
    UID        PID  PPID  C STIME TTY          TIME CMD
    #
    User zabbix cannot see processes of other users.

    I tried to disable (I do not know if it was enabled) hidepid. I put to fstab:

    Code:
    proc   /proc   proc   defaults,hidepid=2,gid=zabbix   0   0
    
    proc   /proc   proc   defaults,hidepid=0   0   0
    (First attempt "hidepid=2,gid=zabbix", second attempt "hidepid=0".)

    And remount proc:
    Code:
    # mount -o remount,rw,hidepid=0 /proc
    # mount | grep proc
    proc on /proc type proc (rw,relatime,gid=123)
    Nothing changed. User zabbix still cannot see processes of other users. It is only server that I have this problem.

    At /var/log/zabbix/zabbix_agentd.log there are no related info.

    Can you please help me what can be bad?
Working...