Linux Networking

18K

Solutions

15K

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

transactions search in unix logs


in the unix logs of transactions each transaction has bunch of values like

transaction_id|transaction_time|transaction_description|transaction_type| ......etc



if i want to display only the transactions that took more than say 30 minutes and whose transaction_type is "sell"

how do i frame my grep command for that

any sample queries, links, resources, sample video tutorials on this

Please advise
0
Keep up with what's happening at Experts Exchange!
LVL 12
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Dear Experts

I would like to understand the need for Windows Active Directory services OR openldap in the organisation where there are multiple departments and various access controls on network resources like internet access/CRM/ERP, EMAIL.  Each department will have working on different modules of CRM/ERP/network data store. is it recommended to make all the business applications CRM/ERP/email to authenticate with Windows Active Directory services OR openldap,  the organisation has more than 500 users however with branches and each location minimum of 100 to 125 users using the business applications though the internet or mpls connectivity, please help me understand domain controller setup with windows AD/open ldap real benefits for the company wide. thanks.
0
Hi All,

I'm having an issue with CentOS and webhosting.

Essentially:
wget -O- http://mywebsite.com/  works
wget -O- http://myServerIP/    -> 403 Forbidden.

In IIS I would just add the name to the host header.  
How do I configure this or allow the IP to serve the same path as mywebsite.com for the IP?

Thanks in advanced.
0
I have recently installed an Ubuntu 16.04 VHD image. Initially the /etc/network/interface file was empty. I put in the ip address info that I was provided by our network guy.
ifconfig showed eth0 as the interface name.
I edited the interface file to have the following:
auto eth0
iface eth0 inet static
address 10.100.1.6
gateway 10.100.0.1
submask 255.255.248.0
dns-nameservers .....

the network folks changed their minds and wanted to put my server on a different subnet.
I have edited the interface file.
auto eth0
iface eth0 inet static
address 10.99.0.6
gateway 10.99.0.1
submask 255.255.240.0
I have flushed the interface.
I have tried rebooting and actually shutting down the system.

but each time when I boot back up the interface continues to be configured with the old IP.

what am I doing wrong?
What do I need to do in order for the new IP to be loaded into the configuration?

Thanks in advance.
0
I have a Red Hat 7.1 server.  I cannot FTP into the RH7.1 server I get a message 530 Login incorrect.
I can receive files if I use FTP from the RH7.1 server but I cannot SEND files from the RH7.1 server.
When attempting to send files from the RH7.1 server a zero length file is put on the receiving server but no data is ever copied to the receiving server and the FTP process on the RH7.1 server hangs.

This is on an internal network with no outside connections so security is not a concern here.
I also tried sftp with no success.

Any suggestions would be greatly appreciated.

TIA,
Dan Kaib
0
what is the meaning of below command

less log123.log | grep -i nullpointerexception


why we use less and then grep on it

Please advise
0
in vi we can use /nullpointerexception to find that string right.

how to find how many occurrence of that string total and go to say 10th occurence line
please advise
0
when i open with winscp that opens old stale file compared to putty opening of same file say xyz.ccfg

i wonder why winscp does not show recent changs?

please advise
0
tail -f logfile.log


what is the meaning of above command.

i see logs rolling too fast.

is there is a way i can slow it down to see clearly slowly

any god tips, links, resources on how to debug production logs efficiently just using putty without any fancy costly tools?

please advise
0
Dear Experts

We are using nextcloud which is on ubuntu 16.04 with php, mysql and apache until now we were using within the local network but now there is a requirement to enable this to external network that is from internet hence would like to procure ssl certificate and install the same,
1.  can you please suggest the good source to purchase the ssl certificates
2. at present users are using this solution  by installing the ssl certificates will it have any impact of not functioning or breaking down the system please suggest.
3. can you please help me how to install the ssl certificate in this server instance
0
Cloud Class® Course: C++ 11 Fundamentals
LVL 12
Cloud Class® Course: C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

what are the best ways to migrate or move Zimbra 8.6 on RedHat Linux 6.6 to Zimbra 8.8

current usage: authentication is LDAP, cbpolicyD,fail2ban, spamfiltering is in cloud level

it is possible to install a latest version of CentOS. but what is the best choice? CentOS or Ubuntu ?

thanks,
0
I have a NAS server that I recently have lost the ability to access using the IP address. When an attempt to access I receive an Access Denied error. Below is what I have checked and the results.

  • I have verified that account credentials are correct.
  • I have verified that the account permissions are correct to access the share.
  • I am able to ping the device from any other device in the network.
  • I am able to access the SMB share using the Hostname and the FQDN with the same account credentials mention above but not the IP address.
  • I have verified that the IP address is not assigned to any other device on the network.
  • I have verified that the ARP table correctly associates the IP address to the correct MAC address. (However after a packet capture when the device attempts to authenticate with the SMB share it gets a response from a different MAC address which I can not locate anywhere on the network.)
  • I have verified that NTLM is not disabled on the device or in GPO.

