Hi,
What possible way that I can optimize the boot-time of a Linux OS? Should I modify some scripts or init scripts? If yes, what are the scripts? Can I modify the kernel source?
Many thanks
I've a stack of music VCDs which I'd like to be able to listen to on my mp3 player.
Any suggestions for the best tool to do the conversion? Preferably on windows, and free or open source.
I have five CentOS 6 linux systems at work, and encountered a rather strange issue that only seems to happen with my userid across all the linux systems I have... This is an example of the problem from entries I excepted from the last command...
mpenning pts/19 Fri Nov 16 10:32 - 10:35 (00:03)
mpenning pts/17 Fri Nov 16 10:21 - 10:42 (00:21)
bill pts/15 sol-bill.local Fri Nov 16 10:19 - 10:36 (00:16)
mpenning pts/1 192.0.2.91 Fri Nov 16 10:17 - 10:49 (12+00:31)
kkim14 pts/14 192.0.2.225 Thu Nov 15 18:02 - 15:17 (4+21:15)
gduarte pts/10 192.0.2.135 Thu Nov 15 12:33 - 08:10 (11+19:36)
gduarte pts/9 192.0.2.135 Thu Nov 15 12:31 - 08:10 (11+19:38)
kkim14 pts/0 :0.0 Thu Nov 15 12:27 - 15:17 (5+02:49)
gduarte pts/6 192.0.2.135 Thu Nov 15 11:44 - 08:10 (11+20:25)
kkim14 pts/13 192.0.2.225 Thu Nov 15 09:56 - 15:17 (5+05:20)
kkim14 pts/12 192.0.2.225 Thu Nov 15 08:28 - 15:17 (5+06:49)
kkim14 pts/11 192.0.2.225 Thu Nov 15 08:26 - 15:17 (5+06:50)
dspencer pts/8 192.0.2.130 Wed Nov 14 18:24 still logged in
mpenning pts/18 alpha-console-1. Mon Nov 12 14:41 - 14:46 (00:04)
You can see two of my pts login entries above that do not have a source IP address associated with them. My CentOS machines have as many as six other users that share the systems, but the mpenning userid is the only one that has this issue. Approximately 5% of my logins see this issue, but no other usernames exhibit this behavior.
Questions
Given the kind of scripts I keep on these systems (which control much of our network infrastructure), I'm a little spooked by this and would like to understand what would cause my logins to occasionally miss source addresses.
Is there anything (other than malicious activity) that would reasonably explain the behavior?
Other than bash history timestamping, are there other things I can do to track the issue down?
Informational
Since this started happening, I enabled bash history time-stamping (i.e. HISTTIMEFORMAT="%y-%m-%d %T " in .bash_profile) and also added a few other bash history hacks; however, that does not give clues to what happened during the previous occurrences.
All the systems run CentOS 6.3...
[mpenning@typo ~]$ uname -a
Linux typo.local 2.6.32-279.9.1.el6.x86_64 #1 SMP Tue Sep 25 21:43:11 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
[mpenning@typo ~]$
EDIT
If I use last -i mpenning, I see entries like this...
mpenning pts/19 0.0.0.0 Fri Nov 16 10:32 - 10:35 (00:03)
mpenning pts/17 0.0.0.0 Fri Nov 16 10:21 - 10:42 (00:21)
When I start VLC from cmd how\is it possible to select a camera for directshow source by index (for example i have camera "A" and camera "B" so i would say 0 for "A" and 1 for "B")
i do not know device name and i do not know camera name - only its index (0, 1...)?
Does anyone have experience running Xen dom0 on a more recent kernel than the stock 2.6.18?
What host distro are you running? What release of Xen (or hg/git changeset)? What set of patches are you using on kernel source? (Has anyone got the pvops dom0 stuff working in production or is it better to stick with something like the SUSE patches?
Any other tips and tricks to running a more recent kernel version as dom0 would be helpful.
I just installed git 1.6.0 from source, but strange thing now happening to me:
debian:~/git# git version
git version 1.5.6.5
debian:~/git# which git
/usr/local/bin/git
debian:~/git# /usr/local/bin/git version
git version 1.6.0
How can I make 1.6.0 binary default? System is Debian Lenny. Git installed with simple ./configure && make && make all.
I'm looking for any of these versions:JBuilder 3-9. The reason for this is because my computer is old (256 MB, 800 Mhz cpu) but I still like to program. (Yes, I should upgrade my computer but greenbacks don't grow on trees.)
And to prove that I really do program, I have an open source project where you play the trading card game Magic: The Gathering against the computer, http://code.google.com/p/cardforge The latest version was downloaded 1,862 times.
I am getting about 200k of these an hour:
An account failed to log on.
Subject: Security ID: SYSTEM Account Name: TGSERVER$ Account
Domain: WORKGROUP Logon ID: 0x3e7
Logon Type: 4
Account For Which Logon Failed: Security ID: NULL SID Account
Name: administrator Account Domain: TGSERVER
Failure Information: Failure Reason: Unknown user name or bad
password. Status: 0xc000006d Sub Status: 0xc0000064
Process Information: Caller Process ID: 0x334 Caller Process
Name: C:\Windows\System32\svchost.exe
Network Information: Workstation Name: TGSERVER Source Network
Address: - Source Port: -
Detailed Authentication Information: Logon Process: Advapi
Authentication Package: Negotiate Transited Services: - Package
Name (NTLM only): - Key Length: 0
This event is generated when a logon request fails. It is generated on
the computer where access was attempted.
The Subject fields indicate the account on the local system which
requested the logon. This is most commonly a service such as the
Server service, or a local process such as Winlogon.exe or
Services.exe.
The Logon Type field indicates the kind of logon that was requested.
The most common types are 2 (interactive) and 3 (network).
The Process Information fields indicate which account and process on
the system requested the logon.
The Network Information fields indicate where a remote logon request
originated. Workstation name is not always available and may be left
blank in some cases.
The authentication information fields provide detailed information
about this specific logon request.
- Transited services indicate which intermediate services have participated in this logon request.
- Package name indicates which sub-protocol was used among the NTLM protocols.
- Key length indicates the length of the generated session key. This will be 0 if no session key was requested.
On my server... I changed my adminstrative username to something else and since then I've been inidated with these messages.
I found on http://technet.microsoft.com/en-us/library/cc787567(v=WS.10).aspx that the 4 means "Batch logon type is used by batch servers, where processes may be executing on behalf of a user without their direct intervention." which really doesn't shed any light on it for me.
I checked the services and they are all logging in as local system or network service. Nothing for administrator.
Anyone have any idea how I tell where these are coming from? I would assume this is a program that is crapping out...
Thanks in advance!
Although a good tool OpenDB hasn't been updated since 12/2008. The source code shows some recent activity, but still sparse at best. Anyone know of good web based cataloging alternatives? I'm looking to catalog the 500+ software CD's we have.
Also, as a side note. OpenDB will handle software, but you have to create a custom media type, which is a PAIN!!!
Hi
My system is behind a Linux firewall, where eth0 is connected to internet and eth1 is connected to my LAN. The issue is I am not able to ping to outside my network.
The iptables rule I have used here as below.
iptables -t nat -A POSTROUTING -s 192.168.1.0/24 -p icmp -j SNAT --to-source $PUBLICIP
Please correct me if I am doing anything wrong here.
Warm Regards
Supratik
I've received an email with an embedded table. I want to put some marks inside that table (i.e., edit the contentof the table) and send it back.
Unfortunately, the Gmail interface doesn't seem to have table editing capabilities: after I hit reply, I see the table in the quoted text of the original message, but is not editable...
If this is not possible in Gmail, how do I export the HTML source of this messsage and edit in another installed word processor?
I'm working on a talk that will involve typing code and running it in front of an audience. So I don't screw it up, I'd like to pre-record typing the more complicated bits of the source code and play it back. Most programs I've found that do similar things (like AutoHotKey) dump the text instantaneously as a giant block. Is there any program that will do this and allow me to adjust the play-back speed?
I would like to extract a "book cover image" from a series of CHM files, which command line tool can do that, please?
I have looked at the source of the QuickLook plug-in "quickchm1.1_source" and at the calibre command line conversion options (ebook-convert) but couldn't find anything akin to simple:
name_of_tool file_to_convert output_image
as in:
mytool routermanual.chm routermanualcoverimage.png
When I try to compile the tomcat connector from source, everything appears fine except that no mod_jk.so file gets created.
Software versions:
RHEL6 x86_64
httpd-2.4.3
tomcat-connector 1.2.37
Commands:
cd native
./configure --with-apxs=/usr/local/apache2/bin/apxs
make
cd apache-2.0
ls
The only warning message during the make is:
Warning! dlname not found in /usr/local/tomcat-connectors-1.2.37-src/native/apache-2.0/mod_jk.la.
Does anyone have any suggestions on how to get the mod_jk.so file to be generated?
I have 2 servers set in Mirroring High-safety. One is Principal and another in Mirror.
Currently I have 2 snapshots of a Production database (100 GB size) created on Principal server (for no_lock purpose of massive select processes) and 2 snapshots on the mirror server for the same database for reporting purposes.
I know snapshots reduce performance of source databases but I am not sure if snapshots from mirror server have any impact on principal server's performance.
thanks,
I think I accidentally remapped my git command to automatically include the subcommand credential-osxkeychain on the command line while trying to install a git credential-helper. When I enter
$git
it now displays
Usage: git credential-osxkeychain <get|store|erase>
How can I fix it?
Entering
$alias
returns
alias rvm-restart='rvm_reload_flag=1 source '\''/Users/teh/.rvm/scripts/rvm'\'''
Entering
$which git
returns
/usr/bin/git
I think the problem may have began when I entered a command to move git-credential-osxkeychain into
/usr/bin/git
instead of
/usr/bin/
What's the best way to keep packages up-to-date (ie with the last security fixes) without worried about major version update ?
For instance, apache2 for squeezeis is 2.2.16 (https://packages.debian.org/source/squeeze/apache2)
However, last apache2 version for the 2.2.x branch is 2.2.27
Test repository can't be used since they use the 2.4.x versions and I'd like to stick on the 2.2.x (to avoid migration issues)
How would you handle this situation and how can I update to 2.2.27 ?
I am looking for a Web interface to bind9, to edit zones, add records, etc, with user access privileges (not Webmin please!) but free and possibly open-source.
I have googled a lot, but I only found stalled projects, or very old ones, not updated after 2002 or so.
It would be great a nice Web2.0 UI, but at this point it's not crucial.
Thanks a lot!
Gabble
I have an asp.net based website running on IIS 6 that needs to incorporate a java application running on the same server on a different port. The requests will be coming in via https and I need to invisibly (preserving the https session) proxy domain.com/ over to domain.com:8080/.
Does IIS have a built-in mechanism for doing this? If not, are there any reliable free/open source ISAPI extensions that allow it?
Thanks in advance
I've followed this guide: http://www.phamviet.net/2012/06/03/centos-6-2-compile-php-5-4-2-from-source/
It all works as it should, but when I'm done and I type 'service httpd restart' following by 'php --version', it still displays the old 5.1.6 PHP version.
This is 'uname -a' : Linux xxxxxx.com 2.6.32-042stab061.2 #1 SMP Fri Aug 24 09:07:21 MSK 2012 i686 i686 i386 GNU/Linux
It's a VPS hosted in my main dedicated server (OpenVZ).
Not sure what else to say, but I appreciate any help :)
OS: CentOS 6
I am trying to use variables in my modules manifest.pp with little luck
class mysoftware($version="dev-2011.02.04b") {
File {
links => follow
}
file { "/opt/mysoftware":
ensure => directory
}
file { "/opt/mysoftware/share":
source => "puppet://puppet/mysoftware/air/$version",
recurse => "true",
}
}
This does not seem to be working when I assign this to a node via the nodes.pp file.
I am running puppetmaster 2.6.4
puppetd clients are 0.25
What options are available to load balance web service traffic on Linux with the ability to add or remove servers from the server pool without restarting the load balancer?
This post:
http://serverfault.com/questions/71437/mod-proxy-change-without-restart
looks like a very promising way to switch between two servers, but I don't know enough about mod_proxy and mod_rewrite to understand how/if I can use an external file to specify the BalancerMember entries for a section.
Are there other open source load balancers that support reconfiguration without restart?
I am looking for a Windows utility that can copy the currently selected filename, including the path, to the clipboard, ideally through the right-click menu.
Some degree of flexibility would be useful, like the ability to copy just the filename, path+filename, filename minus extension, etc. This isn't essential, though, as long as it can copy the path+filename.
Must be compatible with XP, Vista and Win7.
Free and/or open source would be ideal.
Thanks!