How to host a website on 5big Network2

Re: How to host a website on 5big Network2

Postby Jocko » Fri May 07, 2021 7:30 pm

if it does not resolve your issue, store the file in fvdw and untar it
check if it has still run permission on the new file mysqld.sh and to start mysqld do
Code: Select all
./mysqld.sh


If you edit this file I advice to use notepad++ and use always utf-8 encoding
You do not have the required permissions to view the files attached to this post.
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: How to host a website on 5big Network2

Postby lisek » Fri May 07, 2021 7:56 pm

The coding didn't helped.

When I tried another software: 'WinSSHTerm' (with Putty) and tried to run the command: '/usr/local/libexec/mysqld --user=root &' the error lines repeat over and over:
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.


Than, after unpacking the 'mysqld.sh' into the 'fvdw' folder, and running the command: './mysqld.sh' it shows the permission problem:
You do not have the required permissions to view the files attached to this post.
lisek
Donator VIP
Donator VIP
 
Posts: 20
Joined: Fri Feb 01, 2019 9:15 pm

Re: How to host a website on 5big Network2

Postby lisek » Fri May 07, 2021 7:59 pm

when I changed the permission for the 'mysqld.sh' file to 755 then there is no error...
lisek
Donator VIP
Donator VIP
 
Posts: 20
Joined: Fri Feb 01, 2019 9:15 pm

Re: How to host a website on 5big Network2

Postby Jocko » Fri May 07, 2021 8:02 pm

well I need to know what is the current state about mysqld.

First, yes it is better to use putty, so post these output
Code: Select all
ps -ef
ls -l /tmp
ls -l /direct-usb/fvdw/mysqld.sh


Currently I think there are several mysqld daemon which are running
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: How to host a website on 5big Network2

Postby lisek » Fri May 07, 2021 8:02 pm

and now... the MySQL works with phpMYAdmin :)
lisek
Donator VIP
Donator VIP
 
Posts: 20
Joined: Fri Feb 01, 2019 9:15 pm

Re: How to host a website on 5big Network2

Postby Jocko » Fri May 07, 2021 8:04 pm

lisek wrote:when I changed the permission for the 'mysqld.sh' file to 755 then there is no error...
So you did you use the untar command ! as run permissions was already set
Code: Select all
root@Acrab:/ # tar -tvf mysqld.tgz
-rwxr-xr-x root/root        87 2021-05-07 21:22 mysqld.sh
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: How to host a website on 5big Network2

Postby Jocko » Fri May 07, 2021 8:07 pm

Note : to stop all mysql daemon process, you can use the command
Code: Select all
killall mysqld
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: How to host a website on 5big Network2

Postby lisek » Fri May 07, 2021 8:12 pm

I'm not a linux person, and sometimes I use quicker method I know (this time it was a bad idea tu unpack it in windows) ;)

Now I'm not sure if somewhere in the past I used 7-zip for unpacking instead of an untar command line... :/

