note: This is about an installation at BlueHost and *not* an installation on a local computer!
The screenshot shows my current progress while installing Multicraft at my own hosting account where the host does not already have anything related to Minecraft pre-installed, and I believe my problem at the moment is that Multicraft has yet to be told it is not on a local machine where things such as 'ip = 127.0.0.1' are typically assumed. Does anyone here have some experience with establishing something such as '/home/myaccount/public_html/multicraft/' as an absolute server path for Multicraft?
The message says the "Multicraft base directory doesn't exist", but the actual problem is that Multicraft does not presently know how to find itself at its '/home/myaccount/public_html/multicraft/' base directory.
The Multicraft back-end does not typically get installed within a public_html folder, which in your case I'm assuming is a web accessible directory. Multicraft is most happy when it can have it's own user folder under /home/.
I would suggest re-running the Multicraft install script and letting it use the default file locations. (With the exception of the php front end, but only if your web server is configured to use a directory other than /var/www)
Then you should be able to start the daemon with /home/minecraft/multicraft/bin/multicraft -nv start
If you absolutely must keep the daemon installed where it is, open up your Multicraft.conf file and verify that the line baseDir = /home/minecraft/multicraft is set correctly. In your case, it would need to be something along the lines of baseDir = /home/username/public_html/multicraft
The Multicraft back-end does not typically get installed within a public_html folder, which in your case I'm assuming is a web accessible directory. Multicraft is most happy when it can have it's own user folder under /home/.
I thank you very much, and here is something similar via e-mail from a Multicraft Support Tech:
===
The fact that it is mentioning a directory named "n" indicates that a wrong setting may have been indicated during the setup.sh run. You should see a setup.config file from where you have run the setup where all of your entered settings are stored... The daemon files should never be in a web-accessible directory.
===
You have also said: "I would suggest re-running the Multicraft install script and letting it use the default file locations. (With the exception of the php front end, but only if your web server is configured to use a directory other than /var/www)"
I have seven domains at my VPS, and each is assigned to its own unique-and-exclusive '/home/account/public_html/subfolder/'...and I think that is an issue related to the "if your web server is configured to use a directory other than /var/www" you have mentioned. In my own case, there is no actual 'www' folder anywhere. What I can do, however, is to begin again as you have suggested and move "the daemon files" the Support Tech has mentioned to something like '/home/account/multimon' where no browser can ever go. Before doing that, however, my immediate challenge is to deal with this:
===
[2016-09-08 01:45:55 -0500] /home/account/public_html/subfolder/multicraft/n/bin/useragent.conf: Cannot open file:
[2016-09-08 01:45:55 -0500] /home/account/public_html/subfolder/multicraft/multicraft.conf: Cannot open file:
===
Multicraft has changed ownerships there and I cannot even read those for downloading copies or backups!
Update: I think I am getting closer, but I also have just learned I might have some owner/permission problems. I am accustomed to uploading WordPress stuff with FileZilla and then going there in my browser where everything is already set to work, but apparently that is not the case with Multicraft...and possibly also with Minecraft, yes? So, it looks like I need to make my 'mltmcrafter' user or whatever within my hosting account and then assign ownership?
Edit: I had seen this before but had not realized what it was saying...
"By default [the Multicrat daemon] will expect a user 'minecraft' with group 'minecraft' on the system and create everything related to multicraft in a folder 'multicraft' under this user's home."
Update: Getting closer in some ways related to system users and groups, but this installation will have to be done manually since the Multicraft script presumes too much along the line of system configuration. I have a BlueHost VPS account with six-of-seven domains already doing various other things, so this is not a situation where Multicraft scripting can come in and presume to add system users and such while assuming it is the only major thing going on at the server. I know there are people here who know how to get this done, and I gladly welcome your help either publicly or privately.
PS: This worked just fine in one respect...
---
ls -l /home/account/folder/multicraft/
chown -R minecrafter:minecrafters /home/account/folder/multicraft/
---
...but then my primary system user added to that same group still could not edit a file via FileZilla.
I think Edison used to say his discovery of a working light bulb was actually the result of eliminating things that did *not* work, and I have at least done that. Part of my problem stemmed from not knowing all the terms and understanding what some things do...but I have apparently eliminated the worst of my bad guesses. There is still more to do, of course, but that is a big part of what Minecraft is all about, yes?!
I first saw a somewhat-buggy, customized-modified version of Multicraft at McPro Hosting where eventually having my own unaltered copy quickly became a goal...and now I am as impressed as I might have ever reasonably expected!
Problem #1: 'max user processes' limit is crashing Minecraft server running inside Multicraft
Does anyone have a good tutorial or web page that shows how to install multicraft in an account using public_html folder and NOT the var/html folder for install.php. I go through the setup and fill out all of the questions and then it tells me to go to mydomain.com/multicraft/install.php ....NOPE It is wrong for a thousand times. It wants it to be var/html/... My account is not set up that ay. I am on centos using virtualmin and everything having to do with web access goes in public_html. I have been on 20 or 30 searches for answers. So many people are saying "its easy for centos" "2 -3 minutes instalation" but I can find ANYTHING on installing it in a standard VPS account with public_html. If I had one server on centos totally dedicated to one domain it probably is easy but I have 3 domains hosted on the machine using virtualmin. If anyone can help it would be great! Thanks!!!
Does anyone have a good tutorial or web page that shows how to install multicraft in an account using public_html folder and NOT the var/html folder for install.php/...
I doubt any such tutorial exists, but that kind of installation is what I have been doing over these past few days. If you are still needing help, either post again here or send me a PM.
Problem #1: 'max user processes' limit is crashing Minecraft server running inside Multicraft...
Update: Starting the Multicraft daemon as "root" user solved that problem, and here is more I have learned while completing my overall installation:
Adding Multicraft to a hosting server is much different (as in "more complex") than the installation of any kind of "plug-n-play" blog platform such as WordPress or whatever else. However, adding something like WordPress multisite (such as a reseller would use) is also much more complex than just adding a (or another) blog...and there is where I had been mistakenly expecting a simple "plug-n-play" installation of Multicraft while thinking no more effort would be required than what I have often made while adding a new domain and its web site at my hosting server. Ultimately, however, I actually have been able to add Multicraft without having to make any alterations at my hosting server -- no new user accounts or core folders -- and here is a summary of how I have accomplished that:
I first selected a location for the Multicraft daemon and followed the Multicraft installation guide to unpack Multicraft there and then do these things:
# tar xvzf multicraft.tar.gz
# cd multicraft
# ./setup.sh
Running 'setup.sh' and getting things right was a bit tricky, and it took several attempts and then even some further editing of 'multicraft.conf' before I finally got that done. During all of that, however, I told Multicraft the panel would *not* be installed on this machine.
After completing 'setup.sh' as "root", I next executed a 'chown' to give ownership to my pre-existing do-it-all user at my hosting server...and I actually had to go back and repeat that a few times during the remainder of the installation since Multicraft is written to be quite secure and it continually checks and/or changes those kinds of things.
note: My primary issue there was the fact I could not use FileZilla in my usual way (but now I can) for anything related to Multicraft since ownership and permissions were being preventative along that kind of line.
Adding the Multicraft panel was "Part Two" of my installation, and I will add a post about that a little later.
In my previous post I failed to mention having used cPanel>MySQL to make my two Multicraft databases and users -- a single user for both databases rather than one for each separately would likely be okay also -- prior to running the daemon's 'setup.sh' since at least the daemon database info is needed during 'setup.sh'. Then while running 'setup.sh', I told Multicraft to *not* add any users at my hosting server and I gave it my own 'home/accountname/mychoice/multicraft' path as the location I had first chosen and where I had unpacked Multicraft. So, and while using the actual path, I was running this for the daemon setup: 'home/accountname/mychoice/multicraft/setup.sh'. And then as I have already mentioned, I told Multicraft its panel would *not* be installed on this machine...and I did that to prevent a later repeat of previously-experienced trouble where I had received "Forbidden - no permission" along with a 404 while trying to access 'install.php' in a browser. So overall, I now had the daemon installed and could run it as "root" (which is necessary anyway) without having added any users anywhere...kind of like a single-site installation of WordPress with no multi-site available, and that would likely not work if I later needed or wanted to add specific, server-unique users inside Multicraft.
At that point, adding the Multicraft panel was straight-forward and simple after I had finally figured out to *not* use '# tar xvzf multicraft.tar.gz' to unpack Multicraft in my pre-selected '/home/accountname.public_html/subfolder/multicraft' location. Rather, I just used cPanel>FileManager to do the unpacking in that second location so there could not possibly be any ownership or permission issues.
note: My domain for the Multicraft panel is an Add-On domain assigned to land at ''/home/accountname.public_html/subfolder', and ultimately getting it from there to Multicraft's index.php is a simple matter of what is typed into the browser or doing some work in .htaccess.
note: This is about an installation at BlueHost and *not* an installation on a local computer!
The screenshot shows my current progress while installing Multicraft at my own hosting account where the host does not already have anything related to Minecraft pre-installed, and I believe my problem at the moment is that Multicraft has yet to be told it is not on a local machine where things such as 'ip = 127.0.0.1' are typically assumed. Does anyone here have some experience with establishing something such as '/home/myaccount/public_html/multicraft/' as an absolute server path for Multicraft?
SMP Game Server Domain: gPapaGoSurvival.net
Discord: discord.gg/2JFzJBu
Update: Here is my specific goal at this moment:
The message says the "Multicraft base directory doesn't exist", but the actual problem is that Multicraft does not presently know how to find itself at its '/home/myaccount/public_html/multicraft/' base directory.
SMP Game Server Domain: gPapaGoSurvival.net
Discord: discord.gg/2JFzJBu
The Multicraft back-end does not typically get installed within a public_html folder, which in your case I'm assuming is a web accessible directory. Multicraft is most happy when it can have it's own user folder under /home/.
I would suggest re-running the Multicraft install script and letting it use the default file locations. (With the exception of the php front end, but only if your web server is configured to use a directory other than /var/www)
Then you should be able to start the daemon with /home/minecraft/multicraft/bin/multicraft -nv start
If you absolutely must keep the daemon installed where it is, open up your Multicraft.conf file and verify that the line baseDir = /home/minecraft/multicraft is set correctly. In your case, it would need to be something along the lines of baseDir = /home/username/public_html/multicraft
TNAHosting.net | WISP Panel | SFTP | MySQL | Custom Jar | Sub-Domain | Free Web Hosting
Free 1GB - 48 Hour Test Servers | NEW LOW PRICES $1/m
Need Support? Hop on our Discord!
I thank you very much, and here is something similar via e-mail from a Multicraft Support Tech:
===
The fact that it is mentioning a directory named "n" indicates that a wrong setting may have been indicated during the setup.sh run. You should see a setup.config file from where you have run the setup where all of your entered settings are stored... The daemon files should never be in a web-accessible directory.
===
You have also said: "I would suggest re-running the Multicraft install script and letting it use the default file locations. (With the exception of the php front end, but only if your web server is configured to use a directory other than /var/www)"
I have seven domains at my VPS, and each is assigned to its own unique-and-exclusive '/home/account/public_html/subfolder/'...and I think that is an issue related to the "if your web server is configured to use a directory other than /var/www" you have mentioned. In my own case, there is no actual 'www' folder anywhere. What I can do, however, is to begin again as you have suggested and move "the daemon files" the Support Tech has mentioned to something like '/home/account/multimon' where no browser can ever go. Before doing that, however, my immediate challenge is to deal with this:
===
[2016-09-08 01:45:55 -0500] /home/account/public_html/subfolder/multicraft/n/bin/useragent.conf: Cannot open file:
[2016-09-08 01:45:55 -0500] /home/account/public_html/subfolder/multicraft/multicraft.conf: Cannot open file:
===
Multicraft has changed ownerships there and I cannot even read those for downloading copies or backups!
SMP Game Server Domain: gPapaGoSurvival.net
Discord: discord.gg/2JFzJBu
Update: I think I am getting closer, but I also have just learned I might have some owner/permission problems. I am accustomed to uploading WordPress stuff with FileZilla and then going there in my browser where everything is already set to work, but apparently that is not the case with Multicraft...and possibly also with Minecraft, yes? So, it looks like I need to make my 'mltmcrafter' user or whatever within my hosting account and then assign ownership?
https://www.spigotmc.org/threads/solved-server-pid-error-with-multicraft.139051/page-2#post-1474742
Edit: I had seen this before but had not realized what it was saying...
"By default [the Multicrat daemon] will expect a user 'minecraft' with group 'minecraft' on the system and create everything related to multicraft in a folder 'multicraft' under this user's home."
Question: What does "user's home" mean?
SMP Game Server Domain: gPapaGoSurvival.net
Discord: discord.gg/2JFzJBu
Update: Getting closer in some ways related to system users and groups, but this installation will have to be done manually since the Multicraft script presumes too much along the line of system configuration. I have a BlueHost VPS account with six-of-seven domains already doing various other things, so this is not a situation where Multicraft scripting can come in and presume to add system users and such while assuming it is the only major thing going on at the server. I know there are people here who know how to get this done, and I gladly welcome your help either publicly or privately.
PS: This worked just fine in one respect...
---
ls -l /home/account/folder/multicraft/
chown -R minecrafter:minecrafters /home/account/folder/multicraft/
---
...but then my primary system user added to that same group still could not edit a file via FileZilla.
SMP Game Server Domain: gPapaGoSurvival.net
Discord: discord.gg/2JFzJBu
Got it!
I think Edison used to say his discovery of a working light bulb was actually the result of eliminating things that did *not* work, and I have at least done that. Part of my problem stemmed from not knowing all the terms and understanding what some things do...but I have apparently eliminated the worst of my bad guesses. There is still more to do, of course, but that is a big part of what Minecraft is all about, yes?!
SMP Game Server Domain: gPapaGoSurvival.net
Discord: discord.gg/2JFzJBu
I first saw a somewhat-buggy, customized-modified version of Multicraft at McPro Hosting where eventually having my own unaltered copy quickly became a goal...and now I am as impressed as I might have ever reasonably expected!
Problem #1: 'max user processes' limit is crashing Minecraft server running inside Multicraft
What should I do here?
SMP Game Server Domain: gPapaGoSurvival.net
Discord: discord.gg/2JFzJBu
Does anyone have a good tutorial or web page that shows how to install multicraft in an account using public_html folder and NOT the var/html folder for install.php. I go through the setup and fill out all of the questions and then it tells me to go to mydomain.com/multicraft/install.php ....NOPE It is wrong for a thousand times. It wants it to be var/html/... My account is not set up that ay. I am on centos using virtualmin and everything having to do with web access goes in public_html. I have been on 20 or 30 searches for answers. So many people are saying "its easy for centos" "2 -3 minutes instalation" but I can find ANYTHING on installing it in a standard VPS account with public_html. If I had one server on centos totally dedicated to one domain it probably is easy but I have 3 domains hosted on the machine using virtualmin. If anyone can help it would be great! Thanks!!!
I doubt any such tutorial exists, but that kind of installation is what I have been doing over these past few days. If you are still needing help, either post again here or send me a PM.
SMP Game Server Domain: gPapaGoSurvival.net
Discord: discord.gg/2JFzJBu
Update: Starting the Multicraft daemon as "root" user solved that problem, and here is more I have learned while completing my overall installation:
Adding Multicraft to a hosting server is much different (as in "more complex") than the installation of any kind of "plug-n-play" blog platform such as WordPress or whatever else. However, adding something like WordPress multisite (such as a reseller would use) is also much more complex than just adding a (or another) blog...and there is where I had been mistakenly expecting a simple "plug-n-play" installation of Multicraft while thinking no more effort would be required than what I have often made while adding a new domain and its web site at my hosting server. Ultimately, however, I actually have been able to add Multicraft without having to make any alterations at my hosting server -- no new user accounts or core folders -- and here is a summary of how I have accomplished that:
I first selected a location for the Multicraft daemon and followed the Multicraft installation guide to unpack Multicraft there and then do these things:
Running 'setup.sh' and getting things right was a bit tricky, and it took several attempts and then even some further editing of 'multicraft.conf' before I finally got that done. During all of that, however, I told Multicraft the panel would *not* be installed on this machine.
After completing 'setup.sh' as "root", I next executed a 'chown' to give ownership to my pre-existing do-it-all user at my hosting server...and I actually had to go back and repeat that a few times during the remainder of the installation since Multicraft is written to be quite secure and it continually checks and/or changes those kinds of things.
note: My primary issue there was the fact I could not use FileZilla in my usual way (but now I can) for anything related to Multicraft since ownership and permissions were being preventative along that kind of line.
Adding the Multicraft panel was "Part Two" of my installation, and I will add a post about that a little later.
SMP Game Server Domain: gPapaGoSurvival.net
Discord: discord.gg/2JFzJBu
In my previous post I failed to mention having used cPanel>MySQL to make my two Multicraft databases and users -- a single user for both databases rather than one for each separately would likely be okay also -- prior to running the daemon's 'setup.sh' since at least the daemon database info is needed during 'setup.sh'. Then while running 'setup.sh', I told Multicraft to *not* add any users at my hosting server and I gave it my own 'home/accountname/mychoice/multicraft' path as the location I had first chosen and where I had unpacked Multicraft. So, and while using the actual path, I was running this for the daemon setup: 'home/accountname/mychoice/multicraft/setup.sh'. And then as I have already mentioned, I told Multicraft its panel would *not* be installed on this machine...and I did that to prevent a later repeat of previously-experienced trouble where I had received "Forbidden - no permission" along with a 404 while trying to access 'install.php' in a browser. So overall, I now had the daemon installed and could run it as "root" (which is necessary anyway) without having added any users anywhere...kind of like a single-site installation of WordPress with no multi-site available, and that would likely not work if I later needed or wanted to add specific, server-unique users inside Multicraft.
At that point, adding the Multicraft panel was straight-forward and simple after I had finally figured out to *not* use '# tar xvzf multicraft.tar.gz' to unpack Multicraft in my pre-selected '/home/accountname.public_html/subfolder/multicraft' location. Rather, I just used cPanel>FileManager to do the unpacking in that second location so there could not possibly be any ownership or permission issues.
note: My domain for the Multicraft panel is an Add-On domain assigned to land at ''/home/accountname.public_html/subfolder', and ultimately getting it from there to Multicraft's index.php is a simple matter of what is typed into the browser or doing some work in .htaccess.
SMP Game Server Domain: gPapaGoSurvival.net
Discord: discord.gg/2JFzJBu