No such file or directory (error while start server)
#1

Hey guys,

 

I've tried to run a new server and that happened: an error that i didn't meet before: 

/monthly_2021_10/image.png.24a6ef15cb205c6b370f383ae7304c1e.png" />

As you can see, i've the correct linux executables, but seems the ./run command can't find it! I searched online and many topics talked about 32-bit application over x64...

#2

The "ldd" command show me the current not found dependencies:

/monthly_2021_10/image.png.869bf4411579564c04c1b3db25174e0f.png" />

#3

well you dont have a "run" file. this is not a default command but rather a  file you just execute with "./"

 

and idk if you have to change the perms on the gs (you might have to)

#4


25 minutes ago, Veni said:




well you dont have a "run" file. this is not a default command but rather a  file you just execute with "./"



 



and idk if you have to change the perms on the gs (you might have to)




Yo ven! Of course i've changed the permissions! All the folder/sub-folder and files have the 777 permission!

 

I've manage how to fix the first dependencies, however i wasn't able to run it anyway it now show the current error:


Quote




./Messenger: error while loading shared libraries: libaprutil-1.so.0: cannot open shared object file: No such file or directory




 

I didn't do too much: i've just installed maria-db, htop , gcc and gdb. I've correctly uploaded all the db, but after have compiled the file-server once exported into the server it not allow me to proceed ? ... never happened before ?

2

 

I also use that script for run the server (which use the ./run function). Since you told me is not usual use that, i've tried to manually start the messanger, with the same result ?

/monthly_2021_10/image.png.091fdad5aa2a806b483a9c0559fe7ff2.png" />

#5

"run" is a file and not a command or function tho. On your screenshots there is no run file in the folder.

#6

You Need to install the libs

2

 

2

#7


2 hours ago, Matt Hias said:




You Need to install the libs



2



 



2




Hmmm ... i reinstalled those packages and it works. Apparently the first installation was corrupt, thank you 

 

#Close /index.php?/profile/20534-veni/&do=hovercard" data-mentionid="20534" href="/index.php?/profile/20534-veni/" rel="">@Veni

#8


7 hours ago, Scura said:




The "ldd" command show me the current not found dependencies:



2




apr and apr-util are both required by log4cxx (shared version of both libs may be required at runtime unless u linked statically both libs built with -Bstatic).

A "fast way" to get shared prebuilt libs (x86) is by installing devel packs (from stock centos repos):

//Assuming you are under centOS 7 x64
cat /etc/centos-release
CentOS Linux release 7.9.2009 (Core)

//Install apr + apr-util prebuilt libs (x86)
sudo yum -y install apr-devel.i686 apr-util-devel.i686

//Make sure both .so files are located under /usr/lib/
repoquery --installed -l apr-devel.i686
repoquery --installed -l apr-util-devel.i686

/usr/lib/libapr-1.so
/usr/lib/libaprutil-1.so

Another way would be building the libs (shared version) by yourself and installing both into your system (e.g: under /usr/lib).

Check here for log4cxx dependencies:

2

For mysqlclientlib, a fast way should be installing MySQL-shared-compat (x86).



Forum Jump:


Users browsing this thread: 1 Guest(s)