but also using newest release....i apologize for that but until i make it back to work tomorrow i can't get the lts and i'm booting from a usb and for some reason the LTS of Ubuntu Server (which i do recall from my reading is highly recomended ) really friggin hates booting from USB....11.10 however runs like liquid off USB
the problem i'm having though is.....i'm attempting the Cron Jobs of certain things (CPUTempShutdown/DriveTempShutdown/StartVNC) and not a single one of them wants to work which i'm starting to believe may solely be my fault (for installing the newest release instead of being patient)
the error message i'm receiving through webmin reads as follows:
"Failed to save cron job : User 'family@CandJService' does not exist"
please also keep in mind that i'm not only a linux noob but i will never ever claim to be any kind of intelligent when it comes to computers in general...especially after reading this site :P
mind you i've also attempted the StartVNC by "Adding VNC to rc.local" and following the script instructions
if i'm too all over the place i totally get it but i've built this server (by built i mean recieved an old comp from my fiance's work that was no longer being used and installed ubuntu server on it) just so i could use it as a learning experience for linux as i feel it may conquer the world within the next two years
Attempting cron jobs
Re: Attempting cron jobs
Gosh, I've not seen this one before.
In the "Execute cron job as" field in Webmn when you're setting up the job, are you selecting the user from a list or are you typing it in manually? If the latter then try the former by clicking on the ellipses button and then selecting the user.
If you're already doing that then I'm clueless I'm afraid. A quick google doesn't come back with anything useful so I doubt it's a problem with the latest version of Ubuntu or the fact you're running it from a USB stick.
Ian.
In the "Execute cron job as" field in Webmn when you're setting up the job, are you selecting the user from a list or are you typing it in manually? If the latter then try the former by clicking on the ellipses button and then selecting the user.
If you're already doing that then I'm clueless I'm afraid. A quick google doesn't come back with anything useful so I doubt it's a problem with the latest version of Ubuntu or the fact you're running it from a USB stick.
Ian.
Re: Attempting cron jobs
I'm having to type it in because when i clicke the button nothing happens whatsoever actually. I've named my server CandJService and the only user on the server is family so in that field i'll type in family@CandJService and then attempt to type in the command (following your instructions and changing htkh to family and so forth) and when i hit the button to save or create job (i'm not certain exactly what the button says as i'm at work and haven't figured out how to access webmin or my server remotely yet:-P) it tells me family@CandJService doesn't exist:-P
and thanks for the response...i rambled a bit but like i said i'm not only new to having and running a server but completely new to linux....just recently learned how to partition my hard drive in my windows machine so i could dual boot windows 7 and linux mint
and thanks for the response...i rambled a bit but like i said i'm not only new to having and running a server but completely new to linux....just recently learned how to partition my hard drive in my windows machine so i could dual boot windows 7 and linux mint
Re: Attempting cron jobs
If nothing happens when you hit that elipses button then maybe you have popups blocked in your browser?
Anyway, just type family for the user, not the @CandJService bit.
Anyway, just type family for the user, not the @CandJService bit.
Re: Attempting cron jobs
you have got to be kidding me!!!! jesus h. christ i feel stupid now!!
i'm using google chrome and was expecting a pop up similar to the one you get when you wanna upload a picture or a file to an e-mail :( i didn't even think to look at that little blue bar that blocks out my pop ups!!!
i'm gonna go beat my head into a brick wall for a little while and when i get home i'll give that another go and most likely let you know that i am indeed a moron and that your advice worked perfectly
i'm using google chrome and was expecting a pop up similar to the one you get when you wanna upload a picture or a file to an e-mail :( i didn't even think to look at that little blue bar that blocks out my pop ups!!!
i'm gonna go beat my head into a brick wall for a little while and when i get home i'll give that another go and most likely let you know that i am indeed a moron and that your advice worked perfectly
Re: Attempting cron jobs
alright so the pop-up blocker thing did the trick and was actually able to get webmin to actually stop giving me errors up until the point where i set ssmtp to e-mail me....now this may be because i probably screwed something up when not only setting up the script for ssmtp but also modifying the script for Drivetemp...i can fix that part if it is what the issue is cause i was dumb and for some reason had putty open in two seperate windows...and was editing the script for drivetemp without realizing i was doing it in another putty window...yeah.....anyhow...i now get an e-mail and then a mailer daemon attached to it claiming that i probably did something stupid cause there's no such e-mail address as "family@gmail.com"....which on a side note is actually quite surprising
the other issue comes in the form of this message "/bin/sh: cannot create /dev/nul: Permission denied"
it's what i get for my drivetemp and.....
No sensors found!
Make sure you loaded all the kernel drivers you need.
Try sensors-detect to find out which these are.
No sensors found!
Make sure you loaded all the kernel drivers you need.
Try sensors-detect to find out which these are.
/home/family/MyScripts/CPUTempShutdown.sh: line 49: [: -ge: unary operator expected
/home/family/MyScripts/CPUTempShutdown.sh: line 59: [: -ge: unary operator expected
No sensors found!
Make sure you loaded all the kernel drivers you need.
Try sensors-detect to find out which these are.
/home/family/MyScripts/CPUTempShutdown.sh: line 49: [: -ge: unary operator expected
/home/family/MyScripts/CPUTempShutdown.sh: line 59: [: -ge: unary operator expected
is what i get for my cputemp e-mail....now this may be because my motherboard has next to piddle on it for sensors but i also know next to nothing about hardware and i have no clue what motherboard is in this tower...it's a dell motherboard is all i really know....it has less than a gig of memory (i know..) and a 320gb hard drive and the processor if i remember correctly is just a smidge over 2ghz..either way...it looks like the cputemp cron job is actually doing it's job but for some reason i don't have permission to check the temp on the hard drive
the other issue comes in the form of this message "/bin/sh: cannot create /dev/nul: Permission denied"
it's what i get for my drivetemp and.....
No sensors found!
Make sure you loaded all the kernel drivers you need.
Try sensors-detect to find out which these are.
No sensors found!
Make sure you loaded all the kernel drivers you need.
Try sensors-detect to find out which these are.
/home/family/MyScripts/CPUTempShutdown.sh: line 49: [: -ge: unary operator expected
/home/family/MyScripts/CPUTempShutdown.sh: line 59: [: -ge: unary operator expected
No sensors found!
Make sure you loaded all the kernel drivers you need.
Try sensors-detect to find out which these are.
/home/family/MyScripts/CPUTempShutdown.sh: line 49: [: -ge: unary operator expected
/home/family/MyScripts/CPUTempShutdown.sh: line 59: [: -ge: unary operator expected
is what i get for my cputemp e-mail....now this may be because my motherboard has next to piddle on it for sensors but i also know next to nothing about hardware and i have no clue what motherboard is in this tower...it's a dell motherboard is all i really know....it has less than a gig of memory (i know..) and a 320gb hard drive and the processor if i remember correctly is just a smidge over 2ghz..either way...it looks like the cputemp cron job is actually doing it's job but for some reason i don't have permission to check the temp on the hard drive
Re: Attempting cron jobs
also on the issue of the family@gmail.com...i've gone back and looked at the smtp script and can't see where i entered in that....is that just some sort of issue it's creating where since that's the username for the server it's just automatically populated? i also went through and ran "sudo sensors-detect" to see if maybe it didn't load a certain sensor and when the next hour rolled around i got the same two e-mails of permission denied and no sensors found
Re: Attempting cron jobs
JMcNeese wrote:the other issue comes in the form of this message "/bin/sh: cannot create /dev/nul: Permission denied"
it's what i get for my drivetemp and.....
Hi,
You need to run the DriveTemp script as root. Your own username does not have sufficient permissions to run it by default.
Re the "no sensors found" for the CPU temp script. I guess it's possible your mobo/chip really doesn't monitor anything at all. Do you have a file called
"modules" in the /etc folder. If so, what's in it?:
Code: Select all
cat /etc/modules
When you ran the sensors-detect command as root, did it run through ok or did it throw horrible errors? Perhaps you could try running it again and dumping the output in your next post.
Ian.
Re: Attempting cron jobs
JMcNeese wrote:also on the issue of the family@gmail.com...i've gone back and looked at the smtp script and can't see where i entered in that....is that just some sort of issue it's creating where since that's the username for the server it's just automatically populated? i also went through and ran "sudo sensors-detect" to see if maybe it didn't load a certain sensor and when the next hour rolled around i got the same two e-mails of permission denied and no sensors found
I believe it gets that from the mailhub= line in the /etc/ssmtp/ssmtp.conf file.
There is a setting in the same file called root=xxxxxx. This is where the emails will be sent by default.
Double-check your settings by comparing to the page on my site and see if that helps.
Ian.
Re: Attempting cron jobs
maybe i'm doing something wrong but i just ran sensor-detect again and i can't get the full copy of every probe it does, sir..at the end of the entire test i get
and i've typed in yes twice today so far if that helps any
Now follows a summary of the probes I have just done.
Just press ENTER to continue: YES
Driver `sbs':
* Bus `Radeon i2c hw bus MM_I2C'
Busdriver `UNKNOWN', I2C address 0x0b
Chip `Smart Battery' (confidence: 5)
To load everything that is needed, add this to /etc/modules:
#----cut here----
# Chip drivers
sbs
#----cut here----
If you have some drivers built into your kernel, the list above will
contain too many modules. Skip the appropriate ones!
and i've typed in yes twice today so far if that helps any