Unix OS

33K

Solutions

18K

Contributors

Unix is a multitasking, multi-user computer operating system originally developed in 1969 at Bell Labs. Today, it is a modern OS with many commercial flavors and licensees, including FreeBSD, Hewlett-Packard’s UX, IBM AIX and Apple Mac OS-X. Apart from its command-line interface, most UNIX variations support the standardized X Window System for GUIs, with the exception of the Mac OS, which uses a proprietary system.

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

Sign up to Post

I need to implement dzdo on a HP ux server. Server is already running centrify and connected to a domain. I found the instructions for setting up dzdo using the Access Manager GUI but I haven't found anything on how to do a via the command  line. Our servers do not have the GUI interface enabled.
0
Hi folks,

I am working on a Solaris-10 global server, which is hosting 7 non-global zones. There are two kind of network interfaces on our servers, admin and prod. There is one route, which is going via admin interface, I want to delete that and have that from prod interface.
e1000g0 is admin interface
e1000g3 is prod interface

 I want to delete this -
# netstat -nrv | grep 224.0.0.0
224.0.0.0            240.0.0.0       192.168.244.22       e1000g0:4  1500*    0   1 U        0      0
#

Open in new window

Since this is NGZ, I need to delete it from global zone. But I don't see this entry in route table on global server, what should I delete here? -
# netstat -nrv

IRE Table: IPv4
  Destination             Mask           Gateway          Device Mxfrg Rtt   Ref Flg  Out  In/Fwd
-------------------- --------------- -------------------- ------ ----- ----- --- --- ----- ------
default              0.0.0.0         192.168.241.1                1500*    0   1 UG    1072      0
default              0.0.0.0         216.221.133.193      e1000g3  1500*    0   1 UG   13020      0
10.0.0.0             255.0.0.0       192.168.244.1                1500*    0   1 UG       0      0
172.16.0.0           255.255.0.0     192.168.244.1                1500*    0   1 UG       0      0
192.168.64.0         255.255.252.0   192.168.244.1                1500*    0   1 UG       0      0
192.168.69.0         255.255.255.0   192.168.244.1                1500*    0   1 UG      54      0

Open in new window

0
how to increase resolution is xrandr - s 1200x1600 am in linux ubuntu
0
error starting solaris vm there was power cut
errorvb
0
I have configured a Juniper EX switch with TACACSGUI.  I am currently logging in as a user and it is showing up in authentication and accounting reports.  Nothing is showing up in Authorization reports.  I have setup  the following config for the user service, but nothing gets logged in the authorization report.   How do I configure this?

    ###Service Juniper-Remote-Operator START###
    service = junos-exec {
      set local-user-name = "RO"
      set allow-commands = "(configure)"
      set allow-configuration = "(edit|system)"
    } #END OF JunOS General Service
    ###Service Juniper-Remote-Operator END###
0
E371856A-A333-4178-AD55-60D4A837324.jpeg trying to start a KDC for keberos on my centos using systemctl start krb5kdc kadmin but i keep getting error . When i run systemctl enable krb5kdc kadmin it works. I went ahead and check the status it says not running what can i do to resolve this issue.
0
We have 6 Linux servers with support activated on all servers. Out of the 6 servers 2 are test servers.
I bought 4 new servers and installed new version of Linux and I want to deactivate  support license from the 2 test servers and activate in 2 new servers.
How to use the same license and activate support in the new servers? We no longer need the old test servers.
0
hi am having this error starting my solaris/unix
ipaddr
0
Hi,

   I have called third-party  api from main thread in c++ on linux which is working fine as expected. But, when I call same api from child thread, it's failing in multi threaded application.

   technically what could be the reason? (not interested to check with third-party people).

Thanks,
bvm
0
I am running Redhat 6.9 and i am investgating an intermittent connectivity problem with a health checking ping between an F5 loadbalancer and a vmware virtual server running Redhat 6.9

The server is showing in the vmware log vmsvc that the max number of static routes 100 has been reached. However, the max_size for the routing cache is 8388608. Do you know if this kernel setting for the max size in the routing table is the same as the max. routes in the routing table?  I have googled the vmsvc error and apparently upgrading to a later version of the package gets rid of the errors but I'd also like to understand the setting for the maximum number of static routes allowed on a Redhat server.

cat /proc/sys/net/ipv4/route/max_size
8388608

Thanks for any assistance with this.
0
Hello,
Preamble, I have inherited a Solaris 10 system that is running Zones.  The server was moved from one data center to another and the network has been changed.  I am not clear on how to re-configure the zones to function on the new network.  I have read many of the Oracle documents online but they seem to only refer to setting up new zones and not re-configuring existing zones.

Update, some information:
Current output
# ifconfig -a

netmask ffffffe0  == 255.255.255.224

bge1:1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
        zone abc – 
        inet	 ABC.XYZ.197.75 netmask ffffffe0 broadcast ABC.XYZ.197.95
				
