LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Job failed. See system journal and 'systemctl status' for details (https://www.linuxquestions.org/questions/linux-newbie-8/job-failed-see-system-journal-and-systemctl-status-for-details-4175478719/)

boby.kumar 09-27-2013 03:19 AM

Job failed. See system journal and 'systemctl status' for details
 
Hi

I have a system with fedora17 installed. i am trying to start vncserver to this server. following packages is installed for this:

tigervnc-server-minimal-1.3.0-16.el6.i686.rpm
tigervnc-1.1.0-5.fc17.i686.rpm
tigervnc-server-1.2.80-0.6.20121126svn5015.fc18.i686.rpm

changed made to /etc/systemd/system/vncserver@:1.service as follows:

[Unit]
Description=Remote desktop service (VNC)
After=syslog.target network.target

[Service]
Type=forking
# Clean any existing files in /tmp/.X11-unix environment
ExecStartPre=/bin/sh -c '/usr/bin/vncserver -kill %i > /dev/null 2>&1 || :'
ExecStart=/sbin/runuser -l rncit -c "/usr/bin/vncserver %i -geometry 1280x1024"
ExecStop=/sbin/runuser -l rncit -c "/usr/bin/vncserver -kill %i"

rncit is username here.

[Install]
WantedBy=multi-user.target

[root@127~]# iptables --list | grep 5901
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:5901

when I try to start the vncserver, getting the following error:

[root@127 ~]# systemctl start vncserver@:1.service
Job failed. See system journal and 'systemctl status' for details.

system log for vnc:

[root@127 ~]# tail -f /var/log/messages | grep vnc
Sep 27 13:40:12 localhost systemd[1]: vncserver@:1.service: control process exited, code=exited status=98
Sep 27 13:40:13 localhost systemd[1]: Unit vncserver@:1.service entered failed state.
Sep 27 13:47:28 localhost systemd[1]: vncserver@:1.service: control process exited, code=exited status=98
Sep 27 13:47:28 localhost systemd[1]: Unit vncserver@:1.service entered failed state

can any one help me to get what is wrong with service?

Thanks and Regards

linosaurusroot 09-27-2013 09:30 AM

What do you get from this?
Code:

systemctl status vncserver@:1.service

lgurley6 12-23-2013 04:16 PM

Was there any resolution to this thread? I'm having the same issue. Here's what I get:

systemctl status -l vncserver@:3.service
vncserver@:3.service - Remote desktop service (VNC)
Loaded: loaded (/etc/systemd/system/vncserver@:3.service; enabled)
Active: failed (Result: exit-code) since Mon 2013-12-23 16:01:31 CST; 14min ago
Process: 14470 ExecStart=/sbin/runuser -l larry -c /usr/bin/vncserver %i (code=exited, status=98)
Process: 14465 ExecStartPre=/bin/sh -c /usr/bin/vncserver -kill %i > /dev/null 2>&1 || : (code=exited, status=0/SUCCESS)

Dec 23 16:01:31 server.gurley.local systemd[1]: vncserver@:3.service: control process exited, code=exited status=98
Dec 23 16:01:31 server.gurley.local systemd[1]: Failed to start Remote desktop service (VNC).
Dec 23 16:01:31 server.gurley.local systemd[1]: Unit vncserver@:3.service entered failed state.

boby.kumar 12-23-2013 11:07 PM

Have you stop the iptables for the same?

systemctl stop iptables.service
systemctl stop ip6tables.service
setenforce 0


http://servercomputing.blogspot.in/2...Fedora-17.html

lgurley6 12-24-2013 06:23 AM

Yes iptables and selinux are disabled.

kanna411988 11-10-2015 02:22 AM

While starting nagios getting following error
 
nagios.service - LSB: start and stop Nagios monitoring server
Loaded: loaded (/etc/init.d/nagios)
Active: failed since Tue, 10 Nov 2015 13:55:51 +0530; 2min 37s ago
Process: 8947 ExecStart=/etc/init.d/nagios start (code=exited, status=2/INVALIDARGUMENT)
CGroup: name=systemd:/system/nagios.service

berndbausch 11-10-2015 02:29 AM

Quote:

Originally Posted by kanna411988 (Post 5447376)
nagios.service - LSB: start and stop Nagios monitoring server
Loaded: loaded (/etc/init.d/nagios)
Active: failed since Tue, 10 Nov 2015 13:55:51 +0530; 2min 37s ago
Process: 8947 ExecStart=/etc/init.d/nagios start (code=exited, status=2/INVALIDARGUMENT)
CGroup: name=systemd:/system/nagios.service

Don't post an unrelated message to an old thread.

Create a new thread,
add information (the info you provide is insufficient - what about journalctl output, for example?),
use the report button to have this post removed

kanna411988 11-11-2015 09:47 PM

How to create new thread for nagios related issue.I am unable to find the option to open new thread to my post nagios server issue.

berndbausch 11-11-2015 11:11 PM

Quote:

Originally Posted by kanna411988 (Post 5448379)
How to create new thread for nagios related issue.I am unable to find the option to open new thread to my post nagios server issue.

Go to a Linux forums.
Select a forum that matches your case, such as Server or Enterprise.
Click on New Thread.

I do agree that it's not that easy to find. A big NEW THREAD button on the home page would be more intuitive.


All times are GMT -5. The time now is 04:31 AM.