1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice

hostname and upgrade troubles.

Discussion in 'Plesk for Linux - 8.x and Older' started by abdicar, May 9, 2005.

  1. abdicar

    abdicar New Pleskian

    22
    57%
    Joined:
    May 9, 2005
    Messages:
    17
    Likes Received:
    0
    hello there...

    well... today i'm upgrading our server to the last plesk... but i have a problem with one.

    I get in the plesk url:

    Table 'psa.ControlVisibility' doesn't exist

    --------------------------------------------------------------------------------

    0: /usr/local/psa/admin/plib/visibility.php:148 psaerror(string "Table 'psa.ControlVisibility' doesn't exist")
    1: /usr/local/psa/admin/plib/visibility.php:291 getvisibilitycustomizations(string "/login_up.php3")
    2: /usr/local/psa/admin/plib/visibility.php:300 getvisibility(string "login", boolean true, NULL "")
    3: /usr/local/psa/admin/plib/elements.php3:180 iscontrolvisible(string "login", boolean true)
    4: /usr/local/psa/admin/plib/elements.php3:106 fetch_hideable_button(string "commonButton", string "login", string "", string "", boolean false, string "", string "return login_oC(document.forms[0], document.forms[1])", boolean true, integer "3", boolean false, boolean false)
    5: /usr/local/psa/admin/htdocs/login_up.php3:765 comm_button(string "login", string "", string "return login_oC(document.forms[0], document.forms[1])", boolean true, integer "3")

    So... I tried the reinstall... but i get the next error:

    [root@ds01 base]# rpm -Uhv psa-7.5.3-fc2.build75050506.13.i586.rpm --force
    Preparing... ########################################### [100%]
    ===> Updating /etc/psa/psa.conf...

    Trying to define super-server internet daemon type... xinetd
    Trying to check if xinetd daemon is running... done


    Unable to resolve hostname or establish network access to
    local host: xxxxxx.com. You should fix this problem prior to installing
    Plesk. After you are done, run the installation again.

    error: %pre(psa-7.5.3-fc2.build75050506.13) scriptlet failed, exit status 1
    error: install: %pre scriptlet failed (2), skipping psa-7.5.3-fc2.build75050506.13
    [root@ds01 base]# nano /var/qmail/control/me
    [root@ds01 base]# nano /var/qmail/control/locals
    [root@ds01 base]# service psa start
    /usr/local/psa/admin/bin/httpsdctl start: httpd (pid 7365) already running
    Starting Plesk: [ OK ]
    [root@ds01 base]#

    I checked all other threads about this... but, i set the hosts file, the hostname, the dns zone... and anything... not work.

    I verify with:

    [root@ds01 base]# hostname
    xxxxxx.com
    [root@ds01 base]# host ds01.abdicar.com
    xxxxxx.com has address 205.xxx.138.xxx
    [root@ds01 base]#

    All looks ok!

    Someone have any idea to fix it?

    Thank you in advanced!
     
  2. NightStorm

    NightStorm Guest

    0
     
    Mine shot the hostname error at me too... I shut off the firewall, and whammo, install worked out great.
     
  3. chatbiz

    chatbiz Guest

    0
     
    /etc/hosts file
    add line
    127.0.0.1 localhost.localdomain localhost
    hostname fix
    reinstall
    rpm -ihv psa-7.5.3-fc2.build75050506.13.i586.rpm --force
     
  4. MikeParsons

    MikeParsons Guest

    0
     
    I tried that and got

    ===> Preparing upgrade
    Trying to start MySQL server... done
    Trying to establish test connection... connected
    Trying to backup MySQL database... done
    MySQL databases are dumped to /var/lib/psa/dumps/mysql.preupgrade.dump.gz
    ===> Installing psa database
    Trying to check psa database... Trying to find psa database...

    ERROR while trying to mysql datadir not found
    Check the error reason(see log file: /tmp/psa_7.5.3_FedoraCore_2_build75050506.13_upgrade.log), fix and try again

    Aborting...

    error: %post(psa-7.5.3-fc2.build75050506.13) scriptlet failed, exit status 1

    the upgrade log has

    ===> Installing psa database
    Trying to check psa database... Trying to find psa database...

    ERROR while trying to mysql datadir not found

    Aborting...

    so immediately before the error where it can't find the psa db it had just made a dump of it

    I'm confused
     
  5. chatbiz

    chatbiz Guest

    0
     
    yum install mysql mysql-server or reinstall psa.

    mysql dir not found error message
     
  6. chatbiz

    chatbiz Guest

    0
     
    and re install mysql or mysql-server
     
  7. abdicar

    abdicar New Pleskian

    22
    57%
    Joined:
    May 9, 2005
    Messages:
    17
    Likes Received:
    0
    The line is already on hosts' file.

    [root@ds01 base]# rpm -ihv psa-7.5.3-fc2.build75050506.13.i586.rpm --force
    Preparing... ########################################### [100%]
    ===> Updating /etc/psa/psa.conf...

    Trying to define super-server internet daemon type... xinetd
    Trying to check if xinetd daemon is running... done


    Unable to resolve hostname or establish network access to
    local host: xxxxxx.com. You should fix this problem prior to installing
    Plesk. After you are done, run the installation again.

    error: %pre(psa-7.5.3-fc2.build75050506.13) scriptlet failed, exit status 1
    error: install: %pre scriptlet failed (2), skipping psa-7.5.3-fc2.build75050506.13
    [root@ds01 base]#

    what i can do?
     
  8. abdicar

    abdicar New Pleskian

    22
    57%
    Joined:
    May 9, 2005
    Messages:
    17
    Likes Received:
    0
    I stopped the firewalls... but still don't work....


    :(
     
  9. chatbiz

    chatbiz Guest

    0
     
    /etc/hosts file
    add line
    127.0.0.1 localhost.localdomain localhost
    hostname fix and reboot or >>

    reinstall
    rpm -ihv psa-7.5.3-fc2.build75050506.13.i586.rpm --force
     
  10. abdicar

    abdicar New Pleskian

    22
    57%
    Joined:
    May 9, 2005
    Messages:
    17
    Likes Received:
    0
    I did... but now work:

    [root@ds01 base]# cat /etc/hosts
    127.0.0.1 localhost.localdomain localhost
    205.209.138.210 ds01.abdicar.com ds01
    [root@ds01 base]#

    [root@ds01 base]# hostname
    ds01.abdicar.com
    [root@ds01 base]#

    Any other suggestion?
     
  11. abdicar

    abdicar New Pleskian

    22
    57%
    Joined:
    May 9, 2005
    Messages:
    17
    Likes Received:
    0
    I get it fixed! Thank you.
    Just reboot and re-try it.
     
  12. chatbiz

    chatbiz Guest

    0
     
    yes and all component install command
    rpm -ihv *.rpm --force
     
  13. BoXie

    BoXie Guest

    0
     
Loading...