Jump to content

Ubuntu - SMB and HTTP server stopped working


Recommended Posts

Posted

Ok - bit short of info on this one - anyway

 

I am volenteering at a museum/STEM place near home. On Thursday I set up a Linux system on an old desktop PC - all up to date etc etc

I installed Samba and Apache and got them both working

 

There is loads of other stuff to do on them but that was for next week

 

anyway - the 'IT Bloke'/"person who does everything" has sent me an email saying that he has shut it all down, moved it all to his desk and plugged it into the network switch under his desk

BUT - now the Samba and HTTP servers won't connect

he has NOT logged it on

 

I will not be going in until Wednesday so I am looking for clues before I do - basically I am trying to show him that I know what I am doing so this hiccup is embarrassing

 

It kinda sounds like the services won't start until the user is logged in - is this possible??

If so can it be setup to run them automatically??

or should I set the machine to autologin (which sounds dodgy??

 

FYI - I have used UBUNTU before - but it was a while ago and it didn't do this

 

thanks

 

Mike

Posted
The services need to be installed/run as daemons IME - that way they're running like a system service on Windows.

 

I've never had to do that - can you point me at some instructions or something please

Thanks

 

Mike

Posted

If its the latest ubuntu's either 18.04 or 16.04, then check if the services are enabled:

 

systemctl status smb (it may be smbd cant recall)

systemctl status apache2

 

Just enable them and start them with the systemctl enable and start commands and should be good to go, this is assuming you installed from apt packages and didn't compile them yourself

Posted

OK - thansk for all the replies but it turned out to be something simple - the bios battery was worn out so it was asking for someone to press f1 on startup - but he had disconnected the monitor so couldn't tell

 

pressed f1 and it started

  • Thanks 1
Posted
Haha that's epic! Always start with the simplest solutions - depressing that their 'IT bloke' didn't follow that mantra!

 

Yup - it's not really knowledge - it's just experience/instinct/magic - or whatever

people at my last place used to ask how I know so much stuff - they couldn't believe that I just make it up as I go along - but after working on the damn things since 1981 I tend to know the right things to look for (teachers using computers is generally a clue!!!)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...