« first day (3315 days earlier)      last day (1619 days later) » 

11:00 PM
Happens to us all. Rainbows under the bridge.
 
user47589
apology accepted. you've made a lot of progress in SO chat.
 
user47589
here, or in the JS room.
 
Eh, i still got myself question banned.
Ive been surviving though
making progress.. Taking IT Classes at school, made my first webserver, and Im working on other things too... I also made my first responsive site for mobile and pc
Just hoping ill be able to stay on track
 
sup
Does anyone know about running aspdotnetcore stuff on linux, specifically debian?
I am so close to having this working, I think.
 
user47589
i'm using Ubuntu, which is a Debian variant.
 
11:05 PM
i can run my app fine if I just do `dotnet /path/to/dll.dll
 
user47589
My aspnetcore experience is limited but I can try to help.
 
user47589
ok
 
Im working on learning debian and linux/unix... heard its the OS of most popular webservers and networks.
 
but when I try to run it as a systemd service thingy, I get the following output:
Nov 13 22:59:11 vps742756 okbr[14158]: Could not execute because the specified command or file was not found.
Nov 13 22:59:11 vps742756 okbr[14158]: Possible reasons for this include:
Nov 13 22:59:11 vps742756 okbr[14158]: * You misspelled a built-in dotnet command.
Nov 13 22:59:11 vps742756 okbr[14158]: * You intended to execute a .NET Core program, but dotnet-/var/www/okbr.l3m.io/http/okbr.dll does not exist.
I know the file exists, so it's not that.
It could be a perms issue? I'm not entirely sure.
my linux experience is next to nothing.
I mean obviously I got this far, but yeah. Not much experience with it.
I'm sure that error message is being as helpful as possible, but not very helpful.
 
you have an extension on a folder name... perhaps linux is trying to read it as a file?
 
11:08 PM
how would I deal with that?
 
user47589
you're using the rooted path in the systemd file?
 
I guess just rename it... use Underscores (most programs turn spaces and mis-characters to dashes or underscores..
 
Do you want me to show you the systemd file?
 
user47589
yes
 
user47589
11:10 PM
systemd runs services as root unless configured otherwise.
 
Nevermind.. that isnt a problem with the names
 
Ubuntu generally does not use the dot and three characters (such as .txt) to identify the file type. So this has no special meaning in the Ubuntu context. This is useful when sharing files with Windows. Ubuntu uses Magic Numbers in the first few bytes of the file to identify the file type. However, Nautilus. ignores the magic numbers if the dot and three characters extension is available to identify the file type. as said in an answer
 
user47589
the root user doesn't have that folder in its $PATH environment variable.
 
Hm. I thought I was specifying the user in the service file.
 
user47589
11:11 PM
i'm checking it now
 
thanks
although other than the names, it's basically as the tutorial says.
 
user47589
okay, you're using the user apache. sudo -u apache should let you swich to the apache account, where you can check access permissions.
 
okay!
 
user47589
see if you can run your executable.
 
oh, didnt think about that, honestly I never run anything outside of sudo
kinda thought everyone did that
would there be a specific reason NOT to?
 
user47589
11:13 PM
not to run something with sudo?
 
when I do sudo -u apache I just get usage instructions
i can just log in as apache in another putty window?
 
user47589
that would require the apache user's password.
 
I created the apache user
apache didn't do it itself.
which I kinda thought it did. but no.
 
yeah... would there ever be a reason to not run in sudo? admin permission on computers have always perplexed me, just causes too much mumbo jumbo, so i generally stick to admin in really everything.
 
But I just logged in as apache, and I can indeed run the dll
 
user47589
11:16 PM
really?
 
To which statement?
But yes I can.
 
user47589
sorry, yours.
 
runs fine
can even wget the index page lol
 
wait... PuTTY works for you? Thats probably one of my worst pet peeves, i can literally never connect in any kind of FTP or local SSH to my raspberry pi, it has a wifi module and everything
Im sure its because of my dads crazy wifi security
 
user47589
@TaylorS you should only run sudo when superuser permissions are needed.
 
11:17 PM
Putty has always worked fine for me.
 
Oh ok.
 
winscp is fine too.
 
My father set in his custom firewall which wont even let a network admin access the config panel..
you have to manually connect with our router to configure it.
 
he didn't want you portforwarding your minecraft server
 
all our network devices are also hidden on net user within command prompt sigh
portforwarding my php site**
but yeah, thats why he put it in
 
11:19 PM
lmao
thought it'd be something like that.
 
I got bored of gaming servers and game modding years ago
 
So no idea's @Amy?
 
I also tried VPNs that contained VPS Software tools that could port-forward on locked networks, even those dont work. My dad is really 'sketch' about port forwarding
 
user47589
@Lemonade1947 try using the full path to the dotnet executable.
 
i am, aren't I?
 
user47589
11:21 PM
ExecStart=dotnet /var/www/okbr.l3m.io/http/okbr.dll
 
oh sorry
Yeah
 
Well im going to go finish up work on my updater for Flashy... cya guys later
 
user47589
@TaylorS You can learn network security from your dad.
 
user47589
He sounds like he knows what he's doing.
 
Yeah, hes pretty good with Technical Work, he has a custom built HD 4k wiring system of HDMI cords going through our house...
him and his marine tech
I guess thats the perks of 20 years in the military as an engineer
hes pretty serious with our networks, so yeah, Im sure I could learn from him lol
 
11:23 PM
@Amy did that, same error
 
yet with all that he still hasnt figured out how to get an ethernet cable into my room :D
 
>wireless network cord
:thinking:
 
Ethernet* cant think today
 
user47589
@Lemonade1947 I dunno then. Maybe there's a linux or debian chat room that can help? This issue looks to me like its less to do with dotnet than it is systemd.
 
kinda tired... just got out of physical therapy and its 7pm lol
 
11:24 PM
Yeah I think you're right
Thanks for helping anyway <3
 
user47589
no problem
 
I recommend just asking it on unix/linux on stackexchange..
they usually sort out that sort of thing.
cya guys
 
@Amy
I'm fucking stupid
It was a fucking typo
 
user47589
did you get it?
 
user47589
lol
 
11:27 PM
Always the way
I had put http in that dir where it's acctually called html -_-
 
user47589
ah
 
Now I just need to fix my apache config :/
 
user47589
the excitement never stops.
 
For sure
at some point I might get to acctually write some code :^)
 
11:42 PM
 
@Feeds SHHH!
 
user47589
lol @ the comic
 

« first day (3315 days earlier)      last day (1619 days later) »