Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x

Linux OS Dev

Kernel programming for Linux operating systems can be done with many different languages; C, C++, Python, Perl and Java, which are some of the most common languages used.There are also many different varieties of Linux, such as Ubuntu, Fedora and OpenSUSE.

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

Sign up to Post

Hi,

I have a folder called

home/system/xyz

now xyz has many sub directories  like abc , def
now abc has directories like lms, pqr etc

xyz is currently owned by me. problem is others cannot see xyz and its all subdirectories for possible issues on the server settings.
now i want to give ownership to xyz directory to ADMIN user say  crm and password say p@ssword so that all the team mates who has ADMIN crm  access can view and modify any directories and files within xyz no matter how deep they are.
how to give access to this one?
0
Free Tool: IP Lookup
LVL 10
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

i installed bind and setup example.com domain on my centos 6.9.

trying to find what is the causes here.

[root@dns01 ~]# named-checkconf /etc/named.conf
[root@dns01 ~]#

[root@dns01 ~]# named-checkzone example.com /var/named/rev.example.com
zone example.com/IN: loaded serial 2017091501
OK

[root@dns01 ~]# named-checkzone example.com /var/named/fwd.example.com
zone example.com/IN: loaded serial 2017091501
OK


[root@dns01 ~]# host -v -t ns example.com. 192.168.2.91
Trying "example.com"
;; connection timed out; trying next origin
Trying "example.com"
;; connection timed out; no servers could be reached
0
Hi Team,

We have folder called /opt/app
inside /opt/app we are running applications as elasticsearch and kibana in below respective folders.

/opt/app/elasticsearch
/opt/app/kibana

and processes are running in those folders as we.

Due to space issue. Now i want to mount to /opt/app folder without any data loss on the fly?
is it possible or not? if possible could you please suggest me what is the best way to proceed?
0
Can i able to add RHEL6 and RHEL7 repos to spacewalk?

I have account on redhat where i can download all the rhel6/7 packages.  not sure how to add to spacewalk so i can utilize spacewalk to do lot of operations.
0
I am installing spacewalk on RHEL7.

I was following this article.

https://github.com/spacewalkproject/spacewalk/wiki/HowToInstall

I am getting the following error when i execute,
yum -y install spacewalk-postgresql


Error: Package: jboss-jstl-1.2-api-1.0.3-15.1.el7.noarch (epel)
           Requires: mvn(org.jboss.spec.javax.servlet:jboss-servlet-api_3.0_spec)
Error: Package: jboss-jstl-1.2-api-1.0.3-15.1.el7.noarch (epel)
           Requires: mvn(org.jboss.spec.javax.el:jboss-el-api_2.2_spec)
Error: Package: jpam-0.4-28.el7.x86_64 (spacewalk)
           Requires: apache-commons-beanutils
Error: Package: jboss-jsp-2.2-api-1.0.1-15.1.el7.noarch (epel)
           Requires: mvn(org.jboss.spec.javax.servlet:jboss-servlet-api_3.0_spec)
Error: Package: spacewalk-jpp-workaround-2.3.5-1.el7.noarch (spacewalk)
           Requires: apache-commons-validator
Error: Package: struts-1.3.10-14.1.el7.noarch (epel)
           Requires: mvn(commons-validator:commons-validator)
Error: Package: apache-commons-chain-1.2-12.1.el7.noarch (epel)
           Requires: mvn(commons-digester:commons-digester)
Error: Package: python-cheetah-2.4.4-4.el7.x86_64 (epel)
           Requires: python-pygments
Error: Package: spacewalk-jpp-workaround-2.3.5-1.el7.noarch (spacewalk)
           Requires: apache-commons-digester
Error: Package: jboss-jsp-2.2-api-1.0.1-15.1.el7.noarch (epel)
           Requires: mvn(org.jboss.spec.javax.el:jboss-el-api_2.2_spec)
Error: Package: …
0
--> Finished Dependency Resolution
Error: Package: spacewalk-taskomatic-2.7.115-1.el7.noarch (spacewalk)
           Requires: hibernate3 >= 3.6.10
           Available: hibernate3-3.2.4-1.SP1_CP01.9.jpp5.noarch (jpackage-generic)
               hibernate3 = 3.2.4-1.SP1_CP01.9.jpp5
Error: Package: spacewalk-java-2.7.115-1.el7.noarch (spacewalk)
           Requires: tomcat-taglibs-standard
