I want to fire "svn update" command from a php script , the user for which is "apache".
How can I assign permissions to apache user to execute "svn update" ?
By default my Windows PowerShell starts in C:\Users\Santosh, my XAMPP installation is in D:\ so the htdocs folder is located at D:\xampp\htdocs. If I have to edit something in htdocs folder then I have to type full cd D:\xampp\htdocs\ (autocompletion is not so kind) then edit that file.
If this PowerShell were a Bash I would do this in .bash_aliases file:
alias htdocs='cd D:\xampp\htdocs'
Is it possible to maintain Bash aliases like file and alias any command in PowerShell?
I need to use wusa to uninstall a particular update that is causing a reboot loop.
I can access winre and dism, but wusa gives command not found.
Does wusa not come with r2, or is it not available in the built-in WinRE or what?
I can not access Contol panel in my windows vista machine.
As soon as i click the "conrol panel" item in start items, it shows up a window and then its closed automatically ( same happens if i use "control" command).
Is there some program or some registry entry thats restricting it? is ther a way to control this behaviour?
I am trying to query IP addresses from Forefront Firewall logs, and I am a little stuck on the IP formatting
C0A8E008-FFFF-0000-0000-000000000000
Can anyone give me the MSSQL command to turn this into standard human redable?
UPDATE, I now see that I kust need to convert the first 8 charecters from hex to decimal....which I can then convert to IP. the trick is to parse those first charecters from the field with SQL
In Excel 2007, when I click a hyperlink, it opens in IE.
I'm running XP Professional SP3.
Firefox is set as my default browser. Links in Word and Outlook open in Firefox. But Excel opens them in IE. Anyone know how to fix it?
Edit:
Process Explorer shows the command line for IE to be
"C:\Program Files\Internet Explorer\IEXPLORE.EXE" -Embedding
Thanks!
I'm trying to write a utility script that defines certain aliases.
My SHELL is tcsh (can't change that).
I tried the following
#!/bin/tcsh
alias log 'less ~/logs/log.date '+%Y%m%d'''
Then I run it like this:
./myscript
log
The output I get is: log: Command not found.
Naturally if I run it like this:
source myscript
log
Everything is fine.
Any way to do it without specifying source ...?
Using the "netsh interface portproxy" I added a port forwarding to a Windows Server 2k3.
The command "netsh interface portproxy show all" shows the added forwarding.
On the other hand, any client connecting to the incoming port will receive a "connection refused" message. netstat also doesn't show the incoming port as listening.
The machine firewall is disabled.
There is any other way to setup port forwarding on Windows or debugging tips?
Some mail sent from sites on my server bounce back with the following mail.log message
Nov 26 17:27:53 blogu postfix/smtp[16858]: C4DD22908EC0: to=, relay=rejecting-domain.ro[rejecting-ip]:25, delay=2.5, delays=0.1/0/2.3/0.04, dsn=5.0.0, status=bounced (host rejecting-domain.ro[rejecting-ip] said: 550 Access denied - Invalid HELO name (See RFC2821 4.1.1.1) (in reply to MAIL FROM command))
On the receiving end, my emails are logged like this:
2011-11-22 15:09:35 H=static.39.80.4.46.clients.your-server.de (Ubuntu-1004-lucid-64-minimal) [my-server-ip] rejected MAIL : Access denied - Invalid HELO name (See RFC2821 4.1.1.1)
I have scripted a process that involves updating symbolic links on files located on 3 different machines. On those machines exists 4 users each, who each need to have these links updated.
Using su, is there a way to pass the password argument to the command on a single line, without invoking sudo as the users will not have admin rights?
My only alternative solution at this point is to ssh around, however I would like to be able to do this without hardcoding in a bunch of hosts/ips.
I've a bonding on two interfaces. I'd like to monitor wether they are connected to different switches (the switches have hostnames).
ethX should be connected to switchX and ethY to switchY.
Currently I'm checking this with following command:
tcpdump -vv -s0 -i ethX ether host 01:00:0c:cc:cc:cc
After a minute it prints out the hostname (and much more information) from the switch.
Are there any other solutions to monitor this?
Greeting
I was working with a Spanish user today to resolve a plugin issue. All his language setting was in Spanish. I was trying to find COM-Addins in the Customize menu Command Tab Tools.
Even the user was unable to find it. Please help me in locating this option.
Thanks in Advance.
Animesh
I have a server, and windows vista, 64-bit, 4gb ram. Sometimes the server randomly drops into the page file, and disconnects everyone who was online. Only after I click the cmd.exe window does it comes back out. How do I mark a program as not eligible for the page file?
If this is relevant, I'm using a Minecraft server with the following command line arguments:
java -server -Xmx256M -Xms256M -XX:+UseConcMarkSweepGC -XX:+DisableExplicitGC -XX:+UseAdaptiveGCBoundary -XX:MaxGCPauseMillis=200 -XX:-UseGCOverheadLimit -XX:SurvivorRatio=16 -Xnoclassgc -XX:UseSSE=3 -XX:ParallelGCThreads=3 -jar minecraft_server.jar nogui
I've been trying to setup email forwarding through fetchmail from remote smtp server to Gmail account, although messages are constantly coming to my local address and accessible via "mail" command. SMTP connection works perfectly, but emails do not go anywhere.
System: debian, fetchmail
Config: poll smtp.server protocol imap username “user” password “pass” smtpname “[email protected]” ssl
Thank you!
I've commented out a line in the crontab on a debian server, which I guess was there by default yet was causing me to get error emails every hour:
# m h dom mon dow user command
17 * * * * root cd / && run-parts --report /etc/cron.hourly
However, the error emails keep coming in as if it hasn't been commented out. The error emails:
Subject: Cron <root@(none)> root cd / && run-parts --report /etc/cron.hourly (failed)
/bin/sh: root: not found
Any ideas?
When I use zsh in interactive mode, I get some glitches. This mainly happens when the command spills over onto a new line and I use backspace, with backspace leaving behind some glitches on the screen and moving the cursor to an odd position.
It happens in a VT, in xterm and urxvt, although it is most noticeable with my chosen terminal, urxvt.
When I use zsh as a login shell, it does not happen at all.
What could be causing this?
I wanted to change the setting for a virtual host in a hurry I knew how to "just do it" but I'm not very familiar with the restrictions of the cpanel system.
I read the theory of the config system and regardless of my feelings on the matter I understand where they are coming from.
However in that world view, there must be a way to interact with the system from a command line interface, not just for httpd.conf but for the virtual host containers as well
EDIT: reworded this question a bit to show I was talking about a virtual host container.
I right clicked the gnome menu and clicked on "Edit menus"
Then I clicked on "New item".
Type: Application
Name: gedit as root
Command: gksudo gedit
Comment: Launch gedit as root.
When I click it, the gksudo dialog appears as expected. But then... nothing.
How should I be doing this? (From the menu - I know it's trivial from the terminal)
I would like to backup my server. For example using dd:
dd if=/dev/md0 of=/some_network_share
I wonder if this image will be vary inconsistent if /dev/md0 is mounted? Would it be possible to convert such dd image to vdi drive and create working virtual machine? Using this command for example:
VBoxManage convertfromraw ImageFile.dd OutputFile.vdi
Network traffic is disabled on firewall (there is only connection to/from one remote machine where image is copied).
I'm trying to get some authentication stuff set up in ASP MVC, but keep getting thrown errors about how it doesn't support anything but Active Directory (AD) and Active Directory Application Mode (ADAM).
How can I figure out the actual running version of my LDAP provider? Is there some sort of command or query I can run against it? It's entirely possible it isn't AD or ADAM, but I have no idea how to figure that out.
Hello guys,
can somebody tell me how to pipe the output of the serial port to a file in Windows?
In Linux the command would be:
cat /dev/ttyS0 > /opt/logs/Serial.log
Thanks in advance