pgadmin4 service won't start

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












I am not a sysadmin but since I can't afford paying one, I need to do the job myself ;-)



I have a lxc container running on a proxmox4 box.



proxmox4$ uname -a
Linux dbd 4.4.98-2-pve #1 SMP PVE 4.4.98-101 (Mon, 18 Dec 2017 13:36:02 +0100) x86_64 GNU/Linux


In the container, I installed PGAdmin4 as a service. Installation is in my home directory. I also installed systemd as it wasn't there by default. I created a /lib/systemd/system/pgadmin4.service. PGAdmin won't start and here is the output of :



$ sudo systemctl -l status pgadmin4
pgadmin4.service - Pgadmin4 Service
Loaded: loaded (/lib/systemd/system/pgadmin4.service; enabled)
Active: failed (Result: exit-code) since Tue 2018-01-30 13:35:49 UTC; 9s ago
Process: 673 ExecStart=/home/ballama/pgadmin/lib/python2.7/site-packages/pgadmin4/pgAdmin4.py (code=exited, status=226/NAMESPACE)

Main PID: 673 (code=exited, status=226/NAMESPACE)

Jan 30 13:35:49 dbd systemd[1]: Started Pgadmin4 Service.
Jan 30 13:35:49 dbd systemd[1]: pgadmin4.service: main process exited, code=exited, status=226/NAMESPACE
Jan 30 13:35:49 dbd systemd[1]: Unit pgadmin4.service entered failed state.


I am stuck and do not know how to solve this. Any help appreciated of course.



Marc







share|improve this question






















  • Unless you know what you're doing, use the package manager (apt-get) to install software.
    – Shadur
    Feb 10 at 11:43














up vote
0
down vote

favorite












I am not a sysadmin but since I can't afford paying one, I need to do the job myself ;-)



I have a lxc container running on a proxmox4 box.



proxmox4$ uname -a
Linux dbd 4.4.98-2-pve #1 SMP PVE 4.4.98-101 (Mon, 18 Dec 2017 13:36:02 +0100) x86_64 GNU/Linux


In the container, I installed PGAdmin4 as a service. Installation is in my home directory. I also installed systemd as it wasn't there by default. I created a /lib/systemd/system/pgadmin4.service. PGAdmin won't start and here is the output of :



$ sudo systemctl -l status pgadmin4
pgadmin4.service - Pgadmin4 Service
Loaded: loaded (/lib/systemd/system/pgadmin4.service; enabled)
Active: failed (Result: exit-code) since Tue 2018-01-30 13:35:49 UTC; 9s ago
Process: 673 ExecStart=/home/ballama/pgadmin/lib/python2.7/site-packages/pgadmin4/pgAdmin4.py (code=exited, status=226/NAMESPACE)

Main PID: 673 (code=exited, status=226/NAMESPACE)

Jan 30 13:35:49 dbd systemd[1]: Started Pgadmin4 Service.
Jan 30 13:35:49 dbd systemd[1]: pgadmin4.service: main process exited, code=exited, status=226/NAMESPACE
Jan 30 13:35:49 dbd systemd[1]: Unit pgadmin4.service entered failed state.


I am stuck and do not know how to solve this. Any help appreciated of course.



Marc







share|improve this question






















  • Unless you know what you're doing, use the package manager (apt-get) to install software.
    – Shadur
    Feb 10 at 11:43












up vote
0
down vote

favorite









up vote
0
down vote

favorite











I am not a sysadmin but since I can't afford paying one, I need to do the job myself ;-)



I have a lxc container running on a proxmox4 box.



proxmox4$ uname -a
Linux dbd 4.4.98-2-pve #1 SMP PVE 4.4.98-101 (Mon, 18 Dec 2017 13:36:02 +0100) x86_64 GNU/Linux


In the container, I installed PGAdmin4 as a service. Installation is in my home directory. I also installed systemd as it wasn't there by default. I created a /lib/systemd/system/pgadmin4.service. PGAdmin won't start and here is the output of :



$ sudo systemctl -l status pgadmin4
pgadmin4.service - Pgadmin4 Service
Loaded: loaded (/lib/systemd/system/pgadmin4.service; enabled)
Active: failed (Result: exit-code) since Tue 2018-01-30 13:35:49 UTC; 9s ago
Process: 673 ExecStart=/home/ballama/pgadmin/lib/python2.7/site-packages/pgadmin4/pgAdmin4.py (code=exited, status=226/NAMESPACE)

Main PID: 673 (code=exited, status=226/NAMESPACE)

Jan 30 13:35:49 dbd systemd[1]: Started Pgadmin4 Service.
Jan 30 13:35:49 dbd systemd[1]: pgadmin4.service: main process exited, code=exited, status=226/NAMESPACE
Jan 30 13:35:49 dbd systemd[1]: Unit pgadmin4.service entered failed state.


