This daemon is normally executed by the kernel and given process id 1 to denote its special status. When executed by a user process, it will actually run /sbin/telinit. Report bugs to <email address hidden>

Asked by Chowdhury Masum on 2018-03-08

Hello, I was trying to setup tomcat into ubunt 16 but fail & having this message:

root@ubuntu:/opt/tomcat/bin# init --help
Usage: init [OPTION]...
Process management daemon.

Options:
      --confdir=DIR specify alternative directory to load configuration files from
      --default-console=VALUE
                              default value for console stanza
      --no-dbus do not connect to a D-Bus bus
      --no-inherit-env jobs will not inherit environment of init
      --logdir=DIR specify alternative directory to store job output logs in
      --no-log disable job logging
      --chroot-sessions enable chroot sessions
      --no-startup-event do not emit any startup event (for testing)
      --restart flag a re-exec has occurred
      --state-fd=FD specify file descriptor to read serialisation data from
      --session use D-Bus session bus rather than system bus (for testing)
      --startup-event=NAME specify an alternative initial event (for testing)
      --user start in user mode (as used for user sessions)
      --write-state-file attempt to write state file on every re-exec
  -q, --quiet reduce output to errors only
  -v, --verbose increase output to include informational messages
      --help display this help and exit
      --version output version information and exit

This daemon is normally executed by the kernel and given process id 1 to denote its special status. When executed by a user process, it will
actually run /sbin/telinit.

Report bugs to <email address hidden>

anyone knows how to fix this?

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
2018-03-08
Last reply:
2018-03-25
Manfred Hampl (m-hampl) said : #1

I do not understand why installing tomcat would require running the init program.
"init" is the main system startup process that must already be running for the operating system to work. It does not make sense to try starting it again.

Where did you download this version of tomcat, where did you get the instructions that you tried to follow?

The standard Ubuntu repositories contain versions of Apache tomcat (tomcat6, tomcat7, tomcat8), why don't you use these?

Remark: There is no "Ubuntu 16", but two different versions "Ubuntu 16.04 LTS" and "Ubuntu 16.10" (the latter not being supported any more).

Launchpad Janitor (janitor) said : #2

This question was expired because it remained in the 'Needs information' state without activity for the last 15 days.