Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums

Content

Support Installation & Updates
  1. OpenProject
  2. Forums
  3. Support Installation & Updates
  4. Error when I try to log in via shell

Error when I try to log in via shell

Added by ciuino magno almost 11 years ago

Hi guys, when I try to access through command: su openproject -c "bash -l" gives me an error: bash: cannot set terminal process group (-1): Inappropriate ioctl for device bash: no job control in this shell

how can i fix it?


Replies (9)

RE: Error when I try to log in via shell using the OpenProject user - Added by I. V. almost 11 years ago

You can ignore that error.
If you execute whoami, you will see that you are openproject user. Just check where you are by typing pwd

Regards,
Igor

RE: Error when I try to log in via shell using the OpenProject user - Added by ciuino magno almost 11 years ago

When i try to do every operation it give me: sudo no tty present and no askpass program specified

i can’t continue, i’m stuck on git clone

RE: Error when I try to log in via shell using the OpenProject user - Added by I. V. almost 11 years ago

If you specify more details on the enviroment and what guidelines you are following, somebody might help you:

- OS

- guidelines which you are following

- provide example what operation you have tried when you got the error above
- step to reproduce the problem

Regards,
Igor

RE: Error when I try to log in via shell using the OpenProject user - Added by ciuino magno almost 11 years ago

I Have Ubuntu 14.04 x64, I’m using the official installation guide for ubuntu 12.04, as I wrote before, when I tried to access to the user OpenProject via su openproject -c "bash -l it gives me bash: cannot set terminal process group (–1): Inappropriate ioctl for device bash: no job control in this shell and i can’t do any superuser operation, and it give me sudo no tty present and no askpass program specified, maybe because isn’t in sudoers, but if you could give me some advice or something that I could try to do to solve it

Ciuino

RE: Error when I try to log in via shell using the OpenProject user - Added by ciuino magno almost 11 years ago

I inserted the OpenProject user in the sudoers file but still don’t work… any advice?

RE: Error when I try to log in via shell - Added by Philipp Tessenow almost 11 years ago

Hi,

you can try other options to run commands with the openproject user.
The following should give you a shell as the openproject user:

su - openproject

In that shell you can run commands as the openproject user.

I hope this helps to resolve your problem.

cheers,
tessi

PS: After some a little google search for your error message I found this stack exchange answer which might help you.

RE: Error when I try to log in via shell - Added by ciuino magno almost 11 years ago

Thanks for the advice, it give me the same error but now seems that the git clone works :D

RE: Error when I try to log in via shell - Added by Philipp Tessenow almost 11 years ago

The original error (cannot set terminal process group (-1)) sounds like something ubuntu related (I’m pretty sure that it’s not OpenProject specific).
Unfortunately I don’t know why this is happening, sorry.

RE: Error when I try to log in via shell - Added by ciuino magno almost 11 years ago

At the end, i used the 3.1 pre ppa, but I have several problems there too, i’ll wait for your answers

Thanks a lot for the support :)

  • (1 - 9/9)
Loading...