New Client 0 Bytes
-
I have installed the client, but the AD join doesn’t work. Error Code 1326. DO I have to activate AES? This would be pretty bad, because we also nedd the old client to work.
Also the log file looks pretty nice in Notepad++, but we don’t intall it on our clients and with the indows notepad it is hard to read.
-
AD Join should work, but the new client uses a different mechanism than the old FOGCrypt method.
The new client uses AES-256-CBC. To aes encrypt the password, in the FOG Configuration->FOG Settings->Active Directory password field you type in the plaintext version of your AD Password. When you press save, it will aes encrypt the password for you and stores the encrypted value in the database.
This is only for global settings, so to get your clients to operate with the new system, you will need to create a new group containing all the hosts you want to connect to AD.
Edit the group and choose Active Directory in the side menu and click the checkbox. It should store the AD Password (aes encrypted of course) in the host’s adpass field.
-
FOG_AES_ENCRYPT is only needed if you want to send the data between the clients encrypted
it’s not needed, but should give better security. -
I believe FOG_NEW_CLIENT does need to be checked to store the password aes encrypted though.
-
[B]Please[/B] post bug reports in a new thread. If you post them in threads about something else there’s a high chance I’ll overlook them.
Work package created for log files:
[url]http://portal.fogproject.org/work_packages/29[/url] -
So i updatet to latest SVN with the updated new client. The Problem with the 0 Bytes happend again, and my host updatet to the new version of the client, wich obviously didn’t work.
I had to manual install the client again, because the one on the host was broken. There should be a check before update, if the client on the server is more than 0 Bytes.
-
I’m more confused why it’s downloading a 0 byte file in your case. During the upgrade procedure, is it spitting out any errors in regards to the download of the new client?
-
Client or Server Upgrade?
-
The server upgrade. Client may have some reports, but the file is downloaded from github.com, so if there’s a problem with the FOGService.msi, chances are it’s happening during the server upgrade.
-
Found something in the install log.
Downloading New FOG Client file PHP Warning: Module ‘mysqlnd’ already loaded in Unknown on line 0
OK -
I don’t know why you’re seeing that message, but it, directly, shouldn’t be causing the issues you’re seeing.
That’s most likely a message from when it’s attempting to ensure usage of the mysqlnd vs. mysql plugin to php.
-
Hi,
I have the same problem :
[CODE]-rw-r–r-- 1 www-data www-data 8,6K mars 25 13:59 FOGCrypt.zip
-rw-r–r-- 1 www-data www-data 4,7K mars 25 13:59 FogPrep.zip
-rw-r–r-- 1 root root 0 mars 25 14:00 FOGService.msi
-rw-r–r-- 1 www-data www-data 778K mars 25 13:59 FogService.zip
-rw-r–r-- 1 www-data www-data 291 mars 25 13:59 index.php
[/CODE]Regards,
Ch3i. -
Weird question, but maybe related. Those that are getting the 0 byte problem, are you using sudo ./installfog.sh?
-
[quote=“Tom Elliott, post: 44397, member: 7271”]Weird question, but maybe related. Those that are getting the 0 byte problem, are you using sudo ./installfog.sh?[/quote]
I use the root account and Debian.
-
No problem,
Can you update and try again? I’m attempting a little checking and using curl to perform the download from the script, hopefully this will give us the results we need?
-
I’ve just update my installation, now I have that :
[CODE]-rw-r–r-- 1 www-data www-data 8717 mars 26 12:02 FOGCrypt.zip
-rw-r–r-- 1 www-data www-data 4741 mars 26 12:02 FogPrep.zip
-rw-r–r-- 1 www-data www-data 796658 mars 26 12:02 FogService.zip
-rw-r–r-- 1 www-data www-data 291 mars 26 12:02 index.php
[/CODE] -
Are you behind a proxy by chance?
-
Hey,
Looks like the problem with curl is here, that the github link redirects to a other download link.
Changing the curl code to
[CODE]curl --silent -Lo FOGService.msi https://github.com/FOGProject/fog-client/releases/download/0.7.2/FOGService.msi[/CODE]
works fine. With the option L, curl will follow the redirected link. -
Updated with the -L, thanks for the assist.
-
Updated to latest SVN. Now the client isn’t there at all.
Downloading New FOG Client file…PHP Warning: Module ‘mysqlnd’ already loaded in Unknown on line 0
Failed
You can try downloading the file yourself by running
Installation will continue. Once complete you can
run the command:
wget -O /var/www/fog/client/FOGService.msi [url]https://github.com/FOGProject/fog-client/releases/download//FOGService.msi[/url]- Copying back any custom hook files…OK
- Copying back any custom report files…OK