List of Contributions

Dave Marquardt

IBM

Contact Details

IBM

My Content

1 to 18 of 18 total
Posted By Dave Marquardt Mon December 11, 2023 09:24 AM
Found In Egroup: Power
\ view thread
Soniya gave one approach. There are various ways in Python to create "virtual environments" that may help here. Look into pipx as a more programmatic way to do what you want. ------------------------------ Dave Marquardt Sr. Software Engineer IBM Austin TX ------------------------------
Posted By Dave Marquardt Thu December 07, 2023 09:09 AM
Found In Egroup: AIX
\ view thread
While that may work, /usr/bin/sed is typically installed from an AIX installp package, i.e. not as part of the Linux toolbox. I wonder what else is missing from the installation on this LPAR. ------------------------------ Dave Marquardt Sr. Software Engineer IBM Austin TX ---------------- ...
Posted By Dave Marquardt Fri September 08, 2023 09:29 AM
Found In Egroup: AIX Open Source
\ view thread
Well, I see this message, so you're not completely banned. ------------------------------ Dave Marquardt Sr. Software Engineer IBM Austin TX ------------------------------
Posted By Dave Marquardt Mon April 10, 2023 09:13 AM
Found In Egroup: AIX
\ view thread
So I think you're asking how many network connections a process is allowed to have in AIX. The limit is more about file descriptors. Check the output of ulimit -a. On an AIX 7.1 system I use I get core file size (blocks, -c) 2097151 data seg size (kbytes, -d) 262144 file size (blocks, -f) unlimited ...
Posted By Dave Marquardt Fri January 20, 2023 08:46 AM
Found In Egroup: AIX
\ view thread
So you're using threads? pthreads? Check out sigthreadmask() or pthread_sigmask(). ------------------------------ Dave Marquardt Sr. Software Engineer IBM Austin TX ------------------------------
Posted By Dave Marquardt Thu January 19, 2023 02:16 PM
Found In Egroup: AIX
\ view thread
Old school UNIX C code to do this would be to call signal(SIGUSR2, SIG_IGN)​ to ignore the SIGUSR2 signal, but these days you'd use sigaction() instead. If you want to use your own signal handler, pass its address instead of SIG_IGN. ------------------------------ Dave Marquardt Sr. Software ...
Posted By Dave Marquardt Tue December 06, 2022 08:37 AM
Found In Egroup: AIX
\ view thread
That eliminates that idea! ------------------------------ Dave Marquardt Sr. Software Engineer IBM Austin TX ------------------------------
Posted By Dave Marquardt Mon December 05, 2022 11:55 AM
Found In Egroup: AIX
\ view thread
I suspect a locale setting. Run locale in your local shell where this is working as expected, and run locale in your cron job. ------------------------------ Dave Marquardt Sr. Software Engineer IBM Austin TX ------------------------------
Posted By Dave Marquardt Fri November 04, 2022 12:20 PM
Found In Egroup: AIX
\ view thread
mktcpip will set these attributes AND put them in the inet0 object in ODM, so they will be used when booting. So you'll likely want to alt_disk_mksysb -s script and within the script run mktcpip. mktcpip is the script used in SMIT's Communications Applications and Systems -> TCP/IP -> Minimum Configuration ...
Posted By Dave Marquardt Fri November 04, 2022 10:45 AM
Found In Egroup: AIX
\ view thread
You should be able to use /usr/bin/mktcpip for this. Run man mktcpip for more information. ------------------------------ Dave Marquardt Sr. Software Engineer IBM Austin TX ------------------------------
Posted By Dave Marquardt Wed August 24, 2022 12:20 PM
Found In Egroup: AIX
\ view thread
You can try to connect() to them or bind() sockets to those ports. Pretty typical UNIX sockets code, I suspect you can find lots of examples of these on the web. ------------------------------ Dave Marquardt Sr. Software Engineer IBM Austin TX ------------------------------
Posted By Dave Marquardt Tue January 18, 2022 08:43 AM
Found In Egroup: AIX
\ view thread
You might use procstack to see where the rsh process is hanging. ------------------------------ Dave Marquardt Sr. Software Engineer IBM Austin TX ------------------------------
Posted By Dave Marquardt Fri January 14, 2022 12:30 PM
Found In Egroup: AIX
\ view thread
So you're running these scripts on the command line when logged in as root? I suspect the hang is on the server side. The rsh client connects to the rsh server, which is supposed to connect back to the client. Maybe running "iptrace" or "tcpdump" to capture the TCP traffic would help. -------- ...
Posted By Dave Marquardt Tue December 21, 2021 10:44 AM
Found In Egroup: AIX
\ view thread
Doesn't rsh also make a connection back to the original system? I wonder if that's part of the problem. I wonder what you'd see running "tcpdump" or "iptrace"/"ipreport" on both sides. ------------------------------ Dave Marquardt Sr. Software Engineer IBM Austin TX ------------------------- ...
Posted By Dave Marquardt Tue December 14, 2021 11:15 AM
Found In Egroup: AIX
\ view thread
So is there a specific problem or error message? ------------------------------ Dave Marquardt Sr. Software Engineer IBM Austin TX ------------------------------
Posted By Dave Marquardt Tue December 07, 2021 08:57 AM
Found In Egroup: AIX Open Source
\ view thread
Thanks for the explanation. While utempter seems handy, I'll note it comes with its own security issues. Unless there's an upswell of people using mosh to connect to AIX LPARs and insisting mosh-server update /etc/utmp, I think it's fine to leave it alone. ------------------------------ Dave Marquardt ...
Posted By Dave Marquardt Mon December 06, 2021 09:48 AM
Found In Egroup: AIX Open Source
\ view thread
I'm using the mosh-server on AIX, it works quite well. But I noticed that I don't show up as logged in when running who. I'm guessing /etc/utmp isn't being updated. ------------------------------ Dave Marquardt Sr. Software Engineer IBM Austin TX ------------------------------
Posted By Dave Marquardt Thu April 08, 2021 09:55 AM
Found In Egroup: AIX
\ view thread
Did you look at config.log? My past experience says you can find what the configure script actually ran and see what when wrong. The output from configure doesn't give us enough detail. ------------------------------ Dave Marquardt Sr. Software Engineer IBM Austin TX ------------------------ ...