ORA-24408: could not generate unique server group name

前端 未结 8 2108
盖世英雄少女心
盖世英雄少女心 2020-12-15 22:11

system:

Linux web 2.6.27.21-0.1-pae #1 SMP 2009-03-31 14:50:44 +0200 i686 i686 i386 GNU/Linux

PHP Version 5.3.8
Apache Version  Apache/2.2.21 (Linux/SUSE)
         


        
8条回答
  •  难免孤独
    2020-12-15 22:21

    Kind of an old question, but I just stumbled on it after upgrading my Mac to Sierra. Until then I hadn't had the problem.

    The trick is definitely to add your hostname to /etc/hosts, but you have to have the right hostname. That's easy on linux, it's in /etc/sysconfig/network. On Mac find it in System Preferences > Sharing. Under where it says Computer name will be something like computer-name.local. In /etc/hosts put

       127.0.0.1 computer-name.local
    

    Replacing computer-name with your computer name of course :). It needs this regardless of whether the database is a remote one or a local one.

    I had plenty of other aliases for 127.0.0.1 but not that one. As soon as I added that one my apps started working again.

提交回复
热议问题