I am stuck and do not know how to solve this. Any help appreciated of course.



Marc







share|improve this question














I am not a sysadmin but since I can't afford paying one, I need to do the job myself ;-)



I have a lxc container running on a proxmox4 box.



proxmox4$ uname -a
Linux dbd 4.4.98-2-pve #1 SMP PVE 4.4.98-101 (Mon, 18 Dec 2017 13:36:02 +0100) x86_64 GNU/Linux


In the container, I installed PGAdmin4 as a service. Installation is in my home directory. I also installed systemd as it wasn't there by default. I created a /lib/systemd/system/pgadmin4.service. PGAdmin won't start and here is the output of :



$ sudo systemctl -l status pgadmin4
pgadmin4.service - Pgadmin4 Service
Loaded: loaded (/lib/systemd/system/pgadmin4.service; enabled)
Active: failed (Result: exit-code) since Tue 2018-01-30 13:35:49 UTC; 9s ago
Process: 673 ExecStart=/home/ballama/pgadmin/lib/python2.7/site-packages/pgadmin4/pgAdmin4.py (code=exited, status=226/NAMESPACE)

Main PID: 673 (code=exited, status=226/NAMESPACE)

Jan 30 13:35:49 dbd systemd[1]: Started Pgadmin4 Service.
Jan 30 13:35:49 dbd systemd[1]: pgadmin4.service: main process exited, code=exited, status=226/NAMESPACE
Jan 30 13:35:49 dbd systemd[1]: Unit pgadmin4.service entered failed state.


I am stuck and do not know how to solve this. Any help appreciated of course.



Marc









share|improve this question













share|improve this question




share|improve this question








edited Feb 12 at 4:19









Jesse_b

10.4k22658




10.4k22658










asked Jan 30 at 17:54









Marc BALLAT

11




11











  • Unless you know what you're doing, use the package manager (apt-get) to install software.
    – Shadur
    Feb 10 at 11:43
















  • Unless you know what you're doing, use the package manager (apt-get) to install software.
    – Shadur
    Feb 10 at 11:43















Unless you know what you're doing, use the package manager (apt-get) to install software.
– Shadur
Feb 10 at 11:43




Unless you know what you're doing, use the package manager (apt-get) to install software.
– Shadur
Feb 10 at 11:43










1 Answer
1






active

oldest

votes

















up vote
0
down vote













I solved it with the following workaround :
- install Apache and configure a virtual host that invokes pgAdmin 4 as a WSGI application



This has the advantage that :
- there is no need to start pgAdmin 4 after a reboot
- Apache can be configured to use HTTPS between the client and itself, thus making sure usernames and passowrds are encrypted






share|improve this answer




















    Your Answer







    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "106"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    convertImagesToLinks: false,
    noModals: false,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );








     

    draft saved


    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f420747%2fpgadmin4-service-wont-start%23new-answer', 'question_page');

    );

    Post as a guest






























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    0
    down vote













    I solved it with the following workaround :
    - install Apache and configure a virtual host that invokes pgAdmin 4 as a WSGI application



    This has the advantage that :
    - there is no need to start pgAdmin 4 after a reboot
    - Apache can be configured to use HTTPS between the client and itself, thus making sure usernames and passowrds are encrypted






    share|improve this answer
























      up vote
      0
      down vote













      I solved it with the following workaround :
      - install Apache and configure a virtual host that invokes pgAdmin 4 as a WSGI application



      This has the advantage that :
      - there is no need to start pgAdmin 4 after a reboot
      - Apache can be configured to use HTTPS between the client and itself, thus making sure usernames and passowrds are encrypted






      share|improve this answer






















        up vote
        0
        down vote










        up vote
        0
        down vote









        I solved it with the following workaround :
        - install Apache and configure a virtual host that invokes pgAdmin 4 as a WSGI application



        This has the advantage that :
        - there is no need to start pgAdmin 4 after a reboot
        - Apache can be configured to use HTTPS between the client and itself, thus making sure usernames and passowrds are encrypted






        share|improve this answer












        I solved it with the following workaround :
        - install Apache and configure a virtual host that invokes pgAdmin 4 as a WSGI application



        This has the advantage that :
        - there is no need to start pgAdmin 4 after a reboot
        - Apache can be configured to use HTTPS between the client and itself, thus making sure usernames and passowrds are encrypted







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Feb 10 at 9:43









        Marc Ballat

        1




        1






















             

            draft saved


            draft discarded


























             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f420747%2fpgadmin4-service-wont-start%23new-answer', 'question_page');

            );

            Post as a guest













































































            Popular posts from this blog

            How to check contact read email or not when send email to Individual?

            Displaying single band from multi-band raster using QGIS

            How many registers does an x86_64 CPU actually have?