Welcome to World of IPTV

With

+23k members
+11k threads
+106k posts

we are the most popular IPTV community on the web. 

IMPORTANT NOTE:
WE HAVE RECENTLY NOTICED THAT TOO MANY DOUBLE FAKE ACCOUNTS ARE CREATED IN THE PAST.
TO PREVENT THIS ISSUE THE DECISION WAS MADE THAT IN THE FUTURE A ANNUALLY FEE 20 EURO WILL BE RAISED FOR NEW MEMBERSHIPS.

Join now to the World of IPTV

Forum Rules

Before you start, check out the forum rules first

Account upgrade

Upgrade your account to get access to full features

Advertising

Would you like to place your advertisement with us ?

Resources Manager

Hundreds of IPTV scripts and apps are available for download

Question "error":"MySQL: Connection refused"}

Status
Not open for further replies.

prabhjot

Extended Member
Ext. Member
Joined
Jul 27, 2020
Messages
160
Reaction score
174
Points
54
Location
india
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

On checking mysql service status

Rich (BB code):
{"error":"MySQL: Connection refused"}chown: changing ownership of '/home/xtreamcodes/iptv_xtream_codes/GeoLite2.mmdb': Operation not permitted



/home/xtreamcodes/iptv_xtream_codes/start_services.sh: line 14: /home/xtreamcodes/iptv_xtream_codes/nginx_rtmp/sbin/nginx_rtmp: Permission denied



/home/xtreamcodes/iptv_xtream_codes/start_services.sh: line 15: /home/xtreamcodes/iptv_xtream_codes/nginx/sbin/nginx: Permission denied



root@localhost:~# service mysql status



● mysql.service - MySQL Community Server



   Loaded: loaded (/lib/systemd/system/mysql.service; enabled; vendor preset: enabled)



   Active: failed (Result: exit-code) since Tue 2020-08-11 00:37:47 UTC; 4min 15s ago



  Process: 17691 ExecStart=/usr/sbin/mysqld --daemonize --pid-file=/run/mysqld/mysqld.pid (code=exited, status=1/FAILURE)



  Process: 17668 ExecStartPre=/usr/share/mysql/mysql-systemd-start pre (code=exited, status=0/SUCCESS)







Aug 11 00:37:47 localhost systemd[1]: mysql.service: Service hold-off time over, scheduling restart.



Aug 11 00:37:47 localhost systemd[1]: mysql.service: Scheduled restart job, restart counter is at 5.



Aug 11 00:37:47 localhost systemd[1]: Stopped MySQL Community Server.



Aug 11 00:37:47 localhost systemd[1]: mysql.service: Start request repeated too quickly.



Aug 11 00:37:47 localhost systemd[1]: mysql.service: Failed with result 'exit-code'.



Aug 11 00:37:47 localhost systemd[1]: Failed to start MySQL Community Server.


Does anyone know the solution.?
 
Last edited by a moderator:

msn11

Banned
Banned
Joined
Sep 19, 2019
Messages
217
Reaction score
209
Points
54
Location
uk,pakistan
with standard installation this error not arrise.backup and format server.

Install Main Server:

sudo apt-get update && sudo apt-get upgrade -y

sudo apt-get install libxslt1-dev libcurl3 libgeoip-dev python -y

wget https://xtream-ui.com/install/install.py

sudo python install.py

Type 'MAIN' and press enter.

then install admin panel with any release of xtream-ui.


Note1: if you are getting nginx permission denied error, make nginx binaries executable again.

sudo chmod +x /home/xtreamcodes/iptv_xtream_codes/nginx_rtmp/sbin/nginx_rtmp
sudo chmod +x /home/xtreamcodes/iptv_xtream_codes/nginx/sbin/nginx
sudo /home/xtreamcodes/iptv_xtream_codes/start_services.sh


Note 2: If you can't see new database tables after fresh install, add a file named ".update" in the admin folder.

then restart panel.

sudo touch /home/xtreamcodes/iptv_xtream_codes/admin/.update

sudo /home/xtreamcodes/iptv_xtream_codes/start_services.sh

Failed to update GeoLite2! Please try again.
------------------------------------
sudo chattr -i /home/xtreamcodes/iptv_xtream_codes/GeoLite2.mmdb && wget "https://xtream-ui.com/GeoLite2/GeoLite2.mmdb" -O /home/xtreamcodes/iptv_xtream_codes/GeoLite2.mmdb && sudo chown xtreamcodes:xtreamcodes /home/xtreamcodes/iptv_xtream_codes/GeoLite2.mmdb && sudo chattr +i /home/xtreamcodes/iptv_xtream_codes/GeoLite2.mmdb

------------------------------------
Install Load Balance:

sudo apt-get update && sudo apt-get upgrade -y

sudo apt-get install libxslt1-dev libcurl3 libgeoip-dev python -y

wget https://xtream-ui.com/install/install.py

sudo python install.py

Type LB and press enter,

Enter main server's IP address, Mysql "user_iptvpro" password, and server id from Manage Servers Page and proceed.

its done.

Start/Restart panel command,

sudo /home/xtreamcodes/iptv_xtream_codes/start_services.sh

If nginx Permission not solved with above command:

chattr -ai /home/xtreamcodes/iptv_xtream_codes/GeoLite2.mmdb
sudo chmod 0777 /home/xtreamcodes/iptv_xtream_codes/GeoLite2.mmdb
------------------------------------

When Stream down but server online:

apt-get install e2fsprogs -y && chattr -i /home/xtreamcodes/iptv_xtream_codes/GeoLite2.mmdb ; wget https://archive.org/download/geolite2_201910/GeoLite2.mmdb -O /home/xtreamcodes/iptv_xtream_codes/GeoLite2.mmdb && chown xtreamcodes.xtreamcodes /home/xtreamcodes/iptv_xtream_codes/GeoLite2.mmdb && chattr +i /home/xtreamcodes/iptv_xtream_codes/GeoLite2.mmdb && clear && echo "If you see this message, 500 errors are probably fixed"
------------------------------------------------------
 

urgodfather

Banned
Banned
Ext. Member
Joined
Sep 22, 2019
Messages
2,098
Reaction score
5,930
Points
124
Location
neither here, nor there
WOW. you both make spam on forum with so much copy and paste! This has been answered 100 times and is posted multiple times in the XtreamUI category. This is where people make posts about XtreamUI and problems they have with it. Maybe you should learn to look more instead of make spam on forum with garbage posts. @msn11 good job for try to help but you are just as guilty with 3 multi posts of copy and paste. I lock this thread.
 
Channels MatchTime Unblock CDN Offshore Server Contact
100 cnx / 90€ 5Gbps / 180€ 48CPU-256GRAM 10Gbps 569€ Skype live:giefsl
500 cnx / 350€ 10Gbps / 350€ 48CPU-128GRAM 5Gbps / 349€ TG @changglobize
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com
Status
Not open for further replies.
shape1
shape2
shape3
shape4
shape5
shape6
Top
AdBlock Detected

We know, ad-blocking software do a great job at blocking ads. But our site is sponsored by advertising. 

For the best possible site experience please take a moment to disable your AdBlocker.
You can create a Account with us or if you already have account, you can prefer an Account Upgrade.

I've Disabled AdBlock