>Try 'sudo make install' from the build dir. I did and some things are still missing, like services. What I found is that the directory "/usr/lib/systemd/system" doesn't exist in my ubuntu distro (issue also found here: https://github.com/chef/chef-server/issues/572 ), so the service files are never copied there. I created the dir and copied manually and now I can see them with "systemctl list-unit-files", I can also enable the monitor service but nothing starts when I try to do so, this is what I'm trying to fix now. >Probably better is to actually build a package with dpkg-buildpackage... Possibly, but I'm changing the code/recompiling pretty often and that takes over an hour, on top of consuming 30+gb if I keep the /build directory. (I'm on a budget on AWS :P) Thanks for the quick reply! 2017-09-15 19:57 GMT-04:00 Sage Weil <sage@xxxxxxxxxxxx>: > On Fri, 15 Sep 2017, Henrique Fingler wrote: >> I made some modifications to the source code and I'm trying to deploy it. >> >> The ceph-deploy fails because I dont want to do "ceph-deploy >> install", and even if I run "sudo make install" some service binaries >> are not found, /etc/ceph and the dir on /var/ are not created. >> >> So now I'm just trying to do a manual deploy and I can't do the >> monitor part. I run everything, but when I try to actually launch the >> monitor, I can't. The manual says to run "sudo start ceph-mon >> id=node1" if I have ubuntu. Well, AWS's ubuntu doesn't use upstart so >> that doesn't work. I then tried "sudo /etc/init.d/ceph start >> mon.node1", but ceph doesn't exist in init.d. >> >> How is it created and who does it? Is it a symlink to the binary? Why >> doesn't "make install" do this automatically? Is there a script to do >> the delta between installing from a package manager and installing >> from source? > > Try 'sudo make install' from the build dir. You might need to change the > prefix to /usr from /usr/local. If you want to install just like the > package would (or as close as you can get), look at debian/rules to see > what is passed to cmake during the build. > > Probably better is to actually build a package with dpkg-buildpackage... > > sage > -- > To unsubscribe from this list: send the line "unsubscribe ceph-devel" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html