![]() |
#1 |
Little Clucker
![]() Join Date: Oct 2019
Posts: 6
Reputation: 0
|
![]()
Hi all, it gives mem error in centos 7 It comes from PreiwDialogModel.inc but it doesn't match centos 7
although the current version [10:20:11] [debug] MEM_get_val [10:20:11] [debug] MEM_get_arr [10:20:11] [debug] MEM_new [10:20:11] [debug] MEM_set_val [10:20:11] [debug] MEM_delete [10:20:11] [debug] MEM_set_arr [10:20:11] [debug] Run time error 19: "File or function is not found" [10:20:11] [debug] MEM_get_val [10:20:11] [debug] MEM_get_arr [10:20:11] [debug] MEM_new [10:20:11] [debug] MEM_set_val [10:20:11] [debug] MEM_delete [10:20:11] [debug] MEM_set_arr System : Centos 7 Helpp |
![]() |
![]() |
![]() |
#2 |
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Nov 2009
Location: The Netherlands
Posts: 2,477
Reputation: 1632
|
![]()
Just like the log says: Runtime errr 19: "File or function is not found"
It says the MEM_(...) functions aren't found, thus you are missing a proper plugin (these aren't default native SAMP functions). The script compiled fine because it are native functions (native) -That means the the function isn't used from within the AMX file but in the runtime. If you searched on a search engine you would have found this. I did search for those functions and it seems it's this plugin: https://forum.sa-mp.com/showthread.php?t=645166 |
![]() |
![]() |
![]() |
#3 | |
Little Clucker
![]() Join Date: Oct 2019
Posts: 6
Reputation: 0
|
![]() Quote:
|
|
![]() |
![]() |
![]() |
#4 |
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Nov 2009
Location: The Netherlands
Posts: 2,477
Reputation: 1632
|
![]()
What does your log say about (not) loading the plugin then?
|
![]() |
![]() |
![]() |
#5 |
Little Clucker
![]() Join Date: Oct 2019
Posts: 6
Reputation: 0
|
![]() |
![]() |
![]() |
![]() |
#6 | |
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Nov 2009
Location: The Netherlands
Posts: 2,477
Reputation: 1632
|
![]()
Allright, I'll just literally repeat myself.
Quote:
I am pretty sure you didn't (properly) load the (right) plugin |
|
![]() |
![]() |
![]() |
#7 |
Beta Tester
![]() ![]() ![]() ![]() ![]() Join Date: Jun 2007
Location: Poland
Posts: 2,305
Reputation: 841
|
![]()
Memory hacking plugins won't work on CentOS due to SELinux policy, you'll need to disable SELinux or switch to a different distribution.
|
![]() |
![]() |
![]() |
#8 |
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Nov 2009
Location: The Netherlands
Posts: 2,477
Reputation: 1632
|
![]()
Bloody SELinux. Messed with my Viper4Android some time ago.
OT: Open /etc/selinux/config and set SELINUX to disabled or use 'setenforce 0' (using su ofc) I don't recommend any of these options but if you still want to, I'd go for the second option. Every time you restart you must set it to permissive again but that's slightly less insecure than permanently disabling it. If you're using a host you can forget it. Then you should remove all the MEM_ functions in all your scripts. |
![]() |
![]() |
![]() |
#9 |
Little Clucker
![]() Join Date: Oct 2019
Posts: 6
Reputation: 0
|
![]()
I did what you both said but the problem is the same
![]() |
![]() |
![]() |
![]() |
#10 |
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Nov 2009
Location: The Netherlands
Posts: 2,477
Reputation: 1632
|
![]()
Now that I think of it.
@dugi: Even though that memory hacking won't work in enforcing mode, I assume that it wouldn't throw runtime error 19 if the plugin was actually loaded? The functions might not work but I'd think that they would be recognised anyway (never used SAMP on Linux distributions) @krozer1: What does your server log say about loading pawn_memory.so? |
![]() |
![]() |
![]() |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
bad ELF centos 6.7 | AmirHossaiN | Server Support | 6 | 16/08/2015 02:06 AM |
RC-3 on Centos | feartonyb | Server Support | 3 | 27/03/2015 08:43 PM |
CentOS 7 - Are you going to use it? | maddinat0r | Everything and Nothing | 14 | 08/07/2014 11:35 AM |
Nee help with CentOS. | RaiNyDayS | Server Support | 28 | 25/11/2013 11:36 AM |
CentOS | Sanady | Everything and Nothing | 7 | 28/08/2012 04:17 AM |