bge1:2: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
        zone xyz
        inet	ABC.XYZ.197.69 netmask ffffffe0 broadcast ABC.XYZ.197.95

Open in new window

Required to be updated to be this:
netmask  fffffff0  == 255.255.255.240

bge1:1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
        zone abc – 
        inet	 ABC.XYZ.36.182 netmask fffffff0 broadcast ABC.XYZ.36.191
				
bge1:2: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
        zone xyz
        inet	ABC.XYZ.36.183 netmask fffffff0 broadcast ABC.XYZ.36.191

Open in new window

The output from the zonecfg command is:
zone abc
ip-type=shared
address=ABC.XYZ.197.75
physical=bge1
defrouter=ABC.XYZ.197.65

zone xyz
ip-type=shared
address=ABC.XYZ.197.69
physical=bge1
defrouter=ABC.XYZ.197.65

Open in new window

Need to change to:
zone abc
ip-type=shared
address=ABC.XYZ.36.182
physical=bge1
defrouter=ABC.XYZ.36.177

zone xyz
ip-type=shared
address=ABC.XYZ.36.182
physical=bge1
defrouter=ABC.XYZ.36.177

Open in new window


Any assistance would be greatly appreciated.  Please and thanks!
0
Hi Experts,
 We have some application that we are migrating from one environment to another environment. We have some tomcat , Database server Apache and batch servers for this application. We will have new host/server for this application.  Our job is to find some old server name references and replace with new one specially database server for connection string for java application in config file or any location.

We are using Putty to log on those unix servers. We don't want to manually find one by one in all the file and replace it.

Is there any way or script to find those instances and replace automatically?
0
Hi everyone,
We are trying to migrate from AIX 6100-09-01-1341 to AIX 7100-05-03-1837 on 2 VMs. One VM only shows preservation and New and Complete Install while another VM only shows New and Complete Install option. Here are additional comments:
1. VM 1: Can log on to AIX 6.1 and works fine
2. VM 2: Cannot log on to AIX 6.1. The system does not even provide a logon screen.

Regards,
0
I had this question after viewing Sun Solaris 10 (Sparc) - How to enable telnet ?.

Please share the solution
0
Hi,

  compiling xerces on solaris box.
 
  /usr/lib/sparcv9/ and /usr/lib/64 have libicu*54.  
 
  In another location, /icu_needs_to_build_with/libicu*44.
 
  Whenver I compile, it's always picking libicu*54 version. I do want to build xerces with libicu*44 libraries.
 
  Do we have any flags like LDFLAGS or xyz to configure specific version shared libs?
 
 Thanks,
 Bvm.
0
We have a Sparc Enterprise M3000 which had a disk out a while ago. An Oracle engineer came out & replaced it.

We noticed today that the same slot has a solid green light. I ran a df -k and got the following results -

Filesystem                   kbytes           used            avail              capacity          Mounted on
/dev/md/dsk/d10       68158426    13480606   53996236     20%                 /
/devices                        0                    0                  0                     0%                 /devices
ctfs                                0                    0                  0                      0%                 /system/contract
proc                              0                    0                  0                      0%                 /proc
mnttab                         0                     0                 0                      0%                 /etc/mnttab
swap                            9544856        1768          9543088          1%                /etc/svc/volatile
objfs                              0                    0                   0                    0%                /system/object
sharefs                         0                    0                   0                    0%              /etc/dfs/sharetab
fd                                   0                    0                   0                    0%              /dev/fd
/dev/md/dsk/d30       4135998       3915557      179082        96%          …
0
Hi expert

How to find the latest patching and before patching in Centos OS 7, is this the correct i have try look into the "grep Updated: /var/log/yum.log | tail -30" to look for the latest.

what is the command to look for , before patching in Centos OS 7.
0
Hello.

The customer complains a slowness in the transactions, from the analysis of the following output
you can understand if you need to change some configuration parameter ?


[root@MdapEtlA01 /] $ mmdiag --stats

=== mmdiag: stats ===
Global resources:
  OpenFile counts: total created 256020 (in use 256000, free 20)
    using 552000K memory
    cached 256000, currently open 4918+172, cache limit 256000 (min 10, max 256000), eff limit 256000
    stats: steals 179591029 (clean 179531269, dirty 59760)
  StatCache counts: total created 256007 (in use 256000, free 7)
    using 78000K memory
    cache limit 256000
    stats: inserts 179766566 steals 157897245 hits 14489 expands 17496150 revokes 127 uses 11359975
  OpenInstance counts: total created 25607 (in use 18865, free 6742)
    using 10316K memory
  BufferDesc counts: total created 118726 (in use 117677, free 1049)
    using 11643K memory
    cached 117677 cache limit 786432 pseudo 31894 prefetch 516
  indBlockDesc counts: total created 206656 (in use 196663, free 9993)
    using 7811K memory
    cached 196663 cache limit 256000 pseudo 194377

