Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ PennMUSH ➜ Compiling the server ➜ netmud

netmud

It is now over 60 days since the last post. This thread is closed.     Refresh page


Pages: 1 2  

Posted by Fritz   (12 posts)  Bio
Date Sat 19 Oct 2024 09:31 PM (UTC)
Message
I've been trying to compile my mush, and I've encountered this error:

mv: cannot stat 'netmud': no such file or directory


I know where the netmud.pid file is, but as I'm a bit new to this, I'm not sure what to do to correct the error. Any help would be appreciated, thank you.
Top

Posted by Nick Gammon   Australia  (23,140 posts)  Bio   Forum Administrator
Date Reply #1 on Mon 21 Oct 2024 08:04 PM (UTC)
Message

Which version are you compiling? I think the latest is available on GitHub:

https://github.com/pennmush/pennmush

What operating system are you using?


- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Fritz   (12 posts)  Bio
Date Reply #2 on Tue 22 Oct 2024 07:54 PM (UTC)
Message
The version of Pennmush we're using is 1.8.6p2, and the OS on the server is AlmaLinux v 8.10 (Cerulean Leopard)
Top

Posted by Nick Gammon   Australia  (23,140 posts)  Bio   Forum Administrator
Date Reply #3 on Tue 22 Oct 2024 08:20 PM (UTC)
Message
Does this error occur during compilation, or afterwards when you try to run the MUSH?

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Fritz   (12 posts)  Bio
Date Reply #4 on Thu 24 Oct 2024 08:54 PM (UTC)

Amended on Fri 25 Oct 2024 05:17 PM (UTC) by Fritz

Message
It happens when I'm compiling the mush.
Top

Posted by Nick Gammon   Australia  (23,140 posts)  Bio   Forum Administrator
Date Reply #5 on Fri 25 Oct 2024 11:07 PM (UTC)
Message
Well, I just downloaded, compiled and ran the latest version, as follows:


git clone https://github.com/pennmush/pennmush.git
cd pennmush
./configure
make update
make install
cd game
./netmush


No errors. Note that the executable file was netmush and not netmud.

This was on Ubuntu 22.04.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Fritz   (12 posts)  Bio
Date Reply #6 on Wed 30 Oct 2024 07:13 PM (UTC)
Message
I just checked again and the error when compiling is is netmud, but it's netmush.pid that I have.

It's not a new install, but moving from one server to a new one. I can do everything to compile an existing mud, but when I try to sh restart in cd/pennmush/game it tells me:

running from home/fritz/pennmush/game
i don't see home/fritz/pennmush/game/netmush. Did you remember to make install?

And the answer is yes, I did make install.
Top

Posted by Nick Gammon   Australia  (23,140 posts)  Bio   Forum Administrator
Date Reply #7 on Thu 31 Oct 2024 08:02 PM (UTC)
Message
I'm confused about this talk about netmud.pid. A xxx.pid file is not usually an executable file.

You should be running netmud (or netmush depending on the name) not netmud.pid.

Please do an "ls -l" of pennmush/game and post the results here.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Fritz   (12 posts)  Bio
Date Reply #8 on Thu 31 Oct 2024 08:57 PM (UTC)

Amended on Fri 01 Nov 2024 02:14 AM (UTC) by Nick Gammon

Message

[fritz@zeus game]$ ls -l
total 6176
-rw-r--r-- 1 fritz fritz    6398 Aug 31  2019 access.README
-rw-rw-r-- 1 fritz fritz    2806 Oct 30 19:05 alias.cnf
-rw-rw-r-- 1 fritz fritz    2899 Oct 30 19:05 alias.cnf.bak
-rw-r--r-- 1 fritz fritz    2899 Oct 30 19:05 aliascnf.dst
-rw------- 1 fritz fritz 5885952 Mar 31  2024 core.tmp.8907
drwxr-xr-x 2 fritz fritz    4096 Sep  8 01:09 data
-rw-r--r-- 1 fritz fritz     570 Aug 31  2019 getdate.README
-rw-r--r-- 1 fritz fritz     240 Aug 31  2019 getdate.template
drwxr-xr-x 2 fritz fritz    4096 Sep  8 01:09 log
-rw-rw-r-- 1 fritz fritz   33360 Oct 30 19:05 mush.cnf
-rw-rw-r-- 1 fritz fritz   33360 Oct 30 19:05 mush.cnf.bak
-rw-r--r-- 1 fritz fritz   33000 Oct 30 19:05 mushcnf.dst
-rw------- 1 fritz fritz    2559 Sep  8 01:16 mush.cnf.save
-rw-r--r-- 1 fritz fritz   33329 Sep  8 01:16 mush.cnf.save.1
-rw------- 1 fritz fritz       0 Sep  8 05:00 mush.cnf.save.2
-rw-r--r-- 1 fritz fritz   33316 Sep  8 05:00 mush.cnf.save.3
-rw-r--r-- 1 fritz fritz     402 Aug 31  2019 names.cnf
-rw-r--r-- 1 fritz fritz     402 Aug 31  2019 namescnf.dst
-rw-r--r-- 1 fritz fritz       5 Mar 22  2024 netmush.pid
-rw-r--r-- 1 fritz fritz    7270 Aug 31  2019 README
-rwxr-xr-x 1 fritz fritz    5300 Aug 31  2019 restart
-rwxr-xr-x 1 fritz fritz    5300 Aug 31  2019 restart.dst
-rw-rw-r-- 1 fritz fritz    4183 Oct 30 19:05 restrict.cnf
-rw-rw-r-- 1 fritz fritz    4972 Oct 30 19:05 restrict.cnf.bak
-rw-r--r-- 1 fritz fritz    5520 Oct 30 19:05 restrictcnf.dst
drwxr-xr-x 2 fritz fritz    4096 Sep  8 01:09 save
-rwxr-xr-x 1 fritz fritz  140928 Aug 31  2019 ssl_slave
drwxr-xr-x 4 fritz fritz    4096 Aug  7  2022 txt
Top

