Aurora 4 Posted July 22, 2017 Hi, I am new to linux and trying to compile my server. I used the commands below: chmod +x ./configure (worked fine) make clean (worked fine) make sql (error message below) /bin/sh: ./config.status: Permission denied make: *** [config.status] Error 126 Can someone enlighten me on about this error? TIA! Quote Share this post Link to post Share on other sites
0 Habilis 119 Posted July 22, 2017 can you show the output of following commands: whoami and ls -la Quote Share this post Link to post Share on other sites
0 Aurora 4 Posted July 22, 2017 11 hours ago, Habilis said: can you show the output of following commands: whoami and ls -la [restie@Artifice Hercules]$ whoami restie [restie@Artifice Hercules]$ ls -la total 3532 drwxrwxr-x 19 restie restie 4096 Jul 22 18:33 . drwx------ 6 restie restie 4096 Jul 22 18:10 .. drwxrwxr-x 9 restie restie 4096 Jul 22 18:10 3rdparty -rw-rw-r-- 1 restie restie 1277 Jul 22 18:10 athena-start -rw-rw-r-- 1 restie restie 2340 Jul 22 18:10 AUTHORS drwxrwxr-x 4 restie restie 4096 Jul 22 18:10 cache -rw-rw-r-- 1 restie restie 52 Jul 22 18:10 char-server.bat -rw-rw-r-- 1 restie restie 270 Jul 22 18:10 char-server.sh drwxrwxr-x 10 restie restie 4096 Jul 22 18:10 conf -rw-rw-r-- 1 restie restie 81210 Jul 22 18:10 config.log -rw-rw-r-- 1 restie restie 26323 Jul 22 18:10 config.status -rwxrwxr-x 1 restie restie 297055 Jul 22 18:10 configure -rw-rw-r-- 1 restie restie 35130 Jul 22 18:10 configure.ac -rw-rw-r-- 1 restie restie 4080 Jul 22 18:10 CONTRIBUTING.md drwxrwxr-x 5 restie restie 4096 Jul 22 18:10 db -rw-rw-r-- 1 restie restie 1592 Jul 22 18:10 db2sql.bat -rw-rw-r-- 1 restie restie 1213200 Jul 22 18:10 dbghelp.dll drwxrwxr-x 4 restie restie 4096 Jul 22 18:10 doc drwxrwxr-x 8 restie restie 4096 Jul 22 18:10 .git -rw-rw-r-- 1 restie restie 65 Jul 22 18:10 .gitattributes -rw-rw-r-- 1 restie restie 4214 Jul 22 18:10 Hercules-11.sln -rw-rw-r-- 1 restie restie 4295 Jul 22 18:10 Hercules-12.sln -rw-rw-r-- 1 restie restie 4265 Jul 22 18:10 Hercules-14.sln drwxrwxr-x 5 restie restie 4096 Jul 22 18:10 Hercules.xcodeproj -rw-rw-r-- 1 restie restie 1449984 Jul 22 18:10 libmysql.dll -rw-rw-r-- 1 restie restie 35147 Jul 22 18:10 LICENSE drwxrwxr-x 3 restie restie 4096 Jul 22 18:10 log -rw-rw-r-- 1 restie restie 54 Jul 22 18:10 login-server.bat -rw-rw-r-- 1 restie restie 271 Jul 22 18:10 login-server.sh -rw-rw-r-- 1 restie restie 10742 Jul 22 18:10 mac.start.scpt -rw-rw-r-- 1 restie restie 6844 Jul 22 18:10 Makefile -rw-rw-r-- 1 restie restie 6365 Jul 22 18:10 Makefile.in -rw-rw-r-- 1 restie restie 50 Jul 22 18:10 map-server.bat -rw-rw-r-- 1 restie restie 268 Jul 22 18:10 map-server.sh drwxrwxr-x 23 restie restie 4096 Jul 22 18:10 npc -rw-rw-r-- 1 restie restie 159744 Jul 22 18:10 pcre3.dll drwxrwxr-x 3 restie restie 4096 Jul 22 18:10 plugins -rw-rw-r-- 1 restie restie 10282 Jul 22 18:10 README.md -rw-rw-r-- 1 restie restie 286 Jul 22 18:10 run-server.bat drwxrwxr-x 3 restie restie 4096 Jul 22 18:10 save -rw-rw-r-- 1 restie restie 1519 Jul 22 18:10 script-checker -rw-rw-r-- 1 restie restie 1614 Jul 22 18:10 script-checker.bat -rw-rw-r-- 1 restie restie 1618 Jul 22 18:10 serv.bat drwxrwxr-x 5 restie restie 4096 Jul 22 18:10 sql-files drwxrwxr-x 11 restie restie 4096 Jul 22 18:10 src -rw-rw-r-- 1 restie restie 8656 Jul 22 18:10 sysinfogen.sh drwxrwxr-x 4 restie restie 4096 Jul 22 18:10 tools -rw-rw-r-- 1 restie restie 5053 Jul 22 18:10 travis.sh drwxrwxr-x 3 restie restie 4096 Jul 22 18:10 vcproj-11 drwxrwxr-x 3 restie restie 4096 Jul 22 18:10 vcproj-12 drwxrwxr-x 3 restie restie 4096 Jul 22 18:10 vcproj-14 -rw-rw-r-- 1 restie restie 81920 Jul 22 18:10 zlib1.dll Quote Share this post Link to post Share on other sites
0 Habilis 119 Posted July 23, 2017 hmmm... ok... 1 thing, when you say Quote chmod +x ./configure (worked fine) make clean (worked fine) make sql (error message below) you ran chmod +x ./configure (worked fine) but did you ran ? ./configure 2 thing you can always do chmod +x config.status ... 1 Aurora reacted to this Quote Share this post Link to post Share on other sites
0 Aurora 4 Posted August 4, 2017 On 7/23/2017 at 8:12 AM, Habilis said: hmmm... ok... 1 thing, when you say you ran chmod +x ./configure (worked fine) but did you ran ? ./configure 2 thing you can always do chmod +x config.status ... Clearly, I didn't know what I am executing. But I'm guessing chmod +x ./configure change the permission which enables me to now use ./configure. Thanks for your help! Quote Share this post Link to post Share on other sites
Hi,
I am new to linux and trying to compile my server.
I used the commands below:
chmod +x ./configure (worked fine)
make clean (worked fine)
make sql (error message below)
/bin/sh: ./config.status: Permission denied
make: *** [config.status] Error 126
Can someone enlighten me on about this error? TIA!
Share this post
Link to post
Share on other sites