Aix Could Not Load Programusr/opt/ware/bin/rpmlasopafs



Code: exec(): 0509-036 Cannot load program /usr/opt/freeware/bin/rpm because of the following errors: 0509-022 Cannot load module /opt/freeware/lib/libintl.a(libintl.so.1). 0509-150 Dependent module /opt/freeware/lib/libiconv.a(shr4.o) could not be loaded. 0509-152 Member shr4.o is not found in archive 0509-022 Cannot load module rpm. 0509-150 Dependent module /opt/freeware/lib/libintl.a(libintl.so.1) could not be loaded. 0509-022 Cannot load module. I came to know that rpm got corrupted and senior suggested to install rpm.rte with compatible version. It worked for me.

  1. Aix Could Not Load Programusr/opt/ware/bin/rpmlasopafs Command
  2. Aix Could Not Load Programusr/opt/ware/bin/rpmlasopafs Windows 10

Exec: 0509-036 Cannot load program /usr/sbin/sshd because of the following errors: 0509-150 Dependent module libz.a(libz.so.1) could not be loaded. 0509-022 Cannot load module libz.a(libz.so.1). 0509-026 System error: A file or directory in the path name does not. 0509-150 Dependent module libvrtsLogFormatMsgST.so.3 could not be loaded. 0509-022 Cannot load module libvrtsLogFormatMsgST.so.3. 0509-026 System error: A file or directory in the path name does not exist.

Nov 17, 2013 Hello I am having some issue with some module not loaded root@cscp06sam001 # oslevel -s Could not load program /usr/opt/freeware/bin/rpm: Dependent module.

As i'm a new user not able to post links. IMHO: mixing RPM packages and INSTALLP packages leads to confusing situations - such as you have now. For a hint at some of the issues you can read a bolg of mine at However, to help you a bit further - we need to understand why this error is occuring. Likely you have replaced the libiconv.a provided by rpm.rte by something provided by an rpm (e.g., a gnu iconv rpm). 1) use ldd /usr/bin/rpm and post the output. 2) more searching: find / -name libiconv.a -ls That will give us a bit to work with. Happy hunting (or - hope this helps!).

AixAix Could Not Load Programusr/opt/ware/bin/rpmlasopafs

>AIX: I broken RPM. Rpm exec(): 0509-036 Cannot load program /usr/opt/freeware/bin/rpm because of the following errors: 0509-022 Cannot load module /opt. TA-NMON AIX ERROR ExecProcessor module could not be. Sh' Could not load program /usr/opt/freeware/bin. Could not load program /usr/opt/freeware/bin/rpm. AIX 6.1 es a libintl.so upgrade. 0509-036 Cannot load program /usr/opt/freeware/bin/rpm because. 0504-206 File /usr/opt/freeware/lib/libintl.a could not be.

Sonicwall Global Vpn Client 4.2.6 32-bitยป

Optware on DD-WRT V3 builds

DD-WRT Forum Forum Index ->Broadcom SoC based Hardware

Aix Could Not Load Programusr/opt/ware/bin/rpmlasopafs Command

View previous topic :: View next topic
AuthorMessage
hubermania
DD-WRT User
Joined: 24 Aug 2012
Posts: 223

Posted: Sat Oct 15, 2016 18:45 Post subject:
I'm rocking Optware-ng on my RT-AC66U running r30731. Find your CPU type at the end of the Kernel Version on your router's Status->Router tab. Then hop over to the Optware-ng github page and find the wget command aporopriate to your CPU.
https://github.com/Optware/Optware-ng