I have reached out to the manufacturer (Panzura) and they said after reviewing the packet capture and all the items above they believe that it is a network issue. At this point, I have run out of ideas of what to do next. The manufacturer suggested changing the IP address, however, I would like to reserve that as a last resort.
0
My goal is to be able to connect to private network located behind OpenVPN client (192.168.1.0/24) via OpenVPN server WAN interface.
For example I want this forwarding: http://{Ubuntu WAN IP}:443 -->  http://{Private LAN IP behind OpenVPN client }:443
Please take a look at the attached screenshot.
-  Ubuntu VPS knows the route to private LAN subnet that is behind OpenVPN client (192.168.1.0/24) and MikroTik router knows the route to OpenVPN subnet (192.168.7.0/24).
- I can connect to Ubuntu VPS via SSH and successfully ping MicroTik OpenVPN interface (192.168.7.2) and also I can ping any host from MicroTik private LAN subnet that is behind OpenVPN client (192.168.1.0/24) , needless to say the private LAN hosts that are behind OpenVPN client (from 192.168.1.0/24 subnet) can easily ping Ubuntu OpenVPN interface (192.168.7.1) too.
- Also any host from OpenVPN subnet (192.168.7.0/24) if connected to OpenVPN server via OpenVPN client allows communication like http://{Ubuntu WAN IP}:443 --> http://{Private IP of OpenVPN client}:443 using UFW NAT rule.
But:
When I’m trying http://{Ubuntu WAN IP}:443 --> http://{Private LAN IP behind OpenVPN client}:443 I have following behavior:
1)      Packets successfully arrive to host behind OpenVPN client (to any host from 192.168.1.0/24 )
2)      But the host of this subnet can't route back this received public IP packet via OpenVPN tunnel, it replies using ISP WAN address.

I would very happy if someone is able to help me solve this …
0
no one in ubuntu 16.04 can change password. permission deni...
and new user (sudo adduser (not permission to give a password).
0
Hello Community,

I need some help installing Opennms monitoring software because Im getting error trying to install it on Oracle Linux 6.9.

I used this commands:

wget https://yum.postgresql.org/9.3/redhat/rhel-6.9-x86_64/pgdg-oraclelinux93-9.3-3.noarch.rpm

Open in new window

yum install postgresql93-server postgresql93-contrib uuid-pgsql.x86_64 repmgr93.x86_64 rhdb-utils.x86_64 skytools-93-modules.x86_64 pgbackrest.x86_64 pgdg-oraclelinux93.noarch pgloader.x86_64 pgmemcache-93.x86_64 pgmp93.x86_64 phpPgAdmin.noarch pgagent_93.x86_64 ora2pg.noarch -y 

Open in new window


Then, with sudo rights did:

sudo bash bootstrap-yum.sh

And getting the error below:

PostgreSQL initialize                 ... FAILED

Open in new window


Im using the installer provided by official site.

Regards,
0
how to import sessions from putty or mputty to securecrt.
https://www.vandyke.com/products/securecrt/

I recently installed securecrt not sure how to import all existing conections to different servers on different environments that are present in putty to winscp.

any tips on effective use of securecrt as i am new to it

Please advise
0
Dear experts,

I am new to the DNS and DNS load test. Now i have task to test Load Test on two BIND9 servers [RHEL6]. I had googled it and i found dnspref is good tool to evaluate throughput and latency. However, I need a script to do this task. I will be very helpful for me if any one share the info.

thanks,
Maddy..
0
hi am geting this error when starting my linux
linux
0
Hello Experts,

I have a DELL server that I am going to mirror a couple of hard drives. It needs to become a file server.

My question is, is there a NAS software I could install on it and make it NAS server?

Software like FreeNAS or OpenFile. I will like the software to be free or otherwise, I will use a Linux server like CentOS 7 or Ubuntu.

If that is the case configuring Samba will be enough? Recommendation needed, please.

Thank you!
0
Cloud Class® Course: Python 3 Fundamentals
LVL 12
Cloud Class® Course: Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

Hello everyone!. Perhaps somebody could help me. I am trying to configure firewallD (Centos 7) so public network only has access to http and https services but my trusted networks to ssh, webmin, http, https, etc...
Btw I have only 1 interface.

I need to achieve something like this:

PUBLIC ZONE:
-source: 0.0.0.0
-interface: eth0
-allowed services: http, https

TRUSTED ZONE:
-source: 192.168.10.0/24
-interface: eth0
-allowed services: http, https, ssh
-allowed ports: 10000

Ho can I do it?
0
What is the process needed to get the AWS KVM and ZEN drivers loaded in a VMWare Ubuntu 18.04 LTS System before we use the AWS migration tool to put in on an AWS Instance ?  I’m specifically needing what and how to preload the drtivers etc.
0
dhcpconfiguration.txt
Dear Experts

We have a network of less than 15 systems with 2 broadband connections from 2 different ISP's.
1. ISP1 in their provided router configured the network of 192.168.1.0/24 and their provided router ip 192.168.1.17 and function's as DHCP server in the LAN
2.. similarly ISP 2 also configured in their provided router with network of 192.168.1.0/24 and their provided router ip 192.168.1.1 and this also funcationing as DHCP server in the LAN.2
Both the routers of both ISP's are connected to the same switch at the present I have turned off ISP 2 router to avoid 2 DHCP in the LAN.
3. have linux server working as internal private DNS
As per the experts exchange experts advice I am in process of procuring the router with 2WAN port so that each one of the ISP will be connected to one of the WAN port and will stop DHCP service on the router level and will configure DHCP server in linux server. I would like to divide the network of 192.168.1.0/24 to 4 subnets, as following
a)192.168.1.0  of ip range 1 to 62
b)192.168.1.64 of ip range 65 to 126
c)192.168.1.128 of ip range 128 to 190
d) 192.168.1.192 of ip range from 193 to 254

