Community Forum

Resolved
0 votes
Hello,

For maintenance reason my server was moved from one machine (where I did the ClearOs install) to another.
Website are running fine and I got access to the information.

After a few days I went to the ClearOd control panel, logged in and (catastrophe!) it shows only this :

CommunityUser ProfileOoops!
Ooops!
User not found.

https://thumb.ibb.co/cgLaP5/Screen_Shot_2017_08_31_at_09_50_23.png

That doesn’t smell good at all :(

Where to find the missing data ?
Is there a way to reconstruct ?
Thursday, August 31 2017, 06:52 AM
Share this post:
Responses (1)
  • Accepted Answer

    Thursday, August 31 2017, 08:23 PM - #Permalink
    Resolved
    0 votes
    I loaded my ClearOS 7.x in a similar way a year ago and hit a few issues. One thing was the change of network interfaces left a number of files with obsolete interfaces in the configs and also a few obsolete files. I working from memory, but try something like "locate ifcfg-". It should list a few files in /etc/sysconfig/network-scripts (or something like that). Some of those refer to the old interfaces from the machine where you loaded the disk. It is not "lo" and you should be able to identify the ones which belong to your current system (try an "ifconfig" if you can't). The rest (probably 2 if you did a basic gateway setup) refer to your old interfaces. Note the part of the file name after the "ifcfg-". Then do:
    grep -i your_old_interface_name /etc/* -r
    grep -i your_old_interface_name /use/clearos/* -r
    grep -i your_old_interface_name /var/clearos/* -r
    Tidy up anything you find. I think /etc/samba/smb.conf, /etc/clearos/network.conf and my firewall rules were an issue (especially since I'd done a 6.x backup and restored it into 7.x). Maybe there are more files. Restart any relevant services after tidying up.

    Also do a "locate your_old_interface_name" and see which other files are hanging around. there are the ifcfg ones and also there will be some systemd arpwatch files.

    For safety's sake you may want to back up any files you change or delete first - a config backup will do that for the files under /etc and a few other places.

    [edit]
    Changed /etc/sysconfig/networking-scripts to /etc/sysconfig/network-scripts
    [/edit
    The reply is currently minimized Show
Your Reply