[00:00] I have just a cli on the server but I can do basic nano edits from there [00:00] no gui on the server [00:00] gui is for newbies [00:00] lol [00:00] chrisowen: GUIs aren't needed; waste of bandwidth and space! [00:00] yeah the real power is in the cli [00:01] but the point is, if as the www-data user you are able to read files that apache reports errors for, then the problem might lie elsewhere [00:02] yes IC an see the files in putty and winscp and ftp and filemanager.... but the file transverse thing seems to be applicable [00:03] i manually have changed the apache to point to the shared mount [00:03] manually mounted [00:03] found that file-node is not a good command [00:03] so fixed that error [00:03] chrisowen: I was trying to access your site but the hostname doesn't resolve in DNS [00:04] created a manual edit in the credentials file [00:04] So I are pretty sure I missed a step [00:04] hmmm [00:05] 76.183.85.163 [00:05] I might need to go to godaddy and look at that [00:06] fail that and its the usg firewall [00:06] chrisowen: hmm, just skimming through scrollback .. are you trying to make a web server that serves content that is stored on a *second* computer? [00:06] YES!!!!! have you done that before???? [00:07] I have been googleing and not found much on how to do that most of it I just slapped together [00:07] the second is a Freenas server [00:08] I have not; the usual approach is to copy the content to the webserver itself, to drastically reduce the chances of failure -- now your website depends upon *both* systems being up, functional, etc [00:08] I think i missed a step somewhere.... I am thinking that t is not common [00:10] yeah it's pretty rare; simple websites are usually just files served from the one machine, more complicated sites are usually database-backed things with full CMS frameworks coordinating everything [00:10] yea the server has crashed hard 3 times due to hardware issues and I have had to reinstall each time so I want to use the shadow raid to protect everything that gets saved but not have extra hardware all over [00:10] Being a personal server there is not much traffic [00:10] raid is good for availability, and letting you replace hard drives on your own schedule, but it shouldn't be considered a backup [00:11] install apache creates permissions and users and file locations autmatically [00:11] So I think the issue is the permissions [00:11] right [00:11] I strongly dislike the debian policy (and thus ubuntu policy) of the web server running as user www-data *and* the default data directories being www-data [00:11] better then just a sole drive [00:12] last time it crapped was on a SSD [00:12] the webservre process should not have write access to anything except its log files, database sockets, and if users are going t obe able to upload things, a directory to store those, too [00:12] before that was a mechanical 4T [00:12] ouch [00:12] before that was an old small IDE [00:12] drives do fail, but three drives in one system is suspicious [00:13] each time was total loss [00:13] oh it took them about 3 months on the ssd 6 to 8 on the 4T and 3 years on the old ide [00:14] I have a bald spot where I have been scratching my head [00:14] I did change the system between IDE and 4T [00:15] I have always had a 3000 APC backup [00:15] all rack mount [00:15] The Nas is a supermicro now used to be a Altos server [00:16] I wonder if you lost some capacitors on the motherboard, or if the power supply is going... I'm accustomed to failures happening either within months, or after a decade.. [00:16] I am looking at a hp 380g7 right now just not looking at reloading [00:17] maybe the new server is the same one just setup for loading the system then hosting from the nas [00:19] I have windows 2012r2 with hyper that is running 3 virtual servers with each ubuntu server running. I was using widows 2012r2 and windows variants the last time [00:19] I was setting up virual server but had not enough ram for it the first go [00:20] now I have enough. Everything loads off the gig nic and each virtual ahs its own dedicated server 4 port gig nic [00:20] I have 6 nics in the system [00:21] the nas is dedicated role as a nas with a gig nic and the switch is a gig port all set to full duplex [00:22] bandwidth internally has not been a issue and as I mentioned it is a personal so not hosting anyhing [00:22] The idea is if a Shadow start to fail I can replace it before a loss [00:23] I like that idea better then the total loss that I have had [00:25] sudo find my_directory -type d -exec chmod 2750 {} \; So I am thinking this is the start and my_directory is the shared mount??? [00:26] it really depends what you want to do [00:28] awwwww I am thinking to attach the permissions that I broke that apache probably setups for /srv/www.... [00:28] sudo find /media/winshare1/owentechnologysolutions.com -type d -exec chmod 2750 {} \; took a few seconds but no errors... [00:30] sudo find /media/winshare1/owentechnologysolutions.com -type f -exec chmod 0640 {} \; Now am running this [00:30] apache doesn't do anything in /srv/www; the debian config will do things in /var/www -- https://sources.debian.org/src/apache2/2.4.46-1/debian/apache2.postinst/ [00:31] ok the default html folder..... LOL [00:33] and that one looks like it completed no error [00:33] ugh still the same result [00:56] can anyone help me with an ubuntu server 18.04 kvm virt manager setup. im struggling connecting to running vms. do you setup the rdp direct on vm using the windows os [00:59] that's the usual, yes [01:00] ok thanks ive bridged the connection the vm has internet access however the connection does not work even when rdp has been setup on vm instance [01:00] any ideas? [01:01] rdp isn't related to bridging - that's just the common way to connect the VMs to the local network [01:01] ok but aslong as it has internet access on the vm the connection should be avaliable? [01:01] rdp is just an application level protocol running over tcp, so if networking works and it has an ip address similar to that of the bridge, it should work [01:02] hmmm baffled, which is the best client on ubuntu 20 desktop to connect to a windows 10 rdp [01:02] what does 'ipconfig' tell you on the windows side? [01:02] i will look now. [01:02] !pastebin [01:02] For posting multi-line texts into the channel, please use https://paste.ubuntu.com | To post !screenshots use https://imgur.com/ !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic. [01:23] sorry cant connect currently :/ [04:11] I fell asleep. So Apache and permissions? Anyone can lend a tip on the mode for the permissions? My www folder is on a nas networked computer instead of locally hosted in the /vat/www folder.... [04:11] ust added webmin and found the current settings [04:14] that is /var/www not vat [04:24] setting owner to www-data the mode is 755 found the old directory so trying to match that. [04:33] !webmin [04:33] webmin is no longer supported in Debian and Ubuntu. It is not compatible with the way that Ubuntu packages handle configuration files, and is likely to cause unexpected issues with your system. [04:40] hmm [04:41] I am trying to figure what to do to fix apache so it will show a html across a network [04:41] file:/// works great but if you try to view across tcp it fails [04:42] im leaning towards permissions [04:42] the thumbnails show as broken links when they are not [04:49] the mode is 755??? in permissions [05:04] So I am noticing that chown does not work.... chown -R www-data:www-data /html does not change ownership from root:root to the desired owner??? [05:27] So i run sudo chown -v -R www-data:www-data /media/winshare1 and this is what I get changed ownership of '/media/winshare1' from root:root to www-data:www-dataroot@apache:/home/apache# ls -l /media/winshare1/owentechnologysolutions.comtotal 21504-rwxr-xr-x 1 root root 1623 Aug 17 2013 Audio-HTML5.jswhy would the chown be broken??? === guillaumedsde8 is now known as guillaumedsde