Cannot configure DNS... Incorrect permissions???

Discussion in 'Installation/Configuration' started by blaszlo, Aug 29, 2008.

  1. blaszlo

    blaszlo New Member

    Hey guys,

    I was in my ISPConfig manager and I went to the DNS manager to create a new MX record and when I clicked the SAVE button it gave me popup that stated "You do not have permission to view this..." or something like that and booted me out, and now I can't even view my dns records or setting from the manager... What permissions do you think I need to change on my machine to get this going again? Seems really strange that it did this, I was logged in as admin and everything was working yesterday. Thanks in advance!

    -Brad
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Please try the database repair function which can be found under administartion.
     
  3. blaszlo

    blaszlo New Member

    Thatdef didn't work... Permissions are wrong I'm sure of it, I'm just not sure what directories/files I should chmod... Any other help???
     
  4. falko

    falko Super Moderator Howtoforge Staff

    Did you do anything on the server before it stopped working?
     
  5. blaszlo

    blaszlo New Member

    No, I did nothing... The CentOS was just installed and the server is brand new... Like I said, it was working the previous day and I did nothing to break it... Thsi sucks because I cannot get email to work, I need to make an MX record and I don't want to do it manually
     
  6. blaszlo

    blaszlo New Member

    ...Anyone???
     
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    It is a problem with the database and not any file permissions, even if you dont believe the poeple who have written the software ;)

    It is really not easy to say what causes this problem. The error message is from ispconfig, so there must be either some database records missing in the permission tables (e.g. in dns_dep or dns_nodes) or the permission table is unreadable at all due to a mysql failure or there the admin user record in sys_user table has been modified or a similar problem.
     
  8. blaszlo

    blaszlo New Member

    Okay, you have my attention now :) So, what do I need to do to correct this issue? As I said, the database repair function did nothing (or at least seemed to do nothing as it didn't fix the problem). I am really trying to like this software... I have been using DirectAdmin on all eight of my servers and I'm ready for a change. Thanks!
     
  9. falko

    falko Super Moderator Howtoforge Staff

    Can you restart ISPConfig and MySQL?
     
  10. blaszlo

    blaszlo New Member

    I am able to restart and I have several times... This is becoming a thorn in my side :|
     
  11. falko

    falko Super Moderator Howtoforge Staff

    What you could try is delete the records from the doctypes table and then import the records from the doctypes tables that comes with the SQL dump of your ISPConfig version (db_ispconfig.sql in the install_ispconfig/ folder). But be sure to make a backup of your database before!
     
  12. blaszlo

    blaszlo New Member

    Sorry for my ignorance, but how do I do that? Where is the working doctypes table located and how would I delete it? You want me to delete the whole file, or just the data in the file and replace the data with the data from the doctypes in the SQL dump? I am confused I'm sorry
     
  13. falko

    falko Super Moderator Howtoforge Staff

    You can empty the doctypes table with phpMyAdmin. Then open the db_ispconfig.sql file and search for the doctypes section. Copy the "INSERT INTO doctypes..." lines and paste them into the SQL field in phpMyAdmin.
     

Share This Page