Reading values for variable in a file using unix

I have a file parama.out having 3 variables like p_id P_level p_name And the value for these variable will be User Input at the run time. I tried using while loop but instead of asking for the user input its moving to the next line and throwing an error. I used the code: cat params.out | while read line do…
Read more

Unable to extract a zip FTP’ed from Unix

I am not able to extract zip files in windows FTP’ed from UNIX. I have used WinZip and 7Zip but to no avail. I successfully extracted these files in UNIX using unzip but then I am not able to FTP them to windows. It says ‘A file or directory in the path name does not exist’ though I can see…
Read more

Nginx and uwsgi not working with unix socket

I am trying to use unix socket in nginx and uwsgi but its not working for me but without unix socket its working. uwsgi –socket test_django_uwsgi.sock –protocol=http –virtualenv /home/ubuntu/myenv27/ –wsgi-file wsgi.py nginx.conf server { # the port your site will be served on listen 80; # the domain name it will serve for server_name www.example.com; # substitute your machine’s IP…
Read more

java.lang.ClassNotFoundException: org.slf4j.bridge.SLF4JBridgeHandler

when is am trying to start my tomcat on unix server i am getting the following exception in catalina.out INFO: Starting Servlet Engine: Apache Tomcat/7.0.37 Handler error java.lang.ClassNotFoundException: org.slf4j.bridge.SLF4JBridgeHandler at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1713) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1558) at org.apache.juli.ClassLoaderLogManager.readConfiguration(ClassLoaderLogManager.java:521) at org.apache.juli.ClassLoaderLogManager.readConfiguration(ClassLoaderLogManager.java:464) Can anyone help resolving this? Source: unix

php code error in the title

have a small php coding query. I have a index.php page referring to another page called template.php in that it contains following line , ?php=$this->title? I guess something is not correct with this line as my Webpage , instead of loading the Name of the page, Shows the above code itself. This works on older Server. But post Migration to…
Read more