Profile Details

Toggle Sidebar
Recent updates
  • How to change website-enabled flexshare to use root different than /var/www/html ?

    Hi,

    I'm using ClearOS 7.8, I've installed the webserver app, then enabled a website, but noticed it defaults to /var/www/html and there is no way to change it via the GUI. I'd like to use sub-folder /hp, so I edited flex-443.conf to point to that folder and after restarting apache this all worked well. However, I noticed that in the GUI the folder displayed is still /var/www/html. If I click save, the settings are all overridden and I have to edit the file again. I'm not sure where is this base path taken, I've checked both httpd.conf and ssl.con, I have the default document root replaced everywhere? Is there some other place where I can change the default dir for the websites?

  • How to change website-enabled flexshare to use root different than /var/www/html ?

    Hi,

    I'm using ClearOS 7.8, I've installed the webserver app, then enabled a website, but noticed it defaults to /var/www/html and there is no way to change it via the GUI. I'd like to use sub-folder /hp, so I edited flex-443.conf to point to that folder and after restarting apache this all worked well. However, I noticed that in the GUI the folder displayed is still /var/www/html. If I click save, the settings are all overridden and I have to edit the file again. I'm not sure where is this base path taken, I've checked both httpd.conf and ssl.con, I have the default document root replaced everywhere? Is there some other place where I can change the default dir for the websites?

  • Alex Ivanov
    Alex Ivanov's reply was accepted as an answer

    Re: app/users menu returns "Oops! No such object"

    I just fixed it myself, if anyone else have this issue, here is how to fix it:

    Make clearn installation of ClearOS (same version) on virtual machine, copy /var/lib/ldap/ from the virtual machine to yor server, restart slapd and you're done. Just make sure to make backup of that folder in case you need it.

  • I just fixed it myself, if anyone else have this issue, here is how to fix it:

    Make clearn installation of ClearOS (same version) on virtual machine, copy /var/lib/ldap/ from the virtual machine to yor server, restart slapd and you're done. Just make sure to make backup of that folder in case you need it.

  • app/users menu returns "Oops! No such object"

    Hi,

    I'm using ClearOS 6 (free) and I've been having issues with the users/groups for quite some time due to LDAP problems. The error was similar to "unable to connect to LDAP" until i decided to update the system yesterday hoping this will fix the issue. Now the error is "No such object" and i can't even open the users page. I searched the forums and apparently this is some issue with LDAP and most people suggested restoring config backup. Unfortunately my last backup is from 2013 and it's not compatible with the current system.

    I went ahead and started troubleshooting LDAP. and looks like the server is there, and is running. I started the openLDAP from console and tried to open the users page, then i can see error (32) in the console. Looks like error (32) means missing object, but i am not sure what exactly is missing and how do i get it back ?

    I opened the 2013 backup and extracted the .ldif file from there. I also installed php ldap admin and connected without problems to the server. Then tried to import the .ldif file i got from the backup, but apparently all possible items it contains are already there.

    Looks like the slapd service is running fine, it is accessible since i can open it via the default username and password provided, but can someone please send me an ldif file that has all the default values so i can import it in my system ? It can be found in the system configuration backup - var\clearos\openldap\snapshot.ldif

    Thanks in advance!