PfSense Restart squid from command line
goto this directory :
/usr/local/etc/rc.d
then use this command to restart squid service
./squid.sh restart
goto this directory :
/usr/local/etc/rc.d
then use this command to restart squid service
./squid.sh restart
For english look here
Eğer wordpress’te tema güncelleme, eklenti güncelleme yada başka bir dosya işlemi yaptığınızda hata alıyorsanız.
Fakat 30 dakika beklediğinizde işlemi yapabiliyor hale geliyorsanız.
Bu süre içinde baktığınızda sildiğiniz klasörlerin hala silinmemiş olduğunu görüyorsanız 2 çözümünüz var.
1. Wincache eklentisini devre dışı bırakmak.
2. PHP’nin wincache eklentisini güncellemek:
Wincache eklentisini güncellemek için aşağıdaki adımları uygulayınız. Öncelikle bu http://www.iis.net/downloads/microsoft/wincache-extension siteden wincache eklentisinin son sürümünü indiriniz. Ardından php_wincache.dll dosyasını PHP eklentilerinizin olduğu dizine kopyalayınız.
English :
If you use wordpress and if you recevice error when update themes or plugins.
If you can do this update after 30 minutes.
In this time when you look at deleted folder you see your folders are not deleted ?
Then you have a problem with PHP extension Wincache.
There are 2 solutions :
1. Disable the winchache extension.
2. Download new version of wincache extension from here http://www.iis.net/downloads/microsoft/wincache-extension and copy php_wincache.dll to your PHP extension directory.
Domain Adını değiştirmek için
rendom /list
oluşan xml dosyasında şu anki domain adının olduğu yerleri değiştirin.
rendom /showforest
rendom /upload
rendom /prepare
rendom /execute
Son olarak GPFIXUP
komutunu çalıştırdıktan sonra olay tamamdır.
Sunucuyu kapatıp açın. Ne olur ne olmaz.
“Network Policy and Access Services” Rolü eklenir.
Bir sonraki ekranda Next diyerek alttaki ekrana geçiyoruz.
Burada sadece “Routing and remote access services” kutucuğunu ve onun altındakileri işaretliyoruz.
Ardından Next ve install diyerek kurulumu tamamlıyoruz.
Şimdi Kurduğumuz Rolü yapılandırıyoruz. Bunun için sol tarafta beliren “Network Policy And Access Services” grubunun altındaki “Routing and Remote Access” seçeneğine sağ tıklayarak en üssteki “Configure and Enable Routing and Remote Access” seçeneğini tıklıyoruz.
Çıkan ekrana Next diyerek alttaki pencereye geliyoruz.
Burada en üstteki Dial-Up or VPN seçeneğini işaretliyoruz.
Bir sonraki pencerede sadece VPN seçeneğini işaretliyoruz.
Bir sonraki ekranda sunucumuzu internete bağlayan ethernet kartını seçiyoruz.
Bir sonraki ekranda VPN ile bağlanan kullanıcılarımıza IP adreslerinin nasıl verileceğini işaretliyoruz. Bizim ağımızda DHCP sunucusu VPN kurduğumuz sunucunun kendisi olduğu için otomatik seçeneğini işaretliyoruz.
Radius kullanmadığımız için bir sonraki seçeneği Next ile geçiyoruz.
Artık VPN sunucumuz hazır. Tek yapmamız gereken VPN ile bağlanmasını istediğimiz kullanıcılarımza bu yetkiyi vermek.
I first use ÜberSVN but i see its tomcat server uses 1.5GB of ram.
After that i decide to try another free svn server on windows platform.
First i try RocketSVN.
It is easy to install. But its Visual Studio plugin is not wiroking with VS2012. This may be not so importand. But the software isn’t updated more than a year.
RocketSVN gives you access to source code. But there are just 2 developers. (May be they dont have time and we have to help them)
So i decide to not trust this.
Second i try to install Subversion Edge:
It is very easy to install. Well updated. I can trust this software.
My first attempts to install Subversion Edge ends with a strange java error.
After a little work i see the error is something like “topupper” function. Because java tries to make upper initParams
and it becomes to İnitParams
. My region settings are set to Turkish language. And in Turkish upper i is İ. The İ letter is not equal to I letter. This is why i see this error. So solution was very easy. I just edit the file D:\csvn\appserver\contexts\csvn.xml
and change initParams
to InitParams
. Then the error goes away.
But when i create users and repositories i see there is no access control system.
I mean creating groups and users. Then give access permission to repositories.
Subversion Edge does than with TeamForge. TeamForge is free tor up to 10 users.
But my dont want to use any limited software. We are a small team with just 2 developers.
So this group and user management point make me uninstall this software.
Now lets try to install VisualSVN Server Standard Edition:
The basic configurations was like this:
At the end of installation i see this screen (this is the same screen which i see in my previous attempts to install VisualSVN Server).
When i look at the Event Viewer i see this error: The VisualSVN Server service terminated with service-specific error Incorrect function..
After a few hour work i found this: changing the service account to local service account solver the problem. Now lets try the software.
I tried to install 64 bit version of Subversion Edge and i receive the message below :
2012-10-15 17:16:34.691:INFO::jetty-7.0.2.v20100331 2012-10-15 17:16:34.738:INFO::Deployment monitor D:\csvn\appserver\contexts at interval 300 2012-10-15 17:16:34.753:INFO::Deployable added: D:\csvn\appserver\contexts\csvn.xml 2012-10-15 17:16:34.800:WARN::Config error at <Set name="initParams">| <Map><Entry> Item>org.eclipse.jetty.servlet.SessionCookie</Item><Item>SESSID</Item></Entry><Entry><Item>org.eclipse.jetty.servlet.SessionIdPathParameterName</Item><Item>none</Item></Entry></Map>| </Set> java.lang.NoSuchMethodException: class org.eclipse.jetty.webapp.WebAppContext.setİnitParams(class java.util.HashMap) 2012-10-15 17:16:34.800:WARN::Unable to reach node goal: started java.lang.NoSuchMethodException: class org.eclipse.jetty.webapp.WebAppContext.setİnitParams(class java.util.HashMap) at org.eclipse.jetty.xml.XmlConfiguration.set(XmlConfiguration.java:455) at org.eclipse.jetty.xml.XmlConfiguration.configure(XmlConfiguration.java:254) at org.eclipse.jetty.xml.XmlConfiguration.configure(XmlConfiguration.java:220) at org.eclipse.jetty.deploy.providers.ContextProvider.createContextHandler(ContextProvider.java:72) at org.eclipse.jetty.deploy.App.getContextHandler(App.java:109) at org.eclipse.jetty.deploy.bindings.StandardDeployer.processBinding(StandardDeployer.java:33) at org.eclipse.jetty.deploy.AppLifeCycle.runBindings(AppLifeCycle.java:182) at org.eclipse.jetty.deploy.DeploymentManager.requestAppGoal(DeploymentManager.java:498) at org.eclipse.jetty.deploy.DeploymentManager.addApp(DeploymentManager.java:136) at org.eclipse.jetty.deploy.providers.ScanningAppProvider$1.fileAdded(ScanningAppProvider.java:61) at org.eclipse.jetty.util.Scanner.reportAddition(Scanner.java:437) at org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:350) at org.eclipse.jetty.util.Scanner.scan(Scanner.java:306) at org.eclipse.jetty.util.Scanner.start(Scanner.java:242) at org.eclipse.jetty.deploy.providers.ScanningAppProvider.doStart(ScanningAppProvider.java:136) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55) at org.eclipse.jetty.deploy.DeploymentManager.startAppProvider(DeploymentManager.java:563) at org.eclipse.jetty.deploy.DeploymentManager.doStart(DeploymentManager.java:213) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55) at org.eclipse.jetty.server.Server.doStart(Server.java:207) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55) at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1021) at java.security.AccessController.doPrivileged(Native Method) at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:986) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.jetty.start.Main.invokeMain(Main.java:394) at org.eclipse.jetty.start.Main.start(Main.java:546) at org.eclipse.jetty.start.Main.parseCommandLine(Main.java:208) at org.eclipse.jetty.start.Main.main(Main.java:75) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.rzo.yajsw.app.WrapperJVMMain.executeMain(WrapperJVMMain.java:53) at org.rzo.yajsw.app.WrapperJVMMain.main(WrapperJVMMain.java:36) 2012-10-15 17:16:34.800:INFO::Deployable added: D:\csvn\appserver\contexts\redirect.xml 2012-10-15 17:16:34.831:INFO::Deployable added: D:\csvn\appserver\contexts\integration.xml 2012-10-15 17:16:34.925:INFO::Extract jar:file:/D:/csvn/appserver/webapps/integration.war!/ to C:\Windows\Temp\Jetty_0_0_0_0_3343_integration.war__integration__gzh5bq\webapp 2012-10-15 17:16:36,859 INFO [main] com.vasoftware.sf.externalintegration.BootstrapServlet: Bootstrapping the Integration service for Subversion Edge at D:\csvn 2012-10-15 17:16:37,187 WARN [main] org.apache.axis.utils.JavaUtils: Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart). Attachment support is disabled. 2012-10-15 17:16:37.358:INFO::Deployment monitor D:\csvn\appserver\webapps at interval 300 2012-10-15 17:16:37.421:INFO::Opened D:\csvn\data\logs\jetty_2012_10_15.log 2012-10-15 17:16:37.483:INFO::Started SelectChannelConnector@0.0.0.0:3343 2012-10-15 17:16:38.294:INFO::Started SslSelectChannelConnector@0.0.0.0:4434
this error message is located in D:\csvn\data\logs\console_2012_10_15.log
I tried several things to solve this. But no success. I am going to try to install 32 bit version of Subversion Edge.
i see the exact same error with 32 bit installation. After i see something in the error message. There is a line like this:
class org.eclipse.jetty.webapp.WebAppContext.setİnitParams
I dont know why and how but the java system looks for
setİnitParams
.
The letter
İ
is only in Turkish alphabet. I will try found from where is coming this.
No success. I am going to setup Rocket svn. If it fails i will go back to übersvn
EDIT october 29 2012 :
I see 3.2.0 version of Subversion Edge is released. Then i try to install it again.
But the error is the same. Then i decide to look for the solution again.
Because i think this error comes from my Turkish regional settings. Before the error starts there was a line like this :
2012-10-29 15:42:23.303:INFO::Deployable added: D:\csvn\appserver\contexts\csvn.xml
So the solution is :
Open this file D:\csvn\appserver\contexts\csvn.xml
and change
<Set name="initParams">
to
<Set name="InitParams">
After that restart the Subversion Edge service. It will run correctly now.
I was using übersvn over years. It is very easy to use. But i can not manage the ram usage of tomcat with übersvn. After that i decided to change my svn server. We are just 2 developers. It is easy for us to change something. Also this is why 1.5GB of memory usage is not normal for me. My server has just 4GB i dont want to share its 1.5GB with svn server. SVN server is used just a few times in a day.
So i firstly tried to install VisualSVN several times. But i always receive this error :
The VisualSVN Server service terminated with service-specific error Incorrect function
I tried to play with httpd.conf file. And other things. But not, it is not starting.
Now, i will try to install ColabNet’s Subversion Edge…
My Server is :
Windows Web Server 2008 R2 64bit,
I have 4GB of Ram,
at least 300GB of free space…
[For English Click Here]
Eğer aynı makinada Exchange 2007 kuruluysa önce exchange servislerini kapatmak işi çözüyor.
Alttaki komutları c:\Windows\ExchClose.cmd
dosyasına kaydedin
net stop msexchangeadtopology /y
net stop msftesql-exchange /y
net stop msexchangeis /y
net stop msexchangesa /y
net stop iisadmin /y
Ardından Başlat -> Yönetimsel Araçlar -> Grup İlkesi Yönetimi
‘ni açınız.
Domain Controllers
altındaki Default Domain Controllers Policy
seçeneğine sağ tıklayıp Düzenle...
seçeneğini tıklayınız.
Buradan Bilgisayar Yapılandırması -> İlkeler -> Windows Ayarları -> Komut Dosyaları (Başlangıç/Kapatma)
seçeneğini tıkladığınızda sağda çıkan Kapat
seçeneğini çift tıklayın.
Ekle butonuna basıp, gözat butonu ile daha önce kaydettiğimiz dosyayı buluyoruz.
Ardından Tamam Tamam tıklayarak işlemi tamamlıyoruz.
Server’ı kapatıp açtığınızda öncekinden çok daha hızlı kapandığını göreceksiniz.
English :
If you have Exchange 2007 installed on the same server, closing exchange services gives you the resolution. Create a file named c:\Windows\ExchClose.cmd
and put the commands below into this file :
net stop msexchangeadtopology /y
net stop msftesql-exchange /y
net stop msexchangeis /y
net stop msexchangesa /y
net stop iisadmin /y
Then click and open Start -> Administrative Tools -> Group Policy Management.
Under Domain Controllers
find Default Domain Controllers Policy
and right click on it.
Then choose Edit...
option.
From here choose Computer Management -> Policies -> Windows Settings -> Command Files (Start/Stop)
option.
You will see Close
on the right. Double click on it.
Then click Add button, click Browse and find the file you created.
Then click OK double times. And its done.
When you restart your server it will be closed more faster than previous.
Windows 7’li bilgisayarınızı sunucu yapmak ve bu sunucuya Windows XP çalıştıran bilgisayarlardan bağlanmak istiyorsanız aşağıdaki registry anahtarlarına ilgili değerleri giriniz.
Alttaki anahtarın değerini 1 yapınız :
HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\LargeSystemCache
Alttaki anahtarın değerini de 3 olarak değiştiriniz :
HKLM\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters\Size