attached DHCP configuration, request to please review the defined 2 subnets statements in the config
Soution design and suggestion for the below please:
in this dhcp server the defined 2 subnets i,e access point-1 to one of the subnet of above a) i,e 192.168.1.0  of ip range 1 to 62 and access point-2 to another …
1
i try to mount synology nas drev on ubuntu but in different ip rang
nas has nfs support and permission
i say
sudo mont 12.11.1.5/volume1/backup /mnt/backup/

my ubuntu har 12.10.1.8
i get connection timeout
amd with smb connection
sudo mount -t  cifs //12.11.1.5/volume1/backup /mnt/backup user=Administrator
get mount error(115) Operation now in progress
0
Hey all, I am struggling with trying to get this to work, I really hope someone can spot what the issue is.

I have a working OpenVPN server running that has many clients connected to it. These clients are able to communicate with any devices on the OpenVPN 10.100.101.0 network. I set up a Sierra Wireless RV50 with an OpenVPN client with static ipp.txt entry of 10.100.101.17. I have set up iroutes in client ccd files and set a route on the server and I am now able to ping both subnets 192.168.13.0 and 10.100.101.0 from each other. However, I only want the OpenVPN subnet 10.100.101.0 to communicate with devices on the 192.168.13.0 network but not have the 192.168.13.0 network be able to talk to any device on the 10.100.101.0 network besides the server, 10.100.101.1. Hopefully that makes sense.

I figured this has to go in the FORWARD rules, but what I've entered is not working. Can anyone help? Thanks in advance.

Here is the output of my rules but I am still able to ping everything across both subnets.

Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination        
    0     0 ACCEPT     tcp  --  any    any     anywhere             anywhere             tcp dpt:ftp
    6   436 ACCEPT     tcp  --  any    any     anywhere             anywhere             tcp dpt:ssh
    0     0 ACCEPT     udp  --  any    any     anywhere             anywhere             udp dpt:domain
    0     0 ACCEPT    …
0
Dear Experts

We are in process of setting up very small IT infra where local dns (private dns server) be done on ubuntu server16.4.4.  We will be hosting web based application server in on-premise and for the internet we have 2 service providers  both are of different,
1.  ISP 1 provided device enabled with the dhcp service for the network and it is ON with the subnet of 192.168.1.0/24  this is more stable connection
2. ISP2 also provided device and enabled with DHCP service for the network and they are asking to turn it ON -
purpose of 2 service provider is to have backup when one is down operation can happen with other service provider
As of now I have not yet turned ISP-2 modem/router ON as this will also function as DHCP server and in a network 2 DHCP server cannot be enabled.
Please suggest the best practice
1. Should I have to ask ISP-2 to configure for different subnet like 192.168.70.0/24 and configure one DHCP server in linux server define 2 subnets here and stop both service providers ISP-1 and ISP-2 modem/router DHCP service but when the clients systems boot which subnet to be released as ISP-1 may be down and but the DHCP server release the IP of subnet ISP-1 , how to switch here to another subnet - NOT sure if this is good way to go with please suggest
2. stop dhcp service of ISP-1 and ISP-2 devices and configure dhcp server in linux but with one subnet only but segment the ip range for ISP-1  router and gateway sections pointing to ISP-1 in dhcp …
0

Linux Networking

18K

Solutions

15K

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.