Cannot Capture Image - Could Not Create File
-
Server: Debian 10
Fog Version: 1.5.7
Client: Win10
Trying to capture a small base image from a laptop. Got this error message, not sure if previous posts will apply to me here so making my own thread.Its a brand new server so I’m still trying to work out the bugs
-
Update: Using Filezilla I accessed FTP and was not able to create a new directory, file, or move existing files
-
It sounds like the linux user fogproject doesn’t have write access to /images directory. Possible dues to incorrect permissions on /images or /images/dev directory.
My bet if you look in the fog server in /images/dev there will be a directory with the name that looks like a mac address. That is the raw data files captured form the source computer.
The error message on the screen is where the source computer connects to the FOG server and issues an ftp move command to move the files from /images/dev/<mac_address> to /images/<image_name>
-
@george1421 Thank you that solved my problem!
-
@george1421 I’m getting the same error however mine is telling me that the login is incorrect for fogproject This is a new install as my old server died. Whats the default password suppose to be for fogproject?
-
@darkxeno You can find it in Fog Settings in the GUI
-
@zclift15 I see the password but the error suggests that the password is wrong
-
@darkxeno I saw something similar to this just this Tuesday.
My guesses, you’re password and user are perfectly fine, but the system will not allow you to log in with the fogproject user. This same mechanism that’s preventing you to logon to the machine is also forcing ftp to kick your session out.
To test, open a terminal, and run
su - fogproject
Enter the fogproject users password if prompted.
You’ll see the message I’m referring too. I’m thinking preventing users from logging in with this user is also preventing use for ftp
-
Tom this is what I get when I try to logon with the fogproject account
-
@darkxeno if you edit /home/fogproject/.bashrc and remove the exit 1 from the file, hopefully you’ll be successful in capturing the image.
-
@Tom-Elliott I dont see .basgrc file in that directory I only see warnfogaccount.sh
-
@darkxeno it’s hidden. And it’s .bashrc
-
@Tom-Elliott it’s still giving me the same error tom
-
-
-
@darkxeno These pictures would’ve been helpful before.
Now that you know what the fogproject user’s password actually is, can you go to your storage node in the GUI and ensure your password is set properly?
I was under the impression your message was just like the start of this topic (ftp_put) not ftp_login.
-
@Tom-Elliott looks like the password was different than in the setting gonna change it to that and i will let you know