PDA

توجه ! این یک نسخه آرشیو شده میباشد و در این حالت شما عکسی را مشاهده نمیکنید برای مشاهده کامل متن و عکسها بر روی لینک مقابل کلیک کنید : مشکل در نصب دایرکت ادمین در ای پی nat شده



downloaddl
December 12th, 2016, 15:32
با سلام خدمت تمامی دوستان عزیز.

من رو یک سرور محلی لینوکس نصب کردم و از طریق ای پی نت شده بهش دسترسی داردم.

بعد لایسنس دایرکت ادمین تهیه کردم و از طریق آموزش زیر تغییر دادم.

https://help.directadmin.com/item.php?id=418

اما هر کاری می کنم بعد از نصب دایرکت ادمین بالا نمیاد و ارور زیرو دارم.

و این ارور رو دارم.




[root@server1 ~]# tail /var/log/directadmin/error.logCheck the value of your ethernet_dev=eth0:0 setting in your /usr/local/directadmin/conf/directadmin.conf file and the output of /sbin/ifconfig<br>.

2016:12:12-15:32:01: ioctl can't find the server's ip address for eth0:0 : Cannot assign requested address2016:12:12-15:32:01: The ip of this machine () does not match the ip in the license file.<br>Check the value of your ethernet_dev=eth0:0 setting in your /usr/local/directadmin/conf/directadmin.conf file and the output of /sbin/ifconfig<br>

2016:12:12-15:32:06: ioctl can't find the server's ip address for eth0:0 : Cannot assign requested address2016:12:12-15:32:06: The ip of this machine () does not match the ip in the license file.<br>Check the value of your ethernet_dev=eth0:0 setting in your /usr/local/directadmin/conf/directadmin.conf file and the output of /sbin/ifconfig<br>

downloaddl
December 14th, 2016, 14:32
مشکل رو خودم حل کردم

از این روش حلش کردم برای کسایی که این مشکل داشتن

eth0:0 ساخته بودم ولی کار نمی کردم

به آدرس زیر رفتم :



cd /etc/sysconfig/network-scripts


دستور زیر وارد کردم تا شبکه جدید بسازم.


nano ifcfg-eth0:1

و تکس زیر توش ریختم :دی




DEVICE=eth0:1
BOOTPROTO=none
ONPARENT=yes
IPADDR=ip address
NETMASK=255.255.255.255
ONBOOT=yes



بعد وارد فایل زیر شدم :

/usr/local/directadmin/conf/directadmin.conf




و خط زیر رو


ethernet_dev=eth0:0

به خط زیر تغییر دادم


ethernet_dev=eth0:1

از setup رفتم و کارت شبکه رو edit کردم
اول اسم auto نوشته بود پاک کردم
و eth0:1 رو Active کردم


و دستورات زیرو وارد کردم




service directadmin restart
reboot