Error: Package: spacewalk-java-2.7.115-1.el7.noarch (spacewalk)
           Requires: hibernate3-ehcache >= 3.6.10
Error: Package: spacewalk-java-2.7.115-1.el7.noarch (spacewalk)
           Requires: hibernate3-c3p0 >= 3.6.10
Error: Package: cglib-2.1.3-4.jpp5.noarch (jpackage-generic)
           Requires: asm >= 1.5.3
           Available: asm-1.5.3-7.jpp5.noarch (jpackage-generic)
               asm = 1.5.3-7.jpp5
Error: Package: spacewalk-taskomatic-2.7.115-1.el7.noarch (spacewalk)
           Requires: hibernate3-c3p0 >= 3.6.10
Error: Package: spacewalk-taskomatic-2.7.115-1.el7.noarch (spacewalk)
           Requires: concurrent >= 1.3.4-21
           Available: concurrent-1.3.4-9.jpp5.noarch (jpackage-generic)
               concurrent = 1.3.4-9.jpp5
Error: Package: spacewalk-java-2.7.115-1.el7.noarch (spacewalk)
           Requires: apache-commons-el
Error: Package: spacewalk-taskomatic-2.7.115-1.el7.noarch (spacewalk)
           Requires: hibernate3-ehcache >= 3.6.10
Error: Package: spacewalk-java-2.7.115-1.el7.noarch (spacewalk)
           Requires: hibernate3 …
0
Dear Experts

We are running rhel7 that is redhat enterprise linux 7.3 and our application sugarcrm requires php-imap but rhel7 does not support php-imap hence downloaded epel and tired to install I get below dependency issue
downloaded and install php56-php-imap from rpm finder below error,
rpm -Uvh php56-php-imap-5.6.31-1.el7.remi.x86_64.rpm
error: Failed dependencies:
        php56-php-common(x86-64) = 5.6.31-1.el7.remi is needed by php56-php-imap-5.6.31-1.el7.remi.x86_64
[root@crm1 indar]#
should I have to disable rhel repo and depend on epel and install if yes can you please provide the steps for epel for rhel7
thanks in advance
0
Hi,
how to transfer
site booksmarks to shared bookmarks in winscp

please advise
0
Hi,

how to teach winscp remember password. Every time entering password is pain for me. please advise
0
good morning

I am currently presenting problems with three virtual servers, with Redhat operating system version 6.6, since it is not loading the operating system correctly and does not finish starting.

Restart the server repeatedly, migrate another host, and the fault persists. Attach pictures of the errors I am observing.

Stay tuned to your comments.

Best regards.
Errores-Linux.docx
0
Free Tool: Site Down Detector
LVL 10
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Dear Experts

We have come across critical issue that is sugarcrm loading automatically also frequently getting logout, for this support have suggested the below, can you please suggest on how to disable this.

caching enabled (opcache / memcahce) can you disable this to determine if it is playing a role

our instance php modules for your information
s http://crm1.shriramproperties.com/info.php


thanks in advance
0
Hello ,

I have a problem with interfaces on a multihomed topology. My interfaces can not ping each other and can not ping theirselves too
sysctl as given below.

But it is able to ping the interface ip when i directly write ping 37.123.98.142 , if the both interface are not able to ping this interface's ip how does it ping it or from where ?

I have to let them have access each other how shoud i do it ?

Note: loopback interface activated
Note2: em interfaces are all down

[root@spd network-scripts]# sysctl -p
net.ipv4.ip_forward = 1
net.ipv4.conf.p1p1.rp_filter = 2
net.ipv4.conf.p1p2.rp_filter = 2
net.ipv4.conf.all.rp_filter = 2
net.ipv4.conf.default.rp_filter = 2
net.ipv4.conf.lo.rp_filter = 2
net.ipv4.conf.p1p1.accept_local = 1
net.ipv4.conf.p1p2.accept_local = 1
net.ipv4.conf.all.accept_local = 1
net.ipv4.conf.default.accept_local = 1
net.ipv4.conf.lo.accept_local = 1
net.ipv4.conf.default.arp_filter = 0
net.ipv4.conf.all.arp_filter = 0
net.ipv4.conf.p1p2.arp_filter = 0
net.ipv4.conf.p1p1.arp_filter = 0
net.ipv4.conf.lo.arp_announce = 2
net.ipv4.conf.all.arp_announce = 2
net.ipv4.conf.default.arp_announce = 2
net.ipv4.conf.p1p1.arp_announce = 2
net.ipv4.conf.p1p2.arp_announce = 2

