Skip to main content

PhpPgAdmin Execution Time

Comments

11 comments

  • cPanelMichael
    Hello, Could you elaborate on the security issues you are concerned about? For instance, why do you prefer to disable phpPgAdmin? Is there a specific security report you are referencing? Thank you.
    0
  • Gur50
    Hi Michael, thank you for reply. Mostly I'm managing my customers cPanel accounts and their needs, so phppgadmin is not must for them. I mean i can configure their db and users with psql console/commands. Currently 1 dababase exists on Postgresql and its related to mine project that served on same server on a cPanel account. Why phpPgAdmin is running continously? I mean is this normal? Is it running like service and lfd notice me? or someone trying to access it from outside? Well I dont have any experience with phpPgAdmin that's why I wondering about security and exploits. So if there is a security problem or open to exploits I think I gave over phppgadmin. Almost most ports is closed on my WHM server, except http, https, ftp etc. is open. Tested Postgresql with existing user and db succesfully refusing incoming connections from outside of server, so this looks ok.
    0
  • cPanelMichael
    Hello, You can disable "PhpPgAdmin" in the feature list associated with the package assigned to the account via "WHM >> Feature Manager". Thank you.
    0
  • Gur50
    Hi Michael, thank you, probably this is the what I need, simple and elegant solution.
    0
  • Gur50
    I have disabled Phppgadmin admin from feature list but lfd shows me still some processes are running and I can't kill neither stop them. Any workaround for this? Lfd messages like below :
    Time: Thu May 21 15:01:11 2015 +0300 Account: cpanelphppgadmin Resource: Process Time Exceeded: 360263 > 1800 (seconds) Executable: /usr/local/cpanel/3rdparty/php/54/bin/php-cgi Command Line: /usr/local/cpanel/3rdparty/php/54/bin/php-cgi -c /usr/local/cpanel/3rdparty/php/54/etc/phppgadmin /usr/local/cpanel/base/3rdparty/phpPgAdmin/index.php PID: 10081 (Parent PID:10081) Killed: No

    Time: Thu May 21 15:01:11 2015 +0300 Account: cpanelphppgadmin Resource: Process Time Exceeded: 360596 > 1800 (seconds) Executable: /usr/local/cpanel/3rdparty/php/54/bin/php-cgi Command Line: /usr/local/cpanel/3rdparty/php/54/bin/php-cgi -c /usr/local/cpanel/3rdparty/php/54/etc/phppgadmin /usr/local/cpanel/base/3rdparty/phpPgAdmin/intro.php PID: 9342 (Parent PID:9342) Killed: No

    Time: Thu May 21 15:01:11 2015 +0300 Account: cpanelphppgadmin Resource: Process Time Exceeded: 361077 > 1800 (seconds) Executable: /usr/local/cpanel/3rdparty/php/54/bin/php-cgi Command Line: /usr/local/cpanel/3rdparty/php/54/bin/php-cgi -c /usr/local/cpanel/3rdparty/php/54/etc/phppgadmin /usr/local/cpanel/base/3rdparty/phpPgAdmin/sql.php PID: 8059 (Parent PID:8059) Killed: No

    Time: Thu May 21 15:01:11 2015 +0300 Account: cpanelphppgadmin Resource: Process Time Exceeded: 360598 > 1800 (seconds) Executable: /usr/local/cpanel/3rdparty/php/54/bin/php-cgi Command Line: /usr/local/cpanel/3rdparty/php/54/bin/php-cgi -c /usr/local/cpanel/3rdparty/php/54/etc/phppgadmin /usr/local/cpanel/base/3rdparty/phpPgAdmin/tables.php PID: 9336 (Parent PID:9336) Killed: No

    Time: Thu May 21 15:01:11 2015 +0300 Account: cpanelphppgadmin Resource: Process Time Exceeded: 360231 > 1800 (seconds) Executable: /usr/local/cpanel/3rdparty/php/54/bin/php-cgi Command Line: /usr/local/cpanel/3rdparty/php/54/bin/php-cgi -c /usr/local/cpanel/3rdparty/php/54/etc/phppgadmin /usr/local/cpanel/base/3rdparty/phpPgAdmin/index.php PID: 10215 (Parent PID:10215) Killed: No

    Time: Thu May 21 15:01:11 2015 +0300 Account: cpanelphppgadmin Resource: Process Time Exceeded: 360379 > 1800 (seconds) Executable: /usr/local/cpanel/3rdparty/php/54/bin/php-cgi Command Line: /usr/local/cpanel/3rdparty/php/54/bin/php-cgi -c /usr/local/cpanel/3rdparty/php/54/etc/phppgadmin /usr/local/cpanel/base/3rdparty/phpPgAdmin/index.php PID: 9486 (Parent PID:9486) Killed: No
    0
  • cPanelMichael
    Hello, The process still runs, it's just users are unable to use it. Have you considered adding the process to the LFD process ignore list, so that those alerts are not sent? Thank you.
    0
  • Gur50
    Hello, The process still runs, it's just users are unable to use it. Have you considered adding the process to the LFD process ignore list, so that those alerts are not sent? Thank you.

    Hi Michael, thanks for reply. You think, running cpanelphppgadmin is safe? like that. Yes I can put them to lfd ignore list if GOD wishes, but I'm suspicious about cpanelphppgadmin process, why they run? even looks like multiple times or instances...
    0
  • cPanelMichael
    You think, running cpanelphppgadmin is safe? like that.

    It's normal for phpPgAdmin to run if you have installed PostgreSQL. I don't see anything suspicious about the processes you referenced. Have you considered blocking the port that phpPgAdmin runs on? Thank you.
    0
  • Gur50
    It's normal for phpPgAdmin to run if you have installed PostgreSQL. I don't see anything suspicious about the processes you referenced. Have you considered blocking the port that phpPgAdmin runs on? Thank you.

    Hi Michael, thank for your reply, information and for your time. If phpPgAdmin runs on cPanel same with same port Postgresql that "5432" it's already blocked for incoming and outgoing connections. I have also checked cPanel couldn't find any other information. So far what I have understand from forum posts and other replies on cpanel feature request section is wihout cPanel login no one can login phpPgAdmin right?
    0
  • Gur50
    I believe something wrongs here ( load averages from my server now, phppgadmin %98.1 cpu usage... );
    Pid : 8059 (Trace) (Kill) Owner : 504 Priority : 0 CPU % : 98.1 Memory : 0.0 Command : /usr/local/cpanel/3rdparty/php/54/bin/php-cgi -c /usr/local/cpanel/3rdparty/php/54/etc/phppgadmin /usr/local/cpanel/base/3rdparty/phpPgAdmin/sql.php
    Edit : Killed process anyway, monitoring it, if it's going to spawn again or not.
    0
  • cPanelMichael
    If phpPgAdmin runs on cPanel same with same port Postgresql that "5432" it's already blocked for incoming and outgoing connections.

    Yes, this is the default port for PostgreSQL on cPanel. Thank you.
    0

Please sign in to leave a comment.