My verison of gpfs :

[root@MdapEtlA01 /] $ lslpp -L 'gpfs*'
  Fileset                      Level  State  Type  Description (Uninstaller)
  ----------------------------------------------------------------------------
  gpfs.base                 3.5.0.15    C     F    GPFS File Manager
  gpfs.docs.data             3.5.0.4    C     F    GPFS Server …
0
I connected to the vios  an "integrated multifunction card with copper sfp" , now I would like to create an adapter to associate a usb port to the lpar, how should I do?

System Model: IBM,9179-MHC

by vios :
# lsdev | grep Multifunction
ent44      Available 0J-00       Int Multifunction Card w/ Copper SFP+ 10GbE (a219100714100a04)
ent45      Available 0J-01       Int Multifunction Card w/ Copper SFP+ 10GbE (a219100714100a04)
ent46      Available 0J-04       Int Multifunction Card w/ Base-TX 10/100/1000 1GbE (a21910071410d203)
ent47      Available 0J-05       Int Multifunction Card w/ Base-TX 10/100/1000 1GbE (a21910071410d203)
# lslpp -l | grep usb
  devices.common.IBM.usb.diag
  devices.common.IBM.usb.rte
  devices.usbif.010100.rte   6.1.7.0  COMMITTED  USB Audio Device Driver
  devices.usbif.03000008.rte
  devices.usbif.030101.rte   6.1.7.0  COMMITTED  USB Keyboard Client Driver
  devices.usbif.030102.rte   6.1.7.0  COMMITTED  USB Mouse Client Driver
  devices.usbif.08025002.diag
  devices.usbif.08025002.rte
  devices.usbif.080400.diag  6.1.0.0  COMMITTED  USB Diskette Diagnostics
  devices.usbif.080400.rte   6.1.7.0  COMMITTED  USB Diskette Client Driver
  devices.common.IBM.usb.rte
  devices.usbif.010100.rte   6.1.7.0  COMMITTED  USB Audio Device Driver
  devices.usbif.03000008.rte
  devices.usbif.030101.rte   6.1.7.0  COMMITTED  USB Keyboard Client Driver
  devices.usbif.030102.rte   6.1.7.0  COMMITTED  USB Mouse Client Driver
  …
0
grep "testing" 789.log

zgrep "testing"  123.gz

i like to redirect above production server output to
abc/def/test.txt file which is on some other system test server where i have access

how to do it
grep "testing" 789.log >> abc/def/test.txt
above gives error no such directory as that directory is not there in production server

grep "testing" 789.log
how above different from
grep -C2 "testing" 789.log

i see below time stamp lines came 3 of them when i use -C2
2019-Jan-17 04:50:51.198 EST

i see below time stamp lines came 3 of them when i did not use -C2
2019-Jan-17 04:50:51.198 EST

please advise
WithC2.png
WithoutC2.png
0
when i do ls -ltr i see bunch of .gz files says 123.gz and 456.gz
and bunch of no gz files say 789.log etc

how to grep on say "testing" on both zip gz files and non zip files

grep "testing" 789.log

zgrep "testing"  123.gz

not sure how to combine above two together

also how search today log between 10 am to 11 am for that "testing" word in log?
please advise
0
Hi Expert,

If there anyone working on Oracle Retail V16 SaaS Interface here,
Cloud anyone please guide how to prevent Duplicate file processing to SaaS using PL/SQL or UNIX?

Thank You!
0
Hi,

Need a unix script to loop through thousands of folders and write a file listing the folders that contain less than x amount of subfolders.

Thank you.
0
Dear Experts, I'm testing Oracle 11g on Centos 7 64b.

I installed Oracle but could not connect to the globalDB by sqlplus, it keeps showing error: ORA-12514: TNS:listener does not currently know of service requested in connect even I start the Oracle Database

ora1.PNG
ora2.PNG
I also attached the response file from Installation process. These are the details of listener and tnsname files:

ora3.PNG
lsnrctl status:

ora4.PNG
Can you please help? Many thanks!
db.rsp
0
What's the best way to monitor for UDP syslog traffic coming in from a redhat 4 and redhat 5 syslog clients if it's not arriving at the syslog server. The syslog server is running on a Redhat 6 server. netstat -taulpe | grep syslog is showing that UDP is listening on all IP's on the server but I'd like to see if there is any other way apart from running  tcpdump -i <nic> port 514. Would watch lsof -a -i:514 show it?
0

Unix OS

33K

Solutions

18K

Contributors

Unix is a multitasking, multi-user computer operating system originally developed in 1969 at Bell Labs. Today, it is a modern OS with many commercial flavors and licensees, including FreeBSD, Hewlett-Packard’s UX, IBM AIX and Apple Mac OS-X. Apart from its command-line interface, most UNIX variations support the standardized X Window System for GUIs, with the exception of the Mac OS, which uses a proprietary system.