Hi,
Name of the new DPM DB node is in all files in
/usr/etc{DPMCONFIG,NSCONFIG,DPMINFO}
raul
Marcus Ebert wrote:
> Hi all,
>
>
> I'm trying to move the old DPM install to a new machine and OS. This
> also includes the database. The new server gets the same hostname/IP
> as the old one and the new OS is Sl6 while the old one was still
> SL5.
>
> I installed a minimal OS, and all packages that are needed for the
> DPM. The database was copied from the old server (I tried, direct
> copy of all files after mysql was stopped, and also via mysqldump).
>
> The config files for all service, I also took from the old server.
>
> On the new server, all services start without an error, but I can't
> connect to the database using dpm tools on the headnode or xrdfs
> from the outside.
> I get in dpm/log:
> 1954 dpm_opendb: CONNECT error: Can't connect to MySQL server on 'srm.glite.ecdf.ed.ac.uk' (110)
> 1954 dpm_serv: Error accessing database.
>
> and in dpns/log:
> 2035 Cns_opendb: CONNECT error: Can't connect to MySQL server on 'srm.glite.ecdf.ed.ac.uk' (110)
>
>
> and in xrootd/redir/xrootd.log:
> 170127 14:47:25 3323 dpmfinder_Locate: [#03.000070] Could not connect! Can't connect to MySQL server on 'srm.glite.ecdf.ed.ac.uk' (110)
>
>
>
>
> However, if I take the username and password from /usr/etc/DPMCONFIG
> then I can connect to mysql on the command line.
>
>
> Does anyone have an idea what goes wrong with the communication
> between mysql and dpm here?
>
>
> Cheers,
> Marcus
>
> --
> The University of Edinburgh is a charitable body, registered in
> Scotland, with registration number SC005336.
|