LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-27-2013, 03:19 AM   #1
boby.kumar
Member
 
Registered: Mar 2013
Posts: 94

Rep: Reputation: Disabled
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

Last edited by boby.kumar; 09-27-2013 at 03:26 AM.
 
Old 09-27-2013, 09:30 AM   #2
linosaurusroot
Member
 
Registered: Oct 2012
Distribution: OpenSuSE,RHEL,Fedora,OpenBSD
Posts: 982
Blog Entries: 2

Rep: Reputation: 244Reputation: 244Reputation: 244
What do you get from this?
Code:
systemctl status vncserver@:1.service
 
Old 12-23-2013, 04:16 PM   #3
lgurley6
LQ Newbie
 
Registered: Nov 2007
Posts: 2

Rep: Reputation: 0
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.
 
Old 12-23-2013, 11:07 PM   #4
boby.kumar
Member
 
Registered: Mar 2013
Posts: 94

Original Poster
Rep: Reputation: Disabled
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
 
Old 12-24-2013, 06:23 AM   #5
lgurley6
LQ Newbie
 
Registered: Nov 2007
Posts: 2

Rep: Reputation: 0
Yes iptables and selinux are disabled.
 
Old 11-10-2015, 02:22 AM   #6
kanna411988
LQ Newbie
 
Registered: Feb 2012
Posts: 23
Blog Entries: 1

Rep: Reputation: Disabled
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
 
Old 11-10-2015, 02:29 AM   #7
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Quote:
Originally Posted by kanna411988 View Post
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
 
1 members found this post helpful.
Old 11-11-2015, 09:47 PM   #8
kanna411988
LQ Newbie
 
Registered: Feb 2012
Posts: 23
Blog Entries: 1

Rep: Reputation: Disabled
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.
 
Old 11-11-2015, 11:11 PM   #9
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Quote:
Originally Posted by kanna411988 View Post
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.

Last edited by berndbausch; 11-11-2015 at 11:13 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
systemctl failed to get Dbus connection: No connection to service manager k84834 Linux - Software 2 07-14-2013 08:20 AM
journal rollforward failed: journal out of sync with zone-No DDNS plvasco Linux - Server 0 05-31-2013 07:45 PM
Need to find out which job has start status but no end status ajdba Linux - General 1 01-14-2013 03:35 PM
all cron job details with any single command mayrus9 SUSE / openSUSE 3 04-01-2010 03:31 AM
LXer: Search Status exposes website details LXer Syndicated Linux News 0 05-18-2007 03:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration