Go Premium for a chance to win a PS4. Enter to Win

x

Linux Networking

17K

Solutions

14K

Contributors

The variety of Linux distributions creates myriad issues relating to configuration and operations when computers are networked, not the least of which is the use of various network management applications, some of which are included with specific distributions, while others are standalone applications.

Share tech news, updates, or what's on your mind.

Sign up to Post

hello experts
for i am a new for Linux, while i am trying to start up IPSEC service i got below error and failed, could you guide me how to identify the problem and fixed?
thank you

[root@izj6cj3u8v3v07l4w3162fz ~]# systemctl start ipsce
Failed to start ipsce.service: Unit not found.
[root@izj6cj3u8v3v07l4w3162fz ~]# systemctl start ipsec
Job for ipsec.service failed because the control process exited with error code. See "systemctl status ipsec.service" and "journalctl -xe" for details.
[root@izj6cj3u8v3v07l4w3162fz ~]# systemctl status ipsec.service
鈼?ipsec.service - Internet Key Exchange (IKE) Protocol Daemon for IPsec
   Loaded: loaded (/usr/lib/systemd/system/ipsec.service; enabled; vendor preset: disabled)
   Active: failed (Result: start-limit) since Fri 2017-11-17 14:42:55 CST; 7s ago
     Docs: man:ipsec(8)
           man:pluto(8)
           man:ipsec.conf(5)
  Process: 3074 ExecStartPre=/usr/libexec/ipsec/addconn --config /etc/ipsec.conf --checkconfig (code=exited, status=3)

Nov 17 14:42:55 izj6cj3u8v3v07l4w3162fz systemd[1]: ipsec.service: control process exited, code=exited status=3
Nov 17 14:42:55 izj6cj3u8v3v07l4w3162fz systemd[1]: Failed to start Internet Key Exchange (IKE) Protocol Daemon for IPsec.
Nov 17 14:42:55 izj6cj3u8v3v07l4w3162fz systemd[1]: Unit ipsec.service entered failed state.
Nov 17 14:42:55 izj6cj3u8v3v07l4w3162fz systemd[1]: ipsec.service failed.
Nov 17 14:42:55 izj6cj3u8v3v07l4w3162fz systemd[1]: ipsec.service holdoff …
0
Get your Disaster Recovery as a Service basics
LVL 1
Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

I have not been able to verify that logs are being received on the centos 7 server using rsyslog

firewall has udp 514 open and listening same set on the cisco asa

cannot see why it is not working, I do sh logging and it shows how many TX are being sent via the trigger but cannot find on rsyslog server.
0
I have a customer that I inherited running Red Hat Linux ES 3 that wants to send email from the Linux side.  
I need to be able to send email using port 587.

cat /etc/redhat-release
Red Hat Enterprise Linux ES release 3 (Taroon)

The Windows support person says smtp must use port 587.

SMTP: smtp.emailarray.com  Port: 587
Login: info@computerohio.com

/etc/services
smtp            25/tcp          mail
smtp            25/udp          mail
submission      587/tcp         msa             # mail message submission
submission      587/udp         msa             # mail message submission

Since 587 is used by submission can smtp also be changed to 587 in the /etc/services file?

netstat -tanp | grep send | grep LISTEN
tcp        0      0 127.0.0.1:25            0.0.0.0:*    LISTEN      483/sendmail: acce

The Windows support person also says the following:
The Windows server is running DNS, so you may want to change the DNS servers to:
10.10.10.176
8.8.8.8
It should resolve "smtp.emailarray.com" to 69.28.212.198.

cat /etc/resolv.conf
nameserver 10.10.10.1
nameserver 68.10.16.25
nameserver 10.10.10.176
nameserver 8.8.8.8
search appemc


cat /etc/sysconfig/networking/devices
# Intel Corp.|82540EM Gigabit Ethernet Controller
DEVICE=eth0
BOOTPROTO=none
BROADCAST=10.10.10.255
HWADDR=00:c0:9f:27:7b:8f
IPADDR=10.10.10.100
NETMASK=255.255.255.0
NETWORK=10.10.10.0
ONBOOT=yes
TYPE=Ethernet
USERCTL=no
PEERDNS=yes
GATEWAY=10.10.10.1


cat …
0
hi,

where i can read about winscp options

i do not know difference between Bookmarks and Location profiles once i click browse button there.
please advise
0
hi,

what are differences between below 3 grep requests


zgrep 'RPT|O|BundleShowing' nine.log.20171029.gz | grep 'Oct-29 23:' | wc -l


zgrep 'RPT|O|BundleShow' nine.log.20171029.gz | grep 'Oct-29 23:' | wc -l



zgrep 'RPT|O|BundleShowing' nine.log.20171029.gz | grep 'Oct-29 23:24' | wc -l


if i have to search from yesterday 11 pm till today morning say 6am how to refine my query.

please advise
0
Hi Experts
i am trying to install Ubuntu_17.04 owncloud-files-10.0.3-1.1
after fresh  Ubuntu_17.04  installation i rune these commands provided buy owncloud as below
https://download.owncloud.org/download/repositories/stable/owncloud/

wget -nv https://download.owncloud.org/download/repositories/production/Ubuntu_17.04/Release.key -O Release.key
apt-key add - < Release.key
Run the following shell commands as root to add the repository and install from there.

echo 'deb http://download.owncloud.org/download/repositories/production/Ubuntu_17.04/ /' > /etc/apt/sources.list.d/owncloud.list
apt-get update
apt-get install owncloud-files


but after i run the laset command # apt-get install owncloud-files
i got this result


root@owncloud-server:~# apt-get install owncloud-files
Reading package lists... Done
Building dependency tree      
Reading state information... Done
Suggested packages:
  owncloud-deps
The following NEW packages will be installed:
  owncloud-files
0 upgraded, 1 newly installed, 0 to remove and 3 not upgraded.
Need to get 31.3 MB of archives.
After this operation, 112 MB of additional disk space will be used.
Get:1 http://download.owncloud.org/download/repositories/production/Ubuntu_17.04  owncloud-files 10.0.3-1.1 [31.3 MB]
Fetched 31.3 MB in 20s (1,557 kB/s)                                            
Selecting previously unselected package owncloud-files.
(Reading database ... 169940 files and directories currently …
0
hi,

when i searched below command
zgrep -C20  'account is persisted'  crm-java_crm23.log.20171025.gz

i saw one match and then 20 lines before and 20 lines after


but all 41 lines are so much clutterred to my eyes i cannot hardly figure out which i s match which are before 20 lines set wheich are 20 lines after set

how to indent and how to give a empty space between each of those 41 lines and also preferably double line space just before and after match
how to change these settings permanently?
please advise
0
grep -n "go" demo_text
5: * e - go to the end of the current word.
6: * E - go to the end of the current WORD.
7: * b - go to the previous (before) word.
8: * B - go to the previous (before) WORD.
9: * w - go to the next word.
10: * W - go to the next WORD

http://www.thegeekstuff.com/2009/03/15-practical-unix-grep-command-examples/

what is the meaning of above line numbers?
i am not clear on it. can you please advise
0
zgrep -C20  'account is persisted'  crm-java_crm23.log.20171025.gz

how to see in above grep 15 lines before grep match and 15 lines after grep match



how to see in above grep 30 lines before grep match and 30 lines after grep match

how to see in above grep 30 lines before grep match

how to see in above grep 30 lines after grep match

how to see in above grep exact match line

please advise
0
hi,

i am going through below link
http://www.thegeekstuff.com/2009/03/15-practical-unix-grep-command-examples/

what is dfference between below lines
zgrep 'account is persisted'  crm-java_crm23.log.20171025.gz
zgrep -C20  'account is persisted'  crm-java_crm23.log.20171025.gz
zgrep "account is persisted"  crm-java_crm23.log.20171025.gz
grep 'account is persisted'  crm-java_crm23.log.20171025

why the time stamp of file and search result inside is different?
please advise
0
How to Use the Help Bell
LVL 11
How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

hi,

In grep statements what is difference bewteen below two

grep RPT|O|EntityBean filename
vs
grep RPT|M|EntityBean file name

what ids R what is P what is T what O what is M

Please advise
0
Dear experts,

I would like to set access control (IP address) by /etc/hosts.allow and /etc/hosts.deny in Ubuntu. I like to deny all IP address to use ssh except some IP address.

(1) could you please teach me how to do this by editing  /etc/hosts.allow and /etc/hosts.deny. I am kind of confused about the order of use this 2 files. could you please give me examples? If add allow entries in /etc/hosts.allow , does rest of others is denied?

(2) Can /etc/hosts.allow and /etc/hosts.deny also control the access of Xrdp (port 3389)? if yes, how to do it?

Thank you so much!
0
Hello,

I would like to add additional node to existing cluster. I have installed  pcs,  pacemaker and fencing agent on the new node.

How do I add it into the cluster?  Can someone provide the steps?
0
does 755, 777(user, group, everyone) vary from file say xyz.txt and directory say abc?
or same concept for both file and directory
if 755 means give whoever accessing(like users like me or John or Mike  etc) file  (xyz.txt)/directory(abc) partial access ?

if 777 means give whoever accessing(like users like me or John or Mike  etc) file  (xyz.txt)/directory(abc) complete access ?
please advise
0
Hi Expert

I getting a situation here I having issue to login to the Web portal of the Ubuntu box . After communicating to the vendor it need to ssh to box to reset the password Please note is a Ubuntu box.

Question how to reset the password in the Ubuntu box ?
0
We have a vendor who has put his linux based appliance behind a firewall. If I ssh to the system from the same subnet as the linux appliance ssh succeed - giving me a login prompt and then succeeding with authentication. If I login to the linux appliance from the Outside of the firewall the conversation succeeds apparently - I get a login prompt. But when I enter the same credentials the connection is promptly terminated. If I look at the firewall I see only the allowed SSH session and no other denies to the server.
Any idea what might be going on? What logging could be looked at on the linux appliance to give us insight as to why the ssh connection is failing in the second case? Thank you
0
like a full clone in VMWARE , is there a way to do this?


thanks
0
I have identical configs for the east and west coast , I have launched 30 or so of centos images , PPK,PEMs all in place all was working .

I added Centos AMI's to the US_WEST and cannot SSH into them"connection Refused" now I go back to the US-EAST and cannot SSH into them at all , all ports are open the security settings are all the same .


is there a limit to how many instances we can ssh into or something I am baffled about this ?

please help this is a production type issue ( giving a class )


how can I get more logs on the "connection refused" error


thanks
0
i,

i am going through below link

https://www.petefreitag.com/item/426.cfm
when to use fgrep and when to use grep ?
are there any advantages, disadvantages on over other?
please advise
0
Prepare for your VMware VCP6-DCV exam.
LVL 1
Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

our lab recently has a new Ubuntu (14.04.1) machine but many of software package is out of date.
I try to update it before upgrade to Ubuntu 16.04. However, there is always problems for the command "sudo apt-get update"

I have googled this problem and change "/etc/apt/sources.list" several times, but the error still exists.
I am thinking the error may come from => Could not resolve 'hcapxb01'
I have no idea about the 'hcapxb01'.  My machine has internet connection but I can't ping or nslookup the  'hcapxb01'

Experts, please help me to slove "sudo apt-get update" error. Thank you
Snap1.png
0
Sysadmin is complaining that when traffic to his server is a little higher than usual (say 300Mbps on a 1Gbps interface) that he's seeing Rx errors on his interface. If I look at the switch that is connected to his server it shows everything clean. No errors Rx/Tx - just an increase in throughput once a day. It's a linux system. What can I advise him to do regarding errors on higher than average throughput? Anything else I could do on the Cisco switch side?
0
hi,
to learn unix and its command what are best online site, learning videos, training sites that are free available out there including some books.
please advise
0
Hi,
how to uninstall mputty or tabbled putty running on my windows machine . please advise

i like to resinstall as initially only it is asking whether to map to your putty or not asking putty path?
how to find putty path to give that path so that it takes all putty sessions automaticaly?
please advise
0
find / -type f -size +500M -exec ls -lh {} \; | awk '{ print $9 ": " $5 }'
find: `/boot/lost+found': Permission denied

above command gives below error
how to resolve this.

It means that it's running the find through all directories and found /boot/lost+found' to be inaccessible to the find command.
please advise
0
Starting yesterday smtp and starttls connections are experiencing a delay

Running telnet localhost 25 I get
Connected to localhost.
Escape character is '^]'.

and 30 - 40 seconds later
220 server.domain.com ESMTP Sendmail 8.14.9/8.14.9; Wed, 11 Oct 2017 04:19:46 -0400

It's been running fine for the past few years (that is until yesterday), and no changes have been made

Anybody have any ideas?
0

Linux Networking

17K

Solutions

14K

Contributors

The variety of Linux distributions creates myriad issues relating to configuration and operations when computers are networked, not the least of which is the use of various network management applications, some of which are included with specific distributions, while others are standalone applications.