Setting up and building UDPCast...Failed!
-
[quote=“Ubuntu_newby, post: 22668, member: 22075”]I have tried it, same result.No errors btw.
My Ubuntu computer is not online all the time,only when I’m trying Fog or something else. The services are therefore (re-)started when booting the computer.
Gr, Jos[/quote]
Be carful with your expectations there… There are some versions of Ubuntu that have problems with upstart jobs. Mainly the TFTP service being started before an ip address has been assigned to the machine.
What revision of Ubuntu did you use?
-
I use Ubuntu 13:10 desktop version on a PC.
People who use Linux always say that Linux is more stable than Windows. I’m starting to get my doubts.
The same version of Ubuntu I installed also as a VM in VMWare Workstation on a laptop and sometimes twice a restart is needed because it freezes during startup. Start the second time, it starts up without any problems/freezes.
Gr, Jos
-
Don’t have doubts, Ubuntu has gone through a lot of changes from 10.04 on, they change the look and feel from Gnome to Unity and that messed a LOT of things up, since then it has been in “patch mode” (that’s what I call it when users have to solve their own problems because of changes made to an OS).
I just wanted to make sure you weren’t on a troublesome revision. 13.04 is stable enough of a release you shouldn’t have issues because of OS problems, so we can write that off, for now.
Normally, after I have figured out the issues with the fog installer, I nuke my fog install and run it again. You never know where it hung last, if is finished setting up the user properly, etc.
You can manually install the services and configure them, but I only recommend this for advanced comfortable users.
At this point (since there is nothing on the server), wipe it, fresh install Ubuntu, install FOG.
-
I agree.
-
I am using Ubuntu now after some days using OpenSuse and CentOS. I was not happy with both linux-distributions. I have less trouble with Ubuntu.Ubuntu was more what I want to expect.
I have installed FOG now for at least 3 times. If you count the failed installations, it can be a number 13 times!
-
I understand you are frustrated, but trust me, if we can get a good clean install to work from, FOG will be your best friend.
You did the right thing in choosing Ubuntu, i feel it is the best for user friendliness. I have set up servers on CentOS with a fair share of problems, and OpenSuse is pretty much impossible at the moment (the pieces are there to an extent but they don’t work together, and every time I get close I crash my VM -.-).
-
[quote=“Jaymes Driver, post: 22706, member: 3582”]I understand you are frustrated, but trust me, if we can get a good clean install to work from, FOG will be your best friend.
You did the right thing in choosing Ubuntu, i feel it is the best for user friendliness. I have set up servers on CentOS with a fair share of problems, and OpenSuse is pretty much impossible at the moment (the pieces are there to an extent but they don’t work together, and every time I get close I crash my VM -.-).[/quote]
Well frustrated… That’s not too bad. I for one am happy with Ubuntu.
I follow a course on Linux, with a book with a DVD of OpenSUSE. I was tired of it quickly. After 15 years as a Windows administrator, I want to know some more Linux.
I put in any case with Ubuntu and it will work with FOG. Geukkig I get good help in this forum.
But to keep up with the Subject Do you have any good ideas?
-
Maybe I misunderstood, your last post only touched base on how many times you installed FOG, there weren’t any issues posted.
-
The installation of Fog went correct and I can start it up in the browser.
But I am still having problems to start a task:
[url]http://www.noordlaarderbos.nl/linux/fog_task_management4.png[/url]
The password for mysql and TFTP seems to be correct.
In the logviewer of Fog, I see this:
[02-10-14 1:54:27 pm] * [02-10-14 1:54:27 pm] Checking if I am the group manager.
[02-10-14 1:54:27 pm] * [02-10-14 1:54:27 pm] I am the group manager.
[02-10-14 1:54:37 pm] * [02-10-14 1:54:37 pm] Checking if I am the group manager.
So can you help me further? -
The log viewer messages are correct. That means the FOG Services are actually working now.
The upload issue worries me. You’re certain you can ftp to your fog server using the fog user and fog password?
-
When you set up Ubuntu did you create a user named FOG?
Are you able to Register the machine as a Host in the Web GUI? (sorry silly question just want to verify)
-
[quote=“Tom Elliott, post: 22717, member: 7271”]The log viewer messages are correct. That means the FOG Services are actually working now.
The upload issue worries me. You’re certain you can ftp to your fog server using the fog user and fog password?[/quote]
On the Windows 7 machine I tried to make an connection with FileZilla with <ip address> port: 22 and then the fogusername + password. That was okay, I could make a connect to the Ubuntu machine.
In an earlier stage I changed:
Something like this password to my fogusername + password. I hope that was correct?
define( “STORAGE_FTP_PASSWORD”, “98244f89651eaa2d2c84bd794ab9f60a” );This evening Fog crashed and I had to install it again. Now it up and running again. With the same results, when I set the upload-task:
Unable to start task
Unable to upload file -
[quote=“Jaymes Driver, post: 22724, member: 3582”]When you set up Ubuntu did you create a user named FOG?[/quote]
I can’t remeber when I created a user named FOG.
[quote="JAre you able to Register the machine as a Host in the Web GUI? (sorry silly question just want to verify)[/quote]
What do you exactly?
-
[quote=“Ubuntu_newby, post: 22727, member: 22075”]On the Windows 7 machine I tried to make an connection with FileZilla with <ip address> port: 22 and then the fogusername + password. That was okay, I could make a connect to the Ubuntu machine.
In an earlier stage I changed:
Something like this password to my fogusername + password. I hope that was correct?
define( “STORAGE_FTP_PASSWORD”, “98244f89651eaa2d2c84bd794ab9f60a” );This evening Fog crashed and I had to install it again. Now it up and running again. With the same results, when I set the upload-task:
Unable to start task
Unable to upload file[/quote]While the fog FTP user is setup during install time I don’t think the password is correct which is why you’re seeing problems. You need to set the fog users password yourself with[code]sudo passwd fog[/code]. Then set the password in the GUI under both storage management and fog settings. Also, for future reference, port 22 is for ssh. Ports 20 and 21 are for FTP.
-
[quote=“Tom Elliott, post: 22731, member: 7271”]While the fog FTP user is setup during install time I don’t think the password is correct which is why you’re seeing problems. You need to set the fog users password yourself with[code]sudo passwd fog[/code]. Then set the password in the GUI under both storage management and fog settings. Also, for future reference, port 22 is for ssh. Ports 20 and 21 are for FTP.[/quote]
I remember it did this allready some days ago. Still the same result… (Unable to start task / Unable to upload file)
Do I set the password with this code to FTP, TFTP en MYSQL at the same time?
[code]sudo passwd fog[/code]
I wonder if it ever will start a task. I’m now several days working on it with the passwords and I do not get much further.
-
No just the storage node user and password and you fog settings tftpboot user and password. Nothing with either of the configuration files needs to be touched for this.
-
Just information here:
[code]sudo passwd fog[/code]
The code above changes the user fog on the FOG server. You’re setting the password. This is the user and password FTP uses when sending the PXE File and the Images to the /images folder.
The other “fog” user you’re referring to, if I’m understanding the information correctly, is the one you use to login to the FOG Web GUI with. This “fog” user is stored with the MYSQL Database. This is not your MYSQL_USERNAME or PASSWORD either. This is only for the FOG Web GUI login.
The last “user/password” I had you set earlier in the /opt/fog/service/etc/config.php and /var/www/fog/commons/config.php files is the MYSQL Database username and password. MYSQL has it’s own authentication mechanisms as well. This should be the root user and password, though you could assign any name and password.
-
Yes, I know. I don’t think you understand me or what is going wrong on my FOG server.
Ok. But what password I change. Nothing had changed in Fog. The only difference I see in FOG is this, after I set an upload task, is this:
- With a wrong password:
Unable to start task
Unable to connect to tftp server.- With a correct password:
Unable to start task
Unable to upload file.So thhe FOG server is not able to start the task either if the FTP password is wrong or correct.
Can you explain this?
-
Can you try setting up the task, and getting me some error logs directly after the task is created?
-
Where can I find these logs?