_________________
[Broadcom] Asus rt-ac66u r35531 ('66 should only be factory reset through the DD UI)
Fix RT-AC66U 'wl1 [2.4 GHz TurboQAM]'. DD-WRT failsafe UI @ http|https://169.254.255.1/
Sponsor
<=' td='>
SmallvilleLA
DD-WRT Novice
Joined: 03 Jun 2016
Posts: 20

Posted: Tue Dec 06, 2016 4:13 Post subject: Proper USB HDD format, mounts and binds??
Firmware: DD-WRT v3.0-r30910M kongac (12/02/16), R7000
So far, I have my 1TB HDD with 3 ext3 partitions (Opt, Swap and Data). With Automount enabled, the Opt and Swap appear to be recognized properly, but terminal mode 'mount' shows Ext4. The Opt partition appears to mount to Opt, but it doesn't look like any copying of files or binding occurs or if mounting the Swap file also enables it?
I've looked at the temp file that gets created and it's hard to tell what controls and needs it. It seems like it should be using the extra Opt space?
Seems like a mount script needs to be in place instead of automount? I plan to keep this permanently attached and I want to use NVRAM or JFFS only as much as necessary.
Any advice?
PS. I'm pretty sure I could get it running now, but I don't want to do it wrong.
pauldmis
DD-WRT User
Joined: 01 May 2008
Posts: 77

Posted: Tue Dec 06, 2016 22:17 Post subject:
Are you using auto mounting using UUID to /opt? This is a very good option...
Currently I just auto mount with these settings:
Core USB Support Enable
USB Printer Support Disable
USB Storage Support Enable
USB Over IP Disable
Automatic Drive Mount Enable
This does the following:
--- /dev/sda1
Block device, size ###.### GiB (############### bytes)
Ext3 file system
UUID ##################################### (DCE, v4)
Last mounted at '/tmp/mnt/sda1'
Volume size ###.### GiB (############### bytes, ########## blocks of ## KiB)
/dev/sda1 mounted to /tmp/mnt/sda1
Then I manually mount in Administration>>Commands tab then in the Startup script to where I need:
mount -o bind /tmp/mnt/sda1/jffs /jffs
mount -o bind /tmp/mnt/sda1/opt /opt
You can mount your swap by the following:
swapon /swap
If it wont mount /swap make sure it is converted to swap:
mkswap /swap
if you want to do a file for swap instead of a partition then do something like the following and you can decide the size you want:
dd if=/dev/zero of=linux.swp bs=1M count=256
mkswap ./linux.swp
swapon ./linux.swp
SmallvilleLA
DD-WRT Novice
Joined: 03 Jun 2016
Posts: 20

Posted: Wed Dec 07, 2016 12:01 Post subject: Proper USB HDD format, mounts and binds??
Thanks pauldmis. While that set up may work, I read that the partition(s) should be mounted with journaling disabled and that creating a jffs partition on a hard drive is a bad idea because the hard drive is not a Flash drive and will eventually lead to corrupt data.
I'm not sure the chain of command that creates and uses the 'tmpmnt.' I have Simba shares set up. The '/mnt' share is where autoconfig wants to create the tmp/mnt directories. Do they have to go there? I'd rather have the 'DATA(/mnt)' partition I have to only contain files, with any processing/program files in the Opt and/or Swap partitions.
It also seems that a startup conf would need to validate the drive's presence before it tries to load stuff that wouldn't be available if the drive is disconnected, so a different startup occurs. I don't know if making it part of startup is better or make a 'Run on mount' script for the drive? I think the latter makes more sense.
The other couple Entware/opt 'Install-How to's' described creating operational directories on the hard drive partition and copying and/binding to the appropriate NVRAM directories. Goal being to cut down NVRAM I/O.
Is what I read about HDD/Ext3 journaling correct?
Is what I read about not having a JFFS partition on a HDD correct?
Can I create /opt and /tmp/mnt directories in my Opt partition and bind opt to jffs and tmp/mnt to tmp?
If I enable the Swap partition, does the tmp/mnt end up in there? If not, when would the Swap be used?
Most of what I read is out of date, so I don't know what's still true. It'd be nice to get the questions validated and then build a solid On-Mount script.
Last... there's Optware, Entware and Entware-ng. Which to choose and why?
Thanks in advance.
pauldmis
DD-WRT User
Joined: 01 May 2008
Posts: 77

Posted: Wed Dec 07, 2016 23:57 Post subject:
Well... plenty of good questions... Let's see how I can answers them...
'autoconfig wants to create the tmp/mnt directories. Do they have to go there?' I'm not sure... In the past I used to manually load the drivers (the auto setting didn't work well in an older version of dd-wrt) through startup and mount where I wanted... this was with a much older version of dd-wrt and those drivers don't work... With a more current version of dd-wrt it works well so I went with that...
Is what I read about HDD/Ext3 journaling correct? I use journaling on my external drive and it works well... I do now and then need to do sanity checks on the drive to fix minor errors. This guy recomends using EXT4: http://usage-monitoring.com/download.php ... I use that tool and it is very good for knowing who is using bandwidth.
Is what I read about not having a JFFS partition on a HDD correct? I don't know I have JFFS disabled in the config of dd-wrt and just created the path and mounted to it (mount -o bind /tmp/mnt/sda1/jffs /jffs)... the tools I use that are on /jffs don't seem to mind and work well.
Can I create /opt and /tmp/mnt directories in my Opt partition and bind opt to jffs and tmp/mnt to tmp? Yes
'Most of what I read is out of date, so I don't know what's still true. It'd be nice to get the questions validated and then build a solid On-Mount script.' Yes I agree with you and it takes a lot of digging and research to figure this all out.
Last... there's Optware, Entware and Entware-ng. Which to choose and why? I use https://github.com/Optware/Optware-ng which seems to be the most current and installed without hickups and I use the C compiler you can install from this optware... I tried others but there were problems...
Linux OS is really nice to work with since my history of experience is with Sun Solaris and IBM AIX which have their own quirks/features unique to them as well. I play with Linux now to keep my POSIX skill up or going since now I work full time deep in Windows Server platform development.
Most of the fun is exploring experimenting and developing your ideas. One thing I found useful is placing some of the startup code or experimental stuff on a separate flash drive and call them from Administration>>Commands>>Startup so if something goes wrong with it during a reboot and you can't get into the router... all you need to do it remove the flash drive and cycle the router again then remove the call from Administration>>Commands>>Startup... Then reboot the router with the flash drive again to access the troublesome code for editing.
I hope this helps.
SmallvilleLA
DD-WRT Novice
Joined: 03 Jun 2016
Posts: 20

Posted: Sat Dec 10, 2016 5:43 Post subject: USB Answers and more questions
Hey Pauldmis,
Thanks for the info. I'm new to the Linux environment with a heavy Microsoft background.
You say you have /jffs disabled with a bind? I think I have a better understanding of the binds now.
I'm guessing that your configuration virtually enables /jffs on the hard drive instead of in NVRAM?
If so, that's very helpful in making sense of what I read and helps in planning the final config (I hope).
Do you have any experience with attaching a powered hub to one of the USB ports?
Having a flash drive for backup and/or alternate configuration would be nice...
I do have a USB printer (Epson Photo Stylus RX580) on the 2.0 port. I think I finally got it running correctly
last night, but it has a built in scanner too that's not functioning.
Any experience with scanner support? OR printer config suggestions?
It's even more difficult to find up to date information on this than on the HDD config.
Moving forward towards having a solid router that eventually gives me some privacy back while sustaining the functionality I want.
Thanks again!
DD-WRT Forum Forum Index ->Broadcom SoC based HardwareAll times are GMT

Navigation

Aix Could Not Load Programusr/opt/ware/bin/rpmlasopafs Windows 10


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum