November 25, 2024, 11:53:45 AM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: Jailkit issue error:ldconfig can not open /etc/ld.so.conf  (Read 5850 times)

Offline MrNevaj

  • New Member
  • Posts: 2
  • mv -R *life /dev/null/
Jailkit issue error:ldconfig can not open /etc/ld.so.conf
« on: August 19, 2008, 09:28:13 PM »
OS: Gnu/Linux
Platform: x86
Distro: Centos 5.1
goal: SFTP with jailed users

Ok when running jk_init /opt/jail sftp scp

It gives me the error ldconfig can not open /etc/ld.so.conf
I looked at the files listed in ld.so.conf and it is a wildcard /etc/ld.so.donf.d/*

Has any one run in to this and gotten past it?


Offline aktiwari4u

  • LST CareTaker
  • Crescent
  • *****
  • Posts: 161
    • http://aktiwari4u.tk/
Re: Jailkit issue error:ldconfig can not open /etc/ld.so.conf
« Reply #1 on: August 20, 2008, 06:37:13 AM »
if i am not mistaken then the wild card entry should be /etc/ld.so.conf.d/* in place of /etc/ld.so.donf.d/* . as it has a folder there from where it may get extra config files

Offline MrNevaj

  • New Member
  • Posts: 2
  • mv -R *life /dev/null/
Re: Jailkit issue error:ldconfig can not open /etc/ld.so.conf
« Reply #2 on: August 21, 2008, 02:20:08 AM »
That was a type-o on my part the path in the conf file is correct

Offline aktiwari4u

  • LST CareTaker
  • Crescent
  • *****
  • Posts: 161
    • http://aktiwari4u.tk/
Re: Jailkit issue error:ldconfig can not open /etc/ld.so.conf
« Reply #3 on: August 28, 2008, 12:07:21 PM »
you need to provide the librery path of the SFTP with jailed users in ld.so.conf file and reload it or  you may add a conf file in the ld.so.conf directory for the SFTP librery .