Posted by Nick Gammon   Australia  (23,140 posts)  Bio   Forum Administrator
Date Reply #9 on Fri 01 Nov 2024 02:17 AM (UTC)

Amended on Fri 01 Nov 2024 02:18 AM (UTC) by Nick Gammon

Message
netmush.pid is just a 5 byte file. That is not the server.

I cannot see netmush or netmud in that directory, so you need to find where it is, if it exists at all.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Nick Gammon   Australia  (23,140 posts)  Bio   Forum Administrator
Date Reply #10 on Fri 01 Nov 2024 03:06 AM (UTC)
Message
This is what my game directory looks like:


nick@nick-desktop:~/Development/pennmush/game$ ls -l
total 164
-rw-rw-r-- 1 nick nick  6398 Oct 26 09:58 access.README
-rw-rw-r-- 1 nick nick  2899 Oct 26 10:00 alias.cnf
-rw-rw-r-- 1 nick nick  2899 Oct 26 10:00 aliascnf.dst
-rw-rw-r-- 1 nick nick  3010 Oct 26 09:58 CONNLOG.md
drwxrwxr-x 2 nick nick  4096 Oct 26 10:05 data
-rw-rw-r-- 1 nick nick   570 Oct 26 09:58 getdate.README
-rw-rw-r-- 1 nick nick   240 Oct 26 09:58 getdate.template
lrwxrwxrwx 1 nick nick    17 Oct 26 10:01 info_slave -> ../src/info_slave
drwxrwxr-x 2 nick nick  4096 Oct 26 10:05 log
-rw-rw-r-- 1 nick nick 34926 Oct 26 10:00 mush.cnf
-rw-rw-r-- 1 nick nick 34926 Oct 26 10:00 mushcnf.dst
-rw-rw-r-- 1 nick nick   402 Oct 26 10:00 names.cnf
-rw-rw-r-- 1 nick nick   402 Oct 26 09:58 namescnf.dst
lrwxrwxrwx 1 nick nick    13 Oct 26 10:01 netmush -> ../src/netmud
-rw-rw-r-- 1 nick nick  7270 Oct 26 09:58 README
-rwxrwxr-x 1 nick nick  5575 Oct 26 10:00 restart
-rwxrwxr-x 1 nick nick  5575 Oct 26 09:58 restart.dst
-rw-rw-r-- 1 nick nick  5520 Oct 26 10:00 restrict.cnf
-rw-rw-r-- 1 nick nick  5520 Oct 26 10:00 restrictcnf.dst
drwxrwxr-x 2 nick nick  4096 Oct 26 09:58 save
lrwxrwxrwx 1 nick nick    16 Oct 26 10:00 ssl_slave -> ../src/ssl_slave
drwxrwxr-x 4 nick nick  4096 Oct 26 10:00 txt


You can see that netmush is a link to ../src/netmud

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Fritz   (12 posts)  Bio
Date Reply #11 on Fri 01 Nov 2024 10:49 AM (UTC)
Message
There's a 4.00MB file in src called netmud~ and that's all I can find. Not sure if that's the correct one or what to do with it if it is.
Top

Posted by Nick Gammon   Australia  (23,140 posts)  Bio   Forum Administrator
Date Reply #12 on Fri 01 Nov 2024 08:27 PM (UTC)
Message
In the game directory, make a soft link to netmud, like this:


ln -s ../src/netmud netmush


Then type:


./restart


That should start it up.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Fritz   (12 posts)  Bio
Date Reply #13 on Fri 01 Nov 2024 10:45 PM (UTC)
Message
[fritz@zeus ~]$ cd pennmush/game
[fritz@zeus game]$ ln -s ../src/netmud netmush
[fritz@zeus game]$ ./restart
Running from /home/fritz/pennmush/game
I don't see /home/fritz/pennmush/game/netmush. Did you remember to make install?
[fritz@zeus game]$

No luck. >.<
Top

Posted by Nick Gammon   Australia  (23,140 posts)  Bio   Forum Administrator
Date Reply #14 on Fri 01 Nov 2024 11:11 PM (UTC)
Message
Do another "ls -l" and show the results.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


5,191 views.

This is page 1, subject is 2 pages long: 1 2  [Next page]

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.