Open in new window


PING 37.123.98.142 (37.123.98.142) from 37.123.98.142 p1p1: 56(84) bytes of data.

^C
--- 37.123.98.142 ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 2055ms

[root@spd network-scripts]# ping -I p1p1 37.123.98.138
PING 37.123.98.138 (37.123.98.138) from 37.123.98.142 p1p1: 56(84) bytes of data.

^C
--- 37.123.98.138 ping statistics ---
4 packets transmitted, 0 received, 100% packet loss, time 3064ms

[root@spd network-scripts]# ping -I p1p2 37.123.98.138
PING 37.123.98.138 (37.123.98.138) from 37.123.98.138 p1p2: 56(84) bytes of data.

^C
--- 37.123.98.138 ping statistics ---
2 packets transmitted, 0 received, 100% packet loss, time 1038ms

[root@spd network-scripts]# ping -I p1p2 37.123.98.142
PING 37.123.98.142 (37.123.98.142) from 37.123.98.138 p1p2: 56(84) bytes of data.

^C
--- 37.123.98.142 ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 2060ms

Open in new window


[root@spd network-scripts]# ping 37.123.98.142
PING 37.123.98.142 (37.123.98.142) 56(84) bytes of data.
64 bytes from 37.123.98.142: icmp_seq=1 ttl=64 time=0.019 ms
64 bytes from 37.123.98.142: icmp_seq=2 ttl=64 time=0.022 ms
64 bytes from 37.123.98.142: icmp_seq=3 ttl=64 time=0.017 ms
64 bytes from 37.123.98.142: icmp_seq=4 ttl=64 time=0.015 ms

Open in new window




Open in new window

0
I am getting the following error when running make while trying to cross-compile OpenSSL:

make[1]: mips-linuxar: Command not found
Makefile:652: recipe for target 'libcrypto.a' failed
make[1]: *** [libcrypto.a] Error 127
make[1]: Leaving directory '/home/dev/openwrt/package/openssl-1.1.0f'
Makefile:128: recipe for target 'all' failed
make: *** [all] Error 2


From the Makefile:

PLATFORM=linux-generic32
OPTIONS=--cross-compile-prefix=mips-linux no-asan no-crypto-mdebug no-crypto-mdebug-backtrace no-ec_nistp_64_gcc_128 no-egd no-fuzz-afl no-fuzz-libfuzzer no-heartbeats no-md2 no-msan no-rc5 no-sctp no-ssl-trace no-ssl3 no-ssl3-method no-ubsan no-unit-test no-weak-ssl-ciphers no-zlib no-zlib-dynamic
CONFIGURE_ARGS=("linux-generic32", "--cross-compile-prefix=mips-linux")

ARFLAGS=
AR=$(CROSS_COMPILE)ar $(ARFLAGS) r


Line 652
      $(AR) $@ $?

I am new to this. Please tell me how I can make this question more useful.

Thank you.
Makefile
Configure
0
Hello ,

We have suprised on one test. We realize that when an ip address directly sends 1million pps to a server. That server normally working with irq perfectly , it hits to only one core of the server.
Why that happens and how this issue should be over comed.
0
[root@localhost httpd-2.4.27]# ./configure
checking for chosen layout... Apache
checking for working mkdir -p... yes
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
configure:
configure: Configuring Apache Portable Runtime library...
configure:
checking for APR... no
configure: error: APR not found.  Please read the documentation.
0
I am getting the following errors when cross compiling aircrack-ng to a MIPS based router:

ld: cannot find -lssl
ld: cannot find -crypto
ld: cannot find -lssp-nonshared
ld: cannot find -lssp

The compilers (c and c++) are producing what I believe are the expected object files:

aircrack-ng.o:      ELF 32-bit MSB relocatable, MIPS, MIPS-I version 1 (SYSV), not stripped
aircrack-ptw-lib.o: ELF 32-bit MSB relocatable, MIPS, MIPS-I version 1 (SYSV), not stripped
common.o:           ELF 32-bit MSB relocatable, MIPS, MIPS-I version 1 (SYSV), not stripped
cpuid.o:            ELF 32-bit MSB relocatable, MIPS, MIPS-I version 1 (SYSV), not stripped
crypto.o:           ELF 32-bit MSB relocatable, MIPS, MIPS-I version 1 (SYSV), not stripped
linecount.o:        ELF 32-bit MSB relocatable, MIPS, MIPS-I version 1 (SYSV), not stripped
uniqueiv.o:         ELF 32-bit MSB relocatable, MIPS, MIPS-I version 1 (SYSV), not stripped