here is my present listing:
Code: Select all
/share/1100/fvdw$ ps -ef
UID        PID  PPID  C STIME TTY          TIME CMD
root         1     0  0 17:34 ?        00:00:03 init     
root         2     0  0 17:34 ?        00:00:00 [kthreadd]
root         4     2  0 17:34 ?        00:00:00 [kworker/0:0H]
root         6     2  0 17:34 ?        00:00:00 [mm_percpu_wq]
root         7     2  0 17:34 ?        00:00:00 [ksoftirqd/0]
root         8     2  0 17:34 ?        00:00:00 [rcu_preempt]
root         9     2  0 17:34 ?        00:00:00 [rcu_sched]
root        10     2  0 17:34 ?        00:00:00 [rcu_bh]
root        11     2  0 17:34 ?        00:00:00 [netns]
root        12     2  0 17:34 ?        00:00:00 [kworker/u2:1]
root       280     2  0 17:34 ?        00:00:00 [oom_reaper]
root       281     2  0 17:34 ?        00:00:00 [writeback]
root       283     2  0 17:34 ?        00:00:00 [crypto]
root       284     2  0 17:34 ?        00:00:00 [kintegrityd]
root       286     2  0 17:34 ?        00:00:00 [kblockd]
root       292     2  0 17:34 ?        00:00:00 [ata_sff]
root       310     2  0 17:34 ?        00:00:00 [md]
root       402     2  0 17:34 ?        00:00:00 [rpciod]
root       403     2  0 17:34 ?        00:00:00 [xprtiod]
root       404     2  0 17:34 ?        00:00:00 [kswapd0]
root       416     2  0 17:34 ?        00:00:00 [nfsiod]
root       417     2  0 17:34 ?        00:00:00 [cifsiod]
root       418     2  0 17:34 ?        00:00:00 [cifsoplockd]
root       419     2  0 17:34 ?        00:00:00 [jfsIO]
root       423     2  0 17:34 ?        00:00:00 [jfsCommit]
root       424     2  0 17:34 ?        00:00:00 [jfsSync]
root       425     2  0 17:34 ?        00:00:00 [xfsalloc]
root       426     2  0 17:34 ?        00:00:00 [xfs_mru_cache]
root       570     2  0 17:34 ?        00:00:00 [scsi_eh_0]
root       571     2  0 17:34 ?        00:00:00 [scsi_tmf_0]
root       574     2  0 17:34 ?        00:00:00 [scsi_eh_1]
root       575     2  0 17:34 ?        00:00:00 [scsi_tmf_1]
root       579     2  0 17:34 ?        00:00:00 [smflush]
root       580     2  0 17:34 ?        00:00:00 [spi0]
root       692     2  0 17:34 ?        00:00:00 [aoe_tx0]
root       693     2  0 17:34 ?        00:00:00 [aoe_ktio0]
root       719     2  0 17:34 ?        00:00:00 [raid5wq]
root       722     2  0 17:34 ?        00:00:00 [dm_bufio_cache]
root       723     2  0 17:34 ?        00:00:00 [kmpathd]
root       724     2  0 17:34 ?        00:00:00 [kmpath_handlerd]
root       750     2  0 17:34 ?        00:00:00 [ipv6_addrconf]
root       754     2  0 17:34 ?        00:00:00 [dsa_ordered]
root       767     2  0 17:34 ?        00:00:00 [kworker/u2:4]
root       831     2  0 17:34 ?        00:00:00 [kworker/0:1H]
root       832     2  0 17:34 ?        00:00:00 [jbd2/sda7-8]
root       833     2  0 17:34 ?        00:00:00 [ext4-rsv-conver]
root       852     2  0 17:34 ?        00:00:00 [jbd2/sda2-8]
root       853     2  0 17:34 ?        00:00:00 [ext4-rsv-conver]
root       885     2  0 17:34 ?        00:00:00 [iscsi_eh]
root       894     1  0 17:34 ?        00:00:00 /usr/sbin/buttonsd
root       908     2  0 17:34 ?        00:00:00 [jbd2/sda5-8]
root       909     2  0 17:34 ?        00:00:00 [ext4-rsv-conver]
root      1070     1  0 17:34 ?        00:00:00 /usr/sbin/fan-d
root      1094     1  0 17:34 ?        00:00:00 /sbin/udevd --daemon
root      1484     1  0 17:34 ?        00:00:00 /sbin/mdadm --monitor --daemonise --scan --delay=600 --pid-file=/var/run/mdadm.pid
root      1493     2  0 17:34 ?        00:00:00 [md0_raid5]
root      1657     2  0 17:35 ?        00:00:00 [jbd2/md0-8]
root      1658     2  0 17:35 ?        00:00:00 [ext4-rsv-conver]
root      1701     1  0 17:35 ?        00:00:00 /sbin/udhcpc -b -i eth0 -s /etc/api/api_dhcpc.php dhcpdCbScript -x hostname NAS-RAID5
root      1734     1  0 17:35 ?        00:00:00 /usr/bin/httpd -f httpd.conf -d /etc
root      1740     1  0 17:35 ?        00:00:03 /usr/sbin/noflushd -n 10 /dev/sda /dev/sdc /dev/sde
root      1770     1  0 17:35 ?        00:00:00 /usr/bin/discoverd
root      1776     1  0 17:35 ?        00:00:00 /usr/bin/rpcbind
root      1796     1  0 17:35 ?        00:00:00 dropbear -p 22 -r /rw_fs/etc/dropbear/dropbear_rsa_host_key
root      1815     1  0 17:35 ?        00:00:00 /usr/sbin/hostd 7200
root      1838     1  0 17:35 ?        00:00:00 /usr/sbin/temp-guard 57
nobody    1897     1  0 17:35 ?        00:00:00 proftpd: (accepting connections)
root      1915     1  0 17:35 ?        00:00:00 /usr/sbin/crond -c /share/1100/cronjobs -L /share/1100/cronjobs/cron.log
root      1934     1  0 17:35 ?        00:00:00 /usr/sbin/vnstatd -d
root      1959     1  0 17:35 ?        00:00:00 /usr/sbin/nmbd -D -l /var/log/samba
root      1961     1  0 17:35 ?        00:00:00 /usr/sbin/smbd -D -l /var/log/samba
root      1969  1961  0 17:35 ?        00:00:00 /usr/sbin/smbd -D -l /var/log/samba
root      1970  1961  0 17:35 ?        00:00:00 /usr/sbin/smbd -D -l /var/log/samba
nobody    2421  1734  0 17:38 ?        00:00:16 /usr/bin/httpd -f httpd.conf -d /etc
nobody    2423  1734  0 17:38 ?        00:00:15 /usr/bin/httpd -f httpd.conf -d /etc
nobody    2558  1734  0 17:39 ?        00:00:03 /usr/bin/httpd -f httpd.conf -d /etc
root      2664     1  0 19:09 ?        00:00:00 -sh
root      2674  2664  0 19:10 ?        00:00:04 /usr/local/libexec/mysqld --user=root
root      2900  1796  0 19:45 ?        00:00:00 dropbear -p 22 -r /rw_fs/etc/dropbear/dropbear_rsa_host_key
root      2901  2900  0 19:45 ?        00:00:00 -sh
root      2923     2  0 19:52 ?        00:00:00 [kworker/0:0]
root      2930     2  0 19:57 ?        00:00:00 [kworker/0:2]
nobody    2948  1734  0 20:01 ?        00:00:00 /usr/bin/httpd -f httpd.conf -d /etc
nobody    2949  1734  0 20:01 ?        00:00:00 /usr/bin/httpd -f httpd.conf -d /etc
nobody    2950  1734  0 20:01 ?        00:00:01 /usr/bin/httpd -f httpd.conf -d /etc
root      2966     2  0 20:02 ?        00:00:00 [kworker/0:1]
root      2976  2901  0 20:06 ?        00:00:00 ps -ef
/share/1100/fvdw$ ls -l /tmp
lrwxrwxrwx  1 root root 10 May  7 17:34 /tmp -> /rw_fs/tmp
/share/1100/fvdw$ ls -l /direct-usb/fvdw/mysqld.sh
-rwxr-xr-x  1 root root 87 May  7 19:22 /direct-usb/fvdw/mysqld.sh
lisek
Donator VIP
Donator VIP
 
Posts: 20
Joined: Fri Feb 01, 2019 9:15 pm

Re: How to host a website on 5big Network2

Postby Jocko » Fri May 07, 2021 8:13 pm

lisek wrote:When I tried another software: 'WinSSHTerm' (with Putty)
You can use directly PuTTy with Winscp.

You just have to set the path toward putty.exe, do:
Preferences >Integration/Applications then set the path toward putty (puTTy/Terminal client path); So should be somewhere with winSSHterm
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: How to host a website on 5big Network2

Postby Jocko » Fri May 07, 2021 8:19 pm

The main differences between unzip and untar are when you uncompress a tarball (*.tar or *.gz or *.tgz):
- untar allows to restore the owner/permissions set in the the tarball and never with unzip
- unzip can not create the symlinks set in the tarball

So never use unzip on a tarball,
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

PreviousNext

Return to Lacie 5big Network vs2

Who is online

Users browsing this forum: No registered users and 1 guest

cron