Ubuntu Servers :: Run-parts Does Not Run Scripts With A Period In The Name?
Sep 2, 2010
Ubuntu 10.04.1 LTS: It appears that run-parts does not run scripts with a period in the name. I had a script upg.sh which run-parts did not recognise; when I changed it to upg it did. This is surely a bug!
View 3 Replies
ADVERTISEMENT
Apr 24, 2011
I'm not sure if this belongs in the Server or Networking section of the forums. Anyway, last month I upgraded my server to Ubuntu 10.04 LTS. Since then, I've had a recurring problem wherein after a certain period of time, the server stops accepting network connections. Ubuntu 10 will continue to reject network connections until someone logs into the server locally, after which time network connectivity is restored and the cycle begins anew. Essentially, the server goes into a "half sleep mode". I say half because the computer is still on and the fans are running.
I've done some searching around various forms and initially figured this issue was related to problems with the Network Manager service (https://bugs.launchpad.net/ubuntu/lu...er/+bug/524454), so I removed the service altogether. However, this problem is still occurring.
I've poured over /var/log/messages and /var/log/syslog, but have noticed no irregular behavior. Has anyone else experienced this issues? I'd rather not resort to downgrading back to Gusty Gibbon if I can help it.
I am happy to provide more information if its needed
View 4 Replies
View Related
Jun 7, 2011
I have a file like this code...
I would like to use sed or similar to remove everything before the period, but only for the lines 1 and 3 (or lines with a-z.a-z and not a-z = 0-9.0-9.0-9.0-9)
I found a way to do this using:
cat $file | sed 's/[.].*//'
But this 1)remove all the text AFTER the period and not before it, and 2) removes everything after the first decimal of the IP address.
View 9 Replies
View Related
Nov 15, 2010
I've been trying to figure out a strange DHCP problem my girlfriend's having: She can only get (or renew) a DHCP lease once; Subsequent tries timeout. I tried switching from network-manager (which uses dhclient) to wicd (dhcpcd), and noticed a key difference: With wicd, restarting helps (again, works once, then another restart is required). With network-manager, I haven't been able to get another lease, period.
Exploring the dhcpcd case further, I found that suspend/hibernate do not correct the issue; a full restart is required. Neither does `/etc/init.d/wicd restart` help. I don't remember if I tried killing dhcpcd; I'll have to test that. The current workaround is to restart the computer after each disconnect. It's pretty annoying, though, so I'd like to try to collect enough specifics to file accurate bug reports for each dhcpcd and dhclient. Is anyone familiar with these projects? Are these known issues? Any ideas how to hone in a bit? My gut tells me there's some state somewhere that needs to get flushed.
View 2 Replies
View Related
Dec 16, 2010
I installed ubuntu 10.0.4 TLS version and my desktop freezes after a period of inactive time: the screen doesn't change and the apps do not response. It will resume after any key-stroke or mouse action. Is it a feature of 'power-saving' or something else? I need my ubuntu keep 'alive' all the time.
View 2 Replies
View Related
Jun 13, 2010
I have a very dumb questions regarding run-parts utility. I've created few shell scripts, chmod them to be executable, placed them into one particular directory and tried to run them using run-parts utility like this
run-parts dir_name However it doesn't seem to be working or I might just be missing out something. I have even tried different options like --test or --list - NONE of them produced any output. If I run each of the script manually they all work just fine. Is this is a known bug or somethng ?? or am I really missing out something...how are the /etc/crontab entries then being executed when the run-parts doesn't seem to be working on such a simple case ? ps: I noticed one interesting thing though...when I run run-parts like this: run-parts --list --regex 'some_regexp_patern' dir_name -> the output actually produces a list of the files whose file names match the given regexp pattern .
View 4 Replies
View Related
Nov 7, 2010
How do I cut jpg images in two parts?
If I want to e.g. slice an jpg vertically at so and so many pixels from the bottom.
View 1 Replies
View Related
Jun 29, 2011
Please help me to resolve th problem stated underneath:My computer(P4, 512MB RAM) running Ubuntu 10.04 hangs unexpectedly after certain period of inactivity (4-5 minutes maybe). I checked power management settings and all power saving options are set to off.The screen says Checking battery state comes for a while... and then black screen with stripes comes. Monitor also goes off for say a sec or two.Then monitor goes 'on' on its own .This process of Black screen with stripes, monitor off and on goes on until I "Reboot"
View 9 Replies
View Related
Mar 5, 2010
Suppose that I have this text :
1 abc
2 def
3 ghi
4 klm
Now I want to copy(yank) only the parts:
ab from line one and hi from line three at the same time
So how can this be done with vim? I know how to copy one line and one part of a line. What I want to do is to copy two parts from 2 different lines at the same time and paste them as they are some where else in the file.
View 4 Replies
View Related
Mar 11, 2010
I am completely new to Ubuntu so please make your answers really simple ! I want to set up a mail server for a home network and have been suggested I use the Ubuntu solutions. I am fairly proficient with Windows programs and even construct databases but I am a complete novice when it comes to command line instructions. Yes, I know I have been spoon fed!
I have been told that it is possible to install Server programs from the Desktop version and that they provide a GUI in most cases. Is that so? I have the desktop version running and up to date but I am unsure what to do next. Starting the Server ISO CD from Desktop seemed logical but when I did I was not sure if it was correct and backed out. I have also read a thread on this forum that suggests the use of Zimbra as a Mail Server, it sounded like my kind of solution so I think I would like to try that.
One last factor. I have an existing P2P network (2 Vista, 1 Mac Book and this Ub' desktop/server) running already which uses the Router for DNS. I suspect I am going to have to do things in a certain order if I am not going to go backwards and ruin the families email and surfing!
View 1 Replies
View Related
Jan 1, 2011
parts of my screen keep freezing and locking in place so that nothing new can be seen in that section, it happens when i click a menu or close a window, the part that freezes only goes away after i log out and then back in
View 2 Replies
View Related
Nov 30, 2010
How do i configure my KDE in openSuse11.3 so that the user is automatically logged out if no ones on the machine for a certain period of time?
View 3 Replies
View Related
Jan 11, 2011
I installed linux 2010 mandriva on a (embeded) system,and i run several server programs on it that accept connections from clients. clients are connected to server(s) and every things is ok, but when i go to home and back to my work tomorrow, i see no data can be sent to server programs and this problem exists until i restart the server programs or reconnect tcp client programs. this problem occurs even when both client and server programs executed on the same (embeded) system.why this happens? i checked by netstat and see that server ports exists in the list(and not closed by kernel) but it seems kernel or an application above it prohibit data transmission.i changed the OS and installed ubuntu but the problem exists.
View 5 Replies
View Related
Jan 21, 2010
I'm using Epson TX110 printer at the moment, it contains both scanner and printer.
I've installed Epson TX109 driver on Ubuntu, and it prints fine.
The problem is, how do I get the scanner to work? In the previous Windows, there's a program that allows you to scan and edit files, can I do it here too?
View 2 Replies
View Related
Feb 11, 2010
Is there any way to split a tar archive into multiple parts?
View 1 Replies
View Related
Jan 11, 2011
So I have Ubuntu 10.10 64 bit, and I'm having strange problems with parts of windows staying up on screen after I close them. Check the attached files to see what I mean. I have Visual Effects turned off, and I've tried removing compiz altogether, but I still see this happen every once in a while.
View 5 Replies
View Related
Dec 13, 2010
Between the dates 21-June-2007 to 12-December-2010 there are 1270 days. If the total cumulative time a hard drive has been active is 344 days (found this via Disk Utility in Ubuntu 10.10) since it was bought 1270 days ago. What is the average usage hours per day?
View 2 Replies
View Related
Mar 16, 2011
Now i am writting one bash script. in that my requirement is i need to create one directory and that the directory details to be stored in one file Ex. date/time and all in one file. after that i need to delete the folder automatically exactly after 3months. between these time period in 2month itself i need to send one mail to admin "regarding this still one month only more to delete the folder" . is it possible to do like that date calculation in script.
View 10 Replies
View Related
Jul 1, 2010
How i can know processor utilization during peak period in rhel 5.3.
View 5 Replies
View Related
May 18, 2010
Like the following c++ program, I define a pointer of char type in the class named "test". In the function init1(), str="hello1" , what is the existing period of "hello1". Whether the string "hello1" will be invalid if the function init1() exits ? then "str" point to the invalid field in memory. When will "hello1" and "hello2" be released by OS ?
Where is "hello1" stored in memory?
Code:
When will "hello everyone" be released?
View 1 Replies
View Related
Jan 21, 2010
I skipped over Jaunty on my main desktop because Intrepid had been working perfectly for so long. Finally took the plunge to Karmic, and have had major instability problems. I cannot trace them to any particular program I am using. At first it seemed related to power management, since it would lock up every time it had a period of extended inactivity. I have disabled ACPI in my BIOS (I think), and any power management settings I could find in gnome to try to troubleshoot. That seems to have helped, but it still happens semi-regularly, sometimes when I am in the middle of using it. I have tried checking logs and googled anything that seemed important. ie a message in kern.log reads: Clocksource tsc unstable
View 2 Replies
View Related
Jan 26, 2010
Could someone help me find a way to rename a file to a different name containing parts of its old name?
For example:
Original file name: filename1.abc.xyz.some.other.stuff
Final file name: filename1.abc.xyz
The length of the file name is not constant. the abc.xyz is not constant but that format is (three numbers.three numbers) the .some.other.stuff is not constant and its what i want to get rid of
View 8 Replies
View Related
Jan 31, 2011
Without a long tale; suffice it to say I had to do a clean install when I upgraded to 10.10 version. I have messed up evolution e-mail and my document viewer settings. I have what I need as far as by ISP settings but the Evolution folders; well that is messed up. What I am looking for if it is out there would be links {read directions to} tutorials for Evolution and Gnome. Everything comes into the unmatched folder on evolution so I think I need to find where to read up on 'Folder rules and permissions'. The document view just is not working so I know I need to read up on that; I think it is part of Gnome but I'm not positive.
View 3 Replies
View Related
Mar 25, 2011
upgraded from Lucid to Maverick, panels lose pieces randomly then come back just as randomly. sometimes i have to right click on them other times they just come back after a few minutes on their own. enable desktop effects even though my driver is working fine. and if so is this a driver issue or an xorg issue or a kernel issue and how can i trouble shoot to find out and fix?
View 9 Replies
View Related
Aug 19, 2011
During my upgrade this fine afternoon, my system went into screensaver mode and would not bring up the security window. The window would flash for a very brief period and then disappear. I tried to enter the password to no avail. After 10 minutes of this, I gulped and re-booted. It seems to boot ok, but just like in the install, the login security window flashes and disappers. I have tried to type in the data with no luck. Does anyone have a work around? I am currently using my knoppix live disk until I can burn a deb live disk.
View 11 Replies
View Related
Feb 28, 2010
I just reinstalled, and can't get the setting set right so that my display does not shut off after a certain period of time. It is shutting off after a while of inactivity, and I do not want it to.
View 2 Replies
View Related
Jul 18, 2011
I currently have fedora 15 installed along side windows 7 on my acer aspire d250. So far it runs great, however I was wondering if there is a way to make fedora 15 hibernate after being in suspend for a period of time, just like windows 7 does. This make sense to me as there is no point in wasting battery life if i can hibernate, but I don't want to hibernate all the time, just suspend for a period of time, like 2 hours, in case I need my netbook again i have quick access to it.
View 2 Replies
View Related
Dec 16, 2010
My document contains a parenthetical remark, like this:
(This is a long parenthetical remark.)
OpenOffice Writer advises me that the dot should rather be placed after the parenthesis:
(This is a long parenthetical remark).
I think OpenOffice Writer is wrong.
View 9 Replies
View Related
Dec 6, 2010
I'm trying to block a site for a certain time.How to Block(deny) perticuler website in certain times of the day , by using squid ? and it seemed promising.I added the lines to my squid.conf
acl office_time time MTWHF 3:00-21:00
acl bad url_regex "/etc/squid/block.acl
http_access deny bad !office_time
created a block.acl in the same directory and restarted it.
View 2 Replies
View Related
Mar 2, 2010
i want a service to be start at 8:00 and be ended in 14:00 automatically i already do this manualy by:
/etc/init.d/myservice.sh start
/etc/init.d/myservice.sh stop
i think it should be related to cron jobs.
View 1 Replies
View Related