I am new to Linux and cross compiling.

What do I have to find and where do I  need to put them in order to get further along?

Thank you.
0
when patching suse linux i noticed one package did not get updated for few nodes. other node it got updated.

-  All three servers are SUSE 10 SP4.
- all connected to same repo

trying to tshoot this issue. can some one give me some insight on how to tackle this issue.

I come from redhat background so i am just walking with suse linux.
0
Guys,
I saw some script that in our applications server has the gawk.exe with parameter as  below, do anyone here familiar with gawk and mind to explain what is this parameter does ?

gawk.exe "!x[$0]++"
0
hi,

winscp how to sudo as admin?
I currently logged in as my user say xyz but i am not able to delete particulr folder/directory. I have to login or pseudo as admin user say rrr to that. how to psedo in the winscp to rrr user?pleaseadcise
0
Concerto's Cloud Advisory Services
LVL 4
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Hi,

winscp how to compare 2 different unix users say xyz and abc by opening xyz on left hands side and abc on right hand side. As of now on the left hands side i was able to open my windows laptop folder structure like C drive etc and on right hands side i am able to open one unix user like abc or xyz etc. please advise
0
I  have a few question for selection of drop policy applied place.

1. Which one first apply the drop rule ?
2. iptables and nftables are user space appliances but i do not know deeper , are they work in kernel space and pipe the requests from user space or are they work completely after kernel space ?
3. Is there any possibility to drop a packet before any kernel space module ,i tryed with netfilter and drop an ip xx.xx.xx.xx and i realize that tcpdump still reading the traffic but iptables not. So the traffic is passing to kernel space still on netfilter.
0
I want to search on below error
java.io.FileNotFoundException:

I want to search on all the weblogic domian directory files and its sub directory files and sub sub directory files?
how to search all the way to great great grad child level?

please advise
0
I have a Linux bind server hosting a

the rzone  file in /var/named/data/51-168-192.zone

the SOA line says this is    "IN SOA  netsvc.int.alconi.com.   root.netsvc.int.alconi.com. 203 3h 1h 1w 5m

I want to create a windows DNS in the another namespace that would be       "win2016.int.alconi.com" or maybe "win.alconi.com"  with its own DNS servers, can I do this ?

should I create another subnet for the win.alconi.com?

if so how ,

I am very ignorant on this , and really really could use some help
1
how can I see all packages that are installed in a Ubuntu instance?

thanks
0
Error: Package: R-core-devel-3.4.0-2.el6.x86_64
           Requires: libicu-devel
**********************************************************************
yum can be configured to try to resolve such errors by temporarily enabling
disabled repos and searching for missing dependencies.
To enable this functionality please set 'notify_only=0' in /etc/yum/pluginconf.d/search-disabled-repos.conf
**********************************************************************

--> Running transaction check
---> Package R-core-devel.x86_64 0:3.4.0-2.el6 will be an update
--> Processing Dependency: libicu-devel for package: R-core-devel-3.4.0-2.el6.x86_64
---> Package kernel.x86_64 0:2.6.32-642.11.1.el6 will be erased
--> Finished Dependency Resolution
Error: Package: R-core-devel-3.4.0-2.el6.x86_64
           Requires: libicu-devel
 You could try using --skip-broken to work around the problem
** Found 2 pre-existing rpmdb problem(s), 'yum check' output follows:
tomcat6-admin-webapps-6.0.24-98.el6_8.noarch has missing requires of tomcat6 = ('0', '6.0.24', '98.el6_8')
tomcat6-webapps-6.0.24-98.el6_8.noarch has missing requires of tomcat6 = ('0', '6.0.24', '98.el6_8')
0

Linux OS Dev

Kernel programming for Linux operating systems can be done with many different languages; C, C++, Python, Perl and Java, which are some of the most common languages used.There are also many different varieties of Linux, such as Ubuntu, Fedora and OpenSUSE.

Top Experts In
Linux OS Dev
<
Monthly
>