Uploaded image for project: 'JBoss Core Services'
  1. JBoss Core Services
  2. JBCS-1286

htdbm fails to create user

XMLWordPrintable

    • False
    • None
    • False

      ./htdbm -b -c ewsUserDb ewsUser ewsUserPassword
      Error opening database ewsUserDb
      DSO load failed

      calling strace ./htdbm -b -c ewsUserDb ewsUser ewsUserPassword we get :

      ...
      brk(NULL)                               = 0x555b6e52c000
      rt_sigaction(SIGINT, {sa_handler=0x555b6d29a7e4, sa_mask=[], sa_flags=SA_RESTORER|SA_INTERRUPT, sa_restorer=0x7f344495a630}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
      futex(0x7f344494a0d0, FUTEX_WAKE_PRIVATE, 2147483647) = 0
      open("/opt/rh/jbcs-httpd24/root/usr/lib64/apr-util-1/apr_dbm_db-1.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
      write(2, "Error opening database ewsUserDb"..., 33Error opening database ewsUserDb
      ) = 33
      write(2, "DSO load failed\n", 16DSO load failed
      )       = 16
      exit_group(1)                           = ?
      +++ exited with 1 +++
      ...
      

      looks like the fail is caused beacuse we are trying to use a RPM install directory.

              rhn-engineering-mturk Mladen Turk
              plodge Paul Lodge
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: