Capturar imagen en un segundo disco que he montado
-
@oliver said in Capturar imagen en un segundo disco que he montado:
Cuando dices que compruebe que el usuario fog en esa maquina accede con esa contraseña, te refieres al servidor de fog?
los permisos que tiene la carpeta images2 sonTo test this you should log into the fog server using the ftp client on a microsoft windows computer. FTP to the fog server, use the user ID of
fog
and the password found in the .fogsettings file (yes it will be long random characters).When you log into the ftp server on the fog server change to the /images2 directory. And then create a test directory.
cd /images2 mkdir /images2/test
I will guess it will error because the
fog
linux user does not have rights to make files in /images2 or does not have rights to delete files in /images2/dev directory. But directory permissions is the problem. You can check with the ftp program. -
@george1421 said in Capturar imagen en un segundo disco que he montado:
Comprueba que /images2, el directorio, tiene permisos 777 para que el usuario fog de linux pueda acceder a él.
pero en el pantallazo anterior e muestra que el usuario fog tiene todos los permisos no?
-
Los directorios que cuelgan de /images2 pueden tener todos los permisos habilitados pero si /images2 no los tiene, no puede acceder
drwxrwxrwx 284 fog root 16384 oct 11 14:11 images
-
@george1421 said in Capturar imagen en un segundo disco que he montado:
But directory permissions is the problem. You can check with the ftp program.
Good morning, I entered with the user fog de linux in ftp and let me create the test directory in \ images2 and another one in \ images2 \ dev with which I understand that it is not a permissions problem
-
@Fernando-Gietz
buenos dias, yo no veo ninguna diferencia -
@oliver Is this CentOS? Please Run
getenforce
and post output here! -
@Sebastian-Roth said in Capturar imagen en un segundo disco que he montado:
Is this CentOS? Please Run getenforce and post output here
good morning
when running getenforce disable appears
-
@Sebastian-Roth
[Mon Oct 14 09:19:37 2019] [error] [client 172.95.21.34] PHP Warning: ftp_login(): Login incorrect. in /var/www/html/fog/lib/fog/fogftp.class.php on line 464[11-Oct-2019 10:42:38] NOTICE: Terminating …
[11-Oct-2019 10:42:38] NOTICE: exiting, bye-bye!
[11-Oct-2019 10:43:30] NOTICE: fpm is running, pid 2045
[11-Oct-2019 10:43:30] NOTICE: ready to handle connections -
@oliver Check the FTP password in
/var/www/html/fog/lib/fog/config.class.php
! -
@Sebastian-Roth
hi.the password is correct, it is the same one with which I opened the ftp with a client (filezilla)
-
@oliver Username
fog
orfogproject
? Which version of FOG do you have? -
@Sebastian-Roth
user fog
version 1.5.5 -
@oliver The error message “Warning: ftp_login(): Login incorrect.” is very clear. Double check it all!!!
-
@Sebastian-Roth
solved
the problem was in the user with whom I had configured the storage node, you have to put the administrator of linux and not the one of the web -
@oliver just so you know the linux user
fog
orfogproject
should never be used for system administration. These accounts are owned by the fog program and will reset their passwords each time you install FOG.We